File: test_mgmt_documentdb.test_accounts_create.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 (193 lines) | stat: -rw-r--r-- 12,864 bytes parent folder | download | duplicates (3)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
interactions:
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.5.1 (Windows-10-10.0.14393-SP0) requests/2.12.1 msrest/0.4.4
          msrest_azure/0.4.6 documentdb/0.1.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      x-ms-client-request-id: [ee04e7e4-df68-11e6-8adf-ecb1d756380e]
    method: HEAD
    uri: https://management.azure.com/providers/Microsoft.DocumentDB/databaseAccountNames/pydocdbtst633610d9?api-version=2015-04-08
  response:
    body: {string: ''}
    headers:
      Cache-Control: ['no-store, no-cache']
      Content-Length: ['142']
      Date: ['Fri, 20 Jan 2017 23:34:04 GMT']
      Pragma: [no-cache]
      Server: [Microsoft-HTTPAPI/2.0]
      Strict-Transport-Security: [max-age=31536000; includeSubDomains]
      x-ms-correlation-request-id: [de835205-e886-4a4b-b113-1d9aa4058abf]
      x-ms-ratelimit-remaining-tenant-reads: ['14999']
      x-ms-request-id: [de835205-e886-4a4b-b113-1d9aa4058abf]
      x-ms-routing-request-id: ['WESTUS2:20170120T233404Z:de835205-e886-4a4b-b113-1d9aa4058abf']
    status: {code: 404, message: NotFound}
