Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoRelease] t2-consumption-2022-01-06-98359 #22360

Merged
merged 5 commits into from
Jan 6, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
update tests
BigCat20196 committed Jan 6, 2022
commit d775546c4e8d2ff51decb21a0c4789ea7d37df83
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
interactions:
- request:
body: '{"properties": {"category": "Cost", "amount": 100.0, "timeGrain": "Monthly",
"timePeriod": {"startDate": "2022-01-01T00:00:00.000Z", "endDate": "2022-10-31T00:00:00.000Z"}}}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '173'
Content-Type:
- application/json
User-Agent:
- azsdk-python-mgmt-consumption/9.0.0 Python/3.6.9 (Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_budgets_test_budgets85c60a49/providers/Microsoft.Consumption/budgets/budget85c60a49?api-version=2021-10-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_budgets_test_budgets85c60a49/providers/Microsoft.Consumption/budgets/budget85c60a49","name":"budget85c60a49","type":"Microsoft.Consumption/budgets","eTag":"\"1d802d572939f3d\"","properties":{"timePeriod":{"startDate":"2022-01-01T00:00:00Z","endDate":"2022-10-31T00:00:00Z"},"timeGrain":"Monthly","amount":100.0,"currentSpend":null,"category":"Cost","notifications":{},"filter":{}}}'
headers:
cache-control:
- no-cache
content-length:
- '465'
content-type:
- application/json; charset=utf-8
date:
- Thu, 06 Jan 2022 08:14:37 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_budgets_test_budgets85c60a49/providers/Microsoft.Consumption/budgets/budget85c60a49?api-version=2021-10-01
pragma:
- no-cache
session-id:
- 91c8a692-9924-41bb-b43d-9e787d5b9333
strict-transport-security:
- max-age=31536000; includeSubDomains
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
x-powered-by:
- ASP.NET
status:
code: 201
message: Created
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-mgmt-consumption/9.0.0 Python/3.6.9 (Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_budgets_test_budgets85c60a49/providers/Microsoft.Consumption/budgets/budget85c60a49?api-version=2021-10-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_budgets_test_budgets85c60a49/providers/Microsoft.Consumption/budgets/budget85c60a49","name":"budget85c60a49","type":"Microsoft.Consumption/budgets","eTag":"\"1d802d572939f3d\"","properties":{"timePeriod":{"startDate":"2022-01-01T00:00:00Z","endDate":"2022-10-31T00:00:00Z"},"timeGrain":"Monthly","amount":100.0,"currentSpend":{"amount":0.0,"unit":"USD"},"category":"Cost","notifications":{},"filter":{}}}'
headers:
cache-control:
- no-cache
content-length:
- '488'
content-type:
- application/json; charset=utf-8
date:
- Thu, 06 Jan 2022 08:14:39 GMT
expires:
- '-1'
pragma:
- no-cache
session-id:
- a52bd22c-d52e-4493-8537-9a46db2435aa
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- azsdk-python-mgmt-consumption/9.0.0 Python/3.6.9 (Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic)
method: DELETE
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_budgets_test_budgets85c60a49/providers/Microsoft.Consumption/budgets/budget85c60a49?api-version=2021-10-01
response:
body:
string: ''
headers:
cache-control:
- no-cache
content-length:
- '0'
date:
- Thu, 06 Jan 2022 08:14:40 GMT
expires:
- '-1'
pragma:
- no-cache
session-id:
- eb82e90d-43ac-4961-a95a-1aa00de698d0
strict-transport-security:
- max-age=31536000; includeSubDomains
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
version: 1

This file was deleted.

Loading