forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* testing support * disabled tests that can't be tested in our sub * created recordings * Packaging update of azure-mgmt-support Co-authored-by: Azure SDK Bot <[email protected]>
- Loading branch information
1 parent
a55ca31
commit 5951e07
Showing
3 changed files
with
699 additions
and
1 deletion.
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
149 changes: 149 additions & 0 deletions
149
sdk/support/azure-mgmt-support/tests/recordings/test_cli_mgmt_support.test_support.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,149 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 | ||
msrest_azure/0.6.2 azure-mgmt-support/1.0.0 Azure-SDK-For-Python | ||
accept-language: | ||
- en-US | ||
method: GET | ||
uri: https://management.azure.com/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89/problemClassifications/831b2fb3-4db3-3d32-af35-bbb3d3eaeba2?api-version=2020-04-01 | ||
response: | ||
body: | ||
string: '{"id":"/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89/problemClassifications/831b2fb3-4db3-3d32-af35-bbb3d3eaeba2","name":"831b2fb3-4db3-3d32-af35-bbb3d3eaeba2","type":"Microsoft.Support/problemClassifications","properties":{"displayName":"Batch"}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '276' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Fri, 01 May 2020 15:29:04 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Kestrel | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: '{"name": "sampleName", "type": "Microsoft.Support/communications"}' | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '66' | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
User-Agent: | ||
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 | ||
msrest_azure/0.6.2 azure-mgmt-support/1.0.0 Azure-SDK-For-Python | ||
accept-language: | ||
- en-US | ||
method: POST | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Support/supportTickets/mySupportTicket/checkNameAvailability?api-version=2020-04-01 | ||
response: | ||
body: | ||
string: '{"nameAvailable":true}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '22' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Fri, 01 May 2020 15:29:05 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Kestrel | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-ratelimit-remaining-subscription-writes: | ||
- '1199' | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: '{"name": "sampleName", "type": "Microsoft.Support/supportTickets"}' | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '66' | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
User-Agent: | ||
- python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 | ||
msrest_azure/0.6.2 azure-mgmt-support/1.0.0 Azure-SDK-For-Python | ||
accept-language: | ||
- en-US | ||
method: POST | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Support/checkNameAvailability?api-version=2020-04-01 | ||
response: | ||
body: | ||
string: '{"nameAvailable":true}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '22' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Fri, 01 May 2020 15:29:05 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Kestrel | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-ratelimit-remaining-subscription-writes: | ||
- '1198' | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Oops, something went wrong.