forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added managed identity tests to PNM (Azure#17884)
- Loading branch information
1 parent
e5f3a70
commit 90245f4
Showing
22 changed files
with
1,503 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...e_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.