Skip to content

Commit

Permalink
Added managed identity tests to PNM (Azure#17884)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeauregardb authored and mccoyp committed Apr 13, 2021
1 parent e5f3a70 commit 90245f4
Show file tree
Hide file tree
Showing 22 changed files with 1,503 additions and 311 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Connection:
- keep-alive
Date:
- Tue, 16 Mar 2021 16:36:27 GMT
- Wed, 07 Apr 2021 18:26:53 GMT
User-Agent:
- azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
Expand All @@ -19,22 +19,24 @@ interactions:
response:
body:
string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US",
"phoneNumberType": "TollFree", "capabilities": {"calling": "inbound", "sms":
"inbound+outbound"}, "assignmentType": "Application", "purchaseDate": "2000-01-01T00:00:00+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "Monthly"}}'
"phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms":
"inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}'
headers:
api-supported-versions:
- '2021-03-07'
content-type:
- application/json; charset=utf-8
date:
- Tue, 16 Mar 2021 16:36:29 GMT
- Wed, 07 Apr 2021 18:26:53 GMT
ms-cv:
- NMLarZuCN0GHqBKkuqYasA.0
- Fm7esbS6ykOT9mE5oXl6kg.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 2145ms
- 1350ms
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07
response:
body:
string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US",
"phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms":
"inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}'
headers:
api-supported-versions:
- '2021-03-07'
content-type:
- application/json; charset=utf-8
date:
- Wed, 07 Apr 2021 18:26:55 GMT
ms-cv:
- jD98+LYr7kiS4MN9Jd9l4g.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 1208ms
status:
code: 200
message: OK
url: sanitized
version: 1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Connection:
- keep-alive
Date:
- Tue, 16 Mar 2021 16:36:30 GMT
- Wed, 07 Apr 2021 18:26:57 GMT
User-Agent:
- azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
Expand All @@ -19,51 +19,108 @@ interactions:
response:
body:
string: '{"phoneNumbers": [{"id": "sanitized", "phoneNumber": "sanitized", "countryCode":
"US", "phoneNumberType": "TollFree", "capabilities": {"calling": "inbound",
"sms": "inbound+outbound"}, "assignmentType": "Application", "purchaseDate":
"2021-02-09T23:03:57.6969271+00:00", "cost": {"amount": 2.0, "currencyCode":
"USD", "billingFrequency": "Monthly"}}, {"id": "sanitized", "phoneNumber":
"sanitized", "countryCode": "US", "phoneNumberType": "TollFree", "capabilities":
{"calling": "none", "sms": "inbound+outbound"}, "assignmentType": "Application",
"purchaseDate": "2021-02-10T17:51:13.4876763+00:00", "cost": {"amount": 2.0,
"currencyCode": "USD", "billingFrequency": "Monthly"}}, {"id": "sanitized",
"phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "TollFree",
"capabilities": {"calling": "none", "sms": "inbound"}, "assignmentType": "Application",
"purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0,
"currencyCode": "USD", "billingFrequency": "Monthly"}}, {"id": "sanitized",
"phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "TollFree",
"capabilities": {"calling": "none", "sms": "inbound+outbound"}, "assignmentType":
"Application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "Monthly"}}, {"id":
"US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound",
"sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00",
"cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType":
"application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost":
{"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "none", "sms": "inbound"}, "assignmentType":
"application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"TollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"},
"assignmentType": "Application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "Monthly"}},
"tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType":
"application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType":
"application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"TollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "Application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "Monthly"}},
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"TollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "Application", "purchaseDate": "2000-01-01T00:00:00+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "Monthly"}},
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType":
"application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType":
"application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType":
"application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType":
"application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost":
{"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id":
"sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}},
{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType":
"TollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"},
"assignmentType": "Application", "purchaseDate": "2020-09-18T15:03:19.5370985+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "Monthly"}}]}'
"tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"},
"assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00",
"cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}'
headers:
api-supported-versions:
- '2021-03-07'
content-type:
- application/json; charset=utf-8
date:
- Tue, 16 Mar 2021 16:36:35 GMT
- Wed, 07 Apr 2021 18:27:07 GMT
ms-cv:
- lxk+50q9RUmGhD9NOT4SfQ.0
- x59p5VhiF0+wRTMCvr6o4A.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 5259ms
- 11341ms
status:
code: 200
message: OK
Expand Down
Loading

0 comments on commit 90245f4

Please sign in to comment.