- request:
    body: '{"location": "westus", "properties": {"locations": [{"locationName": "westus"}],
      "databaseAccountOfferType": "Standard"}}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['121']
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.5.1 (Windows-10-10.0.14393-SP0) requests/2.12.1 msrest/0.4.4
          msrest_azure/0.4.6 documentdb/0.1.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      x-ms-client-request-id: [ee5bccc6-df68-11e6-9757-ecb1d756380e]
    method: PUT
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9?api-version=2015-04-08
  response:
    body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9","name":"pydocdbtst633610d9","location":"West
        US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"properties":{"provisioningState":"Initializing","ipRangeFilter":"","databaseAccountOfferType":"Standard","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"writeLocations":[{"id":"pydocdbtst633610d9-westus","locationName":"West
        US","provisioningState":"Initializing","failoverPriority":0}],"readLocations":[{"id":"pydocdbtst633610d9-westus","locationName":"West
        US","provisioningState":"Initializing","failoverPriority":0}],"failoverPolicies":[{"id":"pydocdbtst633610d9-westus","locationName":"West
        US","failoverPriority":0}]}}'}
    headers:
      Cache-Control: ['no-store, no-cache']
      Content-Location: ['https://management.documents.azure.com:450/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9?api-version=2015-04-08']
      Content-Type: [application/json]
      Date: ['Fri, 20 Jan 2017 23:34:06 GMT']
      Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Pragma: [no-cache]
      Server: [Microsoft-HTTPAPI/2.0]
      Strict-Transport-Security: [max-age=31536000; includeSubDomains]
      Transfer-Encoding: [chunked]
      Vary: [Accept-Encoding]
      content-length: ['910']
      x-ms-correlation-request-id: [2b6e0aba-5e47-4ff4-8ee4-b1d07ea42ac2]
      x-ms-gatewayversion: [version=1.10.121.4]
      x-ms-ratelimit-remaining-subscription-writes: ['1197']
      x-ms-request-id: [166b85c6-9a92-4a6a-bea6-5e0efaf2fe68]
      x-ms-routing-request-id: ['WESTUS2:20170120T233406Z:2b6e0aba-5e47-4ff4-8ee4-b1d07ea42ac2']
    status: {code: 200, message: Ok}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.5.1 (Windows-10-10.0.14393-SP0) requests/2.12.1 msrest/0.4.4
          msrest_azure/0.4.6 documentdb/0.1.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      x-ms-client-request-id: [ee5bccc6-df68-11e6-9757-ecb1d756380e]
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08
  response:
    body: {string: '{"status":"Dequeued","error":{}}'}
    headers:
      Cache-Control: ['no-store, no-cache']
      Content-Length: ['32']
      Content-Location: ['https://management.documents.azure.com:450/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Content-Type: [application/json]
      Date: ['Fri, 20 Jan 2017 23:34:36 GMT']
      Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Pragma: [no-cache]
      Server: [Microsoft-HTTPAPI/2.0]
      Strict-Transport-Security: [max-age=31536000; includeSubDomains]
      x-ms-correlation-request-id: [a77929e1-2fa1-43c4-ab70-b5554663bbef]
      x-ms-gatewayversion: [version=1.10.121.4]
      x-ms-ratelimit-remaining-subscription-reads: ['14999']
      x-ms-request-id: [166b85c6-9a92-4a6a-bea6-5e0efaf2fe68]
      x-ms-routing-request-id: ['WESTUS2:20170120T233437Z:a77929e1-2fa1-43c4-ab70-b5554663bbef']
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.5.1 (Windows-10-10.0.14393-SP0) requests/2.12.1 msrest/0.4.4
          msrest_azure/0.4.6 documentdb/0.1.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      x-ms-client-request-id: [ee5bccc6-df68-11e6-9757-ecb1d756380e]
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08
  response:
    body: {string: '{"status":"Dequeued","error":{}}'}
    headers:
      Cache-Control: ['no-store, no-cache']
      Content-Length: ['32']
      Content-Location: ['https://management.documents.azure.com:450/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Content-Type: [application/json]
      Date: ['Fri, 20 Jan 2017 23:35:07 GMT']
      Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Pragma: [no-cache]
      Server: [Microsoft-HTTPAPI/2.0]
      Strict-Transport-Security: [max-age=31536000; includeSubDomains]
      x-ms-correlation-request-id: [3b823538-b756-42f5-ab5a-984fcb0784e9]
      x-ms-gatewayversion: [version=1.10.121.4]
      x-ms-ratelimit-remaining-subscription-reads: ['14999']
      x-ms-request-id: [166b85c6-9a92-4a6a-bea6-5e0efaf2fe68]
      x-ms-routing-request-id: ['CENTRALUS:20170120T233507Z:3b823538-b756-42f5-ab5a-984fcb0784e9']
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.5.1 (Windows-10-10.0.14393-SP0) requests/2.12.1 msrest/0.4.4
          msrest_azure/0.4.6 documentdb/0.1.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      x-ms-client-request-id: [ee5bccc6-df68-11e6-9757-ecb1d756380e]
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08
  response:
    body: {string: '{"status":"Dequeued","error":{}}'}
    headers:
      Cache-Control: ['no-store, no-cache']
      Content-Length: ['32']
      Content-Location: ['https://management.documents.azure.com:450/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Content-Type: [application/json]
      Date: ['Fri, 20 Jan 2017 23:35:37 GMT']
      Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Pragma: [no-cache]
      Server: [Microsoft-HTTPAPI/2.0]
      Strict-Transport-Security: [max-age=31536000; includeSubDomains]
      x-ms-correlation-request-id: [688431b3-6581-4d37-97c6-f31ec251c7f5]
      x-ms-gatewayversion: [version=1.10.121.4]
      x-ms-ratelimit-remaining-subscription-reads: ['14998']
      x-ms-request-id: [166b85c6-9a92-4a6a-bea6-5e0efaf2fe68]
      x-ms-routing-request-id: ['CENTRALUS:20170120T233538Z:688431b3-6581-4d37-97c6-f31ec251c7f5']
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.5.1 (Windows-10-10.0.14393-SP0) requests/2.12.1 msrest/0.4.4
          msrest_azure/0.4.6 documentdb/0.1.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      x-ms-client-request-id: [ee5bccc6-df68-11e6-9757-ecb1d756380e]
    method: GET
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08
  response:
    body: {string: '{"status":"Completed","error":{}}'}
    headers:
      Cache-Control: ['no-store, no-cache']
      Content-Location: ['https://management.documents.azure.com:450/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_documentdb_test_accounts_create633610d9/providers/Microsoft.DocumentDB/databaseAccounts/pydocdbtst633610d9/operationResults/166b85c6-9a92-4a6a-bea6-5e0efaf2fe68?api-version=2015-04-08']
      Content-Type: [application/json]
      Date: ['Fri, 20 Jan 2017 23:36:08 GMT']
      Pragma: [no-cache]
      Server: [Microsoft-HTTPAPI/2.0]
      Strict-Transport-Security: [max-age=31536000; includeSubDomains]
      Transfer-Encoding: [chunked]
      Vary: [Accept-Encoding]
      content-length: ['33']
      x-ms-correlation-request-id: [92158f40-6108-4371-8e11-481bfab5290d]
      x-ms-gatewayversion: [version=1.10.121.4]
      x-ms-ratelimit-remaining-subscription-reads: ['14997']
      x-ms-request-id: [92158f40-6108-4371-8e11-481bfab5290d]
      x-ms-routing-request-id: ['WESTUS2:20170120T233609Z:92158f40-6108-4371-8e11-481bfab5290d']
    status: {code: 200, message: Ok}
version: 1