Skip to content

Commit 4042902

Browse files
committed
Re-record out-of-date test.
1 parent 45466ab commit 4042902

File tree

1 file changed

+11
-83
lines changed
  • src/ResourceManager/Billing/Commands.Billing.Test/SessionRecords/Microsoft.Azure.Commands.Billing.Test.ScenarioTests.InvoicesTests

1 file changed

+11
-83
lines changed

src/ResourceManager/Billing/Commands.Billing.Test/SessionRecords/Microsoft.Azure.Commands.Billing.Test.ScenarioTests.InvoicesTests/TestListInvoices.json

Lines changed: 11 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"Entries": [
33
{
4-
"RequestUri": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods?api-version=2018-03-01-preview",
5-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzkwOWU5NzktZWY3MS00ZGVmLWE5NzAtYmM3YzE1NGRiOGM1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmlsbGluZy9iaWxsaW5nUGVyaW9kcz9hcGktdmVyc2lvbj0yMDE4LTAzLTAxLXByZXZpZXc=",
4+
"RequestUri": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices?api-version=2018-03-01-preview",
5+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzkwOWU5NzktZWY3MS00ZGVmLWE5NzAtYmM3YzE1NGRiOGM1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmlsbGluZy9pbnZvaWNlcz9hcGktdmVyc2lvbj0yMDE4LTAzLTAxLXByZXZpZXc=",
66
"RequestMethod": "GET",
77
"RequestBody": "",
88
"RequestHeaders": {
99
"x-ms-client-request-id": [
10-
"a2fdbf68-15f4-48bd-826a-4468b1abf22b"
10+
"09f69e63-fee5-46d6-b258-dc5409fb6901"
1111
],
1212
"accept-language": [
1313
"en-US"
@@ -19,10 +19,10 @@
1919
"Microsoft.Azure.Management.Billing.BillingManagementClient/2.0.0.0"
2020
]
2121
},
22-
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201806-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201806-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2018-03-06\",\r\n \"billingPeriodEndDate\": \"2018-04-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201805-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201805-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2018-02-06\",\r\n \"billingPeriodEndDate\": \"2018-03-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201804-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201804-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2018-01-06\",\r\n \"billingPeriodEndDate\": \"2018-02-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201803-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201803-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-12-06\",\r\n \"billingPeriodEndDate\": \"2018-01-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201802-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201802-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-11-06\",\r\n \"billingPeriodEndDate\": \"2017-12-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201801-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201801-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-10-06\",\r\n \"billingPeriodEndDate\": \"2017-11-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201712-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201712-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-09-06\",\r\n \"billingPeriodEndDate\": \"2017-10-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201711-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201711-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-08-06\",\r\n \"billingPeriodEndDate\": \"2017-09-05\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201710-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201710-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-07-06\",\r\n \"billingPeriodEndDate\": \"2017-08-05\",\r\n \"invoiceIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201710-317724100092362\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201709-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201709-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-06-06\",\r\n \"billingPeriodEndDate\": \"2017-07-05\",\r\n \"invoiceIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201709-317477130089288\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201708-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201708-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-05-06\",\r\n \"billingPeriodEndDate\": \"2017-06-05\",\r\n \"invoiceIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201708-317540100086952\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201707-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201707-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-04-18\",\r\n \"billingPeriodEndDate\": \"2017-05-05\",\r\n \"invoiceIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201707-217964100082083\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201706-2\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201706-2\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-04-04\",\r\n \"billingPeriodEndDate\": \"2017-04-16\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201706-1\",\r\n \"type\": \"Microsoft.Billing/billingPeriods\",\r\n \"name\": \"201706-1\",\r\n \"properties\": {\r\n \"billingPeriodStartDate\": \"2017-03-04\",\r\n \"billingPeriodEndDate\": \"2017-04-03\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://api-dogfood.resources.windows-int.net/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods?api-version=2018-03-01-preview&$skiptoken=MTM%3D\"\r\n}",
22+
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201710-317724100092362\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201710-317724100092362\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2017-08-05\",\r\n \"invoicePeriodStartDate\": \"2017-07-06\",\r\n \"billingPeriodIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201710-1\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201709-317477130089288\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201709-317477130089288\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2017-07-05\",\r\n \"invoicePeriodStartDate\": \"2017-06-06\",\r\n \"billingPeriodIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201709-1\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201708-317540100086952\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201708-317540100086952\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2017-06-05\",\r\n \"invoicePeriodStartDate\": \"2017-05-06\",\r\n \"billingPeriodIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201708-1\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201707-217964100082083\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201707-217964100082083\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2017-05-05\",\r\n \"invoicePeriodStartDate\": \"2017-04-18\",\r\n \"billingPeriodIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201707-1\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201705-217690100077217\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201705-217690100077217\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2017-03-03\",\r\n \"invoicePeriodStartDate\": \"2017-02-04\",\r\n \"billingPeriodIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201705-1\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201704-117283130069214\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201704-117283130069214\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2017-02-03\",\r\n \"invoicePeriodStartDate\": \"2017-01-04\",\r\n \"billingPeriodIds\": [\r\n \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/billingPeriods/201704-1\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201703-117816100063477\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201703-117816100063477\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2017-01-03\",\r\n \"invoicePeriodStartDate\": \"2016-12-04\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201702-117892100060639\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201702-117892100060639\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2016-12-03\",\r\n \"invoicePeriodStartDate\": \"2016-11-04\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/providers/Microsoft.Billing/invoices/201701-416126100059750\",\r\n \"type\": \"Microsoft.Billing/invoices\",\r\n \"name\": \"201701-416126100059750\",\r\n \"properties\": {\r\n \"invoicePeriodEndDate\": \"2016-11-03\",\r\n \"invoicePeriodStartDate\": \"2016-10-04\"\r\n }\r\n }\r\n ]\r\n}",
2323
"ResponseHeaders": {
2424
"Content-Length": [
25-
"4397"
25+
"3275"
2626
],
2727
"Content-Type": [
2828
"application/json; charset=utf-8"
@@ -34,7 +34,7 @@
3434
"no-cache"
3535
],
3636
"api-supported-versions": [
37-
"2017-04-24-preview, 2018-03-01-preview"
37+
"2017-02-27-preview, 2017-04-24-preview, 2018-03-01-preview"
3838
],
3939
"X-Content-Type-Options": [
4040
"nosniff"
@@ -43,94 +43,22 @@
4343
"max-age=31536000; includeSubDomains"
4444
],
4545
"x-ms-ratelimit-remaining-subscription-reads": [
46-
"14993"
46+
"14989"
4747
],
4848
"x-ms-request-id": [
49-
"0b870e20-941e-46ce-948a-bbe773beb1a1"
49+
"cf404616-f265-4530-8826-1479cfab817e"
5050
],
5151
"x-ms-correlation-request-id": [
52-
"0b870e20-941e-46ce-948a-bbe773beb1a1"
52+
"cf404616-f265-4530-8826-1479cfab817e"
5353
],
5454
"x-ms-routing-request-id": [
55-
"CENTRALUS:20180323T200237Z:0b870e20-941e-46ce-948a-bbe773beb1a1"
55+
"CENTRALUS:20180326T222959Z:cf404616-f265-4530-8826-1479cfab817e"
5656
],
5757
"Cache-Control": [
5858
"no-cache"
5959
],
6060
"Date": [
61-
"Fri, 23 Mar 2018 20:02:37 GMT"
62-
],
63-
"Server": [
64-
"Microsoft-IIS/8.5"
65-
],
66-
"X-AspNet-Version": [
67-
"4.0.30319"
68-
],
69-
"X-Powered-By": [
70-
"ASP.NET"
71-
]
72-
},
73-
"StatusCode": 200
74-
},
75-
{
76-
"RequestUri": "/providers/Microsoft.Billing/enrollmentAccounts?api-version=2018-03-01-preview",
77-
"EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmlsbGluZy9lbnJvbGxtZW50QWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wMy0wMS1wcmV2aWV3",
78-
"RequestMethod": "GET",
79-
"RequestBody": "",
80-
"RequestHeaders": {
81-
"x-ms-client-request-id": [
82-
"e31f7f5b-8663-4644-8c24-c2d8db983a7b"
83-
],
84-
"accept-language": [
85-
"en-US"
86-
],
87-
"User-Agent": [
88-
"FxVersion/4.7.2633.0",
89-
"OSName/Windows_10_Enterprise",
90-
"OSVersion/6.3.16299",
91-
"Microsoft.Azure.Management.Billing.BillingManagementClient/2.0.0.0"
92-
]
93-
},
94-
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Billing/enrollmentAccounts/46575c4e-ce0c-4f00-b184-f295b52ab5c6\",\r\n \"name\": \"46575c4e-ce0c-4f00-b184-f295b52ab5c6\",\r\n \"properties\": {\r\n \"principalName\": \"[email protected]\",\r\n \"offerTypes\": [\r\n \"MS-AZR-0017P\",\r\n \"MS-AZR-0025P\",\r\n \"MS-AZR-0148P\"\r\n ]\r\n },\r\n \"type\": \"Microsoft.Billing/enrollmentAccounts\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Billing/enrollmentAccounts/93d280a0-578b-4c2b-add1-5099e47d3243\",\r\n \"name\": \"93d280a0-578b-4c2b-add1-5099e47d3243\",\r\n \"properties\": {\r\n \"principalName\": \"[email protected]\",\r\n \"offerTypes\": [\r\n \"MS-AZR-0017P\",\r\n \"MS-AZR-0025P\",\r\n \"MS-AZR-0148P\"\r\n ]\r\n },\r\n \"type\": \"Microsoft.Billing/enrollmentAccounts\"\r\n }\r\n ]\r\n}",
95-
"ResponseHeaders": {
96-
"Content-Length": [
97-
"637"
98-
],
99-
"Content-Type": [
100-
"application/json; charset=utf-8"
101-
],
102-
"Expires": [
103-
"-1"
104-
],
105-
"Pragma": [
106-
"no-cache"
107-
],
108-
"api-supported-versions": [
109-
"2018-03-01-preview"
110-
],
111-
"X-Content-Type-Options": [
112-
"nosniff"
113-
],
114-
"Strict-Transport-Security": [
115-
"max-age=31536000; includeSubDomains"
116-
],
117-
"x-ms-ratelimit-remaining-tenant-reads": [
118-
"14973"
119-
],
120-
"x-ms-request-id": [
121-
"994bb414-5d79-456d-9a19-954c7768c795"
122-
],
123-
"x-ms-correlation-request-id": [
124-
"994bb414-5d79-456d-9a19-954c7768c795"
125-
],
126-
"x-ms-routing-request-id": [
127-
"CENTRALUS:20180323T200238Z:994bb414-5d79-456d-9a19-954c7768c795"
128-
],
129-
"Cache-Control": [
130-
"no-cache"
131-
],
132-
"Date": [
133-
"Fri, 23 Mar 2018 20:02:37 GMT"
61+
"Mon, 26 Mar 2018 22:29:59 GMT"
13462
],
13563
"Server": [
13664
"Microsoft-IIS/8.5"

0 commit comments

Comments
 (0)