Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion scripts/dependency/requirements.Darwin.external.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ azure-mgmt-marketplaceordering==0.1.0
azure-mgmt-media==1.0.0rc1
azure-mgmt-monitor==0.5.2
azure-mgmt-msi==0.2.0
azure-mgmt-network==2.3.0
azure-mgmt-network==2.6.0rc1
azure-mgmt-nspkg==2.0.0
azure-mgmt-policyinsights==0.2.0
azure-mgmt-rdbms==1.3.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/dependency/requirements.Linux.external.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ azure-mgmt-marketplaceordering==0.1.0
azure-mgmt-media==1.0.0rc1
azure-mgmt-monitor==0.5.2
azure-mgmt-msi==0.2.0
azure-mgmt-network==2.3.0
azure-mgmt-network==2.6.0rc1
azure-mgmt-nspkg==2.0.0
azure-mgmt-policyinsights==0.2.0
azure-mgmt-rdbms==1.3.0
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli-core/azure/cli/core/profiles/_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def default_api_version(self):
AZURE_API_PROFILES = {
'latest': {
ResourceType.MGMT_STORAGE: '2018-07-01',
ResourceType.MGMT_NETWORK: '2018-10-01',
ResourceType.MGMT_NETWORK: '2018-12-01',
ResourceType.MGMT_COMPUTE: SDKProfile('2018-10-01', {
'resource_skus': '2017-09-01',
'disks': '2018-06-01',
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ interactions:
Connection: [keep-alive]
Content-Length: ['82']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.1 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.28
msrest_azure/0.4.28 containerregistrymanagementclient/2.0.0 Azure-SDK-For-Python
AZURECLI/2.0.32]
ParameterSetName: [-n]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
containerregistrymanagementclient/2.7.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/checkNameAvailability?api-version=2017-10-01
Expand All @@ -20,7 +20,7 @@ interactions:
cache-control: [no-cache]
content-length: ['22']
content-type: [application/json; charset=utf-8]
date: ['Mon, 30 Apr 2018 04:39:54 GMT']
date: ['Fri, 15 Feb 2019 22:15:23 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only
from azure.cli.testsdk import LiveScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only


class AcrTaskCommandsTests(ScenarioTest):
# converted to live test until #8588 is resolved
class AcrTaskCommandsTests(LiveScenarioTest):

@ResourceGroupPreparer()
def test_acr_task(self, resource_group):
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/command_modules/azure-cli-container/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
DEPENDENCIES = [
'azure-mgmt-containerinstance==1.4.0',
'azure-mgmt-loganalytics==0.2.0',
'azure-mgmt-network==2.4.0',
'azure-mgmt-network==2.6.0rc1',
'azure-mgmt-authorization==0.50.0',
'azure-cli-core',
'pyyaml>=4.2b1',
Expand Down
2 changes: 1 addition & 1 deletion src/command_modules/azure-cli-hdinsight/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
DEPENDENCIES = [
'azure-mgmt-hdinsight==0.2.0',
'azure-mgmt-storage==3.1.1',
'azure-mgmt-network==2.4.0',
'azure-mgmt-network==2.6.0rc1',
'azure-cli-core',
]

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-01-09T19:34:28Z"}}'
"date": "2019-02-15T18:46:51Z"}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Expand All @@ -10,18 +10,18 @@ interactions:
Content-Length: ['110']
Content-Type: [application/json; charset=utf-8]
ParameterSetName: [--location --name --tag]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.3 msrest_azure/0.6.0
resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.55]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns_alias000001?api-version=2018-05-01
response:
body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns_alias000001","name":"cli_test_dns_alias000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-01-09T19:34:28Z"},"properties":{"provisioningState":"Succeeded"}}'}
body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns_alias000001","name":"cli_test_dns_alias000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-02-15T18:46:51Z"},"properties":{"provisioningState":"Succeeded"}}'}
headers:
cache-control: [no-cache]
content-length: ['384']
content-type: [application/json; charset=utf-8]
date: ['Wed, 09 Jan 2019 19:34:31 GMT']
date: ['Fri, 15 Feb 2019 18:46:55 GMT']
expires: ['-1']
pragma: [no-cache]
strict-transport-security: [max-age=31536000; includeSubDomains]
Expand All @@ -38,20 +38,20 @@ interactions:
Content-Length: ['60']
Content-Type: [application/json; charset=utf-8]
ParameterSetName: [-g -n]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.3 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.55]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns_alias000001/providers/Microsoft.Network/dnsZones/mytestzone1.com?api-version=2018-05-01
response:
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com","name":"mytestzone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-eda2-895952a8d401","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"maxNumberOfRecordsPerRecordSet":null,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":2,"zoneType":"Public"}}'}
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com","name":"mytestzone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-511e-2cd45ec5d401","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"maxNumberOfRecordsPerRecordSet":null,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2,"zoneType":"Public"}}'}
headers:
cache-control: [private]
content-length: ['604']
content-type: [application/json; charset=utf-8]
date: ['Wed, 09 Jan 2019 19:34:35 GMT']
etag: [00000002-0000-0000-eda2-895952a8d401]
server: [Microsoft-IIS/8.5]
date: ['Fri, 15 Feb 2019 18:46:57 GMT']
etag: [00000002-0000-0000-511e-2cd45ec5d401]
server: [Microsoft-IIS/10.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-aspnet-version: [4.0.30319]
x-content-type-options: [nosniff]
Expand All @@ -70,8 +70,8 @@ interactions:
Content-Length: ['236']
Content-Type: [application/json; charset=utf-8]
ParameterSetName: [-g -n --unique-dns-name --routing-method]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.3 msrest_azure/0.6.0
azure-mgmt-trafficmanager/0.51.0 Azure-SDK-For-Python AZURECLI/2.0.55]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
azure-mgmt-trafficmanager/0.51.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns_alias000001/providers/Microsoft.Network/trafficmanagerprofiles/tm1?api-version=2018-04-01
Expand All @@ -81,7 +81,7 @@ interactions:
cache-control: [private]
content-length: ['712']
content-type: [application/json; charset=utf-8]
date: ['Wed, 09 Jan 2019 19:34:36 GMT']
date: ['Fri, 15 Feb 2019 18:46:59 GMT']
server: [Microsoft-IIS/8.5]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-aspnet-version: [4.0.30319]
Expand All @@ -99,20 +99,20 @@ interactions:
Content-Length: ['256']
Content-Type: [application/json; charset=utf-8]
ParameterSetName: [-g -z -n --target-resource]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.3 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.55]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns_alias000001/providers/Microsoft.Network/dnsZones/mytestzone1.com/A/a1?api-version=2018-05-01
response:
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com\/A\/a1","name":"a1","type":"Microsoft.Network\/dnszones\/A","etag":"ff5535ad-28b9-46ba-b003-2d8e353561e8","properties":{"fqdn":"a1.mytestzone1.com.","TTL":30,"targetResource":{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/trafficManagerProfiles\/tm1"},"provisioningState":"Succeeded"}}'}
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com\/A\/a1","name":"a1","type":"Microsoft.Network\/dnszones\/A","etag":"0e11286a-a4c6-4865-a722-0c94181ae533","properties":{"fqdn":"a1.mytestzone1.com.","TTL":30,"targetResource":{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/trafficManagerProfiles\/tm1"},"provisioningState":"Succeeded"}}'}
headers:
cache-control: [private]
content-length: ['634']
content-type: [application/json; charset=utf-8]
date: ['Wed, 09 Jan 2019 19:34:41 GMT']
etag: [ff5535ad-28b9-46ba-b003-2d8e353561e8]
server: [Microsoft-IIS/8.5]
date: ['Fri, 15 Feb 2019 18:47:05 GMT']
etag: [0e11286a-a4c6-4865-a722-0c94181ae533]
server: [Microsoft-IIS/10.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-aspnet-version: [4.0.30319]
x-content-type-options: [nosniff]
Expand All @@ -127,20 +127,20 @@ interactions:
CommandName: [network dns record-set a update]
Connection: [keep-alive]
ParameterSetName: [-g -z -n --target-resource]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.3 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.55]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns_alias000001/providers/Microsoft.Network/dnsZones/mytestzone1.com/A/a1?api-version=2018-05-01
response:
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com\/A\/a1","name":"a1","type":"Microsoft.Network\/dnszones\/A","etag":"ff5535ad-28b9-46ba-b003-2d8e353561e8","properties":{"fqdn":"a1.mytestzone1.com.","TTL":30,"targetResource":{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/trafficManagerProfiles\/tm1"},"provisioningState":"Succeeded"}}'}
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com\/A\/a1","name":"a1","type":"Microsoft.Network\/dnszones\/A","etag":"0e11286a-a4c6-4865-a722-0c94181ae533","properties":{"fqdn":"a1.mytestzone1.com.","TTL":30,"targetResource":{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/trafficManagerProfiles\/tm1"},"provisioningState":"Succeeded"}}'}
headers:
cache-control: [private]
content-length: ['634']
content-type: [application/json; charset=utf-8]
date: ['Wed, 09 Jan 2019 19:34:41 GMT']
etag: [ff5535ad-28b9-46ba-b003-2d8e353561e8]
server: [Microsoft-IIS/8.5]
date: ['Fri, 15 Feb 2019 18:47:06 GMT']
etag: [0e11286a-a4c6-4865-a722-0c94181ae533]
server: [Microsoft-IIS/10.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
Expand All @@ -150,7 +150,7 @@ interactions:
x-powered-by: [ASP.NET]
status: {code: 200, message: OK}
- request:
body: '{"etag": "ff5535ad-28b9-46ba-b003-2d8e353561e8", "properties": {"TTL":
body: '{"etag": "0e11286a-a4c6-4865-a722-0c94181ae533", "properties": {"TTL":
30}}'
headers:
Accept: [application/json]
Expand All @@ -160,20 +160,20 @@ interactions:
Content-Length: ['75']
Content-Type: [application/json; charset=utf-8]
ParameterSetName: [-g -z -n --target-resource]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.3 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.55]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
azure-mgmt-dns/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns_alias000001/providers/Microsoft.Network/dnsZones/mytestzone1.com/A/a1?api-version=2018-05-01
response:
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com\/A\/a1","name":"a1","type":"Microsoft.Network\/dnszones\/A","etag":"5d0d4704-be7f-4606-a2f8-9cded83bed5b","properties":{"fqdn":"a1.mytestzone1.com.","TTL":30,"ARecords":[],"targetResource":{},"provisioningState":"Succeeded"}}'}
body: {string: '{"id":"\/subscriptions\/c9cbd920-c00c-427c-852b-8aaf38badaeb\/resourceGroups\/cli_test_dns_alias000001\/providers\/Microsoft.Network\/dnszones\/mytestzone1.com\/A\/a1","name":"a1","type":"Microsoft.Network\/dnszones\/A","etag":"cd42f88a-e41a-4cc5-b737-0ac78b50b214","properties":{"fqdn":"a1.mytestzone1.com.","TTL":30,"ARecords":[],"targetResource":{},"provisioningState":"Succeeded"}}'}
headers:
cache-control: [private]
content-length: ['436']
content-type: [application/json; charset=utf-8]
date: ['Wed, 09 Jan 2019 19:34:45 GMT']
etag: [5d0d4704-be7f-4606-a2f8-9cded83bed5b]
server: [Microsoft-IIS/8.5]
date: ['Fri, 15 Feb 2019 18:47:09 GMT']
etag: [cd42f88a-e41a-4cc5-b737-0ac78b50b214]
server: [Microsoft-IIS/10.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
Expand All @@ -190,10 +190,9 @@ interactions:
CommandName: [group delete]
Connection: [keep-alive]
Content-Length: ['0']
Content-Type: [application/json; charset=utf-8]
ParameterSetName: [--name --yes --no-wait]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.3 msrest_azure/0.6.0
resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.55]
User-Agent: [python/3.7.1 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0
resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.59]
accept-language: [en-US]
method: DELETE
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns_alias000001?api-version=2018-05-01
Expand All @@ -202,9 +201,9 @@ interactions:
headers:
cache-control: [no-cache]
content-length: ['0']
date: ['Wed, 09 Jan 2019 19:34:46 GMT']
date: ['Fri, 15 Feb 2019 18:47:10 GMT']
expires: ['-1']
location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGRE5TOjVGQUxJQVNPT0lPQ1pRUjdRSU9NSUpBQlVGNlFGNnw5NjNFRUVFRDUyOEI2RTI5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01']
location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGRE5TOjVGQUxJQVNTWTZDU0s1NVVSU1RVMkxMS1ZSQ1hWUnxDNjA2NDRBOEQ0MUQyOTA0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01']
pragma: [no-cache]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-content-type-options: [nosniff]
Expand Down
Loading