Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7f18c4a
Updates for GA release.
Prasanna-Padmanabhan Jan 18, 2018
70e3f79
Merge remote-tracking branch 'upstream/dev' into dev
Prasanna-Padmanabhan Jan 18, 2018
77a0c2e
Addressing PR feedback:
Prasanna-Padmanabhan Jan 23, 2018
c6e7d08
Update history with details of the changes.
Prasanna-Padmanabhan Jan 24, 2018
ca47a9e
Adding generic update and show command.
Prasanna-Padmanabhan Feb 9, 2018
6c8c2ef
Addressing review feedback.
Prasanna-Padmanabhan Feb 13, 2018
d61ea43
Update SDK package version.
Prasanna-Padmanabhan Feb 13, 2018
bbe23bb
Merge remote-tracking branch 'upstream/dev' into dev
Prasanna-Padmanabhan Feb 13, 2018
64369a5
Addressing review feedback.
Prasanna-Padmanabhan Feb 16, 2018
6e17e92
Fix indentation errors.
Prasanna-Padmanabhan Feb 16, 2018
3b87d14
Merge pull request #2 from Azure/dev
Prasanna-Padmanabhan Feb 20, 2018
196c6b1
Merge pull request #3 from Azure/dev
Prasanna-Padmanabhan Feb 24, 2018
ae53cce
Add support for ids.
Prasanna-Padmanabhan Feb 24, 2018
05b6777
Updates for GA release.
Prasanna-Padmanabhan Jan 18, 2018
fa156b8
Addressing PR feedback:
Prasanna-Padmanabhan Jan 23, 2018
bd00ec3
Update history with details of the changes.
Prasanna-Padmanabhan Jan 24, 2018
19d3771
Adding generic update and show command.
Prasanna-Padmanabhan Feb 9, 2018
1e4e723
Addressing review feedback.
Prasanna-Padmanabhan Feb 13, 2018
5484ea9
Update SDK package version.
Prasanna-Padmanabhan Feb 13, 2018
917d3c7
Addressing review feedback.
Prasanna-Padmanabhan Feb 16, 2018
be1ab4a
Fix indentation errors.
Prasanna-Padmanabhan Feb 16, 2018
24cc6b9
Add support for ids.
Prasanna-Padmanabhan Feb 24, 2018
e653d72
Merge branch 'dev' of https://github.com/Prasanna-Padmanabhan/azure-c…
Prasanna-Padmanabhan Feb 26, 2018
710f4c4
Fix test failures.
Prasanna-Padmanabhan Feb 26, 2018
8744d2c
Merge remote-tracking branch 'upstream/dev' into dev
Prasanna-Padmanabhan Oct 16, 2018
ded97f4
Update to latest SDK version
Prasanna-Padmanabhan Oct 16, 2018
7b4fc7a
Update history
Prasanna-Padmanabhan Oct 16, 2018
ed97fd6
Reference new package version
Prasanna-Padmanabhan Oct 16, 2018
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
4 changes: 4 additions & 0 deletions src/command_modules/azure-cli-advisor/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

2.0.0
++++++
* GA release.

