File: test_mgmt_notificationhubs.test_notification_hubs.yaml

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (35 lines) | stat: -rw-r--r-- 1,946 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
interactions:
- request:
    body: '{"location": "westus", "name": "pyarmnotificationhubsfdb71452"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['63']
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11
          msrest_azure/0.4.10 notificationhubsmanagementclient/1.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      x-ms-client-request-id: [865081ba-5b7b-11e7-a3b4-ecb1d756380e]
    method: POST
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NotificationHubs/checkNamespaceAvailability?api-version=2017-04-01
  response:
    body: {string: '{"isAvailiable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NotificationHubs/checkNamespaceAvailability","name":"pyarmnotificationhubsfdb71452","type":"Microsoft.NotificationHubs/namespaces/checkNamespaceAvailability","location":null,"tags":null,"properties":true}'}
    headers:
      Cache-Control: [no-cache]
      Content-Type: [application/json; charset=utf-8]
      Date: ['Tue, 27 Jun 2017 20:59:35 GMT']
      Expires: ['-1']
      Pragma: [no-cache]
      Server: [Service-Bus-Resource-Provider/SN1, Microsoft-HTTPAPI/2.0]
      Server-SB: [Service-Bus-Resource-Provider/SN1]
      Strict-Transport-Security: [max-age=31536000; includeSubDomains]
      Transfer-Encoding: [chunked]
      Vary: [Accept-Encoding]
      content-length: ['303']
      x-ms-correlation-request-id: [26d2aaa6-389d-468e-a853-d646cd8b5dce]
      x-ms-ratelimit-remaining-subscription-writes: ['1199']
      x-ms-request-id: [592addee-b6cf-4c55-8ea1-1b0fee1cbe29_M6_M6]
      x-ms-routing-request-id: ['WESTUS2:20170627T205935Z:26d2aaa6-389d-468e-a853-d646cd8b5dce']
    status: {code: 200, message: OK}
version: 1