-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathcommon.json
362 lines (362 loc) · 12.9 KB
/
common.json
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
{
"swagger": "2.0",
"info": {
"title": "StorageManagementClient",
"description": "Storage Resource Provider API Common Types",
"version": "2023-05-01"
},
"paths": {},
"definitions": {
"CorsRules": {
"properties": {
"corsRules": {
"type": "array",
"items": {
"description": "Specifies a CORS rule for the Blob service. ",
"$ref": "#/definitions/CorsRule"
},
"description": "The List of CORS rules. You can include up to five CorsRule elements in the request. "
}
},
"description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. "
},
"CorsRule": {
"properties": {
"allowedOrigins": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains"
},
"allowedMethods": {
"type": "array",
"items": {
"type": "string",
"enum": [
"DELETE",
"GET",
"HEAD",
"MERGE",
"POST",
"OPTIONS",
"PUT",
"PATCH",
"CONNECT",
"TRACE"
],
"x-ms-enum": {
"name": "AllowedMethods",
"modelAsString": true
}
},
"description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin."
},
"maxAgeInSeconds": {
"type": "integer",
"description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response."
},
"exposedHeaders": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients."
},
"allowedHeaders": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request."
}
},
"required": [
"allowedOrigins",
"allowedMethods",
"maxAgeInSeconds",
"exposedHeaders",
"allowedHeaders"
],
"description": "Specifies a CORS rule for the Blob service."
},
"DeleteRetentionPolicy": {
"properties": {
"enabled": {
"type": "boolean",
"description": "Indicates whether DeleteRetentionPolicy is enabled."
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365."
},
"allowPermanentDelete": {
"type": "boolean",
"description": "This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share."
}
},
"description": "The service properties for soft delete."
},
"Sku": {
"properties": {
"name": {
"$ref": "#/definitions/SkuName"
},
"tier": {
"$ref": "#/definitions/Tier"
}
},
"required": [
"name"
],
"description": "The SKU of the storage account."
},
"SkuName": {
"type": "string",
"description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.",
"enum": [
"Standard_LRS",
"Standard_GRS",
"Standard_RAGRS",
"Standard_ZRS",
"Premium_LRS",
"Premium_ZRS",
"Standard_GZRS",
"Standard_RAGZRS"
],
"x-ms-enum": {
"name": "SkuName",
"modelAsString": true
}
},
"Tier": {
"readOnly": true,
"type": "string",
"description": "The SKU tier. This is based on the SKU name.",
"enum": [
"Standard",
"Premium"
],
"x-ms-enum": {
"name": "SkuTier",
"modelAsString": false
}
},
"CloudError": {
"x-ms-external": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudErrorBody"
}
},
"description": "An error response from the Storage service."
},
"CloudErrorBody": {
"x-ms-external": true,
"properties": {
"code": {
"type": "string",
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/CloudErrorBody"
},
"description": "A list of additional details about the error."
}
},
"description": "An error response from the Storage service."
},
"SignedIdentifier": {
"properties": {
"id": {
"type": "string",
"description": "An unique identifier of the stored access policy."
},
"accessPolicy": {
"$ref": "#/definitions/AccessPolicy",
"description": "Access policy"
}
}
},
"AccessPolicy": {
"properties": {
"startTime": {
"type": "string",
"format": "date-time",
"description": "Start time of the access policy"
},
"expiryTime": {
"type": "string",
"format": "date-time",
"description": "Expiry time of the access policy"
},
"permission": {
"type": "string",
"description": "List of abbreviated permissions."
}
}
},
"StorageTaskReportSummary": {
"type": "object",
"properties": {
"value": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/definitions/StorageTaskReportInstance"
},
"x-ms-identifiers": [],
"description": "Gets storage tasks run result summary."
},
"nextLink": {
"type": "string",
"description": "Request URL that can be used to query next page of storage task run results summary. Returned when the number of run instances and summary reports exceed maximum page size.",
"readOnly": true
}
},
"description": "Fetch Storage Tasks Run Summary."
},
"StorageTaskReportInstance": {
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/StorageTaskReportProperties"
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "Storage Tasks run report instance"
},
"StorageTaskReportProperties": {
"type": "object",
"properties": {
"taskAssignmentId": {
"readOnly": true,
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts/storageTaskAssignments"
}
]
},
"description": "Represents the Storage Task Assignment Id associated with the storage task that provided an execution context."
},
"storageAccountId": {
"readOnly": true,
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
},
"description": "Represents the Storage Account Id where the storage task definition was applied and executed."
},
"startTime": {
"readOnly": true,
"type": "string",
"description": "Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
},
"finishTime": {
"readOnly": true,
"type": "string",
"description": "End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
},
"objectsTargetedCount": {
"readOnly": true,
"type": "string",
"description": "Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
},
"objectsOperatedOnCount": {
"readOnly": true,
"type": "string",
"description": "Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
},
"objectFailedCount": {
"readOnly": true,
"type": "string",
"description": "Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
},
"objectsSucceededCount": {
"readOnly": true,
"type": "string",
"description": "Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators"
},
"runStatusError": {
"readOnly": true,
"type": "string",
"description": "Well known Azure Storage error code that represents the error encountered during execution of the run instance."
},
"runStatusEnum": {
"readOnly": true,
"type": "string",
"enum": [
"InProgress",
"Finished"
],
"x-ms-enum": {
"name": "RunStatusEnum",
"modelAsString": true
},
"description": "Represents the status of the execution."
},
"summaryReportPath": {
"readOnly": true,
"type": "string",
"description": "Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account. "
},
"taskId": {
"readOnly": true,
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.StorageActions/storageTasks"
}
]
},
"description": "Storage Task Arm Id."
},
"taskVersion": {
"readOnly": true,
"type": "string",
"description": "Storage Task Version"
},
"runResult": {
"readOnly": true,
"type": "string",
"enum": [
"Succeeded",
"Failed"
],
"x-ms-enum": {
"name": "RunResult",
"modelAsString": true
},
"description": "Represents the overall result of the execution for the run instance"
}
},
"description": "Storage task execution report for a run instance."
}
}
}