Skip to content

Commit 3fcd0f3

Browse files
authored
Update long-running-operations.md
1 parent 7ab52f1 commit 3fcd0f3

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

graph/patterns/long-running-operations.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ A client wants to provision a new database:
108108
POST https://graph.microsoft.com/v1.0/storage/databases/
109109
110110
{
111-
"displayName": "Retail DB",
111+
"displayName": "Retail DB",
112112
}
113113
```
114114

@@ -121,10 +121,10 @@ HTTP/1.1 201 Created
121121
Location: https://graph.microsoft.com/v1.0/storage/databases/db1
122122
123123
{
124-
"id": "db1",
125-
"displayName": "Retail DB",
126-
"status": "provisioning",
127-
[ … other fields for "database" …]
124+
"id": "db1",
125+
"displayName": "Retail DB",
126+
"status": "provisioning",
127+
[ … other fields for "database" …]
128128
}
129129
```
130130

@@ -135,10 +135,10 @@ GET https://graph.microsoft.com/v1.0/storage/databases/db1
135135
136136
HTTP/1.1 200 Ok
137137
{
138-
"id": "db1",
139-
"displayName": "Retail DB",
140-
"status": "succeeded",
141-
[ … other fields for "database" …]
138+
"id": "db1",
139+
"displayName": "Retail DB",
140+
"status": "succeeded",
141+
[ … other fields for "database" …]
142142
}
143143
```
144144

@@ -161,10 +161,10 @@ HTTP/1.1 202 Accepted
161161
Retry-After: 30
162162
163163
{
164-
"id": "db1",
165-
"displayName": "Retail DB",
166-
"status": "deleting",
167-
[ … other fields for "database" …]
164+
"id": "db1",
165+
"displayName": "Retail DB",
166+
"status": "deleting",
167+
[ … other fields for "database" …]
168168
}
169169
```
170170

@@ -181,8 +181,8 @@ HTTP/1.1 404 Not Found
181181
POST https://graph.microsoft.com/v1.0/storage/archives/
182182
183183
{
184-
"displayName": "Image Archive",
185-
...
184+
"displayName": "Image Archive",
185+
...
186186
}
187187
```
188188

@@ -211,9 +211,9 @@ HTTP/1.1 200 OK
211211
Retry-After: 30
212212
213213
{
214-
"createdDateTime": "2015-06-19T12-01-03.4Z",
215-
"lastActionDateTime": "2015-06-19T12-01-03.45Z",
216-
"status": "running"
214+
"createdDateTime": "2015-06-19T12-01-03.4Z",
215+
"lastActionDateTime": "2015-06-19T12-01-03.45Z",
216+
"status": "running"
217217
}
218218
```
219219

@@ -232,10 +232,10 @@ location:
232232
HTTP/1.1 200 OK
233233
234234
{
235-
"createdDateTime": "2015-06-19T12-01-03.45Z",
236-
"lastActionDateTime": "2015-06-19T12-06-03.0024Z",
237-
"status": "succeeded",
238-
"resourceLocation": "https://graph.microsoft.com/v1.0/storage/archives/987"
235+
"createdDateTime": "2015-06-19T12-01-03.45Z",
236+
"lastActionDateTime": "2015-06-19T12-06-03.0024Z",
237+
"status": "succeeded",
238+
"resourceLocation": "https://graph.microsoft.com/v1.0/storage/archives/987"
239239
}
240240
```
241241

@@ -245,8 +245,8 @@ HTTP/1.1 200 OK
245245
POST https://graph.microsoft.com/v1.0/storage/copyArchive
246246
247247
{
248-
"displayName": "Image Archive",
249-
"destination": "Second-tier storage"
248+
"displayName": "Image Archive",
249+
"destination": "Second-tier storage"
250250
...
251251
}
252252
```

0 commit comments

Comments
 (0)