0.6.0
+++++
* BREAKING CHANGE: 'show' commands log error message and fail with exit code of 3 upon a missing resource.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"use": "az-test"}}'
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2018-10-16T16:36:01Z"}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
CommandName: [group create]
Connection: [keep-alive]
Content-Length: ['50']
Content-Length: ['110']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 resourcemanagementclient/1.2.1 Azure-SDK-For-Python
AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python
AZURECLI/2.0.48]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_advisor000001?api-version=2018-05-01
response:
body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001","name":"cli_test_advisor000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'}
body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001","name":"cli_test_advisor000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-10-16T16:36:01Z"},"properties":{"provisioningState":"Succeeded"}}'}
headers:
cache-control: [no-cache]
content-length: ['328']
content-length: ['384']
content-type: [application/json; charset=utf-8]
date: ['Mon, 26 Feb 2018 21:25:54 GMT']
date: ['Tue, 16 Oct 2018 16:36:02 GMT']
expires: ['-1']
pragma: [no-cache]
strict-transport-security: [max-age=31536000; includeSubDomains]
Expand All @@ -34,9 +35,8 @@ interactions:
Accept-Encoding: ['gzip, deflate']
CommandName: [advisor configuration show]
Connection: [keep-alive]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 azure-mgmt-advisor/1.0.1 Azure-SDK-For-Python AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 azure-mgmt-advisor/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.48]
accept-language: [en-US]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001/providers/Microsoft.Advisor/configurations?api-version=2017-04-19
Expand All @@ -46,15 +46,15 @@ interactions:
cache-control: [no-cache]
content-length: ['514']
content-type: [application/json; charset=utf-8]
date: ['Mon, 26 Feb 2018 21:25:56 GMT']
date: ['Tue, 16 Oct 2018 16:36:03 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
x-content-type-options: [nosniff]
x-ms-ratelimit-remaining-subscription-resource-requests: ['599']
x-ms-ratelimit-remaining-subscription-resource-requests: ['598']
status: {code: 200, message: OK}
- request:
body: null
Expand All @@ -63,9 +63,8 @@ interactions:
Accept-Encoding: ['gzip, deflate']
CommandName: [advisor configuration update]
Connection: [keep-alive]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 azure-mgmt-advisor/1.0.1 Azure-SDK-For-Python AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 azure-mgmt-advisor/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.48]
accept-language: [en-US]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001/providers/Microsoft.Advisor/configurations?api-version=2017-04-19
Expand All @@ -75,7 +74,7 @@ interactions:
cache-control: [no-cache]
content-length: ['514']
content-type: [application/json; charset=utf-8]
date: ['Mon, 26 Feb 2018 21:25:57 GMT']
date: ['Tue, 16 Oct 2018 16:36:04 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
Expand All @@ -96,16 +95,16 @@ interactions:
Connection: [keep-alive]
Content-Length: ['509']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 azure-mgmt-advisor/1.0.1 Azure-SDK-For-Python AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 azure-mgmt-advisor/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.48]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001/providers/Microsoft.Advisor/configurations?api-version=2017-04-19
response:
body: {string: ''}
headers:
cache-control: [no-cache]
date: ['Mon, 26 Feb 2018 21:25:58 GMT']
date: ['Tue, 16 Oct 2018 16:36:05 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
Expand All @@ -120,9 +119,8 @@ interactions:
Accept-Encoding: ['gzip, deflate']
CommandName: [advisor configuration show]
Connection: [keep-alive]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 azure-mgmt-advisor/1.0.1 Azure-SDK-For-Python AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 azure-mgmt-advisor/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.48]
accept-language: [en-US]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001/providers/Microsoft.Advisor/configurations?api-version=2017-04-19
Expand All @@ -132,7 +130,7 @@ interactions:
cache-control: [no-cache]
content-length: ['513']
content-type: [application/json; charset=utf-8]
date: ['Mon, 26 Feb 2018 21:25:59 GMT']
date: ['Tue, 16 Oct 2018 16:36:05 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
Expand All @@ -149,9 +147,8 @@ interactions:
Accept-Encoding: ['gzip, deflate']
CommandName: [advisor configuration update]
Connection: [keep-alive]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 azure-mgmt-advisor/1.0.1 Azure-SDK-For-Python AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 azure-mgmt-advisor/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.48]
accept-language: [en-US]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001/providers/Microsoft.Advisor/configurations?api-version=2017-04-19
Expand All @@ -161,7 +158,7 @@ interactions:
cache-control: [no-cache]
content-length: ['513']
content-type: [application/json; charset=utf-8]
date: ['Mon, 26 Feb 2018 21:26:00 GMT']
date: ['Tue, 16 Oct 2018 16:36:05 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
Expand All @@ -182,16 +179,16 @@ interactions:
Connection: [keep-alive]
Content-Length: ['510']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 azure-mgmt-advisor/1.0.1 Azure-SDK-For-Python AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 azure-mgmt-advisor/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.48]
accept-language: [en-US]
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001/providers/Microsoft.Advisor/configurations?api-version=2017-04-19
response:
body: {string: ''}
headers:
cache-control: [no-cache]
date: ['Mon, 26 Feb 2018 21:26:01 GMT']
date: ['Tue, 16 Oct 2018 16:36:07 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
Expand All @@ -206,9 +203,8 @@ interactions:
Accept-Encoding: ['gzip, deflate']
CommandName: [advisor configuration show]
Connection: [keep-alive]
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 azure-mgmt-advisor/1.0.1 Azure-SDK-For-Python AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 azure-mgmt-advisor/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.48]
accept-language: [en-US]
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_advisor000001/providers/Microsoft.Advisor/configurations?api-version=2017-04-19
Expand All @@ -218,7 +214,7 @@ interactions:
cache-control: [no-cache]
content-length: ['514']
content-type: [application/json; charset=utf-8]
date: ['Mon, 26 Feb 2018 21:26:03 GMT']
date: ['Tue, 16 Oct 2018 16:36:07 GMT']
expires: ['-1']
pragma: [no-cache]
server: [Microsoft-HTTPAPI/2.0]
Expand All @@ -237,9 +233,9 @@ interactions:
Connection: [keep-alive]
Content-Length: ['0']
Content-Type: [application/json; charset=utf-8]
User-Agent: [python/3.6.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18
msrest_azure/0.4.21 resourcemanagementclient/1.2.1 Azure-SDK-For-Python
AZURECLI/2.0.29]
User-Agent: [python/3.6.3 (Windows-10-10.0.17763-SP0) requests/2.18.4 msrest/0.5.1
msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python
AZURECLI/2.0.48]
accept-language: [en-US]
method: DELETE
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_advisor000001?api-version=2018-05-01
Expand All @@ -248,12 +244,12 @@ interactions:
headers:
cache-control: [no-cache]
content-length: ['0']
date: ['Mon, 26 Feb 2018 21:26:04 GMT']
date: ['Tue, 16 Oct 2018 16:36:08 GMT']
expires: ['-1']
location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGQURWSVNPUjZXNlJCTUJUQklYQTZYTDZETkw1RzRXR0dKNnxFMURERDhBMUE3Q0I1N0M1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01']
location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGQURWSVNPUkUyMkg0NU5WSVJXU05KVFJXVzRWREFHR1pQQXw3RjExMzQxMkZBNTM4MzQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01']
pragma: [no-cache]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-content-type-options: [nosniff]
x-ms-ratelimit-remaining-subscription-writes: ['1198']
x-ms-ratelimit-remaining-subscription-deletes: ['14999']
status: {code: 202, message: Accepted}
version: 1
Loading