Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
5d752a9
Add PublicNetworkAccess to Create and Update Server
emgu-ms Feb 28, 2020
9c0c2c7
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
emgu-ms Feb 28, 2020
99f273f
Merge branch 'dev' of https://github.com/Azure/azure-cli into dev
emgu-ms Mar 5, 2020
75a7998
Merge pull request #1 from Azure/dev
OlegSternbergIBM Oct 1, 2020
f530b90
Merge pull request #2 from Azure/dev
OlegSternbergIBM Oct 9, 2020
e2e5cff
Merge pull request #4 from Azure/dev
OlegSternbergIBM Dec 16, 2020
2c39056
Merge pull request #5 from Azure/dev
OlegSternbergIBM Jan 14, 2021
71a2d1b
Merge from upstream
emgu-ms Jan 21, 2021
a3235c1
rerun test
Juliehzl Jan 21, 2021
dc08175
Fix test_sql_server_public_network_access_update_mgmt test
emgu-ms Jan 22, 2021
68682b7
Remove left in testing
emgu-ms Jan 22, 2021
2988242
revert failed test recordings
Juliehzl Jan 22, 2021
6c3565f
Merge branch 'emgu/FixPublicNetworkAccessTest' into sql
Juliehzl Jan 22, 2021
6c2d033
fix recorded tests
Jan 22, 2021
bfe06b8
Merge branch 'fix_recorded_tests_sql_0_26_0' into sql
Juliehzl Jan 22, 2021
e2bd0bf
fix additional tests
Jan 22, 2021
9b48372
fix additional tests
Jan 22, 2021
7640716
use highAvailabilityReplicaCount
Jan 22, 2021
e9b1155
fixed additional recorded tests
Jan 23, 2021
2df75f9
Merge branch 'fix_recorded_tests_sql_0_26_0' into sql
Juliehzl Jan 25, 2021
b405f53
fixed test_sql_db_import_export_mgmt
Jan 25, 2021
2d8a050
* move 'db_import' under correct group
Jan 25, 2021
96b2f4e
Merge branch 'fix_recorded_tests_sql_0_26_0' into sql
Juliehzl Jan 26, 2021
07f1b23
Fix read_replica_count
bradrich-msft Jan 25, 2021
e1eccf8
apply Oleg's change
Juliehzl Jan 26, 2021
128fa3e
fixed test_sql_db_restore.yaml
Jan 26, 2021
0b8e264
test_sql_db_mgmt fix
bradrich-msft Jan 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed test_sql_db_restore.yaml
  • Loading branch information
