From 1881c91662ba26a2ceac7c984ea337169b74f718 Mon Sep 17 00:00:00 2001 From: msJinLei Date: Wed, 6 Jan 2021 12:36:30 +0800 Subject: [PATCH] MySql flexible server enhancement --- src/MySql/Az.MySql.format.ps1xml | 2328 ++-- src/MySql/Az.MySql.psd1 | 14 +- src/MySql/Az.MySql.psm1 | 10 +- src/MySql/build-module.ps1 | 2 +- src/MySql/check-dependencies.ps1 | 4 +- src/MySql/custom/FlexibleServer.cs | 28 + .../custom/Get-AzMySqlConnectionString.ps1 | 2 +- ...-AzMySqlFlexibleServerConnectionString.ps1 | 144 + ...lFlexibleServerLocationBasedCapability.ps1 | 119 + .../custom/New-AzMySqlFlexibleServer.ps1 | 712 +- .../New-AzMySqlFlexibleServerFirewallRule.ps1 | 1 + .../New-AzMySqlFlexibleServerReplica.ps1 | 202 +- src/MySql/custom/New-AzMySqlServer.ps1 | 12 + .../custom/Update-AzMySqlFlexibleServer.ps1 | 4 + src/MySql/custom/Update-AzMySqlServer.ps1 | 7 + src/MySql/custom/readme.md | 8 +- ...t-AzMySqlFlexibleServerConnectionString.md | 16 + ...qlFlexibleServerLocationBasedCapability.md | 27 + .../examples/New-AzMySqlFlexibleServer.md | 113 +- .../exports/Get-AzMySqlConnectionString.ps1 | 6 +- ...-AzMySqlFlexibleServerConnectionString.ps1 | 177 + ...lFlexibleServerLocationBasedCapability.ps1 | 153 + .../exports/New-AzMySqlFlexibleServer.ps1 | 169 +- .../New-AzMySqlFlexibleServerReplica.ps1 | 4 +- src/MySql/exports/New-AzMySqlReplica.ps1 | 2 +- src/MySql/exports/New-AzMySqlServer.ps1 | 8 + src/MySql/exports/ProxyCmdletDefinitions.ps1 | 533 +- .../exports/Restore-AzMySqlFlexibleServer.ps1 | 4 +- src/MySql/exports/Restore-AzMySqlServer.ps1 | 2 +- src/MySql/exports/Update-AzMySqlServer.ps1 | 8 + src/MySql/generate-info.json | 10 +- .../api/Models/Api20171201/Configuration.cs | 4 +- .../api/Models/Api20171201/Database.cs | 4 +- .../api/Models/Api20171201/FirewallRule.cs | 4 +- .../api/Models/Api20171201/LogFile.cs | 6 +- .../api/Models/Api20171201/Server.cs | 46 +- .../ServerAdministratorResource.cs | 14 +- .../api/Models/Api20171201/ServerForCreate.cs | 34 +- .../ServerPrivateEndpointConnection.cs | 14 +- ...rverPrivateEndpointConnectionProperties.cs | 14 +- .../Models/Api20171201/ServerProperties.cs | 8 +- .../Api20171201/ServerPropertiesForCreate.cs | 8 +- .../Api20171201/ServerSecurityAlertPolicy.cs | 20 +- .../Api20171201/ServerUpdateParameters.cs | 34 +- .../ServerUpdateParametersProperties.cs | 8 +- .../Models/Api20171201/VirtualNetworkRule.cs | 4 +- .../ConfigurationAutoGenerated.cs | 4 +- .../Api20200701Preview/ServerAutoGenerated.cs | 56 +- .../Api20200701Preview/ServerForUpdate.cs | 38 +- .../Models/Api20200701Preview/ServerKey.cs | 4 +- .../ServerPropertiesAutoGenerated.cs | 18 +- .../ServerPropertiesForUpdate.cs | 18 +- src/MySql/generated/api/MySql.cs | 2379 ++-- src/MySql/generated/api/Support/CreateMode.cs | 2 +- .../api/Support/GeoRedundantBackup.cs | 2 +- .../generated/api/Support/HaEnabledEnum.cs | 2 +- .../generated/api/Support/IdentityType.cs | 2 +- .../api/Support/InfrastructureEncryption.cs | 2 +- .../Support/InfrastructureEncryptionEnum.cs | 2 +- .../api/Support/IsConfigPendingRestart.cs | 2 +- .../generated/api/Support/IsDynamicConfig.cs | 2 +- src/MySql/generated/api/Support/IsReadOnly.cs | 2 +- .../api/Support/MinimalTlsVersionEnum.cs | 2 +- .../generated/api/Support/OperationOrigin.cs | 2 +- .../PrivateEndpointProvisioningState.cs | 2 +- ...inkServiceConnectionStateActionsRequire.cs | 2 +- ...PrivateLinkServiceConnectionStateStatus.cs | 2 +- .../api/Support/PublicNetworkAccessEnum.cs | 2 +- .../api/Support/ResourceIdentityType.cs | 2 +- .../api/Support/SecurityAlertPolicyName.cs | 2 +- .../generated/api/Support/ServerHaState.cs | 2 +- .../Support/ServerSecurityAlertPolicyState.cs | 2 +- .../generated/api/Support/ServerState.cs | 2 +- .../generated/api/Support/ServerVersion.cs | 2 +- src/MySql/generated/api/Support/SkuTier.cs | 2 +- .../api/Support/SslEnforcementEnum.cs | 2 +- .../generated/api/Support/StorageAutogrow.cs | 2 +- .../api/Support/VirtualNetworkRuleState.cs | 2 +- ...NewAzMySqlFlexibleServer_CreateExpanded.cs | 2 +- ...lexibleServer_CreateViaIdentityExpanded.cs | 2 +- ...erverSecurityAlertPolicy_CreateExpanded.cs | 2 +- ...tyAlertPolicy_CreateViaIdentityExpanded.cs | 2 +- ...erverSecurityAlertPolicy_UpdateExpanded.cs | 2 +- ...ateAzMySqlFlexibleServer_UpdateExpanded.cs | 2 +- ...lexibleServer_UpdateViaIdentityExpanded.cs | 2 +- .../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 2 +- .../runtime/UndeclaredResponseException.cs | 7 +- src/MySql/help/Az.MySql.md | 8 +- src/MySql/help/Get-AzMySqlConnectionString.md | 6 +- ...t-AzMySqlFlexibleServerConnectionString.md | 177 + ...qlFlexibleServerLocationBasedCapability.md | 115 + src/MySql/help/New-AzMySqlFlexibleServer.md | 250 +- .../help/New-AzMySqlFlexibleServerReplica.md | 4 +- src/MySql/help/New-AzMySqlReplica.md | 2 +- src/MySql/help/New-AzMySqlServer.md | 22 +- .../help/Restore-AzMySqlFlexibleServer.md | 4 +- src/MySql/help/Restore-AzMySqlServer.md | 2 +- src/MySql/help/Update-AzMySqlServer.md | 33 +- ...lFlexibleServerLocationBasedCapability.ps1 | 28 +- .../internal/New-AzMySqlFlexibleServer.ps1 | 94 +- src/MySql/internal/New-AzMySqlServer.ps1 | 2 +- .../New-AzMySqlServerAdministrator.ps1 | 6 +- .../New-AzMySqlServerSecurityAlertPolicy.ps1 | 2 +- src/MySql/internal/ProxyCmdletDefinitions.ps1 | 146 +- .../Set-AzMySqlServerAdministrator.ps1 | 6 +- .../Set-AzMySqlServerSecurityAlertPolicy.ps1 | 2 +- .../internal/Update-AzMySqlFlexibleServer.ps1 | 4 +- src/MySql/internal/Update-AzMySqlServer.ps1 | 2 +- src/MySql/readme.md | 10 +- src/MySql/test/Az.MySql-TestResults.xml | 404 - .../Get-AzMySqlConfiguration.Recording.json | 18 +- ...Get-AzMySqlConnectionString.Recording.json | 48 +- .../Get-AzMySqlFirewallRule.Recording.json | 60 +- .../Get-AzMySqlFlexibleServer.Recording.json | 20 +- .../test/Get-AzMySqlFlexibleServer.Tests.ps1 | 8 +- ...FlexibleServerConfiguration.Recording.json | 18 +- ...MySqlFlexibleServerConfiguration.Tests.ps1 | 6 +- ...xibleServerConnectionString.Recording.json | 236 + ...qlFlexibleServerConnectionString.Tests.ps1 | 40 + ...MySqlFlexibleServerDatabase.Recording.json | 54 +- ...et-AzMySqlFlexibleServerDatabase.Tests.ps1 | 10 +- ...lFlexibleServerFirewallRule.Recording.json | 44 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 10 +- ...rverLocationBasedCapability.Recording.json | 41 + ...bleServerLocationBasedCapability.Tests.ps1 | 21 + ...zMySqlFlexibleServerReplica.Recording.json | 629 +- ...Get-AzMySqlFlexibleServerReplica.Tests.ps1 | 5 +- .../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 | 10908 +++++++++++++++- .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 326 +- ...MySqlFlexibleServerDatabase.Recording.json | 36 +- ...ew-AzMySqlFlexibleServerDatabase.Tests.ps1 | 4 +- ...lFlexibleServerFirewallRule.Recording.json | 96 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 12 +- ...zMySqlFlexibleServerReplica.Recording.json | 584 +- ...New-AzMySqlFlexibleServerReplica.Tests.ps1 | 6 +- .../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 | 188 +- .../Remove-AzMySqlFlexibleServer.Tests.ps1 | 15 +- ...MySqlFlexibleServerDatabase.Recording.json | 72 +- ...ve-AzMySqlFlexibleServerDatabase.Tests.ps1 | 10 +- ...lFlexibleServerFirewallRule.Recording.json | 64 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 8 +- .../test/Remove-AzMySqlServer.Recording.json | 28 +- ...e-AzMySqlVirtualNetworkRule.Recording.json | 48 +- ...start-AzMySqlFlexibleServer.Recording.json | 44 +- .../Restart-AzMySqlFlexibleServer.Tests.ps1 | 4 +- .../test/Restart-AzMySqlServer.Recording.json | 8 +- ...store-AzMySqlFlexibleServer.Recording.json | 94 +- .../Restore-AzMySqlFlexibleServer.Tests.ps1 | 2 +- .../test/Restore-AzMySqlServer.Recording.json | 51 +- .../test/Restore-AzMySqlServer.Tests.ps1 | 2 + ...Start-AzMySqlFlexibleServer.Recording.json | 100 +- .../Start-AzMySqlFlexibleServer.Tests.ps1 | 8 +- .../Stop-AzMySqlFlexibleServer.Recording.json | 191 +- .../test/Stop-AzMySqlFlexibleServer.Tests.ps1 | 7 +- ...Update-AzMySqlConfiguration.Recording.json | 20 +- .../Update-AzMySqlFirewallRule.Recording.json | 48 +- ...pdate-AzMySqlFlexibleServer.Recording.json | 36 +- .../Update-AzMySqlFlexibleServer.Tests.ps1 | 6 +- ...FlexibleServerConfiguration.Recording.json | 36 +- ...MySqlFlexibleServerConfiguration.Tests.ps1 | 4 +- ...MySqlFlexibleServerDatabase.Recording.json | 72 +- ...te-AzMySqlFlexibleServerDatabase.Tests.ps1 | 8 +- ...lFlexibleServerFirewallRule.Recording.json | 80 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 10 +- .../test/Update-AzMySqlServer.Recording.json | 26 +- ...e-AzMySqlVirtualNetworkRule.Recording.json | 88 +- src/MySql/test/env.json | 23 +- src/MySql/test/localEnv.json | 23 +- src/MySql/test/utils.ps1 | 28 +- src/MySql/utils/adjectives.txt | 166 + src/MySql/utils/nouns.txt | 138 + 180 files changed, 19837 insertions(+), 4419 deletions(-) create mode 100644 src/MySql/custom/FlexibleServer.cs create mode 100644 src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 create mode 100644 src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md create mode 100644 src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1 create mode 100644 src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 create mode 100644 src/MySql/help/Get-AzMySqlFlexibleServerConnectionString.md create mode 100644 src/MySql/help/Get-AzMySqlFlexibleServerLocationBasedCapability.md delete mode 100644 src/MySql/test/Az.MySql-TestResults.xml 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/utils/adjectives.txt create mode 100644 src/MySql/utils/nouns.txt diff --git a/src/MySql/Az.MySql.format.ps1xml b/src/MySql/Az.MySql.format.ps1xml index f0f74be29d6a..aedacc9498d6 100644 --- a/src/MySql/Az.MySql.format.ps1xml +++ b/src/MySql/Az.MySql.format.ps1xml @@ -78,53 +78,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilitiesListResult - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilitiesListResult - - - - - - - - - - - - NextLink - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilityProperties - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilityProperties - - - - - - - - - - - - Zone - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Configuration - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Configuration @@ -168,31 +124,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationListResultAutoGenerated - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationListResultAutoGenerated - - - - - - - - - - - - NextLink - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationPropertiesAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ConfigurationProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationPropertiesAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ConfigurationProperties @@ -208,15 +142,6 @@ - - - - - - - - - @@ -240,19 +165,44 @@ Description - IsConfigPendingRestart + Source - IsDynamicConfig + Value + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database + + + + + + + + + + + + + + + + - IsReadOnly + Name - Source + Charset - Value + Collation @@ -260,21 +210,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DatabaseListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.DatabaseProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DatabaseListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.DatabaseProperties - + + + + - NextLink + Charset + + + Collation @@ -282,21 +238,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetArguments + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRule - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetArguments + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRule - + + + + + + + - SubnetArmResourceId + Name + + + StartIPAddress + + + EndIPAddress @@ -304,27 +272,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetUsage + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRuleProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetUsage + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRuleProperties - + - + - SubnetName + EndIPAddress - Usage + StartIPAddress @@ -332,21 +300,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.FirewallRuleListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFile - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.FirewallRuleListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFile - + + + + - NextLink + Name + + + Type @@ -354,39 +328,45 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.MaintenanceWindow + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFileProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.MaintenanceWindow + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFileProperties - + - + - + - + + + + - CustomWindow + CreatedTime - DayOfWeek + LastModifiedTime - StartHour + SizeInKb - StartMinute + Type + + + Url @@ -394,33 +374,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailability - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailability - + - + - + - IsDataAction + Message - Name + NameAvailable - Origin + Reason @@ -428,21 +408,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailabilityRequest - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailabilityRequest - + + + + - NextLink + Name + + + Type @@ -450,9 +436,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Operation - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Operation @@ -460,22 +446,7 @@ - - - - - - - - - - - - - - - - + @@ -485,22 +456,47 @@ Name - Location - - - SkuName + Origin + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.OperationDisplay + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.OperationDisplay + + + + + + + + + + + + + + + + + + + - SkuTier + Description - AdministratorLogin + Operation - Version + Provider - StorageProfileStorageMb + Resource @@ -508,21 +504,57 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerEditionCapability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.PerformanceTierServiceLevelObjectives - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerEditionCapability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.PerformanceTierServiceLevelObjectives - + + + + + + + + + + + + + + + + + + + - Name + Edition + + + HardwareGeneration + + + MaxBackupRetentionDay + + + MaxStorageMb + + + MinBackupRetentionDay + + + MinStorageMb + + + VCore @@ -530,21 +562,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerForUpdateTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ResourceIdentity - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerForUpdateTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ResourceIdentity - + + + + + + + - Item + PrincipalId + + + TenantId + + + Type @@ -552,33 +596,57 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKey + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.SecurityAlertPolicyProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKey + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.SecurityAlertPolicyProperties - + - + - + + + + + + + + + + + + + - Name + DisabledAlert - Type + EmailAccountAdmin - Kind + EmailAddress + + + RetentionDay + + + State + + + StorageAccountAccessKey + + + StorageEndpoint @@ -586,21 +654,63 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyListResult + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Server - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyListResult + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Server - + + + + + + + + + + + + + + + + + + + + + + - NextLink + Name + + + Location + + + AdministratorLogin + + + Version + + + StorageProfileStorageMb + + + SkuName + + + SkuTier + + + SslEnforcement @@ -608,33 +718,39 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorProperties - + - + - + + + + - CreationDate + AdministratorType - ServerKeyType + Login - Uri + Sid + + + TenantId @@ -642,21 +758,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorResource - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerListResultAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorResource - + + + + - NextLink + Name + + + Type @@ -664,65 +786,147 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreate - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesAutoGenerated + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreate - + + + + + + + Location + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTags + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTags + + + - + + + + + + + Item + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateEndpointConnectionProperties + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateEndpointConnectionProperties + + + - + + + + + + + ProvisioningState + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateLinkServiceConnectionStateProperty + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateLinkServiceConnectionStateProperty + + + - + - + - + + + + + + + + ActionsRequired + + + Description + + + Status + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerProperties + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerProperties + + + + + - + - + - + - + - + - + - + - + - - - - + @@ -734,18 +938,9 @@ AdministratorLogin - - AdministratorLoginPassword - - - AvailabilityZone - ByokEnforcement - - CreateMode - EarliestRestoreDate @@ -753,13 +948,13 @@ FullyQualifiedDomainName - HaEnabled + InfrastructureEncryption - HaState + MasterServerId - InfrastructureEncryption + MinimalTlsVersion PublicNetworkAccess @@ -770,20 +965,11 @@ ReplicationRole - - RestorePointInTime - - - SourceServerId - SslEnforcement - StandbyAvailabilityZone - - - State + UserVisibleState Version @@ -794,61 +980,51 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesForUpdate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForCreate - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesForUpdate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForCreate - + - + - + + + + + + + - AdministratorLoginPassword + CreateMode - HaEnabled + InfrastructureEncryption - ReplicationRole + MinimalTlsVersion + + + PublicNetworkAccess SslEnforcement - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesTags - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesTags - - - - - - - - - - - Item + Version @@ -856,151 +1032,87 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerVersionCapability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForDefaultCreate - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerVersionCapability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForDefaultCreate - + - - - - - - Name - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.SkuAutoGenerated - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.SkuAutoGenerated - - - - + - + - - - - - - Name - - - Tier - - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageEditionCapability - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageEditionCapability - - - - + - + - + + + + + + + + + + + + + + + + + + + - MaxBackupRetentionDay + CreateMode - MinBackupRetentionDay + InfrastructureEncryption - Name + MinimalTlsVersion - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageMbCapability - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageMbCapability - - - - - - - - - - - - - - Name + PublicNetworkAccess - StorageSizeMb + SslEnforcement - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageProfileAutoGenerated - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageProfileAutoGenerated - - - - - - - - - - - - - - - - - - - - BackupRetentionDay + StorageProfileBackupRetentionDay - StorageAutogrow + StorageProfileGeoRedundantBackup - StorageIop + StorageProfileStorageAutogrow - StorageMb + StorageProfileStorageMb + + + Version + + + AdministratorLogin + + + AdministratorLoginPassword @@ -1008,61 +1120,81 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VcoreCapability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForGeoRestore - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VcoreCapability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForGeoRestore - + - + - + - + + + + + + + + + + + + + + + + + + + + + + - Name + CreateMode - SupportedIop + InfrastructureEncryption - SupportedMemoryPerVcoreMb + MinimalTlsVersion - VCore + PublicNetworkAccess - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VirtualNetworkSubnetUsageParameter - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VirtualNetworkSubnetUsageParameter - - - - - - - - - - - VirtualNetworkArmResourceId + SslEnforcement + + + StorageProfileBackupRetentionDay + + + StorageProfileGeoRedundantBackup + + + StorageProfileStorageAutogrow + + + StorageProfileStorageMb + + + Version + + + SourceServerId @@ -1070,45 +1202,81 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Configuration + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForReplica - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Configuration + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForReplica - + - + - + - + - + + + + + + + + + + + + + + + + + + + - Name + CreateMode - Value + InfrastructureEncryption - AllowedValue + MinimalTlsVersion - Source + PublicNetworkAccess - DefaultValue + SslEnforcement + + + StorageProfileBackupRetentionDay + + + StorageProfileGeoRedundantBackup + + + StorageProfileStorageAutogrow + + + StorageProfileStorageMb + + + Version + + + SourceServerId @@ -1116,85 +1284,87 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ConfigurationProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForRestore - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ConfigurationProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForRestore - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + - AllowedValue + CreateMode - DataType + InfrastructureEncryption - DefaultValue + MinimalTlsVersion - Description + PublicNetworkAccess - Source + SslEnforcement - Value + StorageProfileBackupRetentionDay - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database - - - - - - - - - - - - - - - - - Name + StorageProfileGeoRedundantBackup - Charset + StorageProfileStorageAutogrow - Collation + StorageProfileStorageMb + + + Version + + + RestorePointInTime + + + SourceServerId @@ -1202,27 +1372,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.DatabaseProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerSecurityAlertPolicy - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.DatabaseProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerSecurityAlertPolicy - + - + - Charset + Name - Collation + Type @@ -1230,61 +1400,51 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRule + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRule + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersProperties - + - + - + + + + + + + + + + - Name + AdministratorLoginPassword - StartIPAddress + MinimalTlsVersion - EndIPAddress + PublicNetworkAccess - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRuleProperties - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.FirewallRuleProperties - - - - - - - - - - - - - - EndIPAddress + ReplicationRole - StartIPAddress + SslEnforcement + + + Version @@ -1292,27 +1452,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFile + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersTags - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFile + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersTags - - - - + - Name - - - Type + Item @@ -1320,45 +1474,45 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFileProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Sku - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.LogFileProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Sku - + - + - + - + - + - CreatedTime + Capacity - LastModifiedTime + Family - SizeInKb + Name - Type + Size - Url + Tier @@ -1366,33 +1520,39 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailability + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfile - + - + - + + + + - Message + BackupRetentionDay - NameAvailable + GeoRedundantBackup - Reason + StorageAutogrow + + + StorageMb @@ -1400,9 +1560,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailabilityRequest + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRule - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailabilityRequest + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRule @@ -1428,27 +1588,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Operation + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleListResult - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Operation + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleListResult - - - - + - Name - - - Origin + NextLink @@ -1456,39 +1610,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.OperationDisplay + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.OperationDisplay + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleProperties - - - - + - + - + - Description - - - Operation + IgnoreMissingVnetServiceEndpoint - Provider + State - Resource + VirtualNetworkSubnetId @@ -1496,57 +1644,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.PerformanceTierServiceLevelObjectives + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorAdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.PerformanceTierServiceLevelObjectives + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorAdditionalInfo - - - - - - - - - - - - - - - - - - - + - Edition - - - HardwareGeneration - - - MaxBackupRetentionDay - - - MaxStorageMb - - - MinBackupRetentionDay - - - MinStorageMb - - - VCore + Type @@ -1554,33 +1666,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ResourceIdentity + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorResponse - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ResourceIdentity + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorResponse - + - + - + - PrincipalId + Code - TenantId + Message - Type + Target @@ -1588,57 +1700,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.SecurityAlertPolicyProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Identity - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.SecurityAlertPolicyProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Identity - - - - - - - - - - - - - + - + - + - DisabledAlert - - - EmailAccountAdmin - - - EmailAddress - - - RetentionDay - - - State + PrincipalId - StorageAccountAccessKey + TenantId - StorageEndpoint + Type @@ -1646,9 +1734,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Server + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Server + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource @@ -1656,25 +1744,7 @@ - - - - - - - - - - - - - - - - - - - + @@ -1684,25 +1754,7 @@ Name - Location - - - AdministratorLogin - - - Version - - - StorageProfileStorageMb - - - SkuName - - - SkuTier - - - SslEnforcement + Type @@ -1710,39 +1762,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Resource - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Resource - - - - - - - + - + - AdministratorType - - - Login - - - Sid + Name - TenantId + Type @@ -1750,9 +1790,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorResource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResource - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerAdministratorResource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResource @@ -1762,6 +1802,9 @@ + + + @@ -1772,27 +1815,30 @@ Type + + Location + - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResourceTags - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResourceTags - + - Location + Item @@ -1800,21 +1846,57 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerAutoGenerated - + + + + + + + + + + + + + + + + + + + - Item + Name + + + Location + + + SkuName + + + SkuTier + + + AdministratorLogin + + + Version + + + StorageProfileStorageMb @@ -1822,21 +1904,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateEndpointConnectionProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilitiesListResult - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateEndpointConnectionProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilitiesListResult - + - ProvisioningState + NextLink @@ -1844,33 +1926,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateLinkServiceConnectionStateProperty + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilityProperties - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPrivateLinkServiceConnectionStateProperty + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.CapabilityProperties - - - - - - - + - ActionsRequired - - - Description - - - Status + Zone @@ -1878,93 +1948,45 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationAutoGenerated - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - AdministratorLogin - - - ByokEnforcement - - - EarliestRestoreDate + Name - FullyQualifiedDomainName + Value - InfrastructureEncryption + AllowedValue - MasterServerId + Source - MinimalTlsVersion - - - PublicNetworkAccess - - - ReplicaCapacity - - - ReplicationRole - - - SslEnforcement - - - UserVisibleState - - - Version + DefaultValue @@ -1972,51 +1994,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForCreate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationListResultAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForCreate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationListResultAutoGenerated - - - - - - - - - - - - - - - - + - CreateMode - - - InfrastructureEncryption - - - MinimalTlsVersion - - - PublicNetworkAccess - - - SslEnforcement - - - Version + NextLink @@ -2024,87 +2016,69 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForDefaultCreate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationPropertiesAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForDefaultCreate + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ConfigurationPropertiesAutoGenerated - - - - - - - - - - + - + - + - + - + - + - + - + - + - CreateMode - - - InfrastructureEncryption - - - MinimalTlsVersion - - - PublicNetworkAccess + AllowedValue - SslEnforcement + DataType - StorageProfileBackupRetentionDay + DefaultValue - StorageProfileGeoRedundantBackup + Description - StorageProfileStorageAutogrow + IsConfigPendingRestart - StorageProfileStorageMb + IsDynamicConfig - Version + IsReadOnly - AdministratorLogin + Source - AdministratorLoginPassword + Value @@ -2112,81 +2086,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForGeoRestore + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DatabaseListResultAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForGeoRestore + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DatabaseListResultAutoGenerated - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - CreateMode - - - InfrastructureEncryption - - - MinimalTlsVersion - - - PublicNetworkAccess - - - SslEnforcement - - - StorageProfileBackupRetentionDay - - - StorageProfileGeoRedundantBackup - - - StorageProfileStorageAutogrow - - - StorageProfileStorageMb - - - Version - - - SourceServerId + NextLink @@ -2194,81 +2108,71 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForReplica + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetArguments - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForReplica + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetArguments - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + SubnetArmResourceId + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetUsage + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetUsage + + + - + - + - CreateMode - - - InfrastructureEncryption - - - MinimalTlsVersion - - - PublicNetworkAccess - - - SslEnforcement - - - StorageProfileBackupRetentionDay - - - StorageProfileGeoRedundantBackup - - - StorageProfileStorageAutogrow - - - StorageProfileStorageMb + SubnetName - Version + Usage + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.FirewallRuleListResultAutoGenerated + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.FirewallRuleListResultAutoGenerated + + + + + + + + + + - SourceServerId + NextLink @@ -2276,87 +2180,139 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForRestore + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.MaintenanceWindow - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForRestore + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.MaintenanceWindow - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - CreateMode - - - InfrastructureEncryption - - - MinimalTlsVersion + CustomWindow - PublicNetworkAccess + DayOfWeek - SslEnforcement + StartHour - StorageProfileBackupRetentionDay + StartMinute + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationAutoGenerated + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationAutoGenerated + + + + + + + + + + + + + + + + - StorageProfileGeoRedundantBackup + IsDataAction - StorageProfileStorageAutogrow + Name - StorageProfileStorageMb + Origin + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationListResultAutoGenerated + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.OperationListResultAutoGenerated + + + + + + + + + + - Version + NextLink + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerEditionCapability + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerEditionCapability + + + + + + + + + + - RestorePointInTime + Name + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerForUpdateTags + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerForUpdateTags + + + + + + + + + + - SourceServerId + Item @@ -2364,9 +2320,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerSecurityAlertPolicy + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKey - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerSecurityAlertPolicy + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKey @@ -2376,6 +2332,9 @@ + + + @@ -2386,57 +2345,64 @@ Type + + Kind + - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyListResult - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyListResult - - - - - - - + + + + + + + NextLink + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyProperties + + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerKeyProperties + + + - + - + - + - AdministratorLoginPassword - - - MinimalTlsVersion - - - PublicNetworkAccess - - - ReplicationRole + CreationDate - SslEnforcement + ServerKeyType - Version + Uri @@ -2444,21 +2410,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerListResultAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerUpdateParametersTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerListResultAutoGenerated - + - Item + NextLink @@ -2466,85 +2432,129 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Sku + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Sku + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesAutoGenerated - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + + + + + + + - Capacity + AdministratorLogin - Family + AdministratorLoginPassword - Name + AvailabilityZone - Size + ByokEnforcement - Tier + CreateMode - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfile - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.StorageProfile - - - - - - - - - - - - - - - - - - - - BackupRetentionDay + EarliestRestoreDate - GeoRedundantBackup + FullyQualifiedDomainName - StorageAutogrow + HaEnabled - StorageMb + HaState + + + InfrastructureEncryption + + + PublicNetworkAccess + + + ReplicaCapacity + + + ReplicationRole + + + RestorePointInTime + + + SourceServerId + + + SslEnforcement + + + StandbyAvailabilityZone + + + State + + + Version @@ -2552,49 +2562,39 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRule + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesForUpdate - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRule + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesForUpdate - + - + + + + + + + - Name + AdministratorLoginPassword - Type + HaEnabled - - - - - - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleListResult - - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleListResult - - - - - - - - - - - NextLink + ReplicationRole + + + SslEnforcement @@ -2602,33 +2602,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesTags - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.VirtualNetworkRuleProperties + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerPropertiesTags - - - - - - - + - IgnoreMissingVnetServiceEndpoint - - - State - - - VirtualNetworkSubnetId + Item @@ -2636,21 +2624,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorAdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerVersionCapability - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorAdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ServerVersionCapability - + - Type + Name @@ -2658,33 +2646,27 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorResponse + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.SkuAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ErrorResponse + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.SkuAutoGenerated - - - - + - + - Code - - - Message + Name - Target + Tier @@ -2692,33 +2674,33 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Identity + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageEditionCapability - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Identity + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageEditionCapability - + - + - + - PrincipalId + MaxBackupRetentionDay - TenantId + MinBackupRetentionDay - Type + Name @@ -2726,9 +2708,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageMbCapability - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageMbCapability @@ -2736,7 +2718,7 @@ - + @@ -2746,7 +2728,7 @@ Name - Type + StorageSizeMb @@ -2754,27 +2736,39 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Resource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageProfileAutoGenerated - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.Resource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.StorageProfileAutoGenerated - + - + + + + + + + - Name + BackupRetentionDay - Type + StorageAutogrow + + + StorageIop + + + StorageMb @@ -2782,9 +2776,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VcoreCapability - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResource + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VcoreCapability @@ -2792,10 +2786,13 @@ - + - + + + + @@ -2805,10 +2802,13 @@ Name - Type + SupportedIop - Location + SupportedMemoryPerVcoreMb + + + VCore @@ -2816,21 +2816,21 @@ - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResourceTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VirtualNetworkSubnetUsageParameter - Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.TrackedResourceTags + Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.VirtualNetworkSubnetUsageParameter - + - Item + VirtualNetworkArmResourceId diff --git a/src/MySql/Az.MySql.psd1 b/src/MySql/Az.MySql.psd1 index e49ac0709182..906473c1811e 100644 --- a/src/MySql/Az.MySql.psd1 +++ b/src/MySql/Az.MySql.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 12/3/2020 +# Generated on: 1/6/2021 # @{ @@ -12,13 +12,13 @@ RootModule = './Az.MySql.psm1' # Version number of this module. -ModuleVersion = '0.3.1' +ModuleVersion = '0.1.0' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' # ID used to uniquely identify this module -GUID = '8c7c6fcd-a96f-460b-89e2-ff822a3246c8' +GUID = '0b8ac9f4-b926-4ac8-b73f-937a0d218521' # Author of this module Author = 'Microsoft Corporation' @@ -45,7 +45,7 @@ PowerShellVersion = '5.1' DotNetFrameworkVersion = '4.7.2' # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -# CLRVersion = '' +# ClrVersion = '' # Processor architecture (None, X86, Amd64) required by this module # ProcessorArchitecture = '' @@ -54,7 +54,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.3'; }) # Assemblies that must be loaded prior to importing this module -RequiredAssemblies = './bin/Az.MySql.private.dll' +RequiredAssemblies = 'bin\Az.MySql.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @() @@ -72,8 +72,10 @@ FormatsToProcess = 'Az.MySql.format.ps1xml' FunctionsToExport = 'Get-AzMySqlConfiguration', 'Get-AzMySqlConnectionString', 'Get-AzMySqlFirewallRule', 'Get-AzMySqlFlexibleServer', 'Get-AzMySqlFlexibleServerConfiguration', + 'Get-AzMySqlFlexibleServerConnectionString', 'Get-AzMySqlFlexibleServerDatabase', 'Get-AzMySqlFlexibleServerFirewallRule', + 'Get-AzMySqlFlexibleServerLocationBasedCapability', 'Get-AzMySqlFlexibleServerReplica', 'Get-AzMySqlReplica', 'Get-AzMySqlServer', 'Get-AzMySqlVirtualNetworkRule', 'New-AzMySqlFirewallRule', 'New-AzMySqlFlexibleServer', @@ -130,7 +132,7 @@ PrivateData = @{ # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = '* Fixed secure string issue' + # ReleaseNotes = '' # Prerelease string of this module # Prerelease = '' diff --git a/src/MySql/Az.MySql.psm1 b/src/MySql/Az.MySql.psm1 index 3e7a8ca88acb..80d82bde7395 100644 --- a/src/MySql/Az.MySql.psm1 +++ b/src/MySql/Az.MySql.psm1 @@ -24,17 +24,17 @@ } } if(-not $accountsModule) { - $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.8.1' } | Measure-Object).Count -gt 0 + $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.2.3' } | Measure-Object).Count -gt 0 if($hasAdequateVersion) { - $accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.8.1 -Scope Global -PassThru + $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.2.3 -Scope Global -PassThru } } } if(-not $accountsModule) { - Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop - } elseif (($accountsModule.Version -lt [System.Version]'1.8.1') -and (-not $localAccounts)) { - Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop + Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop + } elseif (($accountsModule.Version -lt [System.Version]'2.2.3') -and (-not $localAccounts)) { + Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop } Write-Information "Loaded Module '$($accountsModule.Name)'" diff --git a/src/MySql/build-module.ps1 b/src/MySql/build-module.ps1 index 2c5033c7ff80..be1239ce26d1 100644 --- a/src/MySql/build-module.ps1 +++ b/src/MySql/build-module.ps1 @@ -122,7 +122,7 @@ $null = New-Item -ItemType Directory -Force -Path $examplesFolder if($NoDocs) { Write-Host -ForegroundColor Green 'Creating exports...' - Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs + Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs -ExamplesFolder $examplesFolder } else { Write-Host -ForegroundColor Green 'Creating exports and docs...' $moduleDescription = 'Microsoft Azure PowerShell: MySql cmdlets' diff --git a/src/MySql/check-dependencies.ps1 b/src/MySql/check-dependencies.ps1 index 513c52ca2fb5..7ada900d8f0e 100644 --- a/src/MySql/check-dependencies.ps1 +++ b/src/MySql/check-dependencies.ps1 @@ -46,7 +46,7 @@ if(Test-Path -Path $localModulesPath) { $env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath" } -DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '1.8.1' +DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.2.3' DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1' $tools = Join-Path $PSScriptRoot 'tools' @@ -56,7 +56,7 @@ $resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestS if ($Resources.IsPresent -and (-not (Test-Path -Path $resourceModule))) { Write-Host -ForegroundColor Green "Building local Resource module used for test..." Set-Location $resourceDir - $null = autorest-beta .\readme.md --output-folder=$HOME/.PSSharedModules/Resources + $null = autorest .\readme.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources $null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/ Set-Location $HOME/.PSSharedModules/Resources $null = .\build-module.ps1 diff --git a/src/MySql/custom/FlexibleServer.cs b/src/MySql/custom/FlexibleServer.cs new file mode 100644 index 000000000000..ed2cc3a02214 --- /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 ServerAutoGenerated + { + 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;} + + } +} 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 new file mode 100644 index 000000000000..a05f9d15a6d3 --- /dev/null +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 @@ -0,0 +1,144 @@ +# ---------------------------------------------------------------------------------- +# +# 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(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline, HelpMessage = 'Name of the server')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] + ${InputObject}, + + [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..fe5009fa089c --- /dev/null +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 @@ -0,0 +1,119 @@ +# ---------------------------------------------------------------------------------- +# +# 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 = 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" + } + } + + 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 f25d490deb15..0ca98f3deccc 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -19,188 +19,576 @@ Creates a new MySQL flexible server .Description Creates a new MySQL flexible server #> -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 = '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.')] - [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 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}, +$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}$' - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy. - ${ProxyUseDefaultCredentials} - ) +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' + } - process { - try { - if ($PSBoundParameters.ContainsKey('Name')) { - $PSBoundParameters.ServerName = $PSBoundParameters['Name'] - $null = $PSBoundParameters.Remove('Name') + 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 + $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('Sku')) { - $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] - $null = $PSBoundParameters.Remove('Sku') + } + 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 } - else { - $PSBoundParameters.SkuName = 'Standard_B1ms' + 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('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('AdministratorUserName')) { + $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] + $null = $PSBoundParameters.Remove('AdministratorUserName') + } + Else { + $PSBoundParameters.AdministratorLogin = Get-RandomName + } - if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { - $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] - $null = $PSBoundParameters.Remove('BackupRetentionDay') + # 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) } - else { - $PSBoundParameters.StorageProfileBackupRetentionDay = 7 + } + $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 + + # # 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 + + If (![string]::IsNullOrEmpty($FirewallRuleName)) { + $Server.FirewallRuleName = $FirewallRuleName + } + $Server.DatabaseName = $DEFAULT_DB_NAME + $Server.SecuredPassword = $PSBoundParameters.AdministratorLoginPassword | ConvertTo-SecureString -AsPlainText -Force + + return $Server + + } catch { + throw + } +} +} +function CreateNetworkResource($NetworkParameters) { + [OutputType([hashtable])] + $WarningPreference = 'silentlycontinue' + Import-Module -Name Az.Network + + # 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." + } - if ($PSBoundParameters.ContainsKey('StorageInMb')) { - $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] - $null = $PSBoundParameters.Remove('StorageInMb') + # When address space parameters are passed, the only valid combination is : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix + 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, -VnetPrefix, -SubnetPrefix must be supplied together." + } + } + + #Handle Vnet, Subnet scenario + 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) { + 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 $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 + }} + } + 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 { - $PSBoundParameters.StorageProfileStorageMb = 10240 + Else { + Throw "The Subnet ID is not a valid form of resource id." } - - if (!$PSBoundParameters.ContainsKey('Version')) { - $PSBoundParameters.Version = '5.7' + } + 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 + $NetworkParameters.VnetName = $ParsedResult.VnetName + $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name + $Subnet = CreateVnetSubnet $NetworkParameters } - - if (!$PSBoundParameters.ContainsKey('SkuTier')) { - $PSBoundParameters.SkuTier = 'Burstable' + 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 } - - if (!$PSBoundParameters.ContainsKey('Location')) { - $PSBoundParameters.Location = 'westus2' + Else { + Throw "Incorrectly formed Vnet id or Vnet name" } - - if ($PSBoundParameters.ContainsKey('AdministratorUserName')) { - $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] - $null = $PSBoundParameters.Remove('AdministratorUserName') + } + 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 { $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')) { + $NetworkParameters.VnetName = 'VNET' + $NetworkParameters.Name + $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name + $NetworkParameters.VnetPrefix = $DEFAULT_VNET_PREFIX + $NetworkParameters.SubnetPrefix = $DEFAULT_SUBNET_PREFIX + + $Subnet = CreateVnetSubnet $NetworkParameters + } + return $NetworkParameters +} + +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 { + Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -ErrorAction Stop + $Msg = "The provided vnet does exist." + Write-Host $Msg + } + Catch { + $Msg = "Creating new vnet {0} in resource group {1}" -f $Parameters.VnetName, $Parameters.ResourceGroupName + Write-Host $Msg + if($PSCmdlet.ShouldProcess($Parameters.VnetName)) { + New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Force + } + } + + $Subnet = CreateAndDelegateSubnet $Parameters + + Return $Subnet +} + +function CreateAndDelegateSubnet($Parameters) { + $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 + } + + 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 + } + } - $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::Default - $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + return $Subnet +} - Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters - } catch { - throw +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 { + $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 + } + 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 ) { + 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 + } + 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 2ebfba5f8681..67286a45cbae 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 @@ -19,6 +19,7 @@ Creates a new firewall rule for MySQL flexible server .Description 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')] 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/New-AzMySqlServer.ps1 b/src/MySql/custom/New-AzMySqlServer.ps1 index 08b267a26ce0..df2b26c07015 100644 --- a/src/MySql/custom/New-AzMySqlServer.ps1 +++ b/src/MySql/custom/New-AzMySqlServer.ps1 @@ -62,6 +62,13 @@ function New-AzMySqlServer { [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum] ${SslEnforcement}, + [Parameter(HelpMessage = 'Set the minimal TLS version for connections to server when SSL is enabled. Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum] + # Enforce a minimal Tls version for the server. + ${MinimalTlsVersion}, + [Parameter(HelpMessage = "Backup retention days for the server. Day count is between 7 and 35.")] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] @@ -177,6 +184,11 @@ function New-AzMySqlServer { $Parameter.SslEnforcement = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum]::Enable } + if ($PSBoundParameters.ContainsKey('MinimalTlsVersion')) { + $Parameter.MinimalTlsVersion = $PSBoundParameters['MinimalTlsVersion'] + $null = $PSBoundParameters.Remove('MinimalTlsVersion') + } + if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { $Parameter.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] $null = $PSBoundParameters.Remove('BackupRetentionDay') diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 index ee1d9961c2ad..c59a4264336a 100644 --- a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 @@ -161,6 +161,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/custom/Update-AzMySqlServer.ps1 b/src/MySql/custom/Update-AzMySqlServer.ps1 index 0b7cc7619c02..8eead1d8f584 100644 --- a/src/MySql/custom/Update-AzMySqlServer.ps1 +++ b/src/MySql/custom/Update-AzMySqlServer.ps1 @@ -77,6 +77,13 @@ function Update-AzMySqlServer { [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum] ${SslEnforcement}, + [Parameter(HelpMessage = 'Set the minimal TLS version for connections to server when SSL is enabled. Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum] + # Enforce a minimal Tls version for the server. + ${MinimalTlsVersion}, + [Parameter(HelpMessage='Backup retention days for the server. Day count is between 7 and 35.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] 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/examples/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md new file mode 100644 index 000000000000..06d3d41411ff --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md @@ -0,0 +1,16 @@ +### 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. + +### 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/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/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index 64e45818b4d8..417eede91cff 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -1,22 +1,111 @@ -### Example 1: Create a new MySql flexible server +### Example 1: Create a new MySql flexible server with arguments ```powershell 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 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable -``` +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 + +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 -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... + +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' +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... + +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. + +### 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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -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 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 -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 +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. + +### 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 + +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. diff --git a/src/MySql/exports/Get-AzMySqlConnectionString.ps1 b/src/MySql/exports/Get-AzMySqlConnectionString.ps1 index 5c460a398cda..2fb12c325eb1 100644 --- a/src/MySql/exports/Get-AzMySqlConnectionString.ps1 +++ b/src/MySql/exports/Get-AzMySqlConnectionString.ps1 @@ -36,9 +36,8 @@ 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. [(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). @@ -53,6 +52,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. @@ -98,7 +98,7 @@ param( [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer] - # 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. ${InputObject}, diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1 new file mode 100644 index 000000000000..9e386a688883 --- /dev/null +++ b/src/MySql/exports/Get-AzMySqlFlexibleServerConnectionString.ps1 @@ -0,0 +1,177 @@ + +# ---------------------------------------------------------------------------------- +# +# 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. +.Example +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) +.Example +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); + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +.Outputs +System.String +.Notes +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 + [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. +.Link +https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring +#> +function Get-AzMySqlFlexibleServerConnectionString { +[OutputType([System.String])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # Client connection provider. + ${Client}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server. + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The subscription ID that identifies an Azure subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] + # Name of the server + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [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} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Get = 'Az.MySql.custom\Get-AzMySqlFlexibleServerConnectionString'; + GetViaIdentity = 'Az.MySql.custom\Get-AzMySqlFlexibleServerConnectionString'; + } + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + throw + } +} + +end { + try { + $steppablePipeline.End() + } catch { + throw + } +} +} diff --git a/src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 b/src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 new file mode 100644 index 000000000000..7a4e1a05b3ef --- /dev/null +++ b/src/MySql/exports/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 @@ -0,0 +1,153 @@ + +# ---------------------------------------------------------------------------------- +# +# 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 +.Example +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 + + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties +.Link +https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability +#> +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} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + List = 'Az.MySql.custom\Get-AzMySqlFlexibleServerLocationBasedCapability'; + } + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + throw + } +} + +end { + try { + $steppablePipeline.End() + } catch { + throw + } +} +} diff --git a/src/MySql/exports/New-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/New-AzMySqlFlexibleServer.ps1 index 1a17c29c3d75..699830491726 100644 --- a/src/MySql/exports/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/exports/New-AzMySqlFlexibleServer.ps1 @@ -15,23 +15,95 @@ <# .Synopsis -Creates a new MySQL flexible server +Creates a new server. .Description Creates a new server. .Example 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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable .Example -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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable .Outputs Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated @@ -42,14 +114,14 @@ function New-AzMySqlFlexibleServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] + [Parameter()] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] # The name of the server. ${Name}, - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] # The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. @@ -62,14 +134,20 @@ param( # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, - [Parameter(Mandatory)] + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The location the resource resides in. + ${Location}, + + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] # Administrator username for the server. # Once set, it cannot be changed. ${AdministratorUserName}, - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Security.SecureString] # The password of the administrator. @@ -77,12 +155,6 @@ param( # Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. ${AdministratorLoginPassword}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # The location the resource resides in. - ${Location}, - [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] @@ -125,6 +197,58 @@ param( # Server version. ${Version}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The subnet IP address prefix to use when creating a new vnet in CIDR format. + # Default value is 10.0.0.0/24. + ${SubnetPrefix}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # 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. + ${Subnet}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The IP address prefix to use when creating a new vnet in CIDR format. + # Default value is 10.0.0.0/16. + ${VnetPrefix}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # 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. + ${Vnet}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # 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. + ${PublicAccess}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Object] + # Enable or disable high availability feature. + # Default value is Disabled. + # Default: Disabled. + ${HighAvailability}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -149,14 +273,12 @@ param( [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()] @@ -168,20 +290,17 @@ param( [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} ) diff --git a/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1 b/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1 index d51bc9e3d3ae..30a1673dd79f 100644 --- a/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1 +++ b/src/MySql/exports/New-AzMySqlFlexibleServerReplica.ps1 @@ -43,8 +43,6 @@ 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, 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). @@ -63,6 +61,8 @@ MASTER : The source server object to create replica from. [(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. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SourceServerId ]: The source MySQL server id. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. diff --git a/src/MySql/exports/New-AzMySqlReplica.ps1 b/src/MySql/exports/New-AzMySqlReplica.ps1 index 6c3142532b6b..f856b5143777 100644 --- a/src/MySql/exports/New-AzMySqlReplica.ps1 +++ b/src/MySql/exports/New-AzMySqlReplica.ps1 @@ -43,7 +43,6 @@ 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). @@ -58,6 +57,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/MySql/exports/New-AzMySqlServer.ps1 b/src/MySql/exports/New-AzMySqlServer.ps1 index ffebff86539d..c35fd6c2a799 100644 --- a/src/MySql/exports/New-AzMySqlServer.ps1 +++ b/src/MySql/exports/New-AzMySqlServer.ps1 @@ -89,6 +89,14 @@ param( # Enable ssl enforcement or not when connect to server. ${SslEnforcement}, + [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum] + # Set the minimal TLS version for connections to server when SSL is enabled. + # Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled. + ${MinimalTlsVersion}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] diff --git a/src/MySql/exports/ProxyCmdletDefinitions.ps1 b/src/MySql/exports/ProxyCmdletDefinitions.ps1 index f33e96c5f8c4..b9526ebc0bca 100644 --- a/src/MySql/exports/ProxyCmdletDefinitions.ps1 +++ b/src/MySql/exports/ProxyCmdletDefinitions.ps1 @@ -4588,9 +4588,8 @@ 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. [(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). @@ -4605,6 +4604,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. @@ -4650,7 +4650,7 @@ param( [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer] - # 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. ${InputObject}, @@ -4751,6 +4751,336 @@ end { # limitations under the License. # ---------------------------------------------------------------------------------- +<# +.Synopsis +Get the connection string according to client connection provider. +.Description +Get the connection string according to client connection provider. +.Example +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) +.Example +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); + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +.Outputs +System.String +.Notes +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 + [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. +.Link +https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring +#> +function Get-AzMySqlFlexibleServerConnectionString { +[OutputType([System.String])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # Client connection provider. + ${Client}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server. + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The subscription ID that identifies an Azure subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] + # Name of the server + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [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} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + Get = 'Az.MySql.custom\Get-AzMySqlFlexibleServerConnectionString'; + GetViaIdentity = 'Az.MySql.custom\Get-AzMySqlFlexibleServerConnectionString'; + } + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + throw + } +} + +end { + try { + $steppablePipeline.End() + } catch { + throw + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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 +.Example +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 + + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties +.Link +https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability +#> +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} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ + List = 'Az.MySql.custom\Get-AzMySqlFlexibleServerLocationBasedCapability'; + } + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + throw + } +} + +end { + try { + $steppablePipeline.End() + } catch { + throw + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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. @@ -4957,23 +5287,95 @@ end { <# .Synopsis -Creates a new MySQL flexible server +Creates a new server. .Description Creates a new server. .Example 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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable .Example -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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable .Outputs Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated @@ -4984,14 +5386,14 @@ function New-AzMySqlFlexibleServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] + [Parameter()] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] # The name of the server. ${Name}, - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] # The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. @@ -5004,14 +5406,20 @@ param( # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, - [Parameter(Mandatory)] + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The location the resource resides in. + ${Location}, + + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] # Administrator username for the server. # Once set, it cannot be changed. ${AdministratorUserName}, - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Security.SecureString] # The password of the administrator. @@ -5019,12 +5427,6 @@ param( # Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. ${AdministratorLoginPassword}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # The location the resource resides in. - ${Location}, - [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] @@ -5067,6 +5469,58 @@ param( # Server version. ${Version}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The subnet IP address prefix to use when creating a new vnet in CIDR format. + # Default value is 10.0.0.0/24. + ${SubnetPrefix}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # 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. + ${Subnet}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The IP address prefix to use when creating a new vnet in CIDR format. + # Default value is 10.0.0.0/16. + ${VnetPrefix}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # 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. + ${Vnet}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # 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. + ${PublicAccess}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Object] + # Enable or disable high availability feature. + # Default value is Disabled. + # Default: Disabled. + ${HighAvailability}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -5091,14 +5545,12 @@ param( [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()] @@ -5110,20 +5562,17 @@ param( [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} ) @@ -5414,8 +5863,6 @@ 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, 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). @@ -5434,6 +5881,8 @@ MASTER : The source server object to create replica from. [(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. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SourceServerId ]: The source MySQL server id. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. @@ -5619,7 +6068,6 @@ 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). @@ -5634,6 +6082,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. @@ -5875,6 +6324,14 @@ param( # Enable ssl enforcement or not when connect to server. ${SslEnforcement}, + [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum] + # Set the minimal TLS version for connections to server when SSL is enabled. + # Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled. + ${MinimalTlsVersion}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] @@ -6048,8 +6505,6 @@ 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, 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). @@ -6068,6 +6523,8 @@ INPUTOBJECT : The source server object to restore from. [(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. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SourceServerId ]: The source MySQL server id. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. @@ -6259,7 +6716,6 @@ 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). @@ -6274,6 +6730,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. @@ -7718,6 +8175,14 @@ param( # Enable ssl enforcement or not when connect to server. ${SslEnforcement}, + [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum] + # Set the minimal TLS version for connections to server when SSL is enabled. + # Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled. + ${MinimalTlsVersion}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] diff --git a/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1 b/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1 index 2d08f4f5ac4e..4c778cc6ce12 100644 --- a/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/exports/Restore-AzMySqlFlexibleServer.ps1 @@ -37,8 +37,6 @@ 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, 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). @@ -57,6 +55,8 @@ INPUTOBJECT : The source server object to restore from. [(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. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SourceServerId ]: The source MySQL server id. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. diff --git a/src/MySql/exports/Restore-AzMySqlServer.ps1 b/src/MySql/exports/Restore-AzMySqlServer.ps1 index 24ac721de09d..d2a6f5681fe2 100644 --- a/src/MySql/exports/Restore-AzMySqlServer.ps1 +++ b/src/MySql/exports/Restore-AzMySqlServer.ps1 @@ -43,7 +43,6 @@ 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). @@ -58,6 +57,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/MySql/exports/Update-AzMySqlServer.ps1 b/src/MySql/exports/Update-AzMySqlServer.ps1 index 41deddab3749..5e8d06fd5b54 100644 --- a/src/MySql/exports/Update-AzMySqlServer.ps1 +++ b/src/MySql/exports/Update-AzMySqlServer.ps1 @@ -137,6 +137,14 @@ param( # Enable ssl enforcement or not when connect to server. ${SslEnforcement}, + [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum] + # Set the minimal TLS version for connections to server when SSL is enabled. + # Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled. + ${MinimalTlsVersion}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] diff --git a/src/MySql/generate-info.json b/src/MySql/generate-info.json index 4355391d9d7b..3ab61c083a62 100644 --- a/src/MySql/generate-info.json +++ b/src/MySql/generate-info.json @@ -1,8 +1,12 @@ { + "microsoft.azure_autorest-core": "2.0.4417", + "swagger_commit": "ace28fcf0a086afdacae6aee5c4fe92286197281", + "node": "v10.16.0", + "microsoft.azure_autorest.csharp": "2.3.82", "autorest_powershell": "3.0.403", - "swagger_commit": "171eb5562c1d2e86eb0658923c54860cb25c8379", - "autorest_modelerfour": "4.15.414", "autorest": "3.0.6187", "autorest_core": "3.0.6320", - "node": "v10.16.0" + "autorest_remodeler": "2.1.27", + "microsoft.azure_autorest.modeler": "2.3.55", + "autorest_modelerfour": "4.15.414" } diff --git a/src/MySql/generated/api/Models/Api20171201/Configuration.cs b/src/MySql/generated/api/Models/Api20171201/Configuration.cs index 62be5a892772..06ed250ea295 100644 --- a/src/MySql/generated/api/Models/Api20171201/Configuration.cs +++ b/src/MySql/generated/api/Models/Api20171201/Configuration.cs @@ -80,7 +80,7 @@ public partial class Configuration : /// Source of the configuration. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 3)] - public string Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Source = value; } + public string Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Source = value ?? null; } /// /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. @@ -92,7 +92,7 @@ public partial class Configuration : /// Value of the configuration. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 1)] - public string Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Value = value; } + public string Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfigurationPropertiesInternal)Property).Value = value ?? null; } /// Creates an new instance. public Configuration() diff --git a/src/MySql/generated/api/Models/Api20171201/Database.cs b/src/MySql/generated/api/Models/Api20171201/Database.cs index f3176499ed60..c91e06fec3f8 100644 --- a/src/MySql/generated/api/Models/Api20171201/Database.cs +++ b/src/MySql/generated/api/Models/Api20171201/Database.cs @@ -16,12 +16,12 @@ public partial class Database : /// The charset of the database. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 1)] - public string Charset { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Charset; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Charset = value; } + public string Charset { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Charset; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Charset = value ?? null; } /// The collation of the database. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 2)] - public string Collation { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Collation; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Collation = value; } + public string Collation { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Collation; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabasePropertiesInternal)Property).Collation = value ?? null; } /// /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} diff --git a/src/MySql/generated/api/Models/Api20171201/FirewallRule.cs b/src/MySql/generated/api/Models/Api20171201/FirewallRule.cs index 0c42a6d1879f..99b56eef7096 100644 --- a/src/MySql/generated/api/Models/Api20171201/FirewallRule.cs +++ b/src/MySql/generated/api/Models/Api20171201/FirewallRule.cs @@ -16,7 +16,7 @@ public partial class FirewallRule : /// The end IP address of the server firewall rule. Must be IPv4 format. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 2)] - public string EndIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).EndIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).EndIPAddress = value; } + public string EndIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).EndIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).EndIPAddress = value ; } /// /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -53,7 +53,7 @@ public partial class FirewallRule : /// The start IP address of the server firewall rule. Must be IPv4 format. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 1)] - public string StartIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).StartIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).StartIPAddress = value; } + public string StartIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).StartIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRulePropertiesInternal)Property).StartIPAddress = value ; } /// /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. diff --git a/src/MySql/generated/api/Models/Api20171201/LogFile.cs b/src/MySql/generated/api/Models/Api20171201/LogFile.cs index dfbbb43897cf..6cc647b7a10c 100644 --- a/src/MySql/generated/api/Models/Api20171201/LogFile.cs +++ b/src/MySql/generated/api/Models/Api20171201/LogFile.cs @@ -51,7 +51,7 @@ public partial class LogFile : /// Type of the log file. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string PropertiesType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Type = value; } + public string PropertiesType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Type = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFileProperties _property; @@ -62,7 +62,7 @@ public partial class LogFile : /// Size of the log file. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public long? SizeInKb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).SizeInKb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).SizeInKb = value; } + public long? SizeInKb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).SizeInKb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).SizeInKb = value ?? default(long); } /// /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. @@ -72,7 +72,7 @@ public partial class LogFile : /// The url to download the log file from. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string Url { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Url; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Url = value; } + public string Url { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Url; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ILogFilePropertiesInternal)Property).Url = value ?? null; } /// Creates an new instance. public LogFile() diff --git a/src/MySql/generated/api/Models/Api20171201/Server.cs b/src/MySql/generated/api/Models/Api20171201/Server.cs index 27c70a775ed6..358298084b3b 100644 --- a/src/MySql/generated/api/Models/Api20171201/Server.cs +++ b/src/MySql/generated/api/Models/Api20171201/Server.cs @@ -20,7 +20,7 @@ public partial class Server : /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 2)] - public string AdministratorLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).AdministratorLogin; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).AdministratorLogin = value; } + public string AdministratorLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).AdministratorLogin; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).AdministratorLogin = value ?? null; } /// /// Status showing whether the server data encryption is enabled with customer-managed keys. @@ -32,12 +32,12 @@ public partial class Server : /// Earliest restore point creation time (ISO8601 format) [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public global::System.DateTime? EarliestRestoreDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).EarliestRestoreDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).EarliestRestoreDate = value; } + public global::System.DateTime? EarliestRestoreDate { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).EarliestRestoreDate; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).EarliestRestoreDate = value ?? default(global::System.DateTime); } /// The fully qualified domain name of a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string FullyQualifiedDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).FullyQualifiedDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).FullyQualifiedDomainName = value; } + public string FullyQualifiedDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).FullyQualifiedDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).FullyQualifiedDomainName = value ?? null; } /// /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -70,12 +70,12 @@ public partial class Server : /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType)""); } /// Status showing whether the server enabled infrastructure encryption. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).InfrastructureEncryption = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).InfrastructureEncryption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption)""); } /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)] @@ -85,7 +85,7 @@ public partial class Server : /// The master server id of a replica server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string MasterServerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MasterServerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MasterServerId = value; } + public string MasterServerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MasterServerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MasterServerId = value ?? null; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__trackedResource).Id = value; } @@ -123,7 +123,7 @@ public partial class Server : /// Enforce a minimal Tls version for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MinimalTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).MinimalTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum)""); } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)] @@ -149,17 +149,17 @@ public partial class Server : /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).PublicNetworkAccess = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum)""); } /// The maximum number of replicas that a master server can have. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? ReplicaCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicaCapacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicaCapacity = value; } + public int? ReplicaCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicaCapacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicaCapacity = value ?? default(int); } /// The replication role of the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicationRole = value; } + public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).ReplicationRole = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISku _sku; @@ -172,54 +172,54 @@ public partial class Server : /// The scale up/out capacity, representing server's compute units. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity = value; } + public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity = value ?? default(int); } /// The family of hardware. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family = value; } + public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family = value ?? null; } /// /// The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 5)] - public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name = value; } + public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name = value ?? null; } /// The size code, to be interpreted by resource as appropriate. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string SkuSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size = value; } + public string SkuSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size = value ?? null; } /// The tier of the particular SKU, e.g. Basic. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 6)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); } /// Enable ssl enforcement or not when connect to server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 7)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).SslEnforcement = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).SslEnforcement = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum)""); } /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileBackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileBackupRetentionDay = value ?? default(int); } /// Enable Geo-redundant or not for server backup. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileGeoRedundantBackup = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileGeoRedundantBackup = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup)""); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 4)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).StorageProfileStorageMb = value ?? default(int); } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)] @@ -236,12 +236,12 @@ public partial class Server : /// A state of a server that is visible to user. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState? UserVisibleState { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).UserVisibleState; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).UserVisibleState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState? UserVisibleState { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).UserVisibleState; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).UserVisibleState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState)""); } /// Server version. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 3)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).Version = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesInternal)Property).Version = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion)""); } /// Creates an new instance. public Server() @@ -409,7 +409,7 @@ public partial interface IServer : /// The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.", SerializedName = @"name", diff --git a/src/MySql/generated/api/Models/Api20171201/ServerAdministratorResource.cs b/src/MySql/generated/api/Models/Api20171201/ServerAdministratorResource.cs index eba95cf5ca4b..fb41071cb725 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerAdministratorResource.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerAdministratorResource.cs @@ -25,7 +25,7 @@ public partial class ServerAdministratorResource : /// The server administrator login account name. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string Login { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Login = value; } + public string Login { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Login; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Login = value ?? null; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__resource).Id = value; } @@ -55,11 +55,11 @@ public partial class ServerAdministratorResource : /// The server administrator Sid (Secure ID). [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string Sid { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Sid; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Sid = value; } + public string Sid { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Sid; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).Sid = value ?? null; } /// The server Active Directory Administrator tenant id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).TenantId = value; } + public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerAdministratorPropertiesInternal)Property).TenantId = value ?? null; } /// /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. @@ -92,7 +92,7 @@ public partial interface IServerAdministratorResource : { /// The type of administrator. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = true, Description = @"The type of administrator.", SerializedName = @"administratorType", @@ -100,7 +100,7 @@ public partial interface IServerAdministratorResource : string AdministratorType { get; } /// The server administrator login account name. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The server administrator login account name.", SerializedName = @"login", @@ -108,7 +108,7 @@ public partial interface IServerAdministratorResource : string Login { get; set; } /// The server administrator Sid (Secure ID). [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The server administrator Sid (Secure ID).", SerializedName = @"sid", @@ -116,7 +116,7 @@ public partial interface IServerAdministratorResource : string Sid { get; set; } /// The server Active Directory Administrator tenant id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The server Active Directory Administrator tenant id.", SerializedName = @"tenantId", diff --git a/src/MySql/generated/api/Models/Api20171201/ServerForCreate.cs b/src/MySql/generated/api/Models/Api20171201/ServerForCreate.cs index 8a6dcc209f8e..75c21ade34cb 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerForCreate.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerForCreate.cs @@ -10,7 +10,7 @@ public partial class ServerForCreate : /// The mode to create a new server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).CreateMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).CreateMode = value ; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentity _identity; @@ -32,11 +32,11 @@ public partial class ServerForCreate : /// principal for the resource. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType)""); } /// Status showing whether the server enabled infrastructure encryption. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).InfrastructureEncryption = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).InfrastructureEncryption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryption)""); } /// Backing field for property. private string _location; @@ -65,7 +65,7 @@ public partial class ServerForCreate : /// Enforce a minimal Tls version for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).MinimalTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).MinimalTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum)""); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreate _property; @@ -79,7 +79,7 @@ public partial class ServerForCreate : /// or 'Disabled' /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).PublicNetworkAccess = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum)""); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISku _sku; @@ -90,45 +90,45 @@ public partial class ServerForCreate : /// The scale up/out capacity, representing server's compute units. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity = value; } + public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity = value ?? default(int); } /// The family of hardware. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family = value; } + public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family = value ?? null; } /// /// The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name = value; } + public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name = value ?? null; } /// The size code, to be interpreted by resource as appropriate. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string SkuSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size = value; } + public string SkuSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size = value ?? null; } /// The tier of the particular SKU, e.g. Basic. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); } /// Enable ssl enforcement or not when connect to server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).SslEnforcement = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).SslEnforcement = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum)""); } /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileBackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileBackupRetentionDay = value ?? default(int); } /// Enable Geo-redundant or not for server backup. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileGeoRedundantBackup = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileGeoRedundantBackup = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup)""); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).StorageProfileStorageMb = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateTags _tag; @@ -139,7 +139,7 @@ public partial class ServerForCreate : /// Server version. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).Version = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForCreateInternal)Property).Version = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion)""); } /// Creates an new instance. public ServerForCreate() @@ -241,7 +241,7 @@ public partial interface IServerForCreate : /// The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.", SerializedName = @"name", diff --git a/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnection.cs b/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnection.cs index ed02b3144bc0..125b3275adfb 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnection.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnection.cs @@ -35,7 +35,7 @@ public partial class ServerPrivateEndpointConnection : /// Resource id of the private endpoint. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value; } + public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateEndpointId = value ?? null; } /// The actions required for private link service connection. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] @@ -43,11 +43,11 @@ public partial class ServerPrivateEndpointConnection : /// The private link service connection description. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string PrivateLinkServiceConnectionStateDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription = value; } + public string PrivateLinkServiceConnectionStateDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateDescription = value ?? null; } /// The private link service connection status. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus PrivateLinkServiceConnectionStateStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus? PrivateLinkServiceConnectionStateStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionPropertiesInternal)Property).PrivateLinkServiceConnectionStateStatus = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus)""); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionProperties _property; @@ -96,7 +96,7 @@ public partial interface IServerPrivateEndpointConnection : Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateActionsRequire? PrivateLinkServiceConnectionStateActionsRequired { get; } /// The private link service connection description. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The private link service connection description.", SerializedName = @"description", @@ -104,12 +104,12 @@ public partial interface IServerPrivateEndpointConnection : string PrivateLinkServiceConnectionStateDescription { get; set; } /// The private link service connection status. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The private link service connection status.", SerializedName = @"status", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus) })] - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus PrivateLinkServiceConnectionStateStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus? PrivateLinkServiceConnectionStateStatus { get; set; } /// State of the private endpoint connection. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( Required = false, @@ -137,7 +137,7 @@ internal partial interface IServerPrivateEndpointConnectionInternal /// The private link service connection description. string PrivateLinkServiceConnectionStateDescription { get; set; } /// The private link service connection status. - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus PrivateLinkServiceConnectionStateStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus? PrivateLinkServiceConnectionStateStatus { get; set; } /// Private endpoint connection properties Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateEndpointConnectionProperties Property { get; set; } /// State of the private endpoint connection. diff --git a/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnectionProperties.cs b/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnectionProperties.cs index 498e66c1be98..207d38591aed 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnectionProperties.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerPrivateEndpointConnectionProperties.cs @@ -29,7 +29,7 @@ public partial class ServerPrivateEndpointConnectionProperties : /// Resource id of the private endpoint. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IPrivateEndpointPropertyInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IPrivateEndpointPropertyInternal)PrivateEndpoint).Id = value; } + public string PrivateEndpointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IPrivateEndpointPropertyInternal)PrivateEndpoint).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IPrivateEndpointPropertyInternal)PrivateEndpoint).Id = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStateProperty _privateLinkServiceConnectionState; @@ -44,11 +44,11 @@ public partial class ServerPrivateEndpointConnectionProperties : /// The private link service connection description. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string PrivateLinkServiceConnectionStateDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Description = value; } + public string PrivateLinkServiceConnectionStateDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Description = value ?? null; } /// The private link service connection status. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus PrivateLinkServiceConnectionStateStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Status = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus? PrivateLinkServiceConnectionStateStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPrivateLinkServiceConnectionStatePropertyInternal)PrivateLinkServiceConnectionState).Status = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus)""); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateEndpointProvisioningState? _provisioningState; @@ -87,7 +87,7 @@ public partial interface IServerPrivateEndpointConnectionProperties : Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateActionsRequire? PrivateLinkServiceConnectionStateActionsRequired { get; } /// The private link service connection description. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The private link service connection description.", SerializedName = @"description", @@ -95,12 +95,12 @@ public partial interface IServerPrivateEndpointConnectionProperties : string PrivateLinkServiceConnectionStateDescription { get; set; } /// The private link service connection status. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The private link service connection status.", SerializedName = @"status", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus) })] - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus PrivateLinkServiceConnectionStateStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus? PrivateLinkServiceConnectionStateStatus { get; set; } /// State of the private endpoint connection. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( Required = false, @@ -126,7 +126,7 @@ internal partial interface IServerPrivateEndpointConnectionPropertiesInternal /// The private link service connection description. string PrivateLinkServiceConnectionStateDescription { get; set; } /// The private link service connection status. - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus PrivateLinkServiceConnectionStateStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateLinkServiceConnectionStateStatus? PrivateLinkServiceConnectionStateStatus { get; set; } /// State of the private endpoint connection. Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PrivateEndpointProvisioningState? ProvisioningState { get; set; } diff --git a/src/MySql/generated/api/Models/Api20171201/ServerProperties.cs b/src/MySql/generated/api/Models/Api20171201/ServerProperties.cs index 3611def9643c..ac6c9e7e816f 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerProperties.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerProperties.cs @@ -118,19 +118,19 @@ public partial class ServerProperties : /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay = value ?? default(int); } /// Enable Geo-redundant or not for server backup. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup)""); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerState? _userVisibleState; diff --git a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForCreate.cs b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForCreate.cs index c873c4002e92..b4c0fb681484 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForCreate.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerPropertiesForCreate.cs @@ -58,19 +58,19 @@ public partial class ServerPropertiesForCreate : /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay = value ?? default(int); } /// Enable Geo-redundant or not for server backup. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup)""); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? _version; diff --git a/src/MySql/generated/api/Models/Api20171201/ServerSecurityAlertPolicy.cs b/src/MySql/generated/api/Models/Api20171201/ServerSecurityAlertPolicy.cs index f7cb76402364..a6bc0cdbb319 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerSecurityAlertPolicy.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerSecurityAlertPolicy.cs @@ -17,15 +17,15 @@ public partial class ServerSecurityAlertPolicy : /// Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string[] DisabledAlert { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).DisabledAlert; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).DisabledAlert = value; } + public string[] DisabledAlert { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).DisabledAlert; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).DisabledAlert = value ?? null /* arrayOf */; } /// Specifies that the alert is sent to the account administrators. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public bool? EmailAccountAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAccountAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAccountAdmin = value; } + public bool? EmailAccountAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAccountAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAccountAdmin = value ?? default(bool); } /// Specifies an array of e-mail addresses to which the alert is sent. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string[] EmailAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAddress = value; } + public string[] EmailAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).EmailAddress = value ?? null /* arrayOf */; } /// /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -58,22 +58,22 @@ public partial class ServerSecurityAlertPolicy : /// Specifies the number of days to keep in the Threat Detection audit logs. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? RetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).RetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).RetentionDay = value; } + public int? RetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).RetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).RetentionDay = value ?? default(int); } /// Specifies the state of the policy, whether it is enabled or disabled. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).State = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState)""); } /// Specifies the identifier key of the Threat Detection audit storage account. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string StorageAccountAccessKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageAccountAccessKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageAccountAccessKey = value; } + public string StorageAccountAccessKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageAccountAccessKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageAccountAccessKey = value ?? null; } /// /// Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat /// Detection audit logs. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string StorageEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageEndpoint = value; } + public string StorageEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyPropertiesInternal)Property).StorageEndpoint = value ?? null; } /// /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. @@ -140,12 +140,12 @@ public partial interface IServerSecurityAlertPolicy : int? RetentionDay { get; set; } /// Specifies the state of the policy, whether it is enabled or disabled. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Specifies the state of the policy, whether it is enabled or disabled.", SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState) })] - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState? State { get; set; } /// Specifies the identifier key of the Threat Detection audit storage account. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( Required = false, @@ -184,7 +184,7 @@ internal partial interface IServerSecurityAlertPolicyInternal : /// Specifies the number of days to keep in the Threat Detection audit logs. int? RetentionDay { get; set; } /// Specifies the state of the policy, whether it is enabled or disabled. - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState? State { get; set; } /// Specifies the identifier key of the Threat Detection audit storage account. string StorageAccountAccessKey { get; set; } /// diff --git a/src/MySql/generated/api/Models/Api20171201/ServerUpdateParameters.cs b/src/MySql/generated/api/Models/Api20171201/ServerUpdateParameters.cs index fc488966bc34..49fac71d3636 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerUpdateParameters.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerUpdateParameters.cs @@ -10,7 +10,7 @@ public partial class ServerUpdateParameters : /// The password of the administrator login. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string AdministratorLoginPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).AdministratorLoginPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).AdministratorLoginPassword = value; } + public string AdministratorLoginPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).AdministratorLoginPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).AdministratorLoginPassword = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentity _identity; @@ -32,7 +32,7 @@ public partial class ServerUpdateParameters : /// principal for the resource. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.IdentityType)""); } /// Internal Acessors for Identity Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IResourceIdentity Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ResourceIdentity()); set { {_identity = value;} } } @@ -54,7 +54,7 @@ public partial class ServerUpdateParameters : /// Enforce a minimal Tls version for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).MinimalTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum? MinimalTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).MinimalTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).MinimalTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum)""); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersProperties _property; @@ -68,11 +68,11 @@ public partial class ServerUpdateParameters : /// or 'Disabled' /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).PublicNetworkAccess = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum? PublicNetworkAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).PublicNetworkAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).PublicNetworkAccess = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.PublicNetworkAccessEnum)""); } /// The replication role of the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).ReplicationRole = value; } + public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).ReplicationRole = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISku _sku; @@ -83,45 +83,45 @@ public partial class ServerUpdateParameters : /// The scale up/out capacity, representing server's compute units. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity = value; } + public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Capacity = value ?? default(int); } /// The family of hardware. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family = value; } + public string SkuFamily { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Family = value ?? null; } /// /// The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name = value; } + public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Name = value ?? null; } /// The size code, to be interpreted by resource as appropriate. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string SkuSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size = value; } + public string SkuSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Size = value ?? null; } /// The tier of the particular SKU, e.g. Basic. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISkuInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); } /// Enable ssl enforcement or not when connect to server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).SslEnforcement = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).SslEnforcement = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum)""); } /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileBackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileBackupRetentionDay = value ?? default(int); } /// Enable Geo-redundant or not for server backup. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileGeoRedundantBackup = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileGeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileGeoRedundantBackup = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup)""); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).StorageProfileStorageMb = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersTags _tag; @@ -132,7 +132,7 @@ public partial class ServerUpdateParameters : /// The version of a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).Version = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersPropertiesInternal)Property).Version = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion)""); } /// Creates an new instance. public ServerUpdateParameters() @@ -226,7 +226,7 @@ public partial interface IServerUpdateParameters : /// The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.", SerializedName = @"name", diff --git a/src/MySql/generated/api/Models/Api20171201/ServerUpdateParametersProperties.cs b/src/MySql/generated/api/Models/Api20171201/ServerUpdateParametersProperties.cs index 068d697c0315..234bd6bcac99 100644 --- a/src/MySql/generated/api/Models/Api20171201/ServerUpdateParametersProperties.cs +++ b/src/MySql/generated/api/Models/Api20171201/ServerUpdateParametersProperties.cs @@ -58,19 +58,19 @@ public partial class ServerUpdateParametersProperties : /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).BackupRetentionDay = value ?? default(int); } /// Enable Geo-redundant or not for server backup. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup? StorageProfileGeoRedundantBackup { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).GeoRedundantBackup = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup)""); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IStorageProfileInternal)StorageProfile).StorageMb = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? _version; diff --git a/src/MySql/generated/api/Models/Api20171201/VirtualNetworkRule.cs b/src/MySql/generated/api/Models/Api20171201/VirtualNetworkRule.cs index 4e68a413510c..0e0b262b2549 100644 --- a/src/MySql/generated/api/Models/Api20171201/VirtualNetworkRule.cs +++ b/src/MySql/generated/api/Models/Api20171201/VirtualNetworkRule.cs @@ -23,7 +23,7 @@ public partial class VirtualNetworkRule : /// Create firewall rule before the virtual network has vnet service endpoint enabled. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public bool? IgnoreMissingVnetServiceEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).IgnoreMissingVnetServiceEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).IgnoreMissingVnetServiceEndpoint = value; } + public bool? IgnoreMissingVnetServiceEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).IgnoreMissingVnetServiceEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).IgnoreMissingVnetServiceEndpoint = value ?? default(bool); } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__resource).Id = value; } @@ -63,7 +63,7 @@ public partial class VirtualNetworkRule : /// The ARM resource id of the virtual network subnet. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string VirtualNetworkSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).VirtualNetworkSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).VirtualNetworkSubnetId = value; } + public string VirtualNetworkSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).VirtualNetworkSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRulePropertiesInternal)Property).VirtualNetworkSubnetId = value ; } /// Validates that this object meets the validation criteria. /// an instance that will receive validation diff --git a/src/MySql/generated/api/Models/Api20200701Preview/ConfigurationAutoGenerated.cs b/src/MySql/generated/api/Models/Api20200701Preview/ConfigurationAutoGenerated.cs index 022cf4c725e5..68f1b2f8dfe6 100644 --- a/src/MySql/generated/api/Models/Api20200701Preview/ConfigurationAutoGenerated.cs +++ b/src/MySql/generated/api/Models/Api20200701Preview/ConfigurationAutoGenerated.cs @@ -104,7 +104,7 @@ public partial class ConfigurationAutoGenerated : /// Source of the configuration. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 3)] - public string Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Source = value; } + public string Source { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Source; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Source = value ?? null; } /// /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. @@ -116,7 +116,7 @@ public partial class ConfigurationAutoGenerated : /// Value of the configuration. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 1)] - public string Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Value = value; } + public string Value { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationPropertiesAutoGeneratedInternal)Property).Value = value ?? null; } /// Creates an new instance. public ConfigurationAutoGenerated() diff --git a/src/MySql/generated/api/Models/Api20200701Preview/ServerAutoGenerated.cs b/src/MySql/generated/api/Models/Api20200701Preview/ServerAutoGenerated.cs index 97420f74fdac..f9c0157c2548 100644 --- a/src/MySql/generated/api/Models/Api20200701Preview/ServerAutoGenerated.cs +++ b/src/MySql/generated/api/Models/Api20200701Preview/ServerAutoGenerated.cs @@ -20,17 +20,17 @@ public partial class ServerAutoGenerated : /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 4)] - public string AdministratorLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLogin; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLogin = value; } + public string AdministratorLogin { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLogin; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLogin = value ?? null; } /// The password of the administrator login (required for server creation). [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string AdministratorLoginPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLoginPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLoginPassword = value; } + public string AdministratorLoginPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLoginPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AdministratorLoginPassword = value ?? null; } /// availability Zone information of the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string AvailabilityZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AvailabilityZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AvailabilityZone = value; } + public string AvailabilityZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AvailabilityZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).AvailabilityZone = value ?? null; } /// /// Status showing whether the data encryption is enabled with customer-managed keys. @@ -42,12 +42,12 @@ public partial class ServerAutoGenerated : /// The mode to create a new MySQL server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode? CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).CreateMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode? CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).CreateMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode)""); } /// delegated subnet arm resource id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId = value; } + public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId = value ?? null; } /// Earliest restore point creation time (ISO8601 format) [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] @@ -62,7 +62,7 @@ public partial class ServerAutoGenerated : /// Enable HA or not for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum? HaEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).HaEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).HaEnabled = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum? HaEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).HaEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).HaEnabled = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum)""); } /// The state of a HA server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] @@ -97,12 +97,12 @@ public partial class ServerAutoGenerated : /// The identity type. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ResourceIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IIdentityInternal)Identity).Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ResourceIdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ResourceIdentityType)""); } /// Status showing whether the server enabled infrastructure encryption. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryptionEnum? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).InfrastructureEncryption = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryptionEnum? InfrastructureEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).InfrastructureEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).InfrastructureEncryption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryptionEnum)""); } /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)] @@ -112,22 +112,22 @@ public partial class ServerAutoGenerated : /// indicates whether custom window is enabled or disabled [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowCustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowCustomWindow = value; } + public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowCustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowCustomWindow = value ?? null; } /// day of week for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowDayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowDayOfWeek = value; } + public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowDayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowDayOfWeek = value ?? default(int); } /// start hour for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartHour = value; } + public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartHour = value ?? default(int); } /// start minute for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartMinute = value; } + public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).MaintenanceWindowStartMinute = value ?? default(int); } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__trackedResource).Id = value; } @@ -194,7 +194,7 @@ public partial class ServerAutoGenerated : /// Application-specific metadata in the form of key-value pairs. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesTags PropertiesTag { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesTags PropertiesTag { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Tag = value ?? null /* model class */; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGenerated _property; @@ -220,14 +220,14 @@ public partial class ServerAutoGenerated : /// The replication role. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).ReplicationRole = value; } + public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).ReplicationRole = value ?? null; } /// /// Restore point creation time (ISO8601 format), specifying the time to restore from. /// [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public global::System.DateTime? RestorePointInTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).RestorePointInTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).RestorePointInTime = value; } + public global::System.DateTime? RestorePointInTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).RestorePointInTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).RestorePointInTime = value ?? default(global::System.DateTime); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGenerated _sku; @@ -240,22 +240,22 @@ public partial class ServerAutoGenerated : /// The name of the sku, e.g. Standard_D32s_v3. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 2)] - public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name = value; } + public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name = value ?? null; } /// The tier of the particular SKU, e.g. GeneralPurpose. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 3)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); } /// The source MySQL server id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public string SourceServerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SourceServerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SourceServerId = value; } + public string SourceServerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SourceServerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SourceServerId = value ?? null; } /// Enable ssl enforcement or not when connect to server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SslEnforcement = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).SslEnforcement = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum)""); } /// availability Zone information of the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] @@ -270,22 +270,22 @@ public partial class ServerAutoGenerated : /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileBackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileBackupRetentionDay = value ?? default(int); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Storage IOPS for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] - public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageIop = value; } + public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageIop = value ?? default(int); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 6)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).StorageProfileStorageMb = value ?? default(int); } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)] @@ -302,7 +302,7 @@ public partial class ServerAutoGenerated : /// Server version. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.FormatTable(Index = 5)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Version = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion? Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal)Property).Version = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion)""); } /// Creates an new instance. public ServerAutoGenerated() @@ -523,7 +523,7 @@ public partial interface IServerAutoGenerated : global::System.DateTime? RestorePointInTime { get; set; } /// The name of the sku, e.g. Standard_D32s_v3. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the sku, e.g. Standard_D32s_v3.", SerializedName = @"name", @@ -531,12 +531,12 @@ public partial interface IServerAutoGenerated : string SkuName { get; set; } /// The tier of the particular SKU, e.g. GeneralPurpose. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The tier of the particular SKU, e.g. GeneralPurpose.", SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier) })] - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get; set; } /// The source MySQL server id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( Required = false, @@ -684,7 +684,7 @@ internal partial interface IServerAutoGeneratedInternal : /// The name of the sku, e.g. Standard_D32s_v3. string SkuName { get; set; } /// The tier of the particular SKU, e.g. GeneralPurpose. - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get; set; } /// The source MySQL server id. string SourceServerId { get; set; } /// Enable ssl enforcement or not when connect to server. diff --git a/src/MySql/generated/api/Models/Api20200701Preview/ServerForUpdate.cs b/src/MySql/generated/api/Models/Api20200701Preview/ServerForUpdate.cs index d09e6e00074a..a7e531c66c7c 100644 --- a/src/MySql/generated/api/Models/Api20200701Preview/ServerForUpdate.cs +++ b/src/MySql/generated/api/Models/Api20200701Preview/ServerForUpdate.cs @@ -10,31 +10,31 @@ public partial class ServerForUpdate : /// The password of the administrator login. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string AdministratorLoginPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).AdministratorLoginPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).AdministratorLoginPassword = value; } + public string AdministratorLoginPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).AdministratorLoginPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).AdministratorLoginPassword = value ?? null; } /// delegated subnet arm resource id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId = value; } + public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).DelegatedSubnetArgumentSubnetArmResourceId = value ?? null; } /// Enable HA or not for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum? HaEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).HaEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).HaEnabled = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum? HaEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).HaEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).HaEnabled = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum)""); } /// indicates whether custom window is enabled or disabled [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowCustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowCustomWindow = value; } + public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowCustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowCustomWindow = value ?? null; } /// day of week for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowDayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowDayOfWeek = value; } + public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowDayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowDayOfWeek = value ?? default(int); } /// start hour for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartHour = value; } + public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartHour = value ?? default(int); } /// start minute for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartMinute = value; } + public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).MaintenanceWindowStartMinute = value ?? default(int); } /// Internal Acessors for DelegatedSubnetArgument Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArguments Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerForUpdateInternal.DelegatedSubnetArgument { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).DelegatedSubnetArgument; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).DelegatedSubnetArgument = value; } @@ -60,7 +60,7 @@ public partial class ServerForUpdate : /// The replication role of the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).ReplicationRole = value; } + public string ReplicationRole { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).ReplicationRole; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).ReplicationRole = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGenerated _sku; @@ -71,31 +71,31 @@ public partial class ServerForUpdate : /// The name of the sku, e.g. Standard_D32s_v3. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name = value; } + public string SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Name = value ?? null; } /// The tier of the particular SKU, e.g. GeneralPurpose. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ISkuAutoGeneratedInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); } /// Enable ssl enforcement or not when connect to server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).SslEnforcement = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).SslEnforcement; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).SslEnforcement = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum)""); } /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileBackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileBackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileBackupRetentionDay = value ?? default(int); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Storage IOPS for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageIop = value; } + public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageIop = value ?? default(int); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal)Property).StorageProfileStorageMb = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerForUpdateTags _tag; @@ -180,7 +180,7 @@ public partial interface IServerForUpdate : string ReplicationRole { get; set; } /// The name of the sku, e.g. Standard_D32s_v3. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the sku, e.g. Standard_D32s_v3.", SerializedName = @"name", @@ -188,12 +188,12 @@ public partial interface IServerForUpdate : string SkuName { get; set; } /// The tier of the particular SKU, e.g. GeneralPurpose. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The tier of the particular SKU, e.g. GeneralPurpose.", SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier) })] - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get; set; } /// Enable ssl enforcement or not when connect to server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( Required = false, @@ -275,7 +275,7 @@ internal partial interface IServerForUpdateInternal /// The name of the sku, e.g. Standard_D32s_v3. string SkuName { get; set; } /// The tier of the particular SKU, e.g. GeneralPurpose. - Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier? SkuTier { get; set; } /// Enable ssl enforcement or not when connect to server. Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum? SslEnforcement { get; set; } /// Storage profile of a server. diff --git a/src/MySql/generated/api/Models/Api20200701Preview/ServerKey.cs b/src/MySql/generated/api/Models/Api20200701Preview/ServerKey.cs index 53c0aa7ede23..5af6689eeb25 100644 --- a/src/MySql/generated/api/Models/Api20200701Preview/ServerKey.cs +++ b/src/MySql/generated/api/Models/Api20200701Preview/ServerKey.cs @@ -74,7 +74,7 @@ public partial class ServerKey : /// The URI of the key. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKeyPropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKeyPropertiesInternal)Property).Uri = value; } + public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKeyPropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKeyPropertiesInternal)Property).Uri = value ?? null; } /// Creates an new instance. public ServerKey() @@ -117,7 +117,7 @@ public partial interface IServerKey : string Kind { get; } /// The key type like 'AzureKeyVault'. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info( - Required = true, + Required = false, ReadOnly = true, Description = @"The key type like 'AzureKeyVault'.", SerializedName = @"serverKeyType", diff --git a/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesAutoGenerated.cs b/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesAutoGenerated.cs index a7b06914fa34..9465a3e3a241 100644 --- a/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesAutoGenerated.cs +++ b/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesAutoGenerated.cs @@ -57,7 +57,7 @@ public partial class ServerPropertiesAutoGenerated : /// delegated subnet arm resource id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId = value; } + public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId = value ?? null; } /// Backing field for property. private global::System.DateTime? _earliestRestoreDate; @@ -103,19 +103,19 @@ public partial class ServerPropertiesAutoGenerated : /// indicates whether custom window is enabled or disabled [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow = value; } + public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow = value ?? null; } /// day of week for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek = value; } + public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek = value ?? default(int); } /// start hour for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour = value; } + public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour = value ?? default(int); } /// start minute for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute = value; } + public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute = value ?? default(int); } /// Internal Acessors for ByokEnforcement string Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesAutoGeneratedInternal.ByokEnforcement { get => this._byokEnforcement; set { {_byokEnforcement = value;} } } @@ -220,19 +220,19 @@ public partial class ServerPropertiesAutoGenerated : /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay = value ?? default(int); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Storage IOPS for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop = value; } + public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop = value ?? default(int); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesTags _tag; diff --git a/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesForUpdate.cs b/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesForUpdate.cs index 5c71c191b156..2718465c2839 100644 --- a/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesForUpdate.cs +++ b/src/MySql/generated/api/Models/Api20200701Preview/ServerPropertiesForUpdate.cs @@ -24,7 +24,7 @@ public partial class ServerPropertiesForUpdate : /// delegated subnet arm resource id. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId = value; } + public string DelegatedSubnetArgumentSubnetArmResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArgumentsInternal)DelegatedSubnetArgument).SubnetArmResourceId = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum? _haEnabled; @@ -42,19 +42,19 @@ public partial class ServerPropertiesForUpdate : /// indicates whether custom window is enabled or disabled [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow = value; } + public string MaintenanceWindowCustomWindow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).CustomWindow = value ?? null; } /// day of week for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek = value; } + public int? MaintenanceWindowDayOfWeek { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).DayOfWeek = value ?? default(int); } /// start hour for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour = value; } + public int? MaintenanceWindowStartHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartHour = value ?? default(int); } /// start minute for maintenance window [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute = value; } + public int? MaintenanceWindowStartMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IMaintenanceWindowInternal)MaintenanceWindow).StartMinute = value ?? default(int); } /// Internal Acessors for DelegatedSubnetArgument Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetArguments Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerPropertiesForUpdateInternal.DelegatedSubnetArgument { get => (this._delegatedSubnetArgument = this._delegatedSubnetArgument ?? new Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.DelegatedSubnetArguments()); set { {_delegatedSubnetArgument = value;} } } @@ -88,19 +88,19 @@ public partial class ServerPropertiesForUpdate : /// Backup retention days for the server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay = value; } + public int? StorageProfileBackupRetentionDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).BackupRetentionDay = value ?? default(int); } /// Enable Storage Auto Grow. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow? StorageProfileStorageAutogrow { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageAutogrow = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow)""); } /// Storage IOPS for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop = value; } + public int? StorageProfileStorageIop { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageIop = value ?? default(int); } /// Max storage allowed for a server. [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] - public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb = value; } + public int? StorageProfileStorageMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IStorageProfileAutoGeneratedInternal)StorageProfile).StorageMb = value ?? default(int); } /// Creates an new instance. public ServerPropertiesForUpdate() diff --git a/src/MySql/generated/api/MySql.cs b/src/MySql/generated/api/MySql.cs index 28ee5062d9b8..d222ff323de9 100644 --- a/src/MySql/generated/api/MySql.cs +++ b/src/MySql/generated/api/MySql.cs @@ -34,8 +34,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -45,19 +45,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(configurationName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ConfigurationsCreateOrUpdate_Call(request,onOk,eventListener,sender); } @@ -92,8 +93,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var configurationName = _match.Groups["configurationName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -103,19 +104,20 @@ public partial class MySql + configurationName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ConfigurationsCreateOrUpdate_Call(request,onOk,eventListener,sender); } @@ -136,15 +138,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -170,33 +173,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -211,6 +216,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -306,8 +314,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -317,15 +325,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(configurationName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ConfigurationsGet_Call(request,onOk,eventListener,sender); } @@ -359,8 +368,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var configurationName = _match.Groups["configurationName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -370,15 +379,16 @@ public partial class MySql + configurationName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ConfigurationsGet_Call(request,onOk,eventListener,sender); } @@ -399,8 +409,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -472,8 +483,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -482,15 +493,16 @@ public partial class MySql + "/configurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ConfigurationsListByServer_Call(request,onOk,eventListener,sender); } @@ -523,8 +535,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -533,15 +545,16 @@ public partial class MySql + "/configurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ConfigurationsListByServer_Call(request,onOk,eventListener,sender); } @@ -562,8 +575,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -635,8 +649,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -646,19 +660,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesCreateOrUpdate_Call(request,onOk,eventListener,sender); } @@ -693,8 +708,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var databaseName = _match.Groups["databaseName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -704,19 +719,20 @@ public partial class MySql + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesCreateOrUpdate_Call(request,onOk,eventListener,sender); } @@ -737,15 +753,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -771,33 +788,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -812,6 +831,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -908,8 +930,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -919,15 +941,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesDelete_Call(request,onOk,onNoContent,eventListener,sender); } @@ -962,8 +985,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var databaseName = _match.Groups["databaseName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -973,15 +996,16 @@ public partial class MySql + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesDelete_Call(request,onOk,onNoContent,eventListener,sender); } @@ -1003,8 +1027,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -1012,7 +1037,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -1038,33 +1063,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -1079,6 +1106,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -1177,8 +1207,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1188,15 +1218,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesGet_Call(request,onOk,eventListener,sender); } @@ -1230,8 +1261,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var databaseName = _match.Groups["databaseName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1241,15 +1272,16 @@ public partial class MySql + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesGet_Call(request,onOk,eventListener,sender); } @@ -1270,8 +1302,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -1343,8 +1376,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1353,15 +1386,16 @@ public partial class MySql + "/databases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesListByServer_Call(request,onOk,eventListener,sender); } @@ -1394,8 +1428,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1404,15 +1438,16 @@ public partial class MySql + "/databases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesListByServer_Call(request,onOk,eventListener,sender); } @@ -1433,8 +1468,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -1506,8 +1542,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1517,19 +1553,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(firewallRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesCreateOrUpdate_Call(request,onOk,eventListener,sender); } @@ -1564,8 +1601,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var firewallRuleName = _match.Groups["firewallRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1575,19 +1612,20 @@ public partial class MySql + firewallRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesCreateOrUpdate_Call(request,onOk,eventListener,sender); } @@ -1608,15 +1646,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -1642,33 +1681,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -1683,6 +1724,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -1779,8 +1823,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1790,15 +1834,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(firewallRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesDelete_Call(request,onOk,onNoContent,eventListener,sender); } @@ -1833,8 +1878,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var firewallRuleName = _match.Groups["firewallRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1844,15 +1889,16 @@ public partial class MySql + firewallRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesDelete_Call(request,onOk,onNoContent,eventListener,sender); } @@ -1874,8 +1920,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -1883,7 +1930,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -1909,33 +1956,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -1950,6 +1999,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -2048,8 +2100,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2059,15 +2111,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(firewallRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesGet_Call(request,onOk,eventListener,sender); } @@ -2101,8 +2154,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var firewallRuleName = _match.Groups["firewallRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2112,15 +2165,16 @@ public partial class MySql + firewallRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesGet_Call(request,onOk,eventListener,sender); } @@ -2141,8 +2195,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -2214,8 +2269,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2224,15 +2279,16 @@ public partial class MySql + "/firewallRules" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesListByServer_Call(request,onOk,eventListener,sender); } @@ -2265,8 +2321,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2275,15 +2331,16 @@ public partial class MySql + "/firewallRules" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FirewallRulesListByServer_Call(request,onOk,eventListener,sender); } @@ -2304,8 +2361,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -2378,8 +2436,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2389,15 +2447,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(configurationName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerConfigurationsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -2433,8 +2492,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var configurationName = _match.Groups["configurationName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2444,15 +2503,16 @@ public partial class MySql + configurationName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerConfigurationsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -2475,8 +2535,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -2552,8 +2613,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2562,15 +2623,16 @@ public partial class MySql + "/configurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerConfigurationsListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -2605,8 +2667,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2615,15 +2677,16 @@ public partial class MySql + "/configurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerConfigurationsListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -2648,8 +2711,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -2725,8 +2789,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2736,19 +2800,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(configurationName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerConfigurationsUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -2785,8 +2850,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var configurationName = _match.Groups["configurationName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2796,19 +2861,20 @@ public partial class MySql + configurationName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerConfigurationsUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -2831,15 +2897,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -2865,33 +2932,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -2906,6 +2975,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -3006,8 +3078,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3017,19 +3089,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -3066,8 +3139,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var databaseName = _match.Groups["databaseName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3077,19 +3150,20 @@ public partial class MySql + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -3114,15 +3188,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -3148,33 +3223,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -3189,6 +3266,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -3289,8 +3369,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3300,15 +3380,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -3345,8 +3426,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var databaseName = _match.Groups["databaseName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3356,15 +3437,16 @@ public partial class MySql + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -3388,8 +3470,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -3397,7 +3480,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -3423,33 +3506,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -3464,6 +3549,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -3566,8 +3654,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3577,15 +3665,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -3621,8 +3710,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var databaseName = _match.Groups["databaseName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3632,15 +3721,16 @@ public partial class MySql + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -3663,8 +3753,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -3740,8 +3831,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3750,15 +3841,16 @@ public partial class MySql + "/databases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -3793,8 +3885,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3803,15 +3895,16 @@ public partial class MySql + "/databases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerDatabasesListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -3834,8 +3927,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -3911,8 +4005,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3922,19 +4016,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(firewallRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -3971,8 +4066,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var firewallRuleName = _match.Groups["firewallRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3982,19 +4077,20 @@ public partial class MySql + firewallRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -4019,15 +4115,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -4053,33 +4150,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -4094,6 +4193,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -4194,8 +4296,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4205,15 +4307,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(firewallRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -4250,8 +4353,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var firewallRuleName = _match.Groups["firewallRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -4261,15 +4364,16 @@ public partial class MySql + firewallRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -4293,8 +4397,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -4302,7 +4407,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -4328,33 +4433,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -4369,6 +4476,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -4471,8 +4581,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4482,15 +4592,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(firewallRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -4526,8 +4637,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var firewallRuleName = _match.Groups["firewallRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -4537,15 +4648,16 @@ public partial class MySql + firewallRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -4568,8 +4680,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4645,8 +4758,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4655,15 +4768,16 @@ public partial class MySql + "/firewallRules" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -4698,8 +4812,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -4708,15 +4822,16 @@ public partial class MySql + "/firewallRules" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerFirewallRulesListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -4741,8 +4856,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4818,8 +4934,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4829,19 +4945,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(keyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -4878,8 +4995,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var keyName = _match.Groups["keyName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -4889,19 +5006,20 @@ public partial class MySql + keyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -4924,15 +5042,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -4958,33 +5077,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -4999,6 +5120,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -5099,8 +5223,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -5110,15 +5234,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(keyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -5155,8 +5280,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var keyName = _match.Groups["keyName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -5166,15 +5291,16 @@ public partial class MySql + keyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -5198,8 +5324,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -5207,7 +5334,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -5233,33 +5360,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -5274,6 +5403,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -5376,8 +5508,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -5387,15 +5519,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(keyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -5431,8 +5564,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var keyName = _match.Groups["keyName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -5442,15 +5575,16 @@ public partial class MySql + keyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -5473,8 +5607,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -5550,8 +5685,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -5560,15 +5695,16 @@ public partial class MySql + "/keys" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -5603,8 +5739,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -5613,15 +5749,16 @@ public partial class MySql + "/keys" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerKeysListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -5644,8 +5781,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -5718,23 +5856,24 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.DBForMySql/locations/" + global::System.Uri.EscapeDataString(locationName) + "/capabilities" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerLocationBasedCapabilitiesList_Call(request,onOk,onDefault,eventListener,sender); } @@ -5768,23 +5907,24 @@ public partial class MySql var subscriptionId = _match.Groups["subscriptionId"].Value; var locationName = _match.Groups["locationName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.DBForMySql/locations/" + locationName + "/capabilities" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerLocationBasedCapabilitiesList_Call(request,onOk,onDefault,eventListener,sender); } @@ -5809,8 +5949,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -5878,25 +6019,26 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.DBForMySql/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerNameAvailabilityTest_Call(request,onOk,onDefault,eventListener,sender); } @@ -5930,25 +6072,26 @@ public partial class MySql // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.DBForMySql/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerNameAvailabilityTest_Call(request,onOk,onDefault,eventListener,sender); } @@ -5971,8 +6114,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -6042,8 +6186,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6052,15 +6196,16 @@ public partial class MySql + "/replicas" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerReplicasListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -6095,8 +6240,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6105,15 +6250,16 @@ public partial class MySql + "/replicas" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerReplicasListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -6136,8 +6282,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -6211,27 +6358,28 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.DBForMySql/locations/" + global::System.Uri.EscapeDataString(locationName) + "/checkVirtualNetworkSubnetUsage" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerVirtualNetworkSubnetUsageGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -6266,27 +6414,28 @@ public partial class MySql var subscriptionId = _match.Groups["subscriptionId"].Value; var locationName = _match.Groups["locationName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.DBForMySql/locations/" + locationName + "/checkVirtualNetworkSubnetUsage" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServerVirtualNetworkSubnetUsageGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -6311,8 +6460,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -6387,8 +6537,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6396,19 +6546,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersCreate_Call(request,onOk,onDefault,eventListener,sender); } @@ -6446,8 +6597,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6455,19 +6606,20 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersCreate_Call(request,onOk,onDefault,eventListener,sender); } @@ -6490,15 +6642,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -6524,33 +6677,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -6565,6 +6720,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -6662,8 +6820,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6671,15 +6829,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -6715,8 +6874,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6724,15 +6883,16 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -6756,8 +6916,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -6765,7 +6926,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -6791,33 +6952,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -6832,6 +6995,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -6931,8 +7097,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6940,15 +7106,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -6983,8 +7150,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6992,15 +7159,16 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -7023,8 +7191,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -7096,21 +7265,22 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.DBForMySql/flexibleServers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersList_Call(request,onOk,onDefault,eventListener,sender); } @@ -7134,23 +7304,24 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DBForMySql/flexibleServers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersListByResourceGroup_Call(request,onOk,onDefault,eventListener,sender); } @@ -7184,23 +7355,24 @@ public partial class MySql var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.DBForMySql/flexibleServers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersListByResourceGroup_Call(request,onOk,onDefault,eventListener,sender); } @@ -7223,8 +7395,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -7304,21 +7477,22 @@ public partial class MySql // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.DBForMySql/flexibleServers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersList_Call(request,onOk,onDefault,eventListener,sender); } @@ -7341,8 +7515,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -7409,8 +7584,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -7419,15 +7594,16 @@ public partial class MySql + "/restart" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersRestart_Call(request,onOk,onDefault,eventListener,sender); } @@ -7462,8 +7638,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7472,15 +7648,16 @@ public partial class MySql + "/restart" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersRestart_Call(request,onOk,onDefault,eventListener,sender); } @@ -7503,8 +7680,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -7512,7 +7690,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -7538,33 +7716,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -7579,6 +7759,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -7672,8 +7855,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -7682,15 +7865,16 @@ public partial class MySql + "/start" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersStart_Call(request,onOk,onDefault,eventListener,sender); } @@ -7725,8 +7909,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7735,15 +7919,16 @@ public partial class MySql + "/start" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersStart_Call(request,onOk,onDefault,eventListener,sender); } @@ -7766,8 +7951,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -7775,7 +7961,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -7801,33 +7987,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -7842,6 +8030,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -7935,8 +8126,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -7945,15 +8136,16 @@ public partial class MySql + "/stop" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersStop_Call(request,onOk,onDefault,eventListener,sender); } @@ -7988,8 +8180,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7998,15 +8190,16 @@ public partial class MySql + "/stop" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersStop_Call(request,onOk,onDefault,eventListener,sender); } @@ -8029,8 +8222,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -8038,7 +8232,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -8064,33 +8258,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -8105,6 +8301,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -8201,8 +8400,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -8210,19 +8409,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -8260,8 +8460,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -8269,19 +8469,20 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.FlexibleServersUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -8304,15 +8505,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -8338,33 +8540,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -8379,6 +8583,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -8472,23 +8679,24 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.DBForMySQL/locations/" + global::System.Uri.EscapeDataString(locationName) + "/performanceTiers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.LocationBasedPerformanceTierList_Call(request,onOk,eventListener,sender); } @@ -8520,23 +8728,24 @@ public partial class MySql var subscriptionId = _match.Groups["subscriptionId"].Value; var locationName = _match.Groups["locationName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.DBForMySQL/locations/" + locationName + "/performanceTiers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.LocationBasedPerformanceTierList_Call(request,onOk,eventListener,sender); } @@ -8557,8 +8766,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -8623,8 +8833,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -8633,15 +8843,16 @@ public partial class MySql + "/logFiles" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.LogFilesListByServer_Call(request,onOk,eventListener,sender); } @@ -8674,8 +8885,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -8684,15 +8895,16 @@ public partial class MySql + "/logFiles" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.LogFilesListByServer_Call(request,onOk,eventListener,sender); } @@ -8713,8 +8925,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -8783,25 +8996,26 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.DBForMySQL/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.NameAvailabilityTest_Call(request,onOk,eventListener,sender); } @@ -8833,25 +9047,26 @@ public partial class MySql // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.DBForMySQL/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.NameAvailabilityTest_Call(request,onOk,eventListener,sender); } @@ -8872,8 +9087,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -8936,19 +9152,20 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/providers/Microsoft.DBForMySQL/operations" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/providers/Microsoft.DBForMySQL/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.OperationsList_Call(request,onOk,eventListener,sender); } @@ -8970,19 +9187,20 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/providers/Microsoft.DBForMySql/operations" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/providers/Microsoft.DBForMySql/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.OperationsList1_Call(request,onOk,onDefault,eventListener,sender); } @@ -9014,19 +9232,20 @@ public partial class MySql // replace URI parameters with values from identity // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/providers/Microsoft.DBForMySql/operations" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/providers/Microsoft.DBForMySql/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.OperationsList1_Call(request,onOk,onDefault,eventListener,sender); } @@ -9049,8 +9268,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -9120,19 +9340,20 @@ public partial class MySql // replace URI parameters with values from identity // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/providers/Microsoft.DBForMySQL/operations" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/providers/Microsoft.DBForMySQL/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.OperationsList_Call(request,onOk,eventListener,sender); } @@ -9153,8 +9374,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -9215,8 +9437,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9225,15 +9447,16 @@ public partial class MySql + "/replicas" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ReplicasListByServer_Call(request,onOk,eventListener,sender); } @@ -9266,8 +9489,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9276,15 +9499,16 @@ public partial class MySql + "/replicas" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ReplicasListByServer_Call(request,onOk,eventListener,sender); } @@ -9305,8 +9529,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -9382,8 +9607,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9392,19 +9617,20 @@ public partial class MySql + "/Administrators/activeDirectory" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -9443,8 +9669,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9453,19 +9679,20 @@ public partial class MySql + "/Administrators/activeDirectory" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -9488,15 +9715,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -9522,33 +9750,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -9563,6 +9793,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -9660,8 +9893,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9670,15 +9903,16 @@ public partial class MySql + "/Administrators/activeDirectory" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -9714,8 +9948,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9724,15 +9958,16 @@ public partial class MySql + "/Administrators/activeDirectory" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -9756,8 +9991,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -9765,7 +10001,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -9791,33 +10027,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -9832,6 +10070,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -9931,8 +10172,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9941,15 +10182,16 @@ public partial class MySql + "/Administrators/activeDirectory" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -9984,8 +10226,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9994,15 +10236,16 @@ public partial class MySql + "/Administrators/activeDirectory" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -10025,8 +10268,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10100,8 +10344,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -10110,15 +10354,16 @@ public partial class MySql + "/administrators" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -10153,8 +10398,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -10163,15 +10408,16 @@ public partial class MySql + "/administrators" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerAdministratorsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -10194,8 +10440,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10271,8 +10518,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -10282,19 +10529,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(securityAlertPolicyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerSecurityAlertPoliciesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -10331,8 +10579,8 @@ public partial class MySql var securityAlertPolicyName = _match.Groups["securityAlertPolicyName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -10342,19 +10590,20 @@ public partial class MySql + securityAlertPolicyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerSecurityAlertPoliciesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -10379,15 +10628,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -10413,33 +10663,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -10454,6 +10706,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -10551,8 +10806,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -10562,15 +10817,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(securityAlertPolicyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerSecurityAlertPoliciesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -10606,8 +10862,8 @@ public partial class MySql var securityAlertPolicyName = _match.Groups["securityAlertPolicyName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -10617,15 +10873,16 @@ public partial class MySql + securityAlertPolicyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServerSecurityAlertPoliciesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -10648,8 +10905,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10724,8 +10982,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -10733,19 +10991,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersCreate_Call(request,onOk,eventListener,sender); } @@ -10781,8 +11040,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -10790,19 +11049,20 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersCreate_Call(request,onOk,eventListener,sender); } @@ -10823,15 +11083,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -10857,33 +11118,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -10898,6 +11161,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -10991,8 +11257,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -11000,15 +11266,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersDelete_Call(request,onOk,onNoContent,eventListener,sender); } @@ -11042,8 +11309,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -11051,15 +11318,16 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersDelete_Call(request,onOk,onNoContent,eventListener,sender); } @@ -11081,8 +11349,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -11090,7 +11359,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -11116,33 +11385,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -11157,6 +11428,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -11252,8 +11526,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -11261,15 +11535,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersGet_Call(request,onOk,eventListener,sender); } @@ -11302,8 +11577,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -11311,15 +11586,16 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersGet_Call(request,onOk,eventListener,sender); } @@ -11340,8 +11616,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -11409,21 +11686,22 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.DBForMySQL/servers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersList_Call(request,onOk,eventListener,sender); } @@ -11445,23 +11723,24 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DBForMySQL/servers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersListByResourceGroup_Call(request,onOk,eventListener,sender); } @@ -11493,23 +11772,24 @@ public partial class MySql var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.DBForMySQL/servers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersListByResourceGroup_Call(request,onOk,eventListener,sender); } @@ -11530,8 +11810,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -11607,21 +11888,22 @@ public partial class MySql // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.DBForMySQL/servers" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersList_Call(request,onOk,eventListener,sender); } @@ -11642,8 +11924,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -11708,8 +11991,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -11718,15 +12001,16 @@ public partial class MySql + "/restart" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersRestart_Call(request,onOk,onDefault,eventListener,sender); } @@ -11761,8 +12045,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -11771,15 +12055,16 @@ public partial class MySql + "/restart" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersRestart_Call(request,onOk,onDefault,eventListener,sender); } @@ -11802,8 +12087,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -11811,7 +12097,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -11837,33 +12123,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -11878,6 +12166,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -11972,8 +12263,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -11981,19 +12272,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(serverName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersUpdate_Call(request,onOk,eventListener,sender); } @@ -12029,8 +12321,8 @@ public partial class MySql var resourceGroupName = _match.Groups["resourceGroupName"].Value; var serverName = _match.Groups["serverName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -12038,19 +12330,20 @@ public partial class MySql + serverName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ServersUpdate_Call(request,onOk,eventListener,sender); } @@ -12071,15 +12364,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -12105,33 +12399,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -12146,6 +12442,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -12242,8 +12541,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -12253,19 +12552,20 @@ public partial class MySql + global::System.Uri.EscapeDataString(virtualNetworkRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -12302,8 +12602,8 @@ public partial class MySql var subscriptionId = _match.Groups["subscriptionId"].Value; var virtualNetworkRuleName = _match.Groups["virtualNetworkRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -12313,19 +12613,20 @@ public partial class MySql + virtualNetworkRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -12348,15 +12649,16 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -12382,33 +12684,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -12423,6 +12727,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -12523,8 +12830,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -12534,15 +12841,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(virtualNetworkRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -12579,8 +12887,8 @@ public partial class MySql var virtualNetworkRuleName = _match.Groups["virtualNetworkRuleName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -12590,15 +12898,16 @@ public partial class MySql + virtualNetworkRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -12622,8 +12931,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -12631,7 +12941,7 @@ public partial class MySql var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -12657,33 +12967,35 @@ public partial class MySql // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -12698,6 +13010,9 @@ public partial class MySql // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -12800,8 +13115,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -12811,15 +13126,16 @@ public partial class MySql + global::System.Uri.EscapeDataString(virtualNetworkRuleName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -12855,8 +13171,8 @@ public partial class MySql var subscriptionId = _match.Groups["subscriptionId"].Value; var virtualNetworkRuleName = _match.Groups["virtualNetworkRuleName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -12866,15 +13182,16 @@ public partial class MySql + virtualNetworkRuleName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -12897,8 +13214,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -12974,8 +13292,8 @@ public partial class MySql using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -12984,15 +13302,16 @@ public partial class MySql + "/virtualNetworkRules" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -13027,8 +13346,8 @@ public partial class MySql var serverName = _match.Groups["serverName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -13037,15 +13356,16 @@ public partial class MySql + "/virtualNetworkRules" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.VirtualNetworkRulesListByServer_Call(request,onOk,onDefault,eventListener,sender); } @@ -13068,8 +13388,9 @@ public partial class MySql global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; diff --git a/src/MySql/generated/api/Support/CreateMode.cs b/src/MySql/generated/api/Support/CreateMode.cs index 6f4f46fbef6b..282f67334fe0 100644 --- a/src/MySql/generated/api/Support/CreateMode.cs +++ b/src/MySql/generated/api/Support/CreateMode.cs @@ -25,7 +25,7 @@ public partial struct CreateMode : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new CreateMode(System.Convert.ToString(value)); + return new CreateMode(global::System.Convert.ToString(value)); } /// Creates an instance of the diff --git a/src/MySql/generated/api/Support/GeoRedundantBackup.cs b/src/MySql/generated/api/Support/GeoRedundantBackup.cs index 17cd4db957d7..81310dfb680a 100644 --- a/src/MySql/generated/api/Support/GeoRedundantBackup.cs +++ b/src/MySql/generated/api/Support/GeoRedundantBackup.cs @@ -21,7 +21,7 @@ public partial struct GeoRedundantBackup : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new GeoRedundantBackup(System.Convert.ToString(value)); + return new GeoRedundantBackup(global::System.Convert.ToString(value)); } /// Compares values of enum type GeoRedundantBackup diff --git a/src/MySql/generated/api/Support/HaEnabledEnum.cs b/src/MySql/generated/api/Support/HaEnabledEnum.cs index f070c288720c..4bb0690b555f 100644 --- a/src/MySql/generated/api/Support/HaEnabledEnum.cs +++ b/src/MySql/generated/api/Support/HaEnabledEnum.cs @@ -23,7 +23,7 @@ public partial struct HaEnabledEnum : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new HaEnabledEnum(System.Convert.ToString(value)); + return new HaEnabledEnum(global::System.Convert.ToString(value)); } /// Compares values of enum type HaEnabledEnum diff --git a/src/MySql/generated/api/Support/IdentityType.cs b/src/MySql/generated/api/Support/IdentityType.cs index 0ea3bcd97987..bedd9a084ce2 100644 --- a/src/MySql/generated/api/Support/IdentityType.cs +++ b/src/MySql/generated/api/Support/IdentityType.cs @@ -22,7 +22,7 @@ public partial struct IdentityType : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new IdentityType(System.Convert.ToString(value)); + return new IdentityType(global::System.Convert.ToString(value)); } /// Compares values of enum type IdentityType diff --git a/src/MySql/generated/api/Support/InfrastructureEncryption.cs b/src/MySql/generated/api/Support/InfrastructureEncryption.cs index e57fd103dea0..fe75ecfaee80 100644 --- a/src/MySql/generated/api/Support/InfrastructureEncryption.cs +++ b/src/MySql/generated/api/Support/InfrastructureEncryption.cs @@ -26,7 +26,7 @@ public partial struct InfrastructureEncryption : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new InfrastructureEncryption(System.Convert.ToString(value)); + return new InfrastructureEncryption(global::System.Convert.ToString(value)); } /// Compares values of enum type InfrastructureEncryption diff --git a/src/MySql/generated/api/Support/InfrastructureEncryptionEnum.cs b/src/MySql/generated/api/Support/InfrastructureEncryptionEnum.cs index 00f260498889..08d6f658de8b 100644 --- a/src/MySql/generated/api/Support/InfrastructureEncryptionEnum.cs +++ b/src/MySql/generated/api/Support/InfrastructureEncryptionEnum.cs @@ -26,7 +26,7 @@ public partial struct InfrastructureEncryptionEnum : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new InfrastructureEncryptionEnum(System.Convert.ToString(value)); + return new InfrastructureEncryptionEnum(global::System.Convert.ToString(value)); } /// Compares values of enum type InfrastructureEncryptionEnum diff --git a/src/MySql/generated/api/Support/IsConfigPendingRestart.cs b/src/MySql/generated/api/Support/IsConfigPendingRestart.cs index dfd3c081f048..14604914eb39 100644 --- a/src/MySql/generated/api/Support/IsConfigPendingRestart.cs +++ b/src/MySql/generated/api/Support/IsConfigPendingRestart.cs @@ -21,7 +21,7 @@ public partial struct IsConfigPendingRestart : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new IsConfigPendingRestart(System.Convert.ToString(value)); + return new IsConfigPendingRestart(global::System.Convert.ToString(value)); } /// Compares values of enum type IsConfigPendingRestart diff --git a/src/MySql/generated/api/Support/IsDynamicConfig.cs b/src/MySql/generated/api/Support/IsDynamicConfig.cs index ae5357891782..a874bf04368b 100644 --- a/src/MySql/generated/api/Support/IsDynamicConfig.cs +++ b/src/MySql/generated/api/Support/IsDynamicConfig.cs @@ -21,7 +21,7 @@ public partial struct IsDynamicConfig : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new IsDynamicConfig(System.Convert.ToString(value)); + return new IsDynamicConfig(global::System.Convert.ToString(value)); } /// Compares values of enum type IsDynamicConfig diff --git a/src/MySql/generated/api/Support/IsReadOnly.cs b/src/MySql/generated/api/Support/IsReadOnly.cs index 8df4d73400c5..eb44bcd03e8d 100644 --- a/src/MySql/generated/api/Support/IsReadOnly.cs +++ b/src/MySql/generated/api/Support/IsReadOnly.cs @@ -21,7 +21,7 @@ public partial struct IsReadOnly : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new IsReadOnly(System.Convert.ToString(value)); + return new IsReadOnly(global::System.Convert.ToString(value)); } /// Compares values of enum type IsReadOnly diff --git a/src/MySql/generated/api/Support/MinimalTlsVersionEnum.cs b/src/MySql/generated/api/Support/MinimalTlsVersionEnum.cs index e7290a8797b6..d47a039f57e4 100644 --- a/src/MySql/generated/api/Support/MinimalTlsVersionEnum.cs +++ b/src/MySql/generated/api/Support/MinimalTlsVersionEnum.cs @@ -25,7 +25,7 @@ public partial struct MinimalTlsVersionEnum : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new MinimalTlsVersionEnum(System.Convert.ToString(value)); + return new MinimalTlsVersionEnum(global::System.Convert.ToString(value)); } /// Compares values of enum type MinimalTlsVersionEnum diff --git a/src/MySql/generated/api/Support/OperationOrigin.cs b/src/MySql/generated/api/Support/OperationOrigin.cs index 18342df618a3..8affca3232f7 100644 --- a/src/MySql/generated/api/Support/OperationOrigin.cs +++ b/src/MySql/generated/api/Support/OperationOrigin.cs @@ -23,7 +23,7 @@ public partial struct OperationOrigin : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new OperationOrigin(System.Convert.ToString(value)); + return new OperationOrigin(global::System.Convert.ToString(value)); } /// Compares values of enum type OperationOrigin diff --git a/src/MySql/generated/api/Support/PrivateEndpointProvisioningState.cs b/src/MySql/generated/api/Support/PrivateEndpointProvisioningState.cs index f7fda299b8f6..148871408a6d 100644 --- a/src/MySql/generated/api/Support/PrivateEndpointProvisioningState.cs +++ b/src/MySql/generated/api/Support/PrivateEndpointProvisioningState.cs @@ -29,7 +29,7 @@ public partial struct PrivateEndpointProvisioningState : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new PrivateEndpointProvisioningState(System.Convert.ToString(value)); + return new PrivateEndpointProvisioningState(global::System.Convert.ToString(value)); } /// Compares values of enum type PrivateEndpointProvisioningState diff --git a/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateActionsRequire.cs b/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateActionsRequire.cs index ed86fd8c48b3..0a591f213c6b 100644 --- a/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateActionsRequire.cs +++ b/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateActionsRequire.cs @@ -24,7 +24,7 @@ public partial struct PrivateLinkServiceConnectionStateActionsRequire : /// />. internal static object CreateFrom(object value) { - return new PrivateLinkServiceConnectionStateActionsRequire(System.Convert.ToString(value)); + return new PrivateLinkServiceConnectionStateActionsRequire(global::System.Convert.ToString(value)); } /// Compares values of enum type PrivateLinkServiceConnectionStateActionsRequire diff --git a/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateStatus.cs b/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateStatus.cs index 3d73827b52c0..b5737254cb40 100644 --- a/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateStatus.cs +++ b/src/MySql/generated/api/Support/PrivateLinkServiceConnectionStateStatus.cs @@ -27,7 +27,7 @@ public partial struct PrivateLinkServiceConnectionStateStatus : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new PrivateLinkServiceConnectionStateStatus(System.Convert.ToString(value)); + return new PrivateLinkServiceConnectionStateStatus(global::System.Convert.ToString(value)); } /// Compares values of enum type PrivateLinkServiceConnectionStateStatus diff --git a/src/MySql/generated/api/Support/PublicNetworkAccessEnum.cs b/src/MySql/generated/api/Support/PublicNetworkAccessEnum.cs index 28783da0b3b5..ba53b430a83c 100644 --- a/src/MySql/generated/api/Support/PublicNetworkAccessEnum.cs +++ b/src/MySql/generated/api/Support/PublicNetworkAccessEnum.cs @@ -24,7 +24,7 @@ public partial struct PublicNetworkAccessEnum : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new PublicNetworkAccessEnum(System.Convert.ToString(value)); + return new PublicNetworkAccessEnum(global::System.Convert.ToString(value)); } /// Compares values of enum type PublicNetworkAccessEnum diff --git a/src/MySql/generated/api/Support/ResourceIdentityType.cs b/src/MySql/generated/api/Support/ResourceIdentityType.cs index f28720cfde74..995b88bbfa58 100644 --- a/src/MySql/generated/api/Support/ResourceIdentityType.cs +++ b/src/MySql/generated/api/Support/ResourceIdentityType.cs @@ -19,7 +19,7 @@ public partial struct ResourceIdentityType : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new ResourceIdentityType(System.Convert.ToString(value)); + return new ResourceIdentityType(global::System.Convert.ToString(value)); } /// Compares values of enum type ResourceIdentityType diff --git a/src/MySql/generated/api/Support/SecurityAlertPolicyName.cs b/src/MySql/generated/api/Support/SecurityAlertPolicyName.cs index f11de907aabb..1373ae1af6d4 100644 --- a/src/MySql/generated/api/Support/SecurityAlertPolicyName.cs +++ b/src/MySql/generated/api/Support/SecurityAlertPolicyName.cs @@ -18,7 +18,7 @@ public partial struct SecurityAlertPolicyName : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new SecurityAlertPolicyName(System.Convert.ToString(value)); + return new SecurityAlertPolicyName(global::System.Convert.ToString(value)); } /// Compares values of enum type SecurityAlertPolicyName diff --git a/src/MySql/generated/api/Support/ServerHaState.cs b/src/MySql/generated/api/Support/ServerHaState.cs index 5b3f6879cbe1..a6b31cdf43c9 100644 --- a/src/MySql/generated/api/Support/ServerHaState.cs +++ b/src/MySql/generated/api/Support/ServerHaState.cs @@ -29,7 +29,7 @@ public partial struct ServerHaState : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new ServerHaState(System.Convert.ToString(value)); + return new ServerHaState(global::System.Convert.ToString(value)); } /// Compares values of enum type ServerHaState diff --git a/src/MySql/generated/api/Support/ServerSecurityAlertPolicyState.cs b/src/MySql/generated/api/Support/ServerSecurityAlertPolicyState.cs index ddbd78bd9c3e..cdf0479ea8d7 100644 --- a/src/MySql/generated/api/Support/ServerSecurityAlertPolicyState.cs +++ b/src/MySql/generated/api/Support/ServerSecurityAlertPolicyState.cs @@ -23,7 +23,7 @@ public partial struct ServerSecurityAlertPolicyState : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new ServerSecurityAlertPolicyState(System.Convert.ToString(value)); + return new ServerSecurityAlertPolicyState(global::System.Convert.ToString(value)); } /// Compares values of enum type ServerSecurityAlertPolicyState diff --git a/src/MySql/generated/api/Support/ServerState.cs b/src/MySql/generated/api/Support/ServerState.cs index 047069050448..1ccd127393a0 100644 --- a/src/MySql/generated/api/Support/ServerState.cs +++ b/src/MySql/generated/api/Support/ServerState.cs @@ -33,7 +33,7 @@ public partial struct ServerState : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new ServerState(System.Convert.ToString(value)); + return new ServerState(global::System.Convert.ToString(value)); } /// Compares values of enum type ServerState diff --git a/src/MySql/generated/api/Support/ServerVersion.cs b/src/MySql/generated/api/Support/ServerVersion.cs index fac335f363ae..378284935331 100644 --- a/src/MySql/generated/api/Support/ServerVersion.cs +++ b/src/MySql/generated/api/Support/ServerVersion.cs @@ -23,7 +23,7 @@ public partial struct ServerVersion : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new ServerVersion(System.Convert.ToString(value)); + return new ServerVersion(global::System.Convert.ToString(value)); } /// Compares values of enum type ServerVersion diff --git a/src/MySql/generated/api/Support/SkuTier.cs b/src/MySql/generated/api/Support/SkuTier.cs index 336856258736..7224b99e7e0c 100644 --- a/src/MySql/generated/api/Support/SkuTier.cs +++ b/src/MySql/generated/api/Support/SkuTier.cs @@ -25,7 +25,7 @@ public partial struct SkuTier : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new SkuTier(System.Convert.ToString(value)); + return new SkuTier(global::System.Convert.ToString(value)); } /// Compares values of enum type SkuTier diff --git a/src/MySql/generated/api/Support/SslEnforcementEnum.cs b/src/MySql/generated/api/Support/SslEnforcementEnum.cs index e552d6d2f48d..072db67c1bda 100644 --- a/src/MySql/generated/api/Support/SslEnforcementEnum.cs +++ b/src/MySql/generated/api/Support/SslEnforcementEnum.cs @@ -21,7 +21,7 @@ public partial struct SslEnforcementEnum : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new SslEnforcementEnum(System.Convert.ToString(value)); + return new SslEnforcementEnum(global::System.Convert.ToString(value)); } /// Compares values of enum type SslEnforcementEnum diff --git a/src/MySql/generated/api/Support/StorageAutogrow.cs b/src/MySql/generated/api/Support/StorageAutogrow.cs index 94aff9b19d0c..db05e290d180 100644 --- a/src/MySql/generated/api/Support/StorageAutogrow.cs +++ b/src/MySql/generated/api/Support/StorageAutogrow.cs @@ -21,7 +21,7 @@ public partial struct StorageAutogrow : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new StorageAutogrow(System.Convert.ToString(value)); + return new StorageAutogrow(global::System.Convert.ToString(value)); } /// Compares values of enum type StorageAutogrow diff --git a/src/MySql/generated/api/Support/VirtualNetworkRuleState.cs b/src/MySql/generated/api/Support/VirtualNetworkRuleState.cs index 2ac4d75c0f4e..e2133f2b9a7e 100644 --- a/src/MySql/generated/api/Support/VirtualNetworkRuleState.cs +++ b/src/MySql/generated/api/Support/VirtualNetworkRuleState.cs @@ -27,7 +27,7 @@ public partial struct VirtualNetworkRuleState : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new VirtualNetworkRuleState(System.Convert.ToString(value)); + return new VirtualNetworkRuleState(global::System.Convert.ToString(value)); } /// Compares values of enum type VirtualNetworkRuleState diff --git a/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateExpanded.cs b/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateExpanded.cs index 8bc5ad66b450..18045305cff7 100644 --- a/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateExpanded.cs +++ b/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateExpanded.cs @@ -351,7 +351,7 @@ public partial class NewAzMySqlFlexibleServer_CreateExpanded : global::System.Ma SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier))] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier; set => ParametersBody.SkuTier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); set => ParametersBody.SkuTier = value; } /// The source MySQL server id. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The source MySQL server id.")] diff --git a/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateViaIdentityExpanded.cs b/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateViaIdentityExpanded.cs index 62d36047598b..c25623216139 100644 --- a/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateViaIdentityExpanded.cs +++ b/src/MySql/generated/cmdlets/NewAzMySqlFlexibleServer_CreateViaIdentityExpanded.cs @@ -330,7 +330,7 @@ public partial class NewAzMySqlFlexibleServer_CreateViaIdentityExpanded : global SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier))] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier; set => ParametersBody.SkuTier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); set => ParametersBody.SkuTier = value; } /// The source MySQL server id. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The source MySQL server id.")] diff --git a/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateExpanded.cs b/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateExpanded.cs index d0128e61ec8b..88b809a0c2fa 100644 --- a/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateExpanded.cs +++ b/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateExpanded.cs @@ -206,7 +206,7 @@ public partial class NewAzMySqlServerSecurityAlertPolicy_CreateExpanded : global SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState))] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get => ParametersBody.State; set => ParametersBody.State = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get => ParametersBody.State ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState)""); set => ParametersBody.State = value; } /// Specifies the identifier key of the Threat Detection audit storage account. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the identifier key of the Threat Detection audit storage account.")] diff --git a/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateViaIdentityExpanded.cs b/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateViaIdentityExpanded.cs index 75a49a4b7ddc..07cdf027ebb7 100644 --- a/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateViaIdentityExpanded.cs +++ b/src/MySql/generated/cmdlets/NewAzMySqlServerSecurityAlertPolicy_CreateViaIdentityExpanded.cs @@ -186,7 +186,7 @@ public partial class NewAzMySqlServerSecurityAlertPolicy_CreateViaIdentityExpand SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState))] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get => ParametersBody.State; set => ParametersBody.State = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get => ParametersBody.State ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState)""); set => ParametersBody.State = value; } /// Specifies the identifier key of the Threat Detection audit storage account. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the identifier key of the Threat Detection audit storage account.")] diff --git a/src/MySql/generated/cmdlets/SetAzMySqlServerSecurityAlertPolicy_UpdateExpanded.cs b/src/MySql/generated/cmdlets/SetAzMySqlServerSecurityAlertPolicy_UpdateExpanded.cs index c0980d2bfeab..fb103a99fbfa 100644 --- a/src/MySql/generated/cmdlets/SetAzMySqlServerSecurityAlertPolicy_UpdateExpanded.cs +++ b/src/MySql/generated/cmdlets/SetAzMySqlServerSecurityAlertPolicy_UpdateExpanded.cs @@ -206,7 +206,7 @@ public partial class SetAzMySqlServerSecurityAlertPolicy_UpdateExpanded : global SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState))] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get => ParametersBody.State; set => ParametersBody.State = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState State { get => ParametersBody.State ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerSecurityAlertPolicyState)""); set => ParametersBody.State = value; } /// Specifies the identifier key of the Threat Detection audit storage account. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specifies the identifier key of the Threat Detection audit storage account.")] diff --git a/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateExpanded.cs b/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateExpanded.cs index 138eb318cd1b..5dd1a2245ef3 100644 --- a/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateExpanded.cs +++ b/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateExpanded.cs @@ -254,7 +254,7 @@ public partial class UpdateAzMySqlFlexibleServer_UpdateExpanded : global::System SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier))] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier; set => ParametersBody.SkuTier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); set => ParametersBody.SkuTier = value; } /// Enable ssl enforcement or not when connect to server. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable ssl enforcement or not when connect to server.")] diff --git a/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateViaIdentityExpanded.cs b/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateViaIdentityExpanded.cs index adebd52eaa72..8c6b3fe04e95 100644 --- a/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateViaIdentityExpanded.cs +++ b/src/MySql/generated/cmdlets/UpdateAzMySqlFlexibleServer_UpdateViaIdentityExpanded.cs @@ -233,7 +233,7 @@ public partial class UpdateAzMySqlFlexibleServer_UpdateViaIdentityExpanded : glo SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier))] - public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier; set => ParametersBody.SkuTier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier SkuTier { get => ParametersBody.SkuTier ?? ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier)""); set => ParametersBody.SkuTier = value; } /// Enable ssl enforcement or not when connect to server. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable ssl enforcement or not when connect to server.")] diff --git a/src/MySql/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs b/src/MySql/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs index b13865c6783a..65337fe466dc 100644 --- a/src/MySql/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs +++ b/src/MySql/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs @@ -42,7 +42,7 @@ public class ExportProxyCmdlet : PSCmdlet [ValidateNotNullOrEmpty] public string DocsFolder { get; set; } - [Parameter(Mandatory = true, ParameterSetName = "Docs")] + [Parameter(Mandatory = true)] [ValidateNotNullOrEmpty] public string ExamplesFolder { get; set; } diff --git a/src/MySql/generated/runtime/UndeclaredResponseException.cs b/src/MySql/generated/runtime/UndeclaredResponseException.cs index 495e38e8b6c7..b23196e8a477 100644 --- a/src/MySql/generated/runtime/UndeclaredResponseException.cs +++ b/src/MySql/generated/runtime/UndeclaredResponseException.cs @@ -42,8 +42,13 @@ public RestException(System.Net.Http.HttpResponseMessage response) // try to parse the body as JSON, and see if a code and message are in there. var json = Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(ResponseBody) as Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonObject; + // error message could be in properties.statusMessage + { message = If(json?.Property("properties"), out var p) + && If(p?.PropertyT("statusMessage"), out var sm) + ? (string)sm : (string)Message; } + // see if there is an error block in the body - json = json.Property("error") ?? json; + json = json?.Property("error") ?? json; { Code = If(json?.PropertyT("code"), out var c) ? (string)c : (string)StatusCode.ToString(); } { message = If(json?.PropertyT("message"), out var m) ? (string)m : (string)Message; } diff --git a/src/MySql/help/Az.MySql.md b/src/MySql/help/Az.MySql.md index dd32ccb6dd13..29438652e80f 100644 --- a/src/MySql/help/Az.MySql.md +++ b/src/MySql/help/Az.MySql.md @@ -1,6 +1,6 @@ --- Module Name: Az.MySql -Module Guid: 8c7c6fcd-a96f-460b-89e2-ff822a3246c8 +Module Guid: 0b8ac9f4-b926-4ac8-b73f-937a0d218521 Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql Help Version: 1.0.0.0 Locale: en-US @@ -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/help/Get-AzMySqlConnectionString.md b/src/MySql/help/Get-AzMySqlConnectionString.md index d586aefc49ad..37fe1cff7f29 100644 --- a/src/MySql/help/Get-AzMySqlConnectionString.md +++ b/src/MySql/help/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,9 +160,8 @@ 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. - `[(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). @@ -177,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/MySql/help/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/help/Get-AzMySqlFlexibleServerConnectionString.md new file mode 100644 index 000000000000..e5af446e5e16 --- /dev/null +++ b/src/MySql/help/Get-AzMySqlFlexibleServerConnectionString.md @@ -0,0 +1,177 @@ +--- +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 (Default) +``` +Get-AzMySqlFlexibleServerConnectionString -Client -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerConnectionString -Client -InputObject + [-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. + +### 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 +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 +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.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 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.IMySqlIdentity + +## 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 : 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/help/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/help/Get-AzMySqlFlexibleServerLocationBasedCapability.md new file mode 100644 index 000000000000..9ef6410dd0a9 --- /dev/null +++ b/src/MySql/help/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/help/New-AzMySqlFlexibleServer.md b/src/MySql/help/New-AzMySqlFlexibleServer.md index ca3bb777bccb..83563ca0f694 100644 --- a/src/MySql/help/New-AzMySqlFlexibleServer.md +++ b/src/MySql/help/New-AzMySqlFlexibleServer.md @@ -8,16 +8,17 @@ schema: 2.0.0 # New-AzMySqlFlexibleServer ## SYNOPSIS -Creates a new MySQL flexible server +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,31 +26,130 @@ 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:\> 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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -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 -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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` -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. + +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' +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... + +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. + +### 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... + +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. + +### 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 + +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. + +### 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 + +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. + ## PARAMETERS ### -AdministratorLoginPassword @@ -62,7 +162,7 @@ Type: System.Security.SecureString Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -78,7 +178,7 @@ Type: System.String Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -131,6 +231,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. @@ -154,7 +271,7 @@ Type: System.String Parameter Sets: (All) Aliases: ServerName -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -176,6 +293,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. @@ -184,7 +324,7 @@ Type: System.String Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -239,6 +379,39 @@ 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. @@ -284,6 +457,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.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. diff --git a/src/MySql/help/New-AzMySqlFlexibleServerReplica.md b/src/MySql/help/New-AzMySqlFlexibleServerReplica.md index 28a1fa98eeac..5990da99c7c3 100644 --- a/src/MySql/help/New-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/help/New-AzMySqlFlexibleServerReplica.md @@ -207,8 +207,6 @@ 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, 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). @@ -227,6 +225,8 @@ MASTER : The source server object to create replica from. - `[(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. + - `[SkuName ]`: The name of the sku, e.g. Standard_D32s_v3. + - `[SkuTier ]`: The tier of the particular SKU, e.g. GeneralPurpose. - `[SourceServerId ]`: The source MySQL server id. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. diff --git a/src/MySql/help/New-AzMySqlReplica.md b/src/MySql/help/New-AzMySqlReplica.md index 4d23a93185b9..9094efb4afb4 100644 --- a/src/MySql/help/New-AzMySqlReplica.md +++ b/src/MySql/help/New-AzMySqlReplica.md @@ -238,7 +238,6 @@ 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). @@ -253,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/MySql/help/New-AzMySqlServer.md b/src/MySql/help/New-AzMySqlServer.md index ae4ee28f4106..4a6189fd87ca 100644 --- a/src/MySql/help/New-AzMySqlServer.md +++ b/src/MySql/help/New-AzMySqlServer.md @@ -16,9 +16,9 @@ Creates a new server. New-AzMySqlServer -Name -ResourceGroupName -AdministratorLoginPassword -AdministratorUserName -Location -Sku [-SubscriptionId ] [-BackupRetentionDay ] [-GeoRedundantBackup ] - [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] - [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] + [-MinimalTlsVersion ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -148,6 +148,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MinimalTlsVersion +Set the minimal TLS version for connections to server when SSL is enabled. +Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum +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. diff --git a/src/MySql/help/Restore-AzMySqlFlexibleServer.md b/src/MySql/help/Restore-AzMySqlFlexibleServer.md index b9b725c632f5..3bc008f10ae6 100644 --- a/src/MySql/help/Restore-AzMySqlFlexibleServer.md +++ b/src/MySql/help/Restore-AzMySqlFlexibleServer.md @@ -226,8 +226,6 @@ 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, 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). @@ -246,6 +244,8 @@ INPUTOBJECT : The source server object to restore from. - `[(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. + - `[SkuName ]`: The name of the sku, e.g. Standard_D32s_v3. + - `[SkuTier ]`: The tier of the particular SKU, e.g. GeneralPurpose. - `[SourceServerId ]`: The source MySQL server id. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. diff --git a/src/MySql/help/Restore-AzMySqlServer.md b/src/MySql/help/Restore-AzMySqlServer.md index c58cb2f77b2b..ae7de5a203c7 100644 --- a/src/MySql/help/Restore-AzMySqlServer.md +++ b/src/MySql/help/Restore-AzMySqlServer.md @@ -307,7 +307,6 @@ 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). @@ -322,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/MySql/help/Update-AzMySqlServer.md b/src/MySql/help/Update-AzMySqlServer.md index c430adbd3387..f24d7f331151 100644 --- a/src/MySql/help/Update-AzMySqlServer.md +++ b/src/MySql/help/Update-AzMySqlServer.md @@ -17,19 +17,20 @@ Use Update-AzMySqlConfiguration instead if you want update server parameters suc ### UpdateExpanded (Default) ``` Update-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-ReplicationRole ] - [-Sku ] [-SkuCapacity ] [-SkuFamily ] [-SkuTier ] - [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] - [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] + [-MinimalTlsVersion ] [-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] [] + [-BackupRetentionDay ] [-MinimalTlsVersion ] [-ReplicationRole ] + [-Sku ] [-SkuCapacity ] [-SkuFamily ] [-SkuTier ] + [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -140,6 +141,22 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MinimalTlsVersion +Set the minimal TLS version for connections to server when SSL is enabled. +Default is TLSEnforcementDisabled.accepted values: TLS1_0, TLS1_1, TLS1_2, TLSEnforcementDisabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.MinimalTlsVersionEnum +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. diff --git a/src/MySql/internal/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 b/src/MySql/internal/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 index 44cfcb276f76..4c123cf80ae4 100644 --- a/src/MySql/internal/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 +++ b/src/MySql/internal/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 @@ -19,13 +19,29 @@ Get capabilities at specified location in a given subscription. .Description Get capabilities at specified location in a given subscription. .Example -PS C:\> {{ Add code here }} +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 -{{ Add output here }} -.Example -PS C:\> {{ Add code here }} - -{{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties diff --git a/src/MySql/internal/New-AzMySqlFlexibleServer.ps1 b/src/MySql/internal/New-AzMySqlFlexibleServer.ps1 index db588bdf1544..f635d4d7da7c 100644 --- a/src/MySql/internal/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/internal/New-AzMySqlFlexibleServer.ps1 @@ -22,18 +22,90 @@ Creates a new server or updates an existing server. The update action will overwrite the existing server. .Example 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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable .Example -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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable .Inputs Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated @@ -61,8 +133,6 @@ INPUTOBJECT : Identity Parameter PARAMETER : Represents a 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). @@ -81,6 +151,8 @@ PARAMETER : Represents a server. [(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. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SourceServerId ]: The source MySQL server id. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. diff --git a/src/MySql/internal/New-AzMySqlServer.ps1 b/src/MySql/internal/New-AzMySqlServer.ps1 index 035f753df547..ddb5ac1f5be4 100644 --- a/src/MySql/internal/New-AzMySqlServer.ps1 +++ b/src/MySql/internal/New-AzMySqlServer.ps1 @@ -54,13 +54,13 @@ INPUTOBJECT : Identity Parameter PARAMETER : Represents a server to be created. CreateMode : The mode to create a new server. Location : The location the resource resides in. - SkuName : The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. [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. [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' [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/internal/New-AzMySqlServerAdministrator.ps1 b/src/MySql/internal/New-AzMySqlServerAdministrator.ps1 index 453a76a5521b..4a5f891a1994 100644 --- a/src/MySql/internal/New-AzMySqlServerAdministrator.ps1 +++ b/src/MySql/internal/New-AzMySqlServerAdministrator.ps1 @@ -54,9 +54,9 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PROPERTY : Represents a and external administrator to be created. - Login : The server administrator login account name. - Sid : The server administrator Sid (Secure ID). - TenantId : The server Active Directory Administrator tenant id. + [Login ]: The server administrator login account name. + [Sid ]: The server administrator Sid (Secure ID). + [TenantId ]: The server Active Directory Administrator tenant id. .Link https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlserveradministrator #> diff --git a/src/MySql/internal/New-AzMySqlServerSecurityAlertPolicy.ps1 b/src/MySql/internal/New-AzMySqlServerSecurityAlertPolicy.ps1 index 6a3adc005798..595e80971fad 100644 --- a/src/MySql/internal/New-AzMySqlServerSecurityAlertPolicy.ps1 +++ b/src/MySql/internal/New-AzMySqlServerSecurityAlertPolicy.ps1 @@ -52,11 +52,11 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PARAMETER : A server security alert policy. - State : Specifies the state of the policy, whether it is enabled or disabled. [DisabledAlert ]: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly [EmailAccountAdmin ]: Specifies that the alert is sent to the account administrators. [EmailAddress ]: Specifies an array of e-mail addresses to which the alert is sent. [RetentionDay ]: Specifies the number of days to keep in the Threat Detection audit logs. + [State ]: Specifies the state of the policy, whether it is enabled or disabled. [StorageAccountAccessKey ]: Specifies the identifier key of the Threat Detection audit storage account. [StorageEndpoint ]: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. .Link diff --git a/src/MySql/internal/ProxyCmdletDefinitions.ps1 b/src/MySql/internal/ProxyCmdletDefinitions.ps1 index 62a6a0e29a60..b39ad91a0f0d 100644 --- a/src/MySql/internal/ProxyCmdletDefinitions.ps1 +++ b/src/MySql/internal/ProxyCmdletDefinitions.ps1 @@ -382,13 +382,29 @@ Get capabilities at specified location in a given subscription. .Description Get capabilities at specified location in a given subscription. .Example -PS C:\> {{ Add code here }} +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 -{{ Add output here }} -.Example -PS C:\> {{ Add code here }} - -{{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties @@ -2809,18 +2825,90 @@ Creates a new server or updates an existing server. The update action will overwrite the existing server. .Example 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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable .Example -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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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... + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 + +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 +.Example +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 + +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable .Inputs Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated @@ -2848,8 +2936,6 @@ INPUTOBJECT : Identity Parameter PARAMETER : Represents a 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). @@ -2868,6 +2954,8 @@ PARAMETER : Represents a server. [(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. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SourceServerId ]: The source MySQL server id. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. @@ -3274,9 +3362,9 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PROPERTY : Represents a and external administrator to be created. - Login : The server administrator login account name. - Sid : The server administrator Sid (Secure ID). - TenantId : The server Active Directory Administrator tenant id. + [Login ]: The server administrator login account name. + [Sid ]: The server administrator Sid (Secure ID). + [TenantId ]: The server Active Directory Administrator tenant id. .Link https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlserveradministrator #> @@ -3499,11 +3587,11 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PARAMETER : A server security alert policy. - State : Specifies the state of the policy, whether it is enabled or disabled. [DisabledAlert ]: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly [EmailAccountAdmin ]: Specifies that the alert is sent to the account administrators. [EmailAddress ]: Specifies an array of e-mail addresses to which the alert is sent. [RetentionDay ]: Specifies the number of days to keep in the Threat Detection audit logs. + [State ]: Specifies the state of the policy, whether it is enabled or disabled. [StorageAccountAccessKey ]: Specifies the identifier key of the Threat Detection audit storage account. [StorageEndpoint ]: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. .Link @@ -3768,13 +3856,13 @@ INPUTOBJECT : Identity Parameter PARAMETER : Represents a server to be created. CreateMode : The mode to create a new server. Location : The location the resource resides in. - SkuName : The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. [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. [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' [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. @@ -5297,9 +5385,9 @@ 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. PROPERTY : Represents a and external administrator to be created. - Login : The server administrator login account name. - Sid : The server administrator Sid (Secure ID). - TenantId : The server Active Directory Administrator tenant id. + [Login ]: The server administrator login account name. + [Sid ]: The server administrator Sid (Secure ID). + [TenantId ]: The server Active Directory Administrator tenant id. .Link https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlserveradministrator #> @@ -5490,11 +5578,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. PARAMETER : A server security alert policy. - State : Specifies the state of the policy, whether it is enabled or disabled. [DisabledAlert ]: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly [EmailAccountAdmin ]: Specifies that the alert is sent to the account administrators. [EmailAddress ]: Specifies an array of e-mail addresses to which the alert is sent. [RetentionDay ]: Specifies the number of days to keep in the Threat Detection audit logs. + [State ]: Specifies the state of the policy, whether it is enabled or disabled. [StorageAccountAccessKey ]: Specifies the identifier key of the Threat Detection audit storage account. [StorageEndpoint ]: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. .Link @@ -7261,8 +7349,6 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PARAMETER : Parameters allowed to update for a server. - SkuName : The name of the sku, e.g. Standard_D32s_v3. - SkuTier : The tier of the particular SKU, e.g. GeneralPurpose. [AdministratorLoginPassword ]: The password of the administrator login. [DelegatedSubnetArgumentSubnetArmResourceId ]: delegated subnet arm resource id. [HaEnabled ]: Enable HA or not for a server. @@ -7271,6 +7357,8 @@ PARAMETER : Parameters allowed to update for a server. [MaintenanceWindowStartHour ]: start hour for maintenance window [MaintenanceWindowStartMinute ]: start minute for maintenance window [ReplicationRole ]: The replication role of the server. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. [StorageProfileStorageAutogrow ]: Enable Storage Auto Grow. @@ -7605,7 +7693,6 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PARAMETER : Parameters allowed to update for a server. - SkuName : The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. [AdministratorLoginPassword ]: The password of the administrator login. [IdentityType ]: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. [MinimalTlsVersion ]: Enforce a minimal Tls version for the server. @@ -7613,6 +7700,7 @@ PARAMETER : Parameters allowed to update for a server. [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/internal/Set-AzMySqlServerAdministrator.ps1 b/src/MySql/internal/Set-AzMySqlServerAdministrator.ps1 index 2a2ca8d78076..b323a5bb74df 100644 --- a/src/MySql/internal/Set-AzMySqlServerAdministrator.ps1 +++ b/src/MySql/internal/Set-AzMySqlServerAdministrator.ps1 @@ -39,9 +39,9 @@ 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. PROPERTY : Represents a and external administrator to be created. - Login : The server administrator login account name. - Sid : The server administrator Sid (Secure ID). - TenantId : The server Active Directory Administrator tenant id. + [Login ]: The server administrator login account name. + [Sid ]: The server administrator Sid (Secure ID). + [TenantId ]: The server Active Directory Administrator tenant id. .Link https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlserveradministrator #> diff --git a/src/MySql/internal/Set-AzMySqlServerSecurityAlertPolicy.ps1 b/src/MySql/internal/Set-AzMySqlServerSecurityAlertPolicy.ps1 index f9c7d20c84e5..34d2762e47f6 100644 --- a/src/MySql/internal/Set-AzMySqlServerSecurityAlertPolicy.ps1 +++ b/src/MySql/internal/Set-AzMySqlServerSecurityAlertPolicy.ps1 @@ -37,11 +37,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. PARAMETER : A server security alert policy. - State : Specifies the state of the policy, whether it is enabled or disabled. [DisabledAlert ]: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly [EmailAccountAdmin ]: Specifies that the alert is sent to the account administrators. [EmailAddress ]: Specifies an array of e-mail addresses to which the alert is sent. [RetentionDay ]: Specifies the number of days to keep in the Threat Detection audit logs. + [State ]: Specifies the state of the policy, whether it is enabled or disabled. [StorageAccountAccessKey ]: Specifies the identifier key of the Threat Detection audit storage account. [StorageEndpoint ]: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. .Link diff --git a/src/MySql/internal/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/internal/Update-AzMySqlFlexibleServer.ps1 index 80b7f5c966bd..ab6c7da9970f 100644 --- a/src/MySql/internal/Update-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/internal/Update-AzMySqlFlexibleServer.ps1 @@ -58,8 +58,6 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PARAMETER : Parameters allowed to update for a server. - SkuName : The name of the sku, e.g. Standard_D32s_v3. - SkuTier : The tier of the particular SKU, e.g. GeneralPurpose. [AdministratorLoginPassword ]: The password of the administrator login. [DelegatedSubnetArgumentSubnetArmResourceId ]: delegated subnet arm resource id. [HaEnabled ]: Enable HA or not for a server. @@ -68,6 +66,8 @@ PARAMETER : Parameters allowed to update for a server. [MaintenanceWindowStartHour ]: start hour for maintenance window [MaintenanceWindowStartMinute ]: start minute for maintenance window [ReplicationRole ]: The replication role of the server. + [SkuName ]: The name of the sku, e.g. Standard_D32s_v3. + [SkuTier ]: The tier of the particular SKU, e.g. GeneralPurpose. [SslEnforcement ]: Enable ssl enforcement or not when connect to server. [StorageProfileBackupRetentionDay ]: Backup retention days for the server. [StorageProfileStorageAutogrow ]: Enable Storage Auto Grow. diff --git a/src/MySql/internal/Update-AzMySqlServer.ps1 b/src/MySql/internal/Update-AzMySqlServer.ps1 index 1781536ffa1a..7b20aaf17932 100644 --- a/src/MySql/internal/Update-AzMySqlServer.ps1 +++ b/src/MySql/internal/Update-AzMySqlServer.ps1 @@ -58,7 +58,6 @@ INPUTOBJECT : Identity Parameter [VirtualNetworkRuleName ]: The name of the virtual network rule. PARAMETER : Parameters allowed to update for a server. - SkuName : The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. [AdministratorLoginPassword ]: The password of the administrator login. [IdentityType ]: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. [MinimalTlsVersion ]: Enforce a minimal Tls version for the server. @@ -66,6 +65,7 @@ PARAMETER : Parameters allowed to update for a server. [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/readme.md b/src/MySql/readme.md index 0ef581d6ec22..7849a18125dc 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.8.1 or greater +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.2.3 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. @@ -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: @@ -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/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml deleted file mode 100644 index 92794ed677db..000000000000 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ /dev/null @@ -1,404 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file 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 d1dc52ca890e..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-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/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-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-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-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/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-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/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-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-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-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/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-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 index 9b2dbbcb7745..f65f06b98777 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 } @@ -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..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-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-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-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/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-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-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-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-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-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-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-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 new file mode 100644 index 000000000000..8982d84c30c3 --- /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/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/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-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-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/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/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-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-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/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/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-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-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/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/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-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-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/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/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-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-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/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/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-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-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-AzMySqlFlexibleServerConnectionString.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 new file mode 100644 index 000000000000..cdb1ec36dc67 --- /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.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.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.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.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.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.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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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-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/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-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-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-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-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-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-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-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-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" ], @@ -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]" ], @@ -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/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-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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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-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-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-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-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-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" ], @@ -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-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/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/Get-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json index 62559a3518e6..f4665c81392b 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json @@ -1,12 +1,12 @@ { - "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": [ "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,27 +22,27 @@ "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/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": { @@ -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/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/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/eastus2euap/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/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/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/eastus2euap/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": [ "Wed, 11 Nov 2020 00:54:17 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:32:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1108" ], + "Content-Length": [ "108" ], "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\":\"InProgress\",\"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/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+7": { "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", + "Method": "GET", + "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]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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": [ "Tue, 22 Dec 2020 05:39:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "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..e176a0b2583f 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -11,10 +11,13 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName +# !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' { { - $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/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 23c4bfc405c6..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,7 +392,10905 @@ "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/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/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": { + }, + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/MySqlTestGroup/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/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/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": { + }, + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/MySqlTestGroup/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/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/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": { + }, + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + }, + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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/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/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": { + "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/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/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": { + "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/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/MySqlTestGroup/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/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/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/MySqlTestGroup/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 fd5d755696c9..592162f1865a 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -11,17 +11,329 @@ 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' + +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 + } + Import-Module -Name Az.Network +} + Describe 'New-AzMySqlFlexibleServer' { + 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($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 + 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 + $server.SkuTier | Should -Be "GeneralPurpose" + $server.StorageProfileStorageMb | Should -Be 102400 + $server.StorageProfileBackupRetentionDay | Should -Be 12 + } + } | Should -Not -Throw + } + + It 'PublicAccessScenario-AllAzure' { + { + 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 + $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 + } + + It 'PublicAccessScenario-FirewallRule' { + { + 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 + $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 + } + + It 'PublicAccessScenario-AllowAll' { + { + 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 + $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 'NoArgumentsScenario' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + $Server = New-AzMySqlFlexibleServer -Location $env.location + $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 + + $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' { + { + 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 + + $SubnetName = 'Subnet' + $Server.Name + ValidateSubnetVnet $Server $env.VNetName $SubnetName + RemoveServerVnet $env.serverName2 $env.VNetName $SubnetName + } + } | Should -Not -Throw + } + + It 'VnetNameScenario-ValidVnetNotExist' { + { + 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 + + $SubnetName = 'Subnet' + $Server.Name + ValidateSubnetVnet $Server nonexistingvnetforpowershelltest $SubnetName + RemoveServerVnet $env.serverName3 nonexistingvnetforpowershelltest $SubnetName + } + } | Should -Not -Throw + } + + It 'VnetNameScenario-InvalidVnet' { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + { + # invalid vnet name + $InvalidName = "hi/df!@$@#$@" + New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName + + } | Should -Throw + } + } + + 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 -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId + + $SubnetName = 'Subnet' + $Server.Name + ValidateSubnetVnet $Server nonexistingvnetforpowershelltest $SubnetName + RemoveServerVnet $env.serverName2 nonexistingvnetforpowershelltest $SubnetName + } + } | Should -Not -Throw + } + + 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 -Location $env.location -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 + } + + It 'VnetIdScenario-InvalidVnet' { + 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 -Location $env.location -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 -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + + ValidateSubnetVnet $Server $env.VNetName $env.SubnetName + RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName + } + } | Should -Not -Throw + } + + 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 -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 + + $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 + } + + 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 -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 + } + } | 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 -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + + ValidateSubnetVnet $Server nonexistingvnetforpowershelltest nonexistingsubnetforpowershelltest + RemoveServerVnet $env.serverName3 nonexistingvnetforpowershelltest nonexistingsubnetforpowershelltest + } + } | Should -Not -Throw + } + + It 'SubnetIdScenario-InvalidSubnet' { + 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 -Location $env.location -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 -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 + } + } + } + + It 'VnetSubnetScenario-ValidVnetSubnetNotExist' { + { + 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 + + ValidateSubnetVnet $Server $env.VNetName $env.SubnetName + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName3 + } + } | Should -Not -Throw + } + + It 'VnetSubnetScenario-ValidVnetSubnet' { + { + 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 + + ValidateSubnetVnet $Server $env.VNetName $env.SubnetName + RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName + } } | Should -Not -Throw } } + + diff --git a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json index 936447607d9c..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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" ], @@ -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]" ], @@ -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/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-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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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" ], @@ -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]" ], @@ -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/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-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": { }, @@ -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]" ], @@ -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/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-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-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-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" ], @@ -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]" ], @@ -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/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-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": { }, @@ -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]" ], @@ -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/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-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-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-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" ], @@ -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-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-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json index 8b1bf6f5d481..a299f66e17e5 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json @@ -1,12 +1,12 @@ { - "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/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-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": [ "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,27 +22,27 @@ "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-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-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": { @@ -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/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/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" ], + "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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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/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/eastus2euap/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,31 +499,31 @@ "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/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]" ], "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/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+5": { + "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" ], - "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/New-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 index e45d8938052a..46c5de65613f 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -11,12 +11,14 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName +# !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' { { - $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-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/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 0adb7870accd..7726502f3484 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json @@ -1,9 +1,9 @@ { - "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", - "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}", + "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": { }, "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]" ], @@ -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+4": { + "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" ], @@ -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", @@ -315,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-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index 82768ba68e0a..dd60359fce2b 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -11,18 +11,27 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName +# !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' { { - #[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 -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 } It 'DeleteViaIdentity' { { + 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 + } $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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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" ], @@ -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]" ], @@ -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/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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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" ], @@ -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]" ], @@ -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/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-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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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" ], @@ -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]" ], @@ -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/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-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": { }, @@ -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]" ], @@ -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/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-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-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-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" ], @@ -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/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/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 e127e9220d1c..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-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-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" ], @@ -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]" ], @@ -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/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-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" ], @@ -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]" ], @@ -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/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 eb9d4003f65d..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-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-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-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/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-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": { @@ -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]" ], @@ -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-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/Restore-AzMySqlServer.Recording.json b/src/MySql/test/Restore-AzMySqlServer.Recording.json index f8d1ed29dee1..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,13 +908,14 @@ "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/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" ], @@ -947,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" ], @@ -986,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": { @@ -2146,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" ], @@ -2182,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/Restore-AzMySqlServer.Tests.ps1 b/src/MySql/test/Restore-AzMySqlServer.Tests.ps1 index 75ba383e34f3..1807f52813e1 100644 --- a/src/MySql/test/Restore-AzMySqlServer.Tests.ps1 +++ b/src/MySql/test/Restore-AzMySqlServer.Tests.ps1 @@ -11,6 +11,8 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName +# !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' { $replica = Get-AzMySqlServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json index 16ab14743a4f..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-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-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" ], @@ -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]" ], @@ -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/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-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" ], @@ -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]" ], @@ -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/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-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" ], @@ -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]" ], @@ -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/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-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" ], @@ -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]" ], @@ -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..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-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-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" ], @@ -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]" ], @@ -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/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-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" ], @@ -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]" ], @@ -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/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-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" ], @@ -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]" ], @@ -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/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/MySqlTestGroup/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-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 c07b25aeed31..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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/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-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-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": { }, @@ -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]" ], @@ -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/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-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-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/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-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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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-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" ], @@ -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]" ], @@ -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/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-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..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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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": { }, @@ -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]" ], @@ -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/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-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-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-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": { }, @@ -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]" ], @@ -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/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-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-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/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 25af8d96732e..f98d16ad8afe 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -1,17 +1,20 @@ { - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "SubnetName": "mysql-test-subnet", + "flexibleSku": "Standard_B1ms", + "serverName": "mysql-test-100", + "flexibleServerName": "mysql-flexible-test-100", + "resourceGroup": "MySqlTestGroup", + "location": "eastus2euap", "firewallRuleName": "mysqlrule01", - "resourceGroup": "MySqlTest", - "Sku": "GP_Gen5_4", - "firewallRuleName2": "mysqlrule02", - "location": "westus2", + "serverName3": "mysql-test-100-3", + "replicaName": "mysql-test-100-replica", + "serverName2": "mysql-test-100-2", + "restoreName2": "mysql-test-100-restore-2", "databaseName": "mysqldb", - "serverName": "mysql-test-100", - "FlexibleSku": "Standard_B1ms", "restoreName": "mysql-test-100-restore", - "replicaName": "mysql-test-100-replica", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "firewallRuleName2": "mysqlrule02", "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", - "restoreName2": "mysql-test-100-restore-2", - "serverName2": "mysql-test-100-2", + "Sku": "GP_Gen5_4", "VNetName": "mysqlvnet" } diff --git a/src/MySql/test/localEnv.json b/src/MySql/test/localEnv.json index 25af8d96732e..301f1a752d03 100644 --- a/src/MySql/test/localEnv.json +++ b/src/MySql/test/localEnv.json @@ -1,17 +1,18 @@ { - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "firewallRuleName": "mysqlrule01", - "resourceGroup": "MySqlTest", - "Sku": "GP_Gen5_4", + "flexibleSku": "Standard_B1ms", "firewallRuleName2": "mysqlrule02", - "location": "westus2", - "databaseName": "mysqldb", - "serverName": "mysql-test-100", - "FlexibleSku": "Standard_B1ms", - "restoreName": "mysql-test-100-restore", + "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", - "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": "MySqlTestGroup", + "location": "eastus2euap", + "Sku": "GP_Gen5_4" } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index ae4880390541..2fa6edb2c874 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -14,6 +14,7 @@ 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") @@ -21,34 +22,45 @@ function setupEnv() { $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 = "MySqlTest" - $location = "westus2" + $resourceGroup = "MySqlTestGroup" + $location = "eastus2euap" $env.Add("resourceGroup", $resourceGroup) $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" + $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" $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 $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 -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') { 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