Oleg Sternberg authored and Juliehzl committed Jan 26, 2021
commit 128fa3e44a4dff6cf9d7c9becc9e9c1f8c12d9c7
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ interactions:
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/elasticPools/cliautomationpool1?api-version=2017-10-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/elasticPools/cliautomationpool1?api-version=2020-08-01-preview
response:
body:
string: '{"operation":"CreateLogicalElasticPool","startTime":"2020-09-30T01:38:58.803Z"}'
Expand Down Expand Up @@ -599,7 +599,7 @@ interactions:
- python/3.7.8 (Windows-10-10.0.14393-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-sql/0.21.0 Azure-SDK-For-Python AZURECLI/2.12.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/elasticPools/cliautomationpool1?api-version=2017-10-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/elasticPools/cliautomationpool1?api-version=2020-08-01-preview
response:
body:
string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"vcore,pool","properties":{"state":"Ready","creationDate":"2020-09-30T01:38:58.93Z","maxSizeBytes":34359738368,"perDatabaseSettings":{"minCapacity":0.0000,"maxCapacity":2.0000},"zoneRedundant":false,"licenseType":"LicenseIncluded"},"location":"westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/elasticPools/cliautomationpool1","name":"cliautomationpool1","type":"Microsoft.Sql/servers/elasticPools"}'
Expand Down Expand Up @@ -750,7 +750,7 @@ interactions:
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01?api-version=2020-08-01-preview
response:
body:
string: '{"operation":"CreateLogicalDatabase","startTime":"2020-09-30T01:39:35.62Z"}'
Expand Down Expand Up @@ -940,7 +940,7 @@ interactions:
- python/3.7.8 (Windows-10-10.0.14393-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-sql/0.21.0 Azure-SDK-For-Python AZURECLI/2.12.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01?api-version=2020-08-01-preview
response:
body:
string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"8d9f13e3-1e54-4f50-a7b3-d62618fee36a","creationDate":"2020-09-30T01:40:20.2Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"northeurope","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307502080,"earliestRestoreDate":"2020-09-30T02:10:20.2Z","readScale":"Disabled","readReplicaCount":0,"currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01","name":"cliautomationdb01","type":"Microsoft.Sql/servers/databases"}'
Expand Down Expand Up @@ -1093,7 +1093,7 @@ interactions:
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore1?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore1?api-version=2020-08-01-preview
response:
body:
string: '{"operation":"CreateRestoreRequest","startTime":"2020-09-30T02:10:29.813Z"}'
Expand Down Expand Up @@ -2975,7 +2975,7 @@ interactions:
- python/3.7.8 (Windows-10-10.0.14393-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-sql/0.21.0 Azure-SDK-For-Python AZURECLI/2.12.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore1?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore1?api-version=2020-08-01-preview
response:
body:
string: '{"sku":{"name":"Standard","tier":"Standard","capacity":20},"kind":"v12.0,user","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":268435456000,"status":"Online","databaseId":"ce0e58ce-c07d-4a83-aa25-e5d1e4672b29","creationDate":"2020-09-30T02:19:45.06Z","currentServiceObjectiveName":"S1","requestedServiceObjectiveName":"S1","defaultSecondaryLocation":"northeurope","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"earliestRestoreDate":"2020-09-30T02:49:45.06Z","readScale":"Disabled","readReplicaCount":0,"currentSku":{"name":"Standard","tier":"Standard","capacity":20},"storageAccountType":"GRS"},"location":"westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore1","name":"cliautomationdb01restore1","type":"Microsoft.Sql/servers/databases"}'
Expand Down Expand Up @@ -3129,7 +3129,7 @@ interactions:
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2?api-version=2020-08-01-preview
response:
body:
string: '{"operation":"CreateRestoreRequest","startTime":"2020-09-30T02:20:31.387Z"}'
Expand Down Expand Up @@ -3836,7 +3836,7 @@ interactions:
- python/3.7.8 (Windows-10-10.0.14393-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-sql/0.21.0 Azure-SDK-For-Python AZURECLI/2.12.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2?api-version=2020-08-01-preview
response:
body:
string: '{"sku":{"name":"ElasticPool","tier":"GeneralPurpose","capacity":0},"kind":"v12.0,user,vcore,pool","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"elasticPoolId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/elasticPools/cliautomationpool1","status":"Online","databaseId":"afd7a85e-4701-4311-8303-77c4343dfadb","creationDate":"2020-09-30T02:23:31.84Z","currentServiceObjectiveName":"ElasticPool","requestedServiceObjectiveName":"ElasticPool","defaultSecondaryLocation":"northeurope","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":0,"earliestRestoreDate":"2020-09-30T02:53:31.84Z","readScale":"Disabled","readReplicaCount":0,"currentSku":{"name":"ElasticPool","tier":"GeneralPurpose","capacity":0},"storageAccountType":"GRS"},"location":"westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2","name":"cliautomationdb01restore2","type":"Microsoft.Sql/servers/databases"}'
Expand Down Expand Up @@ -3885,7 +3885,7 @@ interactions:
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2?api-version=2020-08-01-preview
response:
body:
string: '{"sku":{"name":"ElasticPool","tier":"GeneralPurpose","capacity":0},"kind":"v12.0,user,vcore,pool","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"elasticPoolId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/elasticPools/cliautomationpool1","status":"Online","databaseId":"afd7a85e-4701-4311-8303-77c4343dfadb","creationDate":"2020-09-30T02:23:31.84Z","currentServiceObjectiveName":"ElasticPool","requestedServiceObjectiveName":"ElasticPool","defaultSecondaryLocation":"northeurope","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":0,"earliestRestoreDate":"2020-09-30T02:53:31.84Z","readScale":"Disabled","readReplicaCount":0,"currentSku":{"name":"ElasticPool","tier":"GeneralPurpose","capacity":0},"storageAccountType":"GRS"},"location":"westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/cliautomationdb01restore2","name":"cliautomationdb01restore2","type":"Microsoft.Sql/servers/databases"}'
Expand Down Expand Up @@ -4038,7 +4038,7 @@ interactions:
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/bsr_database?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/bsr_database?api-version=2020-08-01-preview
response:
body:
string: '{"operation":"CreateRestoreRequest","startTime":"2020-09-30T02:24:11.59Z"}'
Expand Down Expand Up @@ -5309,7 +5309,7 @@ interactions:
- python/3.7.8 (Windows-10-10.0.14393-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-sql/0.21.0 Azure-SDK-For-Python AZURECLI/2.12.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/bsr_database?api-version=2019-06-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/bsr_database?api-version=2020-08-01-preview
response:
body:
string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"8b744aec-305d-4196-a012-354f0d36a1a4","creationDate":"2020-09-30T02:30:11.107Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"northeurope","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307502080,"earliestRestoreDate":"2020-09-30T03:00:11.107Z","readScale":"Disabled","readReplicaCount":0,"currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Sql/servers/clitestserver000002/databases/bsr_database","name":"bsr_database","type":"Microsoft.Sql/servers/databases"}'
Expand Down