@azure/arm-storagemover 2.0.1-alpha.20240429.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -13
- package/LICENSE +1 -1
- package/dist/index.js +850 -687
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js +94 -4
- package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/agentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/agentsGetSample.js +23 -3
- package/dist-esm/samples-dev/agentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/agentsListSample.js +38 -3
- package/dist-esm/samples-dev/agentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/agentsUpdateSample.js +13 -3
- package/dist-esm/samples-dev/agentsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +13 -13
- package/dist-esm/samples-dev/endpointsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/endpointsGetSample.js +4 -4
- package/dist-esm/samples-dev/endpointsListSample.js +1 -1
- package/dist-esm/samples-dev/endpointsUpdateSample.js +14 -14
- package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsListSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +3 -3
- package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +1 -1
- package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/jobRunsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobRunsListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/projectsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/projectsGetSample.js +1 -1
- package/dist-esm/samples-dev/projectsListSample.js +1 -1
- package/dist-esm/samples-dev/projectsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/storageMoversDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversGetSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversListSample.js +1 -1
- package/dist-esm/samples-dev/storageMoversUpdateSample.js +3 -3
- package/dist-esm/samples-dev/storageMoversUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +75 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +16 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +541 -401
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +53 -53
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/agents.d.ts.map +1 -1
- package/dist-esm/src/operations/agents.js +35 -35
- package/dist-esm/src/operations/agents.js.map +1 -1
- package/dist-esm/src/operations/endpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/endpoints.js +35 -35
- package/dist-esm/src/operations/endpoints.js.map +1 -1
- package/dist-esm/src/operations/jobDefinitions.d.ts +2 -1
- package/dist-esm/src/operations/jobDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/jobDefinitions.js +53 -52
- package/dist-esm/src/operations/jobDefinitions.js.map +1 -1
- package/dist-esm/src/operations/jobRuns.js +19 -19
- package/dist-esm/src/operations/jobRuns.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/projects.d.ts.map +1 -1
- package/dist-esm/src/operations/projects.js +35 -35
- package/dist-esm/src/operations/projects.js.map +1 -1
- package/dist-esm/src/operations/storageMovers.d.ts.map +1 -1
- package/dist-esm/src/operations/storageMovers.js +45 -45
- package/dist-esm/src/operations/storageMovers.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts +2 -1
- package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts.map +1 -1
- package/dist-esm/src/storageMoverClient.d.ts.map +1 -1
- package/dist-esm/src/storageMoverClient.js +9 -9
- package/dist-esm/src/storageMoverClient.js.map +1 -1
- package/dist-esm/test/storagemover_operations_test.spec.d.ts.map +1 -1
- package/dist-esm/test/storagemover_operations_test.spec.js +6 -2
- package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-storagemover.api.md +50 -0
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +100 -13
- package/src/models/mappers.ts +636 -474
- package/src/models/parameters.ts +54 -54
- package/src/operations/agents.ts +68 -74
- package/src/operations/endpoints.ts +68 -74
- package/src/operations/jobDefinitions.ts +93 -100
- package/src/operations/jobRuns.ts +36 -38
- package/src/operations/operations.ts +16 -16
- package/src/operations/projects.ts +68 -74
- package/src/operations/storageMovers.ts +83 -90
- package/src/operationsInterfaces/agents.ts +7 -7
- package/src/operationsInterfaces/endpoints.ts +7 -7
- package/src/operationsInterfaces/jobDefinitions.ts +11 -10
- package/src/operationsInterfaces/jobRuns.ts +3 -3
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/projects.ts +7 -7
- package/src/operationsInterfaces/storageMovers.ts +8 -8
- package/src/pagingHelper.ts +1 -1
- package/src/storageMoverClient.ts +18 -17
- package/types/arm-storagemover.d.ts +86 -5
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87,6 +87,12 @@ exports.KnownProvisioningState = void 0;
|
|
|
87
87
|
(function (KnownProvisioningState) {
|
|
88
88
|
/** Succeeded */
|
|
89
89
|
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
90
|
+
/** Canceled */
|
|
91
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
92
|
+
/** Failed */
|
|
93
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
94
|
+
/** Deleting */
|
|
95
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
90
96
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
91
97
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
92
98
|
exports.KnownCreatedByType = void 0;
|
|
@@ -116,6 +122,14 @@ exports.KnownAgentStatus = void 0;
|
|
|
116
122
|
/** Unregistering */
|
|
117
123
|
KnownAgentStatus["Unregistering"] = "Unregistering";
|
|
118
124
|
})(exports.KnownAgentStatus || (exports.KnownAgentStatus = {}));
|
|
125
|
+
/** Known values of {@link Minute} that the service accepts. */
|
|
126
|
+
exports.KnownMinute = void 0;
|
|
127
|
+
(function (KnownMinute) {
|
|
128
|
+
/** Zero */
|
|
129
|
+
KnownMinute[KnownMinute["Zero"] = 0] = "Zero";
|
|
130
|
+
/** Thirty */
|
|
131
|
+
KnownMinute[KnownMinute["Thirty"] = 30] = "Thirty";
|
|
132
|
+
})(exports.KnownMinute || (exports.KnownMinute = {}));
|
|
119
133
|
/** Known values of {@link EndpointType} that the service accepts. */
|
|
120
134
|
exports.KnownEndpointType = void 0;
|
|
121
135
|
(function (KnownEndpointType) {
|
|
@@ -155,6 +169,8 @@ exports.KnownJobRunStatus = void 0;
|
|
|
155
169
|
KnownJobRunStatus["Failed"] = "Failed";
|
|
156
170
|
/** Succeeded */
|
|
157
171
|
KnownJobRunStatus["Succeeded"] = "Succeeded";
|
|
172
|
+
/** PausedByBandwidthManagement */
|
|
173
|
+
KnownJobRunStatus["PausedByBandwidthManagement"] = "PausedByBandwidthManagement";
|
|
158
174
|
})(exports.KnownJobRunStatus || (exports.KnownJobRunStatus = {}));
|
|
159
175
|
/** Known values of {@link JobRunScanStatus} that the service accepts. */
|
|
160
176
|
exports.KnownJobRunScanStatus = void 0;
|
|
@@ -203,20 +219,20 @@ const OperationListResult = {
|
|
|
203
219
|
element: {
|
|
204
220
|
type: {
|
|
205
221
|
name: "Composite",
|
|
206
|
-
className: "Operation"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
222
|
+
className: "Operation",
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
},
|
|
210
226
|
},
|
|
211
227
|
nextLink: {
|
|
212
228
|
serializedName: "nextLink",
|
|
213
229
|
readOnly: true,
|
|
214
230
|
type: {
|
|
215
|
-
name: "String"
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
231
|
+
name: "String",
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
},
|
|
220
236
|
};
|
|
221
237
|
const Operation = {
|
|
222
238
|
type: {
|
|
@@ -227,39 +243,39 @@ const Operation = {
|
|
|
227
243
|
serializedName: "name",
|
|
228
244
|
readOnly: true,
|
|
229
245
|
type: {
|
|
230
|
-
name: "String"
|
|
231
|
-
}
|
|
246
|
+
name: "String",
|
|
247
|
+
},
|
|
232
248
|
},
|
|
233
249
|
isDataAction: {
|
|
234
250
|
serializedName: "isDataAction",
|
|
235
251
|
readOnly: true,
|
|
236
252
|
type: {
|
|
237
|
-
name: "Boolean"
|
|
238
|
-
}
|
|
253
|
+
name: "Boolean",
|
|
254
|
+
},
|
|
239
255
|
},
|
|
240
256
|
display: {
|
|
241
257
|
serializedName: "display",
|
|
242
258
|
type: {
|
|
243
259
|
name: "Composite",
|
|
244
|
-
className: "OperationDisplay"
|
|
245
|
-
}
|
|
260
|
+
className: "OperationDisplay",
|
|
261
|
+
},
|
|
246
262
|
},
|
|
247
263
|
origin: {
|
|
248
264
|
serializedName: "origin",
|
|
249
265
|
readOnly: true,
|
|
250
266
|
type: {
|
|
251
|
-
name: "String"
|
|
252
|
-
}
|
|
267
|
+
name: "String",
|
|
268
|
+
},
|
|
253
269
|
},
|
|
254
270
|
actionType: {
|
|
255
271
|
serializedName: "actionType",
|
|
256
272
|
readOnly: true,
|
|
257
273
|
type: {
|
|
258
|
-
name: "String"
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
274
|
+
name: "String",
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
},
|
|
263
279
|
};
|
|
264
280
|
const OperationDisplay = {
|
|
265
281
|
type: {
|
|
@@ -270,32 +286,32 @@ const OperationDisplay = {
|
|
|
270
286
|
serializedName: "provider",
|
|
271
287
|
readOnly: true,
|
|
272
288
|
type: {
|
|
273
|
-
name: "String"
|
|
274
|
-
}
|
|
289
|
+
name: "String",
|
|
290
|
+
},
|
|
275
291
|
},
|
|
276
292
|
resource: {
|
|
277
293
|
serializedName: "resource",
|
|
278
294
|
readOnly: true,
|
|
279
295
|
type: {
|
|
280
|
-
name: "String"
|
|
281
|
-
}
|
|
296
|
+
name: "String",
|
|
297
|
+
},
|
|
282
298
|
},
|
|
283
299
|
operation: {
|
|
284
300
|
serializedName: "operation",
|
|
285
301
|
readOnly: true,
|
|
286
302
|
type: {
|
|
287
|
-
name: "String"
|
|
288
|
-
}
|
|
303
|
+
name: "String",
|
|
304
|
+
},
|
|
289
305
|
},
|
|
290
306
|
description: {
|
|
291
307
|
serializedName: "description",
|
|
292
308
|
readOnly: true,
|
|
293
309
|
type: {
|
|
294
|
-
name: "String"
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
310
|
+
name: "String",
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
},
|
|
299
315
|
};
|
|
300
316
|
const ErrorResponse = {
|
|
301
317
|
type: {
|
|
@@ -306,11 +322,11 @@ const ErrorResponse = {
|
|
|
306
322
|
serializedName: "error",
|
|
307
323
|
type: {
|
|
308
324
|
name: "Composite",
|
|
309
|
-
className: "ErrorDetail"
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
325
|
+
className: "ErrorDetail",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
},
|
|
314
330
|
};
|
|
315
331
|
const ErrorDetail = {
|
|
316
332
|
type: {
|
|
@@ -321,22 +337,22 @@ const ErrorDetail = {
|
|
|
321
337
|
serializedName: "code",
|
|
322
338
|
readOnly: true,
|
|
323
339
|
type: {
|
|
324
|
-
name: "String"
|
|
325
|
-
}
|
|
340
|
+
name: "String",
|
|
341
|
+
},
|
|
326
342
|
},
|
|
327
343
|
message: {
|
|
328
344
|
serializedName: "message",
|
|
329
345
|
readOnly: true,
|
|
330
346
|
type: {
|
|
331
|
-
name: "String"
|
|
332
|
-
}
|
|
347
|
+
name: "String",
|
|
348
|
+
},
|
|
333
349
|
},
|
|
334
350
|
target: {
|
|
335
351
|
serializedName: "target",
|
|
336
352
|
readOnly: true,
|
|
337
353
|
type: {
|
|
338
|
-
name: "String"
|
|
339
|
-
}
|
|
354
|
+
name: "String",
|
|
355
|
+
},
|
|
340
356
|
},
|
|
341
357
|
details: {
|
|
342
358
|
serializedName: "details",
|
|
@@ -346,10 +362,10 @@ const ErrorDetail = {
|
|
|
346
362
|
element: {
|
|
347
363
|
type: {
|
|
348
364
|
name: "Composite",
|
|
349
|
-
className: "ErrorDetail"
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
365
|
+
className: "ErrorDetail",
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
},
|
|
353
369
|
},
|
|
354
370
|
additionalInfo: {
|
|
355
371
|
serializedName: "additionalInfo",
|
|
@@ -359,13 +375,13 @@ const ErrorDetail = {
|
|
|
359
375
|
element: {
|
|
360
376
|
type: {
|
|
361
377
|
name: "Composite",
|
|
362
|
-
className: "ErrorAdditionalInfo"
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
378
|
+
className: "ErrorAdditionalInfo",
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
},
|
|
369
385
|
};
|
|
370
386
|
const ErrorAdditionalInfo = {
|
|
371
387
|
type: {
|
|
@@ -376,19 +392,19 @@ const ErrorAdditionalInfo = {
|
|
|
376
392
|
serializedName: "type",
|
|
377
393
|
readOnly: true,
|
|
378
394
|
type: {
|
|
379
|
-
name: "String"
|
|
380
|
-
}
|
|
395
|
+
name: "String",
|
|
396
|
+
},
|
|
381
397
|
},
|
|
382
398
|
info: {
|
|
383
399
|
serializedName: "info",
|
|
384
400
|
readOnly: true,
|
|
385
401
|
type: {
|
|
386
402
|
name: "Dictionary",
|
|
387
|
-
value: { type: { name: "any" } }
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
403
|
+
value: { type: { name: "any" } },
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
},
|
|
392
408
|
};
|
|
393
409
|
const StorageMoverList = {
|
|
394
410
|
type: {
|
|
@@ -403,20 +419,20 @@ const StorageMoverList = {
|
|
|
403
419
|
element: {
|
|
404
420
|
type: {
|
|
405
421
|
name: "Composite",
|
|
406
|
-
className: "StorageMover"
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
422
|
+
className: "StorageMover",
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
},
|
|
410
426
|
},
|
|
411
427
|
nextLink: {
|
|
412
428
|
serializedName: "nextLink",
|
|
413
429
|
readOnly: true,
|
|
414
430
|
type: {
|
|
415
|
-
name: "String"
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
}
|
|
431
|
+
name: "String",
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
},
|
|
435
|
+
},
|
|
420
436
|
};
|
|
421
437
|
const Resource = {
|
|
422
438
|
type: {
|
|
@@ -427,32 +443,32 @@ const Resource = {
|
|
|
427
443
|
serializedName: "id",
|
|
428
444
|
readOnly: true,
|
|
429
445
|
type: {
|
|
430
|
-
name: "String"
|
|
431
|
-
}
|
|
446
|
+
name: "String",
|
|
447
|
+
},
|
|
432
448
|
},
|
|
433
449
|
name: {
|
|
434
450
|
serializedName: "name",
|
|
435
451
|
readOnly: true,
|
|
436
452
|
type: {
|
|
437
|
-
name: "String"
|
|
438
|
-
}
|
|
453
|
+
name: "String",
|
|
454
|
+
},
|
|
439
455
|
},
|
|
440
456
|
type: {
|
|
441
457
|
serializedName: "type",
|
|
442
458
|
readOnly: true,
|
|
443
459
|
type: {
|
|
444
|
-
name: "String"
|
|
445
|
-
}
|
|
460
|
+
name: "String",
|
|
461
|
+
},
|
|
446
462
|
},
|
|
447
463
|
systemData: {
|
|
448
464
|
serializedName: "systemData",
|
|
449
465
|
type: {
|
|
450
466
|
name: "Composite",
|
|
451
|
-
className: "SystemData"
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
467
|
+
className: "SystemData",
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
},
|
|
471
|
+
},
|
|
456
472
|
};
|
|
457
473
|
const SystemData = {
|
|
458
474
|
type: {
|
|
@@ -462,41 +478,41 @@ const SystemData = {
|
|
|
462
478
|
createdBy: {
|
|
463
479
|
serializedName: "createdBy",
|
|
464
480
|
type: {
|
|
465
|
-
name: "String"
|
|
466
|
-
}
|
|
481
|
+
name: "String",
|
|
482
|
+
},
|
|
467
483
|
},
|
|
468
484
|
createdByType: {
|
|
469
485
|
serializedName: "createdByType",
|
|
470
486
|
type: {
|
|
471
|
-
name: "String"
|
|
472
|
-
}
|
|
487
|
+
name: "String",
|
|
488
|
+
},
|
|
473
489
|
},
|
|
474
490
|
createdAt: {
|
|
475
491
|
serializedName: "createdAt",
|
|
476
492
|
type: {
|
|
477
|
-
name: "DateTime"
|
|
478
|
-
}
|
|
493
|
+
name: "DateTime",
|
|
494
|
+
},
|
|
479
495
|
},
|
|
480
496
|
lastModifiedBy: {
|
|
481
497
|
serializedName: "lastModifiedBy",
|
|
482
498
|
type: {
|
|
483
|
-
name: "String"
|
|
484
|
-
}
|
|
499
|
+
name: "String",
|
|
500
|
+
},
|
|
485
501
|
},
|
|
486
502
|
lastModifiedByType: {
|
|
487
503
|
serializedName: "lastModifiedByType",
|
|
488
504
|
type: {
|
|
489
|
-
name: "String"
|
|
490
|
-
}
|
|
505
|
+
name: "String",
|
|
506
|
+
},
|
|
491
507
|
},
|
|
492
508
|
lastModifiedAt: {
|
|
493
509
|
serializedName: "lastModifiedAt",
|
|
494
510
|
type: {
|
|
495
|
-
name: "DateTime"
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
511
|
+
name: "DateTime",
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
},
|
|
515
|
+
},
|
|
500
516
|
};
|
|
501
517
|
const StorageMoverUpdateParameters = {
|
|
502
518
|
type: {
|
|
@@ -507,17 +523,17 @@ const StorageMoverUpdateParameters = {
|
|
|
507
523
|
serializedName: "tags",
|
|
508
524
|
type: {
|
|
509
525
|
name: "Dictionary",
|
|
510
|
-
value: { type: { name: "String" } }
|
|
511
|
-
}
|
|
526
|
+
value: { type: { name: "String" } },
|
|
527
|
+
},
|
|
512
528
|
},
|
|
513
529
|
description: {
|
|
514
530
|
serializedName: "properties.description",
|
|
515
531
|
type: {
|
|
516
|
-
name: "String"
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
532
|
+
name: "String",
|
|
533
|
+
},
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
|
+
},
|
|
521
537
|
};
|
|
522
538
|
const AgentList = {
|
|
523
539
|
type: {
|
|
@@ -532,20 +548,107 @@ const AgentList = {
|
|
|
532
548
|
element: {
|
|
533
549
|
type: {
|
|
534
550
|
name: "Composite",
|
|
535
|
-
className: "Agent"
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
551
|
+
className: "Agent",
|
|
552
|
+
},
|
|
553
|
+
},
|
|
554
|
+
},
|
|
539
555
|
},
|
|
540
556
|
nextLink: {
|
|
541
557
|
serializedName: "nextLink",
|
|
542
558
|
readOnly: true,
|
|
543
559
|
type: {
|
|
544
|
-
name: "String"
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
560
|
+
name: "String",
|
|
561
|
+
},
|
|
562
|
+
},
|
|
563
|
+
},
|
|
564
|
+
},
|
|
565
|
+
};
|
|
566
|
+
const UploadLimitSchedule = {
|
|
567
|
+
type: {
|
|
568
|
+
name: "Composite",
|
|
569
|
+
className: "UploadLimitSchedule",
|
|
570
|
+
modelProperties: {
|
|
571
|
+
weeklyRecurrences: {
|
|
572
|
+
serializedName: "weeklyRecurrences",
|
|
573
|
+
type: {
|
|
574
|
+
name: "Sequence",
|
|
575
|
+
element: {
|
|
576
|
+
type: {
|
|
577
|
+
name: "Composite",
|
|
578
|
+
className: "UploadLimitWeeklyRecurrence",
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
|
+
},
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
};
|
|
586
|
+
const Recurrence = {
|
|
587
|
+
type: {
|
|
588
|
+
name: "Composite",
|
|
589
|
+
className: "Recurrence",
|
|
590
|
+
modelProperties: {
|
|
591
|
+
startTime: {
|
|
592
|
+
serializedName: "startTime",
|
|
593
|
+
type: {
|
|
594
|
+
name: "Composite",
|
|
595
|
+
className: "Time",
|
|
596
|
+
},
|
|
597
|
+
},
|
|
598
|
+
endTime: {
|
|
599
|
+
serializedName: "endTime",
|
|
600
|
+
type: {
|
|
601
|
+
name: "Composite",
|
|
602
|
+
className: "Time",
|
|
603
|
+
},
|
|
604
|
+
},
|
|
605
|
+
},
|
|
606
|
+
},
|
|
607
|
+
};
|
|
608
|
+
const Time = {
|
|
609
|
+
type: {
|
|
610
|
+
name: "Composite",
|
|
611
|
+
className: "Time",
|
|
612
|
+
modelProperties: {
|
|
613
|
+
hour: {
|
|
614
|
+
constraints: {
|
|
615
|
+
InclusiveMaximum: 24,
|
|
616
|
+
InclusiveMinimum: 0,
|
|
617
|
+
},
|
|
618
|
+
serializedName: "hour",
|
|
619
|
+
required: true,
|
|
620
|
+
type: {
|
|
621
|
+
name: "Number",
|
|
622
|
+
},
|
|
623
|
+
},
|
|
624
|
+
minute: {
|
|
625
|
+
defaultValue: 0,
|
|
626
|
+
serializedName: "minute",
|
|
627
|
+
type: {
|
|
628
|
+
name: "Number",
|
|
629
|
+
},
|
|
630
|
+
},
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
};
|
|
634
|
+
const UploadLimit = {
|
|
635
|
+
type: {
|
|
636
|
+
name: "Composite",
|
|
637
|
+
className: "UploadLimit",
|
|
638
|
+
modelProperties: {
|
|
639
|
+
limitInMbps: {
|
|
640
|
+
constraints: {
|
|
641
|
+
InclusiveMaximum: 2147483647,
|
|
642
|
+
InclusiveMinimum: 0,
|
|
643
|
+
},
|
|
644
|
+
serializedName: "limitInMbps",
|
|
645
|
+
required: true,
|
|
646
|
+
type: {
|
|
647
|
+
name: "Number",
|
|
648
|
+
},
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
},
|
|
549
652
|
};
|
|
550
653
|
const AgentPropertiesErrorDetails = {
|
|
551
654
|
type: {
|
|
@@ -555,17 +658,17 @@ const AgentPropertiesErrorDetails = {
|
|
|
555
658
|
code: {
|
|
556
659
|
serializedName: "code",
|
|
557
660
|
type: {
|
|
558
|
-
name: "String"
|
|
559
|
-
}
|
|
661
|
+
name: "String",
|
|
662
|
+
},
|
|
560
663
|
},
|
|
561
664
|
message: {
|
|
562
665
|
serializedName: "message",
|
|
563
666
|
type: {
|
|
564
|
-
name: "String"
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
667
|
+
name: "String",
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
},
|
|
671
|
+
},
|
|
569
672
|
};
|
|
570
673
|
const AgentUpdateParameters = {
|
|
571
674
|
type: {
|
|
@@ -575,11 +678,18 @@ const AgentUpdateParameters = {
|
|
|
575
678
|
description: {
|
|
576
679
|
serializedName: "properties.description",
|
|
577
680
|
type: {
|
|
578
|
-
name: "String"
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
|
|
681
|
+
name: "String",
|
|
682
|
+
},
|
|
683
|
+
},
|
|
684
|
+
uploadLimitSchedule: {
|
|
685
|
+
serializedName: "properties.uploadLimitSchedule",
|
|
686
|
+
type: {
|
|
687
|
+
name: "Composite",
|
|
688
|
+
className: "UploadLimitSchedule",
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
},
|
|
692
|
+
},
|
|
583
693
|
};
|
|
584
694
|
const EndpointList = {
|
|
585
695
|
type: {
|
|
@@ -594,20 +704,20 @@ const EndpointList = {
|
|
|
594
704
|
element: {
|
|
595
705
|
type: {
|
|
596
706
|
name: "Composite",
|
|
597
|
-
className: "Endpoint"
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
707
|
+
className: "Endpoint",
|
|
708
|
+
},
|
|
709
|
+
},
|
|
710
|
+
},
|
|
601
711
|
},
|
|
602
712
|
nextLink: {
|
|
603
713
|
serializedName: "nextLink",
|
|
604
714
|
readOnly: true,
|
|
605
715
|
type: {
|
|
606
|
-
name: "String"
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
}
|
|
716
|
+
name: "String",
|
|
717
|
+
},
|
|
718
|
+
},
|
|
719
|
+
},
|
|
720
|
+
},
|
|
611
721
|
};
|
|
612
722
|
const EndpointBaseProperties = {
|
|
613
723
|
type: {
|
|
@@ -616,31 +726,31 @@ const EndpointBaseProperties = {
|
|
|
616
726
|
uberParent: "EndpointBaseProperties",
|
|
617
727
|
polymorphicDiscriminator: {
|
|
618
728
|
serializedName: "endpointType",
|
|
619
|
-
clientName: "endpointType"
|
|
729
|
+
clientName: "endpointType",
|
|
620
730
|
},
|
|
621
731
|
modelProperties: {
|
|
622
732
|
endpointType: {
|
|
623
733
|
serializedName: "endpointType",
|
|
624
734
|
required: true,
|
|
625
735
|
type: {
|
|
626
|
-
name: "String"
|
|
627
|
-
}
|
|
736
|
+
name: "String",
|
|
737
|
+
},
|
|
628
738
|
},
|
|
629
739
|
description: {
|
|
630
740
|
serializedName: "description",
|
|
631
741
|
type: {
|
|
632
|
-
name: "String"
|
|
633
|
-
}
|
|
742
|
+
name: "String",
|
|
743
|
+
},
|
|
634
744
|
},
|
|
635
745
|
provisioningState: {
|
|
636
746
|
serializedName: "provisioningState",
|
|
637
747
|
readOnly: true,
|
|
638
748
|
type: {
|
|
639
|
-
name: "String"
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}
|
|
749
|
+
name: "String",
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
},
|
|
753
|
+
},
|
|
644
754
|
};
|
|
645
755
|
const EndpointBaseUpdateParameters = {
|
|
646
756
|
type: {
|
|
@@ -651,11 +761,11 @@ const EndpointBaseUpdateParameters = {
|
|
|
651
761
|
serializedName: "properties",
|
|
652
762
|
type: {
|
|
653
763
|
name: "Composite",
|
|
654
|
-
className: "EndpointBaseUpdateProperties"
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
764
|
+
className: "EndpointBaseUpdateProperties",
|
|
765
|
+
},
|
|
766
|
+
},
|
|
767
|
+
},
|
|
768
|
+
},
|
|
659
769
|
};
|
|
660
770
|
const EndpointBaseUpdateProperties = {
|
|
661
771
|
type: {
|
|
@@ -664,24 +774,24 @@ const EndpointBaseUpdateProperties = {
|
|
|
664
774
|
uberParent: "EndpointBaseUpdateProperties",
|
|
665
775
|
polymorphicDiscriminator: {
|
|
666
776
|
serializedName: "endpointType",
|
|
667
|
-
clientName: "endpointType"
|
|
777
|
+
clientName: "endpointType",
|
|
668
778
|
},
|
|
669
779
|
modelProperties: {
|
|
670
780
|
endpointType: {
|
|
671
781
|
serializedName: "endpointType",
|
|
672
782
|
required: true,
|
|
673
783
|
type: {
|
|
674
|
-
name: "String"
|
|
675
|
-
}
|
|
784
|
+
name: "String",
|
|
785
|
+
},
|
|
676
786
|
},
|
|
677
787
|
description: {
|
|
678
788
|
serializedName: "description",
|
|
679
789
|
type: {
|
|
680
|
-
name: "String"
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
790
|
+
name: "String",
|
|
791
|
+
},
|
|
792
|
+
},
|
|
793
|
+
},
|
|
794
|
+
},
|
|
685
795
|
};
|
|
686
796
|
const ProjectList = {
|
|
687
797
|
type: {
|
|
@@ -696,20 +806,20 @@ const ProjectList = {
|
|
|
696
806
|
element: {
|
|
697
807
|
type: {
|
|
698
808
|
name: "Composite",
|
|
699
|
-
className: "Project"
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
}
|
|
809
|
+
className: "Project",
|
|
810
|
+
},
|
|
811
|
+
},
|
|
812
|
+
},
|
|
703
813
|
},
|
|
704
814
|
nextLink: {
|
|
705
815
|
serializedName: "nextLink",
|
|
706
816
|
readOnly: true,
|
|
707
817
|
type: {
|
|
708
|
-
name: "String"
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
}
|
|
818
|
+
name: "String",
|
|
819
|
+
},
|
|
820
|
+
},
|
|
821
|
+
},
|
|
822
|
+
},
|
|
713
823
|
};
|
|
714
824
|
const ProjectUpdateParameters = {
|
|
715
825
|
type: {
|
|
@@ -719,11 +829,11 @@ const ProjectUpdateParameters = {
|
|
|
719
829
|
description: {
|
|
720
830
|
serializedName: "properties.description",
|
|
721
831
|
type: {
|
|
722
|
-
name: "String"
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
}
|
|
832
|
+
name: "String",
|
|
833
|
+
},
|
|
834
|
+
},
|
|
835
|
+
},
|
|
836
|
+
},
|
|
727
837
|
};
|
|
728
838
|
const JobDefinitionList = {
|
|
729
839
|
type: {
|
|
@@ -738,20 +848,20 @@ const JobDefinitionList = {
|
|
|
738
848
|
element: {
|
|
739
849
|
type: {
|
|
740
850
|
name: "Composite",
|
|
741
|
-
className: "JobDefinition"
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
}
|
|
851
|
+
className: "JobDefinition",
|
|
852
|
+
},
|
|
853
|
+
},
|
|
854
|
+
},
|
|
745
855
|
},
|
|
746
856
|
nextLink: {
|
|
747
857
|
serializedName: "nextLink",
|
|
748
858
|
readOnly: true,
|
|
749
859
|
type: {
|
|
750
|
-
name: "String"
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
860
|
+
name: "String",
|
|
861
|
+
},
|
|
862
|
+
},
|
|
863
|
+
},
|
|
864
|
+
},
|
|
755
865
|
};
|
|
756
866
|
const JobDefinitionUpdateParameters = {
|
|
757
867
|
type: {
|
|
@@ -761,23 +871,23 @@ const JobDefinitionUpdateParameters = {
|
|
|
761
871
|
description: {
|
|
762
872
|
serializedName: "properties.description",
|
|
763
873
|
type: {
|
|
764
|
-
name: "String"
|
|
765
|
-
}
|
|
874
|
+
name: "String",
|
|
875
|
+
},
|
|
766
876
|
},
|
|
767
877
|
copyMode: {
|
|
768
878
|
serializedName: "properties.copyMode",
|
|
769
879
|
type: {
|
|
770
|
-
name: "String"
|
|
771
|
-
}
|
|
880
|
+
name: "String",
|
|
881
|
+
},
|
|
772
882
|
},
|
|
773
883
|
agentName: {
|
|
774
884
|
serializedName: "properties.agentName",
|
|
775
885
|
type: {
|
|
776
|
-
name: "String"
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
886
|
+
name: "String",
|
|
887
|
+
},
|
|
888
|
+
},
|
|
889
|
+
},
|
|
890
|
+
},
|
|
781
891
|
};
|
|
782
892
|
const JobRunResourceId = {
|
|
783
893
|
type: {
|
|
@@ -788,11 +898,11 @@ const JobRunResourceId = {
|
|
|
788
898
|
serializedName: "jobRunResourceId",
|
|
789
899
|
readOnly: true,
|
|
790
900
|
type: {
|
|
791
|
-
name: "String"
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
}
|
|
901
|
+
name: "String",
|
|
902
|
+
},
|
|
903
|
+
},
|
|
904
|
+
},
|
|
905
|
+
},
|
|
796
906
|
};
|
|
797
907
|
const JobRunList = {
|
|
798
908
|
type: {
|
|
@@ -807,20 +917,20 @@ const JobRunList = {
|
|
|
807
917
|
element: {
|
|
808
918
|
type: {
|
|
809
919
|
name: "Composite",
|
|
810
|
-
className: "JobRun"
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
920
|
+
className: "JobRun",
|
|
921
|
+
},
|
|
922
|
+
},
|
|
923
|
+
},
|
|
814
924
|
},
|
|
815
925
|
nextLink: {
|
|
816
926
|
serializedName: "nextLink",
|
|
817
927
|
readOnly: true,
|
|
818
928
|
type: {
|
|
819
|
-
name: "String"
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
}
|
|
929
|
+
name: "String",
|
|
930
|
+
},
|
|
931
|
+
},
|
|
932
|
+
},
|
|
933
|
+
},
|
|
824
934
|
};
|
|
825
935
|
const JobRunError = {
|
|
826
936
|
type: {
|
|
@@ -830,23 +940,23 @@ const JobRunError = {
|
|
|
830
940
|
code: {
|
|
831
941
|
serializedName: "code",
|
|
832
942
|
type: {
|
|
833
|
-
name: "String"
|
|
834
|
-
}
|
|
943
|
+
name: "String",
|
|
944
|
+
},
|
|
835
945
|
},
|
|
836
946
|
message: {
|
|
837
947
|
serializedName: "message",
|
|
838
948
|
type: {
|
|
839
|
-
name: "String"
|
|
840
|
-
}
|
|
949
|
+
name: "String",
|
|
950
|
+
},
|
|
841
951
|
},
|
|
842
952
|
target: {
|
|
843
953
|
serializedName: "target",
|
|
844
954
|
type: {
|
|
845
|
-
name: "String"
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
}
|
|
955
|
+
name: "String",
|
|
956
|
+
},
|
|
957
|
+
},
|
|
958
|
+
},
|
|
959
|
+
},
|
|
850
960
|
};
|
|
851
961
|
const Credentials = {
|
|
852
962
|
type: {
|
|
@@ -855,18 +965,18 @@ const Credentials = {
|
|
|
855
965
|
uberParent: "Credentials",
|
|
856
966
|
polymorphicDiscriminator: {
|
|
857
967
|
serializedName: "type",
|
|
858
|
-
clientName: "type"
|
|
968
|
+
clientName: "type",
|
|
859
969
|
},
|
|
860
970
|
modelProperties: {
|
|
861
971
|
type: {
|
|
862
972
|
serializedName: "type",
|
|
863
973
|
required: true,
|
|
864
974
|
type: {
|
|
865
|
-
name: "String"
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
}
|
|
975
|
+
name: "String",
|
|
976
|
+
},
|
|
977
|
+
},
|
|
978
|
+
},
|
|
979
|
+
},
|
|
870
980
|
};
|
|
871
981
|
const TrackedResource = {
|
|
872
982
|
type: {
|
|
@@ -876,23 +986,57 @@ const TrackedResource = {
|
|
|
876
986
|
serializedName: "tags",
|
|
877
987
|
type: {
|
|
878
988
|
name: "Dictionary",
|
|
879
|
-
value: { type: { name: "String" } }
|
|
880
|
-
}
|
|
989
|
+
value: { type: { name: "String" } },
|
|
990
|
+
},
|
|
881
991
|
}, location: {
|
|
882
992
|
serializedName: "location",
|
|
883
993
|
required: true,
|
|
884
994
|
type: {
|
|
885
|
-
name: "String"
|
|
886
|
-
}
|
|
887
|
-
} })
|
|
888
|
-
}
|
|
995
|
+
name: "String",
|
|
996
|
+
},
|
|
997
|
+
} }),
|
|
998
|
+
},
|
|
889
999
|
};
|
|
890
1000
|
const ProxyResource = {
|
|
891
1001
|
type: {
|
|
892
1002
|
name: "Composite",
|
|
893
1003
|
className: "ProxyResource",
|
|
894
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties)
|
|
895
|
-
}
|
|
1004
|
+
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1005
|
+
},
|
|
1006
|
+
};
|
|
1007
|
+
const WeeklyRecurrence = {
|
|
1008
|
+
type: {
|
|
1009
|
+
name: "Composite",
|
|
1010
|
+
className: "WeeklyRecurrence",
|
|
1011
|
+
modelProperties: Object.assign(Object.assign({}, Recurrence.type.modelProperties), { days: {
|
|
1012
|
+
serializedName: "days",
|
|
1013
|
+
required: true,
|
|
1014
|
+
type: {
|
|
1015
|
+
name: "Sequence",
|
|
1016
|
+
element: {
|
|
1017
|
+
type: {
|
|
1018
|
+
name: "Enum",
|
|
1019
|
+
allowedValues: [
|
|
1020
|
+
"Monday",
|
|
1021
|
+
"Tuesday",
|
|
1022
|
+
"Wednesday",
|
|
1023
|
+
"Thursday",
|
|
1024
|
+
"Friday",
|
|
1025
|
+
"Saturday",
|
|
1026
|
+
"Sunday",
|
|
1027
|
+
],
|
|
1028
|
+
},
|
|
1029
|
+
},
|
|
1030
|
+
},
|
|
1031
|
+
} }),
|
|
1032
|
+
},
|
|
1033
|
+
};
|
|
1034
|
+
const UploadLimitWeeklyRecurrence = {
|
|
1035
|
+
type: {
|
|
1036
|
+
name: "Composite",
|
|
1037
|
+
className: "UploadLimitWeeklyRecurrence",
|
|
1038
|
+
modelProperties: Object.assign(Object.assign({}, WeeklyRecurrence.type.modelProperties), UploadLimit.type.modelProperties),
|
|
1039
|
+
},
|
|
896
1040
|
};
|
|
897
1041
|
const AzureStorageBlobContainerEndpointProperties = {
|
|
898
1042
|
serializedName: "AzureStorageBlobContainer",
|
|
@@ -905,16 +1049,16 @@ const AzureStorageBlobContainerEndpointProperties = {
|
|
|
905
1049
|
serializedName: "storageAccountResourceId",
|
|
906
1050
|
required: true,
|
|
907
1051
|
type: {
|
|
908
|
-
name: "String"
|
|
909
|
-
}
|
|
1052
|
+
name: "String",
|
|
1053
|
+
},
|
|
910
1054
|
}, blobContainerName: {
|
|
911
1055
|
serializedName: "blobContainerName",
|
|
912
1056
|
required: true,
|
|
913
1057
|
type: {
|
|
914
|
-
name: "String"
|
|
915
|
-
}
|
|
916
|
-
} })
|
|
917
|
-
}
|
|
1058
|
+
name: "String",
|
|
1059
|
+
},
|
|
1060
|
+
} }),
|
|
1061
|
+
},
|
|
918
1062
|
};
|
|
919
1063
|
const NfsMountEndpointProperties = {
|
|
920
1064
|
serializedName: "NfsMount",
|
|
@@ -927,21 +1071,21 @@ const NfsMountEndpointProperties = {
|
|
|
927
1071
|
serializedName: "host",
|
|
928
1072
|
required: true,
|
|
929
1073
|
type: {
|
|
930
|
-
name: "String"
|
|
931
|
-
}
|
|
1074
|
+
name: "String",
|
|
1075
|
+
},
|
|
932
1076
|
}, nfsVersion: {
|
|
933
1077
|
serializedName: "nfsVersion",
|
|
934
1078
|
type: {
|
|
935
|
-
name: "String"
|
|
936
|
-
}
|
|
1079
|
+
name: "String",
|
|
1080
|
+
},
|
|
937
1081
|
}, export: {
|
|
938
1082
|
serializedName: "export",
|
|
939
1083
|
required: true,
|
|
940
1084
|
type: {
|
|
941
|
-
name: "String"
|
|
942
|
-
}
|
|
943
|
-
} })
|
|
944
|
-
}
|
|
1085
|
+
name: "String",
|
|
1086
|
+
},
|
|
1087
|
+
} }),
|
|
1088
|
+
},
|
|
945
1089
|
};
|
|
946
1090
|
const AzureStorageSmbFileShareEndpointProperties = {
|
|
947
1091
|
serializedName: "AzureStorageSmbFileShare",
|
|
@@ -954,16 +1098,16 @@ const AzureStorageSmbFileShareEndpointProperties = {
|
|
|
954
1098
|
serializedName: "storageAccountResourceId",
|
|
955
1099
|
required: true,
|
|
956
1100
|
type: {
|
|
957
|
-
name: "String"
|
|
958
|
-
}
|
|
1101
|
+
name: "String",
|
|
1102
|
+
},
|
|
959
1103
|
}, fileShareName: {
|
|
960
1104
|
serializedName: "fileShareName",
|
|
961
1105
|
required: true,
|
|
962
1106
|
type: {
|
|
963
|
-
name: "String"
|
|
964
|
-
}
|
|
965
|
-
} })
|
|
966
|
-
}
|
|
1107
|
+
name: "String",
|
|
1108
|
+
},
|
|
1109
|
+
} }),
|
|
1110
|
+
},
|
|
967
1111
|
};
|
|
968
1112
|
const SmbMountEndpointProperties = {
|
|
969
1113
|
serializedName: "SmbMount",
|
|
@@ -976,22 +1120,22 @@ const SmbMountEndpointProperties = {
|
|
|
976
1120
|
serializedName: "host",
|
|
977
1121
|
required: true,
|
|
978
1122
|
type: {
|
|
979
|
-
name: "String"
|
|
980
|
-
}
|
|
1123
|
+
name: "String",
|
|
1124
|
+
},
|
|
981
1125
|
}, shareName: {
|
|
982
1126
|
serializedName: "shareName",
|
|
983
1127
|
required: true,
|
|
984
1128
|
type: {
|
|
985
|
-
name: "String"
|
|
986
|
-
}
|
|
1129
|
+
name: "String",
|
|
1130
|
+
},
|
|
987
1131
|
}, credentials: {
|
|
988
1132
|
serializedName: "credentials",
|
|
989
1133
|
type: {
|
|
990
1134
|
name: "Composite",
|
|
991
|
-
className: "AzureKeyVaultSmbCredentials"
|
|
992
|
-
}
|
|
993
|
-
} })
|
|
994
|
-
}
|
|
1135
|
+
className: "AzureKeyVaultSmbCredentials",
|
|
1136
|
+
},
|
|
1137
|
+
} }),
|
|
1138
|
+
},
|
|
995
1139
|
};
|
|
996
1140
|
const AzureStorageBlobContainerEndpointUpdateProperties = {
|
|
997
1141
|
serializedName: "AzureStorageBlobContainer",
|
|
@@ -1000,8 +1144,8 @@ const AzureStorageBlobContainerEndpointUpdateProperties = {
|
|
|
1000
1144
|
className: "AzureStorageBlobContainerEndpointUpdateProperties",
|
|
1001
1145
|
uberParent: "EndpointBaseUpdateProperties",
|
|
1002
1146
|
polymorphicDiscriminator: EndpointBaseUpdateProperties.type.polymorphicDiscriminator,
|
|
1003
|
-
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties)
|
|
1004
|
-
}
|
|
1147
|
+
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties),
|
|
1148
|
+
},
|
|
1005
1149
|
};
|
|
1006
1150
|
const NfsMountEndpointUpdateProperties = {
|
|
1007
1151
|
serializedName: "NfsMount",
|
|
@@ -1010,8 +1154,8 @@ const NfsMountEndpointUpdateProperties = {
|
|
|
1010
1154
|
className: "NfsMountEndpointUpdateProperties",
|
|
1011
1155
|
uberParent: "EndpointBaseUpdateProperties",
|
|
1012
1156
|
polymorphicDiscriminator: EndpointBaseUpdateProperties.type.polymorphicDiscriminator,
|
|
1013
|
-
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties)
|
|
1014
|
-
}
|
|
1157
|
+
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties),
|
|
1158
|
+
},
|
|
1015
1159
|
};
|
|
1016
1160
|
const AzureStorageSmbFileShareEndpointUpdateProperties = {
|
|
1017
1161
|
serializedName: "AzureStorageSmbFileShare",
|
|
@@ -1020,8 +1164,8 @@ const AzureStorageSmbFileShareEndpointUpdateProperties = {
|
|
|
1020
1164
|
className: "AzureStorageSmbFileShareEndpointUpdateProperties",
|
|
1021
1165
|
uberParent: "EndpointBaseUpdateProperties",
|
|
1022
1166
|
polymorphicDiscriminator: EndpointBaseUpdateProperties.type.polymorphicDiscriminator,
|
|
1023
|
-
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties)
|
|
1024
|
-
}
|
|
1167
|
+
modelProperties: Object.assign({}, EndpointBaseUpdateProperties.type.modelProperties),
|
|
1168
|
+
},
|
|
1025
1169
|
};
|
|
1026
1170
|
const SmbMountEndpointUpdateProperties = {
|
|
1027
1171
|
serializedName: "SmbMount",
|
|
@@ -1034,10 +1178,10 @@ const SmbMountEndpointUpdateProperties = {
|
|
|
1034
1178
|
serializedName: "credentials",
|
|
1035
1179
|
type: {
|
|
1036
1180
|
name: "Composite",
|
|
1037
|
-
className: "AzureKeyVaultSmbCredentials"
|
|
1038
|
-
}
|
|
1039
|
-
} })
|
|
1040
|
-
}
|
|
1181
|
+
className: "AzureKeyVaultSmbCredentials",
|
|
1182
|
+
},
|
|
1183
|
+
} }),
|
|
1184
|
+
},
|
|
1041
1185
|
};
|
|
1042
1186
|
const AzureKeyVaultSmbCredentials = {
|
|
1043
1187
|
serializedName: "AzureKeyVaultSmb",
|
|
@@ -1049,15 +1193,15 @@ const AzureKeyVaultSmbCredentials = {
|
|
|
1049
1193
|
modelProperties: Object.assign(Object.assign({}, Credentials.type.modelProperties), { usernameUri: {
|
|
1050
1194
|
serializedName: "usernameUri",
|
|
1051
1195
|
type: {
|
|
1052
|
-
name: "String"
|
|
1053
|
-
}
|
|
1196
|
+
name: "String",
|
|
1197
|
+
},
|
|
1054
1198
|
}, passwordUri: {
|
|
1055
1199
|
serializedName: "passwordUri",
|
|
1056
1200
|
type: {
|
|
1057
|
-
name: "String"
|
|
1058
|
-
}
|
|
1059
|
-
} })
|
|
1060
|
-
}
|
|
1201
|
+
name: "String",
|
|
1202
|
+
},
|
|
1203
|
+
} }),
|
|
1204
|
+
},
|
|
1061
1205
|
};
|
|
1062
1206
|
const StorageMover = {
|
|
1063
1207
|
type: {
|
|
@@ -1066,16 +1210,16 @@ const StorageMover = {
|
|
|
1066
1210
|
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { description: {
|
|
1067
1211
|
serializedName: "properties.description",
|
|
1068
1212
|
type: {
|
|
1069
|
-
name: "String"
|
|
1070
|
-
}
|
|
1213
|
+
name: "String",
|
|
1214
|
+
},
|
|
1071
1215
|
}, provisioningState: {
|
|
1072
1216
|
serializedName: "properties.provisioningState",
|
|
1073
1217
|
readOnly: true,
|
|
1074
1218
|
type: {
|
|
1075
|
-
name: "String"
|
|
1076
|
-
}
|
|
1077
|
-
} })
|
|
1078
|
-
}
|
|
1219
|
+
name: "String",
|
|
1220
|
+
},
|
|
1221
|
+
} }),
|
|
1222
|
+
},
|
|
1079
1223
|
};
|
|
1080
1224
|
const Agent = {
|
|
1081
1225
|
type: {
|
|
@@ -1084,76 +1228,88 @@ const Agent = {
|
|
|
1084
1228
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { description: {
|
|
1085
1229
|
serializedName: "properties.description",
|
|
1086
1230
|
type: {
|
|
1087
|
-
name: "String"
|
|
1088
|
-
}
|
|
1231
|
+
name: "String",
|
|
1232
|
+
},
|
|
1089
1233
|
}, agentVersion: {
|
|
1090
1234
|
serializedName: "properties.agentVersion",
|
|
1091
1235
|
readOnly: true,
|
|
1092
1236
|
type: {
|
|
1093
|
-
name: "String"
|
|
1094
|
-
}
|
|
1237
|
+
name: "String",
|
|
1238
|
+
},
|
|
1095
1239
|
}, arcResourceId: {
|
|
1096
1240
|
serializedName: "properties.arcResourceId",
|
|
1097
1241
|
required: true,
|
|
1098
1242
|
type: {
|
|
1099
|
-
name: "String"
|
|
1100
|
-
}
|
|
1243
|
+
name: "String",
|
|
1244
|
+
},
|
|
1101
1245
|
}, arcVmUuid: {
|
|
1102
1246
|
serializedName: "properties.arcVmUuid",
|
|
1103
1247
|
required: true,
|
|
1104
1248
|
type: {
|
|
1105
|
-
name: "String"
|
|
1106
|
-
}
|
|
1249
|
+
name: "String",
|
|
1250
|
+
},
|
|
1107
1251
|
}, agentStatus: {
|
|
1108
1252
|
serializedName: "properties.agentStatus",
|
|
1109
1253
|
readOnly: true,
|
|
1110
1254
|
type: {
|
|
1111
|
-
name: "String"
|
|
1112
|
-
}
|
|
1255
|
+
name: "String",
|
|
1256
|
+
},
|
|
1113
1257
|
}, lastStatusUpdate: {
|
|
1114
1258
|
serializedName: "properties.lastStatusUpdate",
|
|
1115
1259
|
readOnly: true,
|
|
1116
1260
|
type: {
|
|
1117
|
-
name: "DateTime"
|
|
1118
|
-
}
|
|
1261
|
+
name: "DateTime",
|
|
1262
|
+
},
|
|
1119
1263
|
}, localIPAddress: {
|
|
1120
1264
|
serializedName: "properties.localIPAddress",
|
|
1121
1265
|
readOnly: true,
|
|
1122
1266
|
type: {
|
|
1123
|
-
name: "String"
|
|
1124
|
-
}
|
|
1267
|
+
name: "String",
|
|
1268
|
+
},
|
|
1125
1269
|
}, memoryInMB: {
|
|
1126
1270
|
serializedName: "properties.memoryInMB",
|
|
1127
1271
|
readOnly: true,
|
|
1128
1272
|
type: {
|
|
1129
|
-
name: "Number"
|
|
1130
|
-
}
|
|
1273
|
+
name: "Number",
|
|
1274
|
+
},
|
|
1131
1275
|
}, numberOfCores: {
|
|
1132
1276
|
serializedName: "properties.numberOfCores",
|
|
1133
1277
|
readOnly: true,
|
|
1134
1278
|
type: {
|
|
1135
|
-
name: "Number"
|
|
1136
|
-
}
|
|
1279
|
+
name: "Number",
|
|
1280
|
+
},
|
|
1137
1281
|
}, uptimeInSeconds: {
|
|
1138
1282
|
serializedName: "properties.uptimeInSeconds",
|
|
1139
1283
|
readOnly: true,
|
|
1140
1284
|
type: {
|
|
1141
|
-
name: "Number"
|
|
1142
|
-
}
|
|
1285
|
+
name: "Number",
|
|
1286
|
+
},
|
|
1287
|
+
}, timeZone: {
|
|
1288
|
+
serializedName: "properties.timeZone",
|
|
1289
|
+
readOnly: true,
|
|
1290
|
+
type: {
|
|
1291
|
+
name: "String",
|
|
1292
|
+
},
|
|
1293
|
+
}, uploadLimitSchedule: {
|
|
1294
|
+
serializedName: "properties.uploadLimitSchedule",
|
|
1295
|
+
type: {
|
|
1296
|
+
name: "Composite",
|
|
1297
|
+
className: "UploadLimitSchedule",
|
|
1298
|
+
},
|
|
1143
1299
|
}, errorDetails: {
|
|
1144
1300
|
serializedName: "properties.errorDetails",
|
|
1145
1301
|
type: {
|
|
1146
1302
|
name: "Composite",
|
|
1147
|
-
className: "AgentPropertiesErrorDetails"
|
|
1148
|
-
}
|
|
1303
|
+
className: "AgentPropertiesErrorDetails",
|
|
1304
|
+
},
|
|
1149
1305
|
}, provisioningState: {
|
|
1150
1306
|
serializedName: "properties.provisioningState",
|
|
1151
1307
|
readOnly: true,
|
|
1152
1308
|
type: {
|
|
1153
|
-
name: "String"
|
|
1154
|
-
}
|
|
1155
|
-
} })
|
|
1156
|
-
}
|
|
1309
|
+
name: "String",
|
|
1310
|
+
},
|
|
1311
|
+
} }),
|
|
1312
|
+
},
|
|
1157
1313
|
};
|
|
1158
1314
|
const Endpoint = {
|
|
1159
1315
|
type: {
|
|
@@ -1163,10 +1319,10 @@ const Endpoint = {
|
|
|
1163
1319
|
serializedName: "properties",
|
|
1164
1320
|
type: {
|
|
1165
1321
|
name: "Composite",
|
|
1166
|
-
className: "EndpointBaseProperties"
|
|
1167
|
-
}
|
|
1168
|
-
} })
|
|
1169
|
-
}
|
|
1322
|
+
className: "EndpointBaseProperties",
|
|
1323
|
+
},
|
|
1324
|
+
} }),
|
|
1325
|
+
},
|
|
1170
1326
|
};
|
|
1171
1327
|
const Project = {
|
|
1172
1328
|
type: {
|
|
@@ -1175,16 +1331,16 @@ const Project = {
|
|
|
1175
1331
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { description: {
|
|
1176
1332
|
serializedName: "properties.description",
|
|
1177
1333
|
type: {
|
|
1178
|
-
name: "String"
|
|
1179
|
-
}
|
|
1334
|
+
name: "String",
|
|
1335
|
+
},
|
|
1180
1336
|
}, provisioningState: {
|
|
1181
1337
|
serializedName: "properties.provisioningState",
|
|
1182
1338
|
readOnly: true,
|
|
1183
1339
|
type: {
|
|
1184
|
-
name: "String"
|
|
1185
|
-
}
|
|
1186
|
-
} })
|
|
1187
|
-
}
|
|
1340
|
+
name: "String",
|
|
1341
|
+
},
|
|
1342
|
+
} }),
|
|
1343
|
+
},
|
|
1188
1344
|
};
|
|
1189
1345
|
const JobDefinition = {
|
|
1190
1346
|
type: {
|
|
@@ -1193,85 +1349,85 @@ const JobDefinition = {
|
|
|
1193
1349
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { description: {
|
|
1194
1350
|
serializedName: "properties.description",
|
|
1195
1351
|
type: {
|
|
1196
|
-
name: "String"
|
|
1197
|
-
}
|
|
1352
|
+
name: "String",
|
|
1353
|
+
},
|
|
1198
1354
|
}, copyMode: {
|
|
1199
1355
|
serializedName: "properties.copyMode",
|
|
1200
1356
|
required: true,
|
|
1201
1357
|
type: {
|
|
1202
|
-
name: "String"
|
|
1203
|
-
}
|
|
1358
|
+
name: "String",
|
|
1359
|
+
},
|
|
1204
1360
|
}, sourceName: {
|
|
1205
1361
|
serializedName: "properties.sourceName",
|
|
1206
1362
|
required: true,
|
|
1207
1363
|
type: {
|
|
1208
|
-
name: "String"
|
|
1209
|
-
}
|
|
1364
|
+
name: "String",
|
|
1365
|
+
},
|
|
1210
1366
|
}, sourceResourceId: {
|
|
1211
1367
|
serializedName: "properties.sourceResourceId",
|
|
1212
1368
|
readOnly: true,
|
|
1213
1369
|
type: {
|
|
1214
|
-
name: "String"
|
|
1215
|
-
}
|
|
1370
|
+
name: "String",
|
|
1371
|
+
},
|
|
1216
1372
|
}, sourceSubpath: {
|
|
1217
1373
|
serializedName: "properties.sourceSubpath",
|
|
1218
1374
|
type: {
|
|
1219
|
-
name: "String"
|
|
1220
|
-
}
|
|
1375
|
+
name: "String",
|
|
1376
|
+
},
|
|
1221
1377
|
}, targetName: {
|
|
1222
1378
|
serializedName: "properties.targetName",
|
|
1223
1379
|
required: true,
|
|
1224
1380
|
type: {
|
|
1225
|
-
name: "String"
|
|
1226
|
-
}
|
|
1381
|
+
name: "String",
|
|
1382
|
+
},
|
|
1227
1383
|
}, targetResourceId: {
|
|
1228
1384
|
serializedName: "properties.targetResourceId",
|
|
1229
1385
|
readOnly: true,
|
|
1230
1386
|
type: {
|
|
1231
|
-
name: "String"
|
|
1232
|
-
}
|
|
1387
|
+
name: "String",
|
|
1388
|
+
},
|
|
1233
1389
|
}, targetSubpath: {
|
|
1234
1390
|
serializedName: "properties.targetSubpath",
|
|
1235
1391
|
type: {
|
|
1236
|
-
name: "String"
|
|
1237
|
-
}
|
|
1392
|
+
name: "String",
|
|
1393
|
+
},
|
|
1238
1394
|
}, latestJobRunName: {
|
|
1239
1395
|
serializedName: "properties.latestJobRunName",
|
|
1240
1396
|
readOnly: true,
|
|
1241
1397
|
type: {
|
|
1242
|
-
name: "String"
|
|
1243
|
-
}
|
|
1398
|
+
name: "String",
|
|
1399
|
+
},
|
|
1244
1400
|
}, latestJobRunResourceId: {
|
|
1245
1401
|
serializedName: "properties.latestJobRunResourceId",
|
|
1246
1402
|
readOnly: true,
|
|
1247
1403
|
type: {
|
|
1248
|
-
name: "String"
|
|
1249
|
-
}
|
|
1404
|
+
name: "String",
|
|
1405
|
+
},
|
|
1250
1406
|
}, latestJobRunStatus: {
|
|
1251
1407
|
serializedName: "properties.latestJobRunStatus",
|
|
1252
1408
|
readOnly: true,
|
|
1253
1409
|
type: {
|
|
1254
|
-
name: "String"
|
|
1255
|
-
}
|
|
1410
|
+
name: "String",
|
|
1411
|
+
},
|
|
1256
1412
|
}, agentName: {
|
|
1257
1413
|
serializedName: "properties.agentName",
|
|
1258
1414
|
type: {
|
|
1259
|
-
name: "String"
|
|
1260
|
-
}
|
|
1415
|
+
name: "String",
|
|
1416
|
+
},
|
|
1261
1417
|
}, agentResourceId: {
|
|
1262
1418
|
serializedName: "properties.agentResourceId",
|
|
1263
1419
|
readOnly: true,
|
|
1264
1420
|
type: {
|
|
1265
|
-
name: "String"
|
|
1266
|
-
}
|
|
1421
|
+
name: "String",
|
|
1422
|
+
},
|
|
1267
1423
|
}, provisioningState: {
|
|
1268
1424
|
serializedName: "properties.provisioningState",
|
|
1269
1425
|
readOnly: true,
|
|
1270
1426
|
type: {
|
|
1271
|
-
name: "String"
|
|
1272
|
-
}
|
|
1273
|
-
} })
|
|
1274
|
-
}
|
|
1427
|
+
name: "String",
|
|
1428
|
+
},
|
|
1429
|
+
} }),
|
|
1430
|
+
},
|
|
1275
1431
|
};
|
|
1276
1432
|
const JobRun = {
|
|
1277
1433
|
type: {
|
|
@@ -1281,175 +1437,175 @@ const JobRun = {
|
|
|
1281
1437
|
serializedName: "properties.status",
|
|
1282
1438
|
readOnly: true,
|
|
1283
1439
|
type: {
|
|
1284
|
-
name: "String"
|
|
1285
|
-
}
|
|
1440
|
+
name: "String",
|
|
1441
|
+
},
|
|
1286
1442
|
}, scanStatus: {
|
|
1287
1443
|
serializedName: "properties.scanStatus",
|
|
1288
1444
|
readOnly: true,
|
|
1289
1445
|
type: {
|
|
1290
|
-
name: "String"
|
|
1291
|
-
}
|
|
1446
|
+
name: "String",
|
|
1447
|
+
},
|
|
1292
1448
|
}, agentName: {
|
|
1293
1449
|
serializedName: "properties.agentName",
|
|
1294
1450
|
readOnly: true,
|
|
1295
1451
|
type: {
|
|
1296
|
-
name: "String"
|
|
1297
|
-
}
|
|
1452
|
+
name: "String",
|
|
1453
|
+
},
|
|
1298
1454
|
}, agentResourceId: {
|
|
1299
1455
|
serializedName: "properties.agentResourceId",
|
|
1300
1456
|
readOnly: true,
|
|
1301
1457
|
type: {
|
|
1302
|
-
name: "String"
|
|
1303
|
-
}
|
|
1458
|
+
name: "String",
|
|
1459
|
+
},
|
|
1304
1460
|
}, executionStartTime: {
|
|
1305
1461
|
serializedName: "properties.executionStartTime",
|
|
1306
1462
|
readOnly: true,
|
|
1307
1463
|
type: {
|
|
1308
|
-
name: "DateTime"
|
|
1309
|
-
}
|
|
1464
|
+
name: "DateTime",
|
|
1465
|
+
},
|
|
1310
1466
|
}, executionEndTime: {
|
|
1311
1467
|
serializedName: "properties.executionEndTime",
|
|
1312
1468
|
readOnly: true,
|
|
1313
1469
|
type: {
|
|
1314
|
-
name: "DateTime"
|
|
1315
|
-
}
|
|
1470
|
+
name: "DateTime",
|
|
1471
|
+
},
|
|
1316
1472
|
}, lastStatusUpdate: {
|
|
1317
1473
|
serializedName: "properties.lastStatusUpdate",
|
|
1318
1474
|
readOnly: true,
|
|
1319
1475
|
type: {
|
|
1320
|
-
name: "DateTime"
|
|
1321
|
-
}
|
|
1476
|
+
name: "DateTime",
|
|
1477
|
+
},
|
|
1322
1478
|
}, itemsScanned: {
|
|
1323
1479
|
serializedName: "properties.itemsScanned",
|
|
1324
1480
|
readOnly: true,
|
|
1325
1481
|
type: {
|
|
1326
|
-
name: "Number"
|
|
1327
|
-
}
|
|
1482
|
+
name: "Number",
|
|
1483
|
+
},
|
|
1328
1484
|
}, itemsExcluded: {
|
|
1329
1485
|
serializedName: "properties.itemsExcluded",
|
|
1330
1486
|
readOnly: true,
|
|
1331
1487
|
type: {
|
|
1332
|
-
name: "Number"
|
|
1333
|
-
}
|
|
1488
|
+
name: "Number",
|
|
1489
|
+
},
|
|
1334
1490
|
}, itemsUnsupported: {
|
|
1335
1491
|
serializedName: "properties.itemsUnsupported",
|
|
1336
1492
|
readOnly: true,
|
|
1337
1493
|
type: {
|
|
1338
|
-
name: "Number"
|
|
1339
|
-
}
|
|
1494
|
+
name: "Number",
|
|
1495
|
+
},
|
|
1340
1496
|
}, itemsNoTransferNeeded: {
|
|
1341
1497
|
serializedName: "properties.itemsNoTransferNeeded",
|
|
1342
1498
|
readOnly: true,
|
|
1343
1499
|
type: {
|
|
1344
|
-
name: "Number"
|
|
1345
|
-
}
|
|
1500
|
+
name: "Number",
|
|
1501
|
+
},
|
|
1346
1502
|
}, itemsFailed: {
|
|
1347
1503
|
serializedName: "properties.itemsFailed",
|
|
1348
1504
|
readOnly: true,
|
|
1349
1505
|
type: {
|
|
1350
|
-
name: "Number"
|
|
1351
|
-
}
|
|
1506
|
+
name: "Number",
|
|
1507
|
+
},
|
|
1352
1508
|
}, itemsTransferred: {
|
|
1353
1509
|
serializedName: "properties.itemsTransferred",
|
|
1354
1510
|
readOnly: true,
|
|
1355
1511
|
type: {
|
|
1356
|
-
name: "Number"
|
|
1357
|
-
}
|
|
1512
|
+
name: "Number",
|
|
1513
|
+
},
|
|
1358
1514
|
}, bytesScanned: {
|
|
1359
1515
|
serializedName: "properties.bytesScanned",
|
|
1360
1516
|
readOnly: true,
|
|
1361
1517
|
type: {
|
|
1362
|
-
name: "Number"
|
|
1363
|
-
}
|
|
1518
|
+
name: "Number",
|
|
1519
|
+
},
|
|
1364
1520
|
}, bytesExcluded: {
|
|
1365
1521
|
serializedName: "properties.bytesExcluded",
|
|
1366
1522
|
readOnly: true,
|
|
1367
1523
|
type: {
|
|
1368
|
-
name: "Number"
|
|
1369
|
-
}
|
|
1524
|
+
name: "Number",
|
|
1525
|
+
},
|
|
1370
1526
|
}, bytesUnsupported: {
|
|
1371
1527
|
serializedName: "properties.bytesUnsupported",
|
|
1372
1528
|
readOnly: true,
|
|
1373
1529
|
type: {
|
|
1374
|
-
name: "Number"
|
|
1375
|
-
}
|
|
1530
|
+
name: "Number",
|
|
1531
|
+
},
|
|
1376
1532
|
}, bytesNoTransferNeeded: {
|
|
1377
1533
|
serializedName: "properties.bytesNoTransferNeeded",
|
|
1378
1534
|
readOnly: true,
|
|
1379
1535
|
type: {
|
|
1380
|
-
name: "Number"
|
|
1381
|
-
}
|
|
1536
|
+
name: "Number",
|
|
1537
|
+
},
|
|
1382
1538
|
}, bytesFailed: {
|
|
1383
1539
|
serializedName: "properties.bytesFailed",
|
|
1384
1540
|
readOnly: true,
|
|
1385
1541
|
type: {
|
|
1386
|
-
name: "Number"
|
|
1387
|
-
}
|
|
1542
|
+
name: "Number",
|
|
1543
|
+
},
|
|
1388
1544
|
}, bytesTransferred: {
|
|
1389
1545
|
serializedName: "properties.bytesTransferred",
|
|
1390
1546
|
readOnly: true,
|
|
1391
1547
|
type: {
|
|
1392
|
-
name: "Number"
|
|
1393
|
-
}
|
|
1548
|
+
name: "Number",
|
|
1549
|
+
},
|
|
1394
1550
|
}, sourceName: {
|
|
1395
1551
|
serializedName: "properties.sourceName",
|
|
1396
1552
|
readOnly: true,
|
|
1397
1553
|
type: {
|
|
1398
|
-
name: "String"
|
|
1399
|
-
}
|
|
1554
|
+
name: "String",
|
|
1555
|
+
},
|
|
1400
1556
|
}, sourceResourceId: {
|
|
1401
1557
|
serializedName: "properties.sourceResourceId",
|
|
1402
1558
|
readOnly: true,
|
|
1403
1559
|
type: {
|
|
1404
|
-
name: "String"
|
|
1405
|
-
}
|
|
1560
|
+
name: "String",
|
|
1561
|
+
},
|
|
1406
1562
|
}, sourceProperties: {
|
|
1407
1563
|
serializedName: "properties.sourceProperties",
|
|
1408
1564
|
readOnly: true,
|
|
1409
1565
|
type: {
|
|
1410
1566
|
name: "Dictionary",
|
|
1411
|
-
value: { type: { name: "any" } }
|
|
1412
|
-
}
|
|
1567
|
+
value: { type: { name: "any" } },
|
|
1568
|
+
},
|
|
1413
1569
|
}, targetName: {
|
|
1414
1570
|
serializedName: "properties.targetName",
|
|
1415
1571
|
readOnly: true,
|
|
1416
1572
|
type: {
|
|
1417
|
-
name: "String"
|
|
1418
|
-
}
|
|
1573
|
+
name: "String",
|
|
1574
|
+
},
|
|
1419
1575
|
}, targetResourceId: {
|
|
1420
1576
|
serializedName: "properties.targetResourceId",
|
|
1421
1577
|
readOnly: true,
|
|
1422
1578
|
type: {
|
|
1423
|
-
name: "String"
|
|
1424
|
-
}
|
|
1579
|
+
name: "String",
|
|
1580
|
+
},
|
|
1425
1581
|
}, targetProperties: {
|
|
1426
1582
|
serializedName: "properties.targetProperties",
|
|
1427
1583
|
readOnly: true,
|
|
1428
1584
|
type: {
|
|
1429
1585
|
name: "Dictionary",
|
|
1430
|
-
value: { type: { name: "any" } }
|
|
1431
|
-
}
|
|
1586
|
+
value: { type: { name: "any" } },
|
|
1587
|
+
},
|
|
1432
1588
|
}, jobDefinitionProperties: {
|
|
1433
1589
|
serializedName: "properties.jobDefinitionProperties",
|
|
1434
1590
|
readOnly: true,
|
|
1435
1591
|
type: {
|
|
1436
1592
|
name: "Dictionary",
|
|
1437
|
-
value: { type: { name: "any" } }
|
|
1438
|
-
}
|
|
1593
|
+
value: { type: { name: "any" } },
|
|
1594
|
+
},
|
|
1439
1595
|
}, error: {
|
|
1440
1596
|
serializedName: "properties.error",
|
|
1441
1597
|
type: {
|
|
1442
1598
|
name: "Composite",
|
|
1443
|
-
className: "JobRunError"
|
|
1444
|
-
}
|
|
1599
|
+
className: "JobRunError",
|
|
1600
|
+
},
|
|
1445
1601
|
}, provisioningState: {
|
|
1446
1602
|
serializedName: "properties.provisioningState",
|
|
1447
1603
|
readOnly: true,
|
|
1448
1604
|
type: {
|
|
1449
|
-
name: "String"
|
|
1450
|
-
}
|
|
1451
|
-
} })
|
|
1452
|
-
}
|
|
1605
|
+
name: "String",
|
|
1606
|
+
},
|
|
1607
|
+
} }),
|
|
1608
|
+
},
|
|
1453
1609
|
};
|
|
1454
1610
|
let discriminators = {
|
|
1455
1611
|
EndpointBaseProperties: EndpointBaseProperties,
|
|
@@ -1463,7 +1619,7 @@ let discriminators = {
|
|
|
1463
1619
|
"EndpointBaseUpdateProperties.NfsMount": NfsMountEndpointUpdateProperties,
|
|
1464
1620
|
"EndpointBaseUpdateProperties.AzureStorageSmbFileShare": AzureStorageSmbFileShareEndpointUpdateProperties,
|
|
1465
1621
|
"EndpointBaseUpdateProperties.SmbMount": SmbMountEndpointUpdateProperties,
|
|
1466
|
-
"Credentials.AzureKeyVaultSmb": AzureKeyVaultSmbCredentials
|
|
1622
|
+
"Credentials.AzureKeyVaultSmb": AzureKeyVaultSmbCredentials,
|
|
1467
1623
|
};
|
|
1468
1624
|
|
|
1469
1625
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
@@ -1502,6 +1658,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1502
1658
|
ProjectList: ProjectList,
|
|
1503
1659
|
ProjectUpdateParameters: ProjectUpdateParameters,
|
|
1504
1660
|
ProxyResource: ProxyResource,
|
|
1661
|
+
Recurrence: Recurrence,
|
|
1505
1662
|
Resource: Resource,
|
|
1506
1663
|
SmbMountEndpointProperties: SmbMountEndpointProperties,
|
|
1507
1664
|
SmbMountEndpointUpdateProperties: SmbMountEndpointUpdateProperties,
|
|
@@ -1509,7 +1666,12 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1509
1666
|
StorageMoverList: StorageMoverList,
|
|
1510
1667
|
StorageMoverUpdateParameters: StorageMoverUpdateParameters,
|
|
1511
1668
|
SystemData: SystemData,
|
|
1669
|
+
Time: Time,
|
|
1512
1670
|
TrackedResource: TrackedResource,
|
|
1671
|
+
UploadLimit: UploadLimit,
|
|
1672
|
+
UploadLimitSchedule: UploadLimitSchedule,
|
|
1673
|
+
UploadLimitWeeklyRecurrence: UploadLimitWeeklyRecurrence,
|
|
1674
|
+
WeeklyRecurrence: WeeklyRecurrence,
|
|
1513
1675
|
discriminators: discriminators
|
|
1514
1676
|
});
|
|
1515
1677
|
|
|
@@ -1527,9 +1689,9 @@ const accept = {
|
|
|
1527
1689
|
isConstant: true,
|
|
1528
1690
|
serializedName: "Accept",
|
|
1529
1691
|
type: {
|
|
1530
|
-
name: "String"
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1692
|
+
name: "String",
|
|
1693
|
+
},
|
|
1694
|
+
},
|
|
1533
1695
|
};
|
|
1534
1696
|
const $host = {
|
|
1535
1697
|
parameterPath: "$host",
|
|
@@ -1537,21 +1699,21 @@ const $host = {
|
|
|
1537
1699
|
serializedName: "$host",
|
|
1538
1700
|
required: true,
|
|
1539
1701
|
type: {
|
|
1540
|
-
name: "String"
|
|
1541
|
-
}
|
|
1702
|
+
name: "String",
|
|
1703
|
+
},
|
|
1542
1704
|
},
|
|
1543
|
-
skipEncoding: true
|
|
1705
|
+
skipEncoding: true,
|
|
1544
1706
|
};
|
|
1545
1707
|
const apiVersion = {
|
|
1546
1708
|
parameterPath: "apiVersion",
|
|
1547
1709
|
mapper: {
|
|
1548
|
-
defaultValue: "
|
|
1710
|
+
defaultValue: "2024-07-01",
|
|
1549
1711
|
isConstant: true,
|
|
1550
1712
|
serializedName: "api-version",
|
|
1551
1713
|
type: {
|
|
1552
|
-
name: "String"
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1714
|
+
name: "String",
|
|
1715
|
+
},
|
|
1716
|
+
},
|
|
1555
1717
|
};
|
|
1556
1718
|
const nextLink = {
|
|
1557
1719
|
parameterPath: "nextLink",
|
|
@@ -1559,37 +1721,37 @@ const nextLink = {
|
|
|
1559
1721
|
serializedName: "nextLink",
|
|
1560
1722
|
required: true,
|
|
1561
1723
|
type: {
|
|
1562
|
-
name: "String"
|
|
1563
|
-
}
|
|
1724
|
+
name: "String",
|
|
1725
|
+
},
|
|
1564
1726
|
},
|
|
1565
|
-
skipEncoding: true
|
|
1727
|
+
skipEncoding: true,
|
|
1566
1728
|
};
|
|
1567
1729
|
const subscriptionId = {
|
|
1568
1730
|
parameterPath: "subscriptionId",
|
|
1569
1731
|
mapper: {
|
|
1570
1732
|
constraints: {
|
|
1571
|
-
MinLength: 1
|
|
1733
|
+
MinLength: 1,
|
|
1572
1734
|
},
|
|
1573
1735
|
serializedName: "subscriptionId",
|
|
1574
1736
|
required: true,
|
|
1575
1737
|
type: {
|
|
1576
|
-
name: "String"
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1738
|
+
name: "String",
|
|
1739
|
+
},
|
|
1740
|
+
},
|
|
1579
1741
|
};
|
|
1580
1742
|
const resourceGroupName = {
|
|
1581
1743
|
parameterPath: "resourceGroupName",
|
|
1582
1744
|
mapper: {
|
|
1583
1745
|
constraints: {
|
|
1584
1746
|
MaxLength: 90,
|
|
1585
|
-
MinLength: 1
|
|
1747
|
+
MinLength: 1,
|
|
1586
1748
|
},
|
|
1587
1749
|
serializedName: "resourceGroupName",
|
|
1588
1750
|
required: true,
|
|
1589
1751
|
type: {
|
|
1590
|
-
name: "String"
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1752
|
+
name: "String",
|
|
1753
|
+
},
|
|
1754
|
+
},
|
|
1593
1755
|
};
|
|
1594
1756
|
const storageMoverName = {
|
|
1595
1757
|
parameterPath: "storageMoverName",
|
|
@@ -1597,9 +1759,9 @@ const storageMoverName = {
|
|
|
1597
1759
|
serializedName: "storageMoverName",
|
|
1598
1760
|
required: true,
|
|
1599
1761
|
type: {
|
|
1600
|
-
name: "String"
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1762
|
+
name: "String",
|
|
1763
|
+
},
|
|
1764
|
+
},
|
|
1603
1765
|
};
|
|
1604
1766
|
const contentType = {
|
|
1605
1767
|
parameterPath: ["options", "contentType"],
|
|
@@ -1608,17 +1770,17 @@ const contentType = {
|
|
|
1608
1770
|
isConstant: true,
|
|
1609
1771
|
serializedName: "Content-Type",
|
|
1610
1772
|
type: {
|
|
1611
|
-
name: "String"
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1773
|
+
name: "String",
|
|
1774
|
+
},
|
|
1775
|
+
},
|
|
1614
1776
|
};
|
|
1615
1777
|
const storageMover = {
|
|
1616
1778
|
parameterPath: "storageMover",
|
|
1617
|
-
mapper: StorageMover
|
|
1779
|
+
mapper: StorageMover,
|
|
1618
1780
|
};
|
|
1619
1781
|
const storageMover1 = {
|
|
1620
1782
|
parameterPath: "storageMover",
|
|
1621
|
-
mapper: StorageMoverUpdateParameters
|
|
1783
|
+
mapper: StorageMoverUpdateParameters,
|
|
1622
1784
|
};
|
|
1623
1785
|
const agentName = {
|
|
1624
1786
|
parameterPath: "agentName",
|
|
@@ -1626,17 +1788,17 @@ const agentName = {
|
|
|
1626
1788
|
serializedName: "agentName",
|
|
1627
1789
|
required: true,
|
|
1628
1790
|
type: {
|
|
1629
|
-
name: "String"
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1791
|
+
name: "String",
|
|
1792
|
+
},
|
|
1793
|
+
},
|
|
1632
1794
|
};
|
|
1633
1795
|
const agent = {
|
|
1634
1796
|
parameterPath: "agent",
|
|
1635
|
-
mapper: Agent
|
|
1797
|
+
mapper: Agent,
|
|
1636
1798
|
};
|
|
1637
1799
|
const agent1 = {
|
|
1638
1800
|
parameterPath: "agent",
|
|
1639
|
-
mapper: AgentUpdateParameters
|
|
1801
|
+
mapper: AgentUpdateParameters,
|
|
1640
1802
|
};
|
|
1641
1803
|
const endpointName = {
|
|
1642
1804
|
parameterPath: "endpointName",
|
|
@@ -1644,17 +1806,17 @@ const endpointName = {
|
|
|
1644
1806
|
serializedName: "endpointName",
|
|
1645
1807
|
required: true,
|
|
1646
1808
|
type: {
|
|
1647
|
-
name: "String"
|
|
1648
|
-
}
|
|
1649
|
-
}
|
|
1809
|
+
name: "String",
|
|
1810
|
+
},
|
|
1811
|
+
},
|
|
1650
1812
|
};
|
|
1651
1813
|
const endpoint = {
|
|
1652
1814
|
parameterPath: "endpoint",
|
|
1653
|
-
mapper: Endpoint
|
|
1815
|
+
mapper: Endpoint,
|
|
1654
1816
|
};
|
|
1655
1817
|
const endpoint1 = {
|
|
1656
1818
|
parameterPath: "endpoint",
|
|
1657
|
-
mapper: EndpointBaseUpdateParameters
|
|
1819
|
+
mapper: EndpointBaseUpdateParameters,
|
|
1658
1820
|
};
|
|
1659
1821
|
const projectName = {
|
|
1660
1822
|
parameterPath: "projectName",
|
|
@@ -1662,17 +1824,17 @@ const projectName = {
|
|
|
1662
1824
|
serializedName: "projectName",
|
|
1663
1825
|
required: true,
|
|
1664
1826
|
type: {
|
|
1665
|
-
name: "String"
|
|
1666
|
-
}
|
|
1667
|
-
}
|
|
1827
|
+
name: "String",
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1668
1830
|
};
|
|
1669
1831
|
const project = {
|
|
1670
1832
|
parameterPath: "project",
|
|
1671
|
-
mapper: Project
|
|
1833
|
+
mapper: Project,
|
|
1672
1834
|
};
|
|
1673
1835
|
const project1 = {
|
|
1674
1836
|
parameterPath: "project",
|
|
1675
|
-
mapper: ProjectUpdateParameters
|
|
1837
|
+
mapper: ProjectUpdateParameters,
|
|
1676
1838
|
};
|
|
1677
1839
|
const jobDefinitionName = {
|
|
1678
1840
|
parameterPath: "jobDefinitionName",
|
|
@@ -1680,17 +1842,17 @@ const jobDefinitionName = {
|
|
|
1680
1842
|
serializedName: "jobDefinitionName",
|
|
1681
1843
|
required: true,
|
|
1682
1844
|
type: {
|
|
1683
|
-
name: "String"
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1845
|
+
name: "String",
|
|
1846
|
+
},
|
|
1847
|
+
},
|
|
1686
1848
|
};
|
|
1687
1849
|
const jobDefinition = {
|
|
1688
1850
|
parameterPath: "jobDefinition",
|
|
1689
|
-
mapper: JobDefinition
|
|
1851
|
+
mapper: JobDefinition,
|
|
1690
1852
|
};
|
|
1691
1853
|
const jobDefinition1 = {
|
|
1692
1854
|
parameterPath: "jobDefinition",
|
|
1693
|
-
mapper: JobDefinitionUpdateParameters
|
|
1855
|
+
mapper: JobDefinitionUpdateParameters,
|
|
1694
1856
|
};
|
|
1695
1857
|
const jobRunName = {
|
|
1696
1858
|
parameterPath: "jobRunName",
|
|
@@ -1698,9 +1860,9 @@ const jobRunName = {
|
|
|
1698
1860
|
serializedName: "jobRunName",
|
|
1699
1861
|
required: true,
|
|
1700
1862
|
type: {
|
|
1701
|
-
name: "String"
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1863
|
+
name: "String",
|
|
1864
|
+
},
|
|
1865
|
+
},
|
|
1704
1866
|
};
|
|
1705
1867
|
|
|
1706
1868
|
/*
|
|
@@ -1738,7 +1900,7 @@ class OperationsImpl {
|
|
|
1738
1900
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1739
1901
|
}
|
|
1740
1902
|
return this.listPagingPage(options, settings);
|
|
1741
|
-
}
|
|
1903
|
+
},
|
|
1742
1904
|
};
|
|
1743
1905
|
}
|
|
1744
1906
|
listPagingPage(options, settings) {
|
|
@@ -1804,31 +1966,31 @@ const listOperationSpec$6 = {
|
|
|
1804
1966
|
httpMethod: "GET",
|
|
1805
1967
|
responses: {
|
|
1806
1968
|
200: {
|
|
1807
|
-
bodyMapper: OperationListResult
|
|
1969
|
+
bodyMapper: OperationListResult,
|
|
1808
1970
|
},
|
|
1809
1971
|
default: {
|
|
1810
|
-
bodyMapper: ErrorResponse
|
|
1811
|
-
}
|
|
1972
|
+
bodyMapper: ErrorResponse,
|
|
1973
|
+
},
|
|
1812
1974
|
},
|
|
1813
1975
|
queryParameters: [apiVersion],
|
|
1814
1976
|
urlParameters: [$host],
|
|
1815
1977
|
headerParameters: [accept],
|
|
1816
|
-
serializer: serializer$6
|
|
1978
|
+
serializer: serializer$6,
|
|
1817
1979
|
};
|
|
1818
1980
|
const listNextOperationSpec$6 = {
|
|
1819
1981
|
path: "{nextLink}",
|
|
1820
1982
|
httpMethod: "GET",
|
|
1821
1983
|
responses: {
|
|
1822
1984
|
200: {
|
|
1823
|
-
bodyMapper: OperationListResult
|
|
1985
|
+
bodyMapper: OperationListResult,
|
|
1824
1986
|
},
|
|
1825
1987
|
default: {
|
|
1826
|
-
bodyMapper: ErrorResponse
|
|
1827
|
-
}
|
|
1988
|
+
bodyMapper: ErrorResponse,
|
|
1989
|
+
},
|
|
1828
1990
|
},
|
|
1829
1991
|
urlParameters: [$host, nextLink],
|
|
1830
1992
|
headerParameters: [accept],
|
|
1831
|
-
serializer: serializer$6
|
|
1993
|
+
serializer: serializer$6,
|
|
1832
1994
|
};
|
|
1833
1995
|
|
|
1834
1996
|
/*
|
|
@@ -1847,7 +2009,7 @@ function createLroSpec(inputs) {
|
|
|
1847
2009
|
sendPollRequest: (path, options) => {
|
|
1848
2010
|
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
1849
2011
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
1850
|
-
}
|
|
2012
|
+
},
|
|
1851
2013
|
};
|
|
1852
2014
|
}
|
|
1853
2015
|
|
|
@@ -1886,7 +2048,7 @@ class StorageMoversImpl {
|
|
|
1886
2048
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1887
2049
|
}
|
|
1888
2050
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
1889
|
-
}
|
|
2051
|
+
},
|
|
1890
2052
|
};
|
|
1891
2053
|
}
|
|
1892
2054
|
listBySubscriptionPagingPage(options, settings) {
|
|
@@ -1948,7 +2110,7 @@ class StorageMoversImpl {
|
|
|
1948
2110
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1949
2111
|
}
|
|
1950
2112
|
return this.listPagingPage(resourceGroupName, options, settings);
|
|
1951
|
-
}
|
|
2113
|
+
},
|
|
1952
2114
|
};
|
|
1953
2115
|
}
|
|
1954
2116
|
listPagingPage(resourceGroupName, options, settings) {
|
|
@@ -2063,19 +2225,19 @@ class StorageMoversImpl {
|
|
|
2063
2225
|
rawResponse: {
|
|
2064
2226
|
statusCode: currentRawResponse.status,
|
|
2065
2227
|
body: currentRawResponse.parsedBody,
|
|
2066
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2067
|
-
}
|
|
2228
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2229
|
+
},
|
|
2068
2230
|
};
|
|
2069
2231
|
});
|
|
2070
2232
|
const lro = createLroSpec({
|
|
2071
2233
|
sendOperationFn,
|
|
2072
2234
|
args: { resourceGroupName, storageMoverName, options },
|
|
2073
|
-
spec: deleteOperationSpec$4
|
|
2235
|
+
spec: deleteOperationSpec$4,
|
|
2074
2236
|
});
|
|
2075
2237
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2076
2238
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2077
2239
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2078
|
-
resourceLocationConfig: "location"
|
|
2240
|
+
resourceLocationConfig: "location",
|
|
2079
2241
|
});
|
|
2080
2242
|
yield poller.poll();
|
|
2081
2243
|
return poller;
|
|
@@ -2118,68 +2280,68 @@ const listBySubscriptionOperationSpec = {
|
|
|
2118
2280
|
httpMethod: "GET",
|
|
2119
2281
|
responses: {
|
|
2120
2282
|
200: {
|
|
2121
|
-
bodyMapper: StorageMoverList
|
|
2283
|
+
bodyMapper: StorageMoverList,
|
|
2122
2284
|
},
|
|
2123
2285
|
default: {
|
|
2124
|
-
bodyMapper: ErrorResponse
|
|
2125
|
-
}
|
|
2286
|
+
bodyMapper: ErrorResponse,
|
|
2287
|
+
},
|
|
2126
2288
|
},
|
|
2127
2289
|
queryParameters: [apiVersion],
|
|
2128
2290
|
urlParameters: [$host, subscriptionId],
|
|
2129
2291
|
headerParameters: [accept],
|
|
2130
|
-
serializer: serializer$5
|
|
2292
|
+
serializer: serializer$5,
|
|
2131
2293
|
};
|
|
2132
2294
|
const listOperationSpec$5 = {
|
|
2133
2295
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers",
|
|
2134
2296
|
httpMethod: "GET",
|
|
2135
2297
|
responses: {
|
|
2136
2298
|
200: {
|
|
2137
|
-
bodyMapper: StorageMoverList
|
|
2299
|
+
bodyMapper: StorageMoverList,
|
|
2138
2300
|
},
|
|
2139
2301
|
default: {
|
|
2140
|
-
bodyMapper: ErrorResponse
|
|
2141
|
-
}
|
|
2302
|
+
bodyMapper: ErrorResponse,
|
|
2303
|
+
},
|
|
2142
2304
|
},
|
|
2143
2305
|
queryParameters: [apiVersion],
|
|
2144
2306
|
urlParameters: [
|
|
2145
2307
|
$host,
|
|
2146
2308
|
subscriptionId,
|
|
2147
|
-
resourceGroupName
|
|
2309
|
+
resourceGroupName,
|
|
2148
2310
|
],
|
|
2149
2311
|
headerParameters: [accept],
|
|
2150
|
-
serializer: serializer$5
|
|
2312
|
+
serializer: serializer$5,
|
|
2151
2313
|
};
|
|
2152
2314
|
const getOperationSpec$5 = {
|
|
2153
2315
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}",
|
|
2154
2316
|
httpMethod: "GET",
|
|
2155
2317
|
responses: {
|
|
2156
2318
|
200: {
|
|
2157
|
-
bodyMapper: StorageMover
|
|
2319
|
+
bodyMapper: StorageMover,
|
|
2158
2320
|
},
|
|
2159
2321
|
default: {
|
|
2160
|
-
bodyMapper: ErrorResponse
|
|
2161
|
-
}
|
|
2322
|
+
bodyMapper: ErrorResponse,
|
|
2323
|
+
},
|
|
2162
2324
|
},
|
|
2163
2325
|
queryParameters: [apiVersion],
|
|
2164
2326
|
urlParameters: [
|
|
2165
2327
|
$host,
|
|
2166
2328
|
subscriptionId,
|
|
2167
2329
|
resourceGroupName,
|
|
2168
|
-
storageMoverName
|
|
2330
|
+
storageMoverName,
|
|
2169
2331
|
],
|
|
2170
2332
|
headerParameters: [accept],
|
|
2171
|
-
serializer: serializer$5
|
|
2333
|
+
serializer: serializer$5,
|
|
2172
2334
|
};
|
|
2173
2335
|
const createOrUpdateOperationSpec$4 = {
|
|
2174
2336
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}",
|
|
2175
2337
|
httpMethod: "PUT",
|
|
2176
2338
|
responses: {
|
|
2177
2339
|
200: {
|
|
2178
|
-
bodyMapper: StorageMover
|
|
2340
|
+
bodyMapper: StorageMover,
|
|
2179
2341
|
},
|
|
2180
2342
|
default: {
|
|
2181
|
-
bodyMapper: ErrorResponse
|
|
2182
|
-
}
|
|
2343
|
+
bodyMapper: ErrorResponse,
|
|
2344
|
+
},
|
|
2183
2345
|
},
|
|
2184
2346
|
requestBody: storageMover,
|
|
2185
2347
|
queryParameters: [apiVersion],
|
|
@@ -2187,22 +2349,22 @@ const createOrUpdateOperationSpec$4 = {
|
|
|
2187
2349
|
$host,
|
|
2188
2350
|
subscriptionId,
|
|
2189
2351
|
resourceGroupName,
|
|
2190
|
-
storageMoverName
|
|
2352
|
+
storageMoverName,
|
|
2191
2353
|
],
|
|
2192
2354
|
headerParameters: [accept, contentType],
|
|
2193
2355
|
mediaType: "json",
|
|
2194
|
-
serializer: serializer$5
|
|
2356
|
+
serializer: serializer$5,
|
|
2195
2357
|
};
|
|
2196
2358
|
const updateOperationSpec$4 = {
|
|
2197
2359
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}",
|
|
2198
2360
|
httpMethod: "PATCH",
|
|
2199
2361
|
responses: {
|
|
2200
2362
|
200: {
|
|
2201
|
-
bodyMapper: StorageMover
|
|
2363
|
+
bodyMapper: StorageMover,
|
|
2202
2364
|
},
|
|
2203
2365
|
default: {
|
|
2204
|
-
bodyMapper: ErrorResponse
|
|
2205
|
-
}
|
|
2366
|
+
bodyMapper: ErrorResponse,
|
|
2367
|
+
},
|
|
2206
2368
|
},
|
|
2207
2369
|
requestBody: storageMover1,
|
|
2208
2370
|
queryParameters: [apiVersion],
|
|
@@ -2210,11 +2372,11 @@ const updateOperationSpec$4 = {
|
|
|
2210
2372
|
$host,
|
|
2211
2373
|
subscriptionId,
|
|
2212
2374
|
resourceGroupName,
|
|
2213
|
-
storageMoverName
|
|
2375
|
+
storageMoverName,
|
|
2214
2376
|
],
|
|
2215
2377
|
headerParameters: [accept, contentType],
|
|
2216
2378
|
mediaType: "json",
|
|
2217
|
-
serializer: serializer$5
|
|
2379
|
+
serializer: serializer$5,
|
|
2218
2380
|
};
|
|
2219
2381
|
const deleteOperationSpec$4 = {
|
|
2220
2382
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}",
|
|
@@ -2225,57 +2387,57 @@ const deleteOperationSpec$4 = {
|
|
|
2225
2387
|
202: {},
|
|
2226
2388
|
204: {},
|
|
2227
2389
|
default: {
|
|
2228
|
-
bodyMapper: ErrorResponse
|
|
2229
|
-
}
|
|
2390
|
+
bodyMapper: ErrorResponse,
|
|
2391
|
+
},
|
|
2230
2392
|
},
|
|
2231
2393
|
queryParameters: [apiVersion],
|
|
2232
2394
|
urlParameters: [
|
|
2233
2395
|
$host,
|
|
2234
2396
|
subscriptionId,
|
|
2235
2397
|
resourceGroupName,
|
|
2236
|
-
storageMoverName
|
|
2398
|
+
storageMoverName,
|
|
2237
2399
|
],
|
|
2238
2400
|
headerParameters: [accept],
|
|
2239
|
-
serializer: serializer$5
|
|
2401
|
+
serializer: serializer$5,
|
|
2240
2402
|
};
|
|
2241
2403
|
const listBySubscriptionNextOperationSpec = {
|
|
2242
2404
|
path: "{nextLink}",
|
|
2243
2405
|
httpMethod: "GET",
|
|
2244
2406
|
responses: {
|
|
2245
2407
|
200: {
|
|
2246
|
-
bodyMapper: StorageMoverList
|
|
2408
|
+
bodyMapper: StorageMoverList,
|
|
2247
2409
|
},
|
|
2248
2410
|
default: {
|
|
2249
|
-
bodyMapper: ErrorResponse
|
|
2250
|
-
}
|
|
2411
|
+
bodyMapper: ErrorResponse,
|
|
2412
|
+
},
|
|
2251
2413
|
},
|
|
2252
2414
|
urlParameters: [
|
|
2253
2415
|
$host,
|
|
2254
2416
|
nextLink,
|
|
2255
|
-
subscriptionId
|
|
2417
|
+
subscriptionId,
|
|
2256
2418
|
],
|
|
2257
2419
|
headerParameters: [accept],
|
|
2258
|
-
serializer: serializer$5
|
|
2420
|
+
serializer: serializer$5,
|
|
2259
2421
|
};
|
|
2260
2422
|
const listNextOperationSpec$5 = {
|
|
2261
2423
|
path: "{nextLink}",
|
|
2262
2424
|
httpMethod: "GET",
|
|
2263
2425
|
responses: {
|
|
2264
2426
|
200: {
|
|
2265
|
-
bodyMapper: StorageMoverList
|
|
2427
|
+
bodyMapper: StorageMoverList,
|
|
2266
2428
|
},
|
|
2267
2429
|
default: {
|
|
2268
|
-
bodyMapper: ErrorResponse
|
|
2269
|
-
}
|
|
2430
|
+
bodyMapper: ErrorResponse,
|
|
2431
|
+
},
|
|
2270
2432
|
},
|
|
2271
2433
|
urlParameters: [
|
|
2272
2434
|
$host,
|
|
2273
2435
|
nextLink,
|
|
2274
2436
|
subscriptionId,
|
|
2275
|
-
resourceGroupName
|
|
2437
|
+
resourceGroupName,
|
|
2276
2438
|
],
|
|
2277
2439
|
headerParameters: [accept],
|
|
2278
|
-
serializer: serializer$5
|
|
2440
|
+
serializer: serializer$5,
|
|
2279
2441
|
};
|
|
2280
2442
|
|
|
2281
2443
|
/*
|
|
@@ -2315,7 +2477,7 @@ class AgentsImpl {
|
|
|
2315
2477
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2316
2478
|
}
|
|
2317
2479
|
return this.listPagingPage(resourceGroupName, storageMoverName, options, settings);
|
|
2318
|
-
}
|
|
2480
|
+
},
|
|
2319
2481
|
};
|
|
2320
2482
|
}
|
|
2321
2483
|
listPagingPage(resourceGroupName, storageMoverName, options, settings) {
|
|
@@ -2426,19 +2588,19 @@ class AgentsImpl {
|
|
|
2426
2588
|
rawResponse: {
|
|
2427
2589
|
statusCode: currentRawResponse.status,
|
|
2428
2590
|
body: currentRawResponse.parsedBody,
|
|
2429
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2430
|
-
}
|
|
2591
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2592
|
+
},
|
|
2431
2593
|
};
|
|
2432
2594
|
});
|
|
2433
2595
|
const lro = createLroSpec({
|
|
2434
2596
|
sendOperationFn,
|
|
2435
2597
|
args: { resourceGroupName, storageMoverName, agentName, options },
|
|
2436
|
-
spec: deleteOperationSpec$3
|
|
2598
|
+
spec: deleteOperationSpec$3,
|
|
2437
2599
|
});
|
|
2438
2600
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2439
2601
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2440
2602
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2441
|
-
resourceLocationConfig: "location"
|
|
2603
|
+
resourceLocationConfig: "location",
|
|
2442
2604
|
});
|
|
2443
2605
|
yield poller.poll();
|
|
2444
2606
|
return poller;
|
|
@@ -2475,32 +2637,32 @@ const listOperationSpec$4 = {
|
|
|
2475
2637
|
httpMethod: "GET",
|
|
2476
2638
|
responses: {
|
|
2477
2639
|
200: {
|
|
2478
|
-
bodyMapper: AgentList
|
|
2640
|
+
bodyMapper: AgentList,
|
|
2479
2641
|
},
|
|
2480
2642
|
default: {
|
|
2481
|
-
bodyMapper: ErrorResponse
|
|
2482
|
-
}
|
|
2643
|
+
bodyMapper: ErrorResponse,
|
|
2644
|
+
},
|
|
2483
2645
|
},
|
|
2484
2646
|
queryParameters: [apiVersion],
|
|
2485
2647
|
urlParameters: [
|
|
2486
2648
|
$host,
|
|
2487
2649
|
subscriptionId,
|
|
2488
2650
|
resourceGroupName,
|
|
2489
|
-
storageMoverName
|
|
2651
|
+
storageMoverName,
|
|
2490
2652
|
],
|
|
2491
2653
|
headerParameters: [accept],
|
|
2492
|
-
serializer: serializer$4
|
|
2654
|
+
serializer: serializer$4,
|
|
2493
2655
|
};
|
|
2494
2656
|
const getOperationSpec$4 = {
|
|
2495
2657
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}",
|
|
2496
2658
|
httpMethod: "GET",
|
|
2497
2659
|
responses: {
|
|
2498
2660
|
200: {
|
|
2499
|
-
bodyMapper: Agent
|
|
2661
|
+
bodyMapper: Agent,
|
|
2500
2662
|
},
|
|
2501
2663
|
default: {
|
|
2502
|
-
bodyMapper: ErrorResponse
|
|
2503
|
-
}
|
|
2664
|
+
bodyMapper: ErrorResponse,
|
|
2665
|
+
},
|
|
2504
2666
|
},
|
|
2505
2667
|
queryParameters: [apiVersion],
|
|
2506
2668
|
urlParameters: [
|
|
@@ -2508,21 +2670,21 @@ const getOperationSpec$4 = {
|
|
|
2508
2670
|
subscriptionId,
|
|
2509
2671
|
resourceGroupName,
|
|
2510
2672
|
storageMoverName,
|
|
2511
|
-
agentName
|
|
2673
|
+
agentName,
|
|
2512
2674
|
],
|
|
2513
2675
|
headerParameters: [accept],
|
|
2514
|
-
serializer: serializer$4
|
|
2676
|
+
serializer: serializer$4,
|
|
2515
2677
|
};
|
|
2516
2678
|
const createOrUpdateOperationSpec$3 = {
|
|
2517
2679
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}",
|
|
2518
2680
|
httpMethod: "PUT",
|
|
2519
2681
|
responses: {
|
|
2520
2682
|
200: {
|
|
2521
|
-
bodyMapper: Agent
|
|
2683
|
+
bodyMapper: Agent,
|
|
2522
2684
|
},
|
|
2523
2685
|
default: {
|
|
2524
|
-
bodyMapper: ErrorResponse
|
|
2525
|
-
}
|
|
2686
|
+
bodyMapper: ErrorResponse,
|
|
2687
|
+
},
|
|
2526
2688
|
},
|
|
2527
2689
|
requestBody: agent,
|
|
2528
2690
|
queryParameters: [apiVersion],
|
|
@@ -2531,22 +2693,22 @@ const createOrUpdateOperationSpec$3 = {
|
|
|
2531
2693
|
subscriptionId,
|
|
2532
2694
|
resourceGroupName,
|
|
2533
2695
|
storageMoverName,
|
|
2534
|
-
agentName
|
|
2696
|
+
agentName,
|
|
2535
2697
|
],
|
|
2536
2698
|
headerParameters: [accept, contentType],
|
|
2537
2699
|
mediaType: "json",
|
|
2538
|
-
serializer: serializer$4
|
|
2700
|
+
serializer: serializer$4,
|
|
2539
2701
|
};
|
|
2540
2702
|
const updateOperationSpec$3 = {
|
|
2541
2703
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}",
|
|
2542
2704
|
httpMethod: "PATCH",
|
|
2543
2705
|
responses: {
|
|
2544
2706
|
200: {
|
|
2545
|
-
bodyMapper: Agent
|
|
2707
|
+
bodyMapper: Agent,
|
|
2546
2708
|
},
|
|
2547
2709
|
default: {
|
|
2548
|
-
bodyMapper: ErrorResponse
|
|
2549
|
-
}
|
|
2710
|
+
bodyMapper: ErrorResponse,
|
|
2711
|
+
},
|
|
2550
2712
|
},
|
|
2551
2713
|
requestBody: agent1,
|
|
2552
2714
|
queryParameters: [apiVersion],
|
|
@@ -2555,11 +2717,11 @@ const updateOperationSpec$3 = {
|
|
|
2555
2717
|
subscriptionId,
|
|
2556
2718
|
resourceGroupName,
|
|
2557
2719
|
storageMoverName,
|
|
2558
|
-
agentName
|
|
2720
|
+
agentName,
|
|
2559
2721
|
],
|
|
2560
2722
|
headerParameters: [accept, contentType],
|
|
2561
2723
|
mediaType: "json",
|
|
2562
|
-
serializer: serializer$4
|
|
2724
|
+
serializer: serializer$4,
|
|
2563
2725
|
};
|
|
2564
2726
|
const deleteOperationSpec$3 = {
|
|
2565
2727
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}",
|
|
@@ -2570,8 +2732,8 @@ const deleteOperationSpec$3 = {
|
|
|
2570
2732
|
202: {},
|
|
2571
2733
|
204: {},
|
|
2572
2734
|
default: {
|
|
2573
|
-
bodyMapper: ErrorResponse
|
|
2574
|
-
}
|
|
2735
|
+
bodyMapper: ErrorResponse,
|
|
2736
|
+
},
|
|
2575
2737
|
},
|
|
2576
2738
|
queryParameters: [apiVersion],
|
|
2577
2739
|
urlParameters: [
|
|
@@ -2579,31 +2741,31 @@ const deleteOperationSpec$3 = {
|
|
|
2579
2741
|
subscriptionId,
|
|
2580
2742
|
resourceGroupName,
|
|
2581
2743
|
storageMoverName,
|
|
2582
|
-
agentName
|
|
2744
|
+
agentName,
|
|
2583
2745
|
],
|
|
2584
2746
|
headerParameters: [accept],
|
|
2585
|
-
serializer: serializer$4
|
|
2747
|
+
serializer: serializer$4,
|
|
2586
2748
|
};
|
|
2587
2749
|
const listNextOperationSpec$4 = {
|
|
2588
2750
|
path: "{nextLink}",
|
|
2589
2751
|
httpMethod: "GET",
|
|
2590
2752
|
responses: {
|
|
2591
2753
|
200: {
|
|
2592
|
-
bodyMapper: AgentList
|
|
2754
|
+
bodyMapper: AgentList,
|
|
2593
2755
|
},
|
|
2594
2756
|
default: {
|
|
2595
|
-
bodyMapper: ErrorResponse
|
|
2596
|
-
}
|
|
2757
|
+
bodyMapper: ErrorResponse,
|
|
2758
|
+
},
|
|
2597
2759
|
},
|
|
2598
2760
|
urlParameters: [
|
|
2599
2761
|
$host,
|
|
2600
2762
|
nextLink,
|
|
2601
2763
|
subscriptionId,
|
|
2602
2764
|
resourceGroupName,
|
|
2603
|
-
storageMoverName
|
|
2765
|
+
storageMoverName,
|
|
2604
2766
|
],
|
|
2605
2767
|
headerParameters: [accept],
|
|
2606
|
-
serializer: serializer$4
|
|
2768
|
+
serializer: serializer$4,
|
|
2607
2769
|
};
|
|
2608
2770
|
|
|
2609
2771
|
/*
|
|
@@ -2643,7 +2805,7 @@ class EndpointsImpl {
|
|
|
2643
2805
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2644
2806
|
}
|
|
2645
2807
|
return this.listPagingPage(resourceGroupName, storageMoverName, options, settings);
|
|
2646
|
-
}
|
|
2808
|
+
},
|
|
2647
2809
|
};
|
|
2648
2810
|
}
|
|
2649
2811
|
listPagingPage(resourceGroupName, storageMoverName, options, settings) {
|
|
@@ -2755,19 +2917,19 @@ class EndpointsImpl {
|
|
|
2755
2917
|
rawResponse: {
|
|
2756
2918
|
statusCode: currentRawResponse.status,
|
|
2757
2919
|
body: currentRawResponse.parsedBody,
|
|
2758
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2759
|
-
}
|
|
2920
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2921
|
+
},
|
|
2760
2922
|
};
|
|
2761
2923
|
});
|
|
2762
2924
|
const lro = createLroSpec({
|
|
2763
2925
|
sendOperationFn,
|
|
2764
2926
|
args: { resourceGroupName, storageMoverName, endpointName, options },
|
|
2765
|
-
spec: deleteOperationSpec$2
|
|
2927
|
+
spec: deleteOperationSpec$2,
|
|
2766
2928
|
});
|
|
2767
2929
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2768
2930
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2769
2931
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2770
|
-
resourceLocationConfig: "location"
|
|
2932
|
+
resourceLocationConfig: "location",
|
|
2771
2933
|
});
|
|
2772
2934
|
yield poller.poll();
|
|
2773
2935
|
return poller;
|
|
@@ -2804,32 +2966,32 @@ const listOperationSpec$3 = {
|
|
|
2804
2966
|
httpMethod: "GET",
|
|
2805
2967
|
responses: {
|
|
2806
2968
|
200: {
|
|
2807
|
-
bodyMapper: EndpointList
|
|
2969
|
+
bodyMapper: EndpointList,
|
|
2808
2970
|
},
|
|
2809
2971
|
default: {
|
|
2810
|
-
bodyMapper: ErrorResponse
|
|
2811
|
-
}
|
|
2972
|
+
bodyMapper: ErrorResponse,
|
|
2973
|
+
},
|
|
2812
2974
|
},
|
|
2813
2975
|
queryParameters: [apiVersion],
|
|
2814
2976
|
urlParameters: [
|
|
2815
2977
|
$host,
|
|
2816
2978
|
subscriptionId,
|
|
2817
2979
|
resourceGroupName,
|
|
2818
|
-
storageMoverName
|
|
2980
|
+
storageMoverName,
|
|
2819
2981
|
],
|
|
2820
2982
|
headerParameters: [accept],
|
|
2821
|
-
serializer: serializer$3
|
|
2983
|
+
serializer: serializer$3,
|
|
2822
2984
|
};
|
|
2823
2985
|
const getOperationSpec$3 = {
|
|
2824
2986
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}",
|
|
2825
2987
|
httpMethod: "GET",
|
|
2826
2988
|
responses: {
|
|
2827
2989
|
200: {
|
|
2828
|
-
bodyMapper: Endpoint
|
|
2990
|
+
bodyMapper: Endpoint,
|
|
2829
2991
|
},
|
|
2830
2992
|
default: {
|
|
2831
|
-
bodyMapper: ErrorResponse
|
|
2832
|
-
}
|
|
2993
|
+
bodyMapper: ErrorResponse,
|
|
2994
|
+
},
|
|
2833
2995
|
},
|
|
2834
2996
|
queryParameters: [apiVersion],
|
|
2835
2997
|
urlParameters: [
|
|
@@ -2837,21 +2999,21 @@ const getOperationSpec$3 = {
|
|
|
2837
2999
|
subscriptionId,
|
|
2838
3000
|
resourceGroupName,
|
|
2839
3001
|
storageMoverName,
|
|
2840
|
-
endpointName
|
|
3002
|
+
endpointName,
|
|
2841
3003
|
],
|
|
2842
3004
|
headerParameters: [accept],
|
|
2843
|
-
serializer: serializer$3
|
|
3005
|
+
serializer: serializer$3,
|
|
2844
3006
|
};
|
|
2845
3007
|
const createOrUpdateOperationSpec$2 = {
|
|
2846
3008
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}",
|
|
2847
3009
|
httpMethod: "PUT",
|
|
2848
3010
|
responses: {
|
|
2849
3011
|
200: {
|
|
2850
|
-
bodyMapper: Endpoint
|
|
3012
|
+
bodyMapper: Endpoint,
|
|
2851
3013
|
},
|
|
2852
3014
|
default: {
|
|
2853
|
-
bodyMapper: ErrorResponse
|
|
2854
|
-
}
|
|
3015
|
+
bodyMapper: ErrorResponse,
|
|
3016
|
+
},
|
|
2855
3017
|
},
|
|
2856
3018
|
requestBody: endpoint,
|
|
2857
3019
|
queryParameters: [apiVersion],
|
|
@@ -2860,22 +3022,22 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
2860
3022
|
subscriptionId,
|
|
2861
3023
|
resourceGroupName,
|
|
2862
3024
|
storageMoverName,
|
|
2863
|
-
endpointName
|
|
3025
|
+
endpointName,
|
|
2864
3026
|
],
|
|
2865
3027
|
headerParameters: [accept, contentType],
|
|
2866
3028
|
mediaType: "json",
|
|
2867
|
-
serializer: serializer$3
|
|
3029
|
+
serializer: serializer$3,
|
|
2868
3030
|
};
|
|
2869
3031
|
const updateOperationSpec$2 = {
|
|
2870
3032
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}",
|
|
2871
3033
|
httpMethod: "PATCH",
|
|
2872
3034
|
responses: {
|
|
2873
3035
|
200: {
|
|
2874
|
-
bodyMapper: Endpoint
|
|
3036
|
+
bodyMapper: Endpoint,
|
|
2875
3037
|
},
|
|
2876
3038
|
default: {
|
|
2877
|
-
bodyMapper: ErrorResponse
|
|
2878
|
-
}
|
|
3039
|
+
bodyMapper: ErrorResponse,
|
|
3040
|
+
},
|
|
2879
3041
|
},
|
|
2880
3042
|
requestBody: endpoint1,
|
|
2881
3043
|
queryParameters: [apiVersion],
|
|
@@ -2884,11 +3046,11 @@ const updateOperationSpec$2 = {
|
|
|
2884
3046
|
subscriptionId,
|
|
2885
3047
|
resourceGroupName,
|
|
2886
3048
|
storageMoverName,
|
|
2887
|
-
endpointName
|
|
3049
|
+
endpointName,
|
|
2888
3050
|
],
|
|
2889
3051
|
headerParameters: [accept, contentType],
|
|
2890
3052
|
mediaType: "json",
|
|
2891
|
-
serializer: serializer$3
|
|
3053
|
+
serializer: serializer$3,
|
|
2892
3054
|
};
|
|
2893
3055
|
const deleteOperationSpec$2 = {
|
|
2894
3056
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}",
|
|
@@ -2899,8 +3061,8 @@ const deleteOperationSpec$2 = {
|
|
|
2899
3061
|
202: {},
|
|
2900
3062
|
204: {},
|
|
2901
3063
|
default: {
|
|
2902
|
-
bodyMapper: ErrorResponse
|
|
2903
|
-
}
|
|
3064
|
+
bodyMapper: ErrorResponse,
|
|
3065
|
+
},
|
|
2904
3066
|
},
|
|
2905
3067
|
queryParameters: [apiVersion],
|
|
2906
3068
|
urlParameters: [
|
|
@@ -2908,31 +3070,31 @@ const deleteOperationSpec$2 = {
|
|
|
2908
3070
|
subscriptionId,
|
|
2909
3071
|
resourceGroupName,
|
|
2910
3072
|
storageMoverName,
|
|
2911
|
-
endpointName
|
|
3073
|
+
endpointName,
|
|
2912
3074
|
],
|
|
2913
3075
|
headerParameters: [accept],
|
|
2914
|
-
serializer: serializer$3
|
|
3076
|
+
serializer: serializer$3,
|
|
2915
3077
|
};
|
|
2916
3078
|
const listNextOperationSpec$3 = {
|
|
2917
3079
|
path: "{nextLink}",
|
|
2918
3080
|
httpMethod: "GET",
|
|
2919
3081
|
responses: {
|
|
2920
3082
|
200: {
|
|
2921
|
-
bodyMapper: EndpointList
|
|
3083
|
+
bodyMapper: EndpointList,
|
|
2922
3084
|
},
|
|
2923
3085
|
default: {
|
|
2924
|
-
bodyMapper: ErrorResponse
|
|
2925
|
-
}
|
|
3086
|
+
bodyMapper: ErrorResponse,
|
|
3087
|
+
},
|
|
2926
3088
|
},
|
|
2927
3089
|
urlParameters: [
|
|
2928
3090
|
$host,
|
|
2929
3091
|
nextLink,
|
|
2930
3092
|
subscriptionId,
|
|
2931
3093
|
resourceGroupName,
|
|
2932
|
-
storageMoverName
|
|
3094
|
+
storageMoverName,
|
|
2933
3095
|
],
|
|
2934
3096
|
headerParameters: [accept],
|
|
2935
|
-
serializer: serializer$3
|
|
3097
|
+
serializer: serializer$3,
|
|
2936
3098
|
};
|
|
2937
3099
|
|
|
2938
3100
|
/*
|
|
@@ -2972,7 +3134,7 @@ class ProjectsImpl {
|
|
|
2972
3134
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2973
3135
|
}
|
|
2974
3136
|
return this.listPagingPage(resourceGroupName, storageMoverName, options, settings);
|
|
2975
|
-
}
|
|
3137
|
+
},
|
|
2976
3138
|
};
|
|
2977
3139
|
}
|
|
2978
3140
|
listPagingPage(resourceGroupName, storageMoverName, options, settings) {
|
|
@@ -3084,19 +3246,19 @@ class ProjectsImpl {
|
|
|
3084
3246
|
rawResponse: {
|
|
3085
3247
|
statusCode: currentRawResponse.status,
|
|
3086
3248
|
body: currentRawResponse.parsedBody,
|
|
3087
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3088
|
-
}
|
|
3249
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3250
|
+
},
|
|
3089
3251
|
};
|
|
3090
3252
|
});
|
|
3091
3253
|
const lro = createLroSpec({
|
|
3092
3254
|
sendOperationFn,
|
|
3093
3255
|
args: { resourceGroupName, storageMoverName, projectName, options },
|
|
3094
|
-
spec: deleteOperationSpec$1
|
|
3256
|
+
spec: deleteOperationSpec$1,
|
|
3095
3257
|
});
|
|
3096
3258
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3097
3259
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3098
3260
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3099
|
-
resourceLocationConfig: "location"
|
|
3261
|
+
resourceLocationConfig: "location",
|
|
3100
3262
|
});
|
|
3101
3263
|
yield poller.poll();
|
|
3102
3264
|
return poller;
|
|
@@ -3133,32 +3295,32 @@ const listOperationSpec$2 = {
|
|
|
3133
3295
|
httpMethod: "GET",
|
|
3134
3296
|
responses: {
|
|
3135
3297
|
200: {
|
|
3136
|
-
bodyMapper: ProjectList
|
|
3298
|
+
bodyMapper: ProjectList,
|
|
3137
3299
|
},
|
|
3138
3300
|
default: {
|
|
3139
|
-
bodyMapper: ErrorResponse
|
|
3140
|
-
}
|
|
3301
|
+
bodyMapper: ErrorResponse,
|
|
3302
|
+
},
|
|
3141
3303
|
},
|
|
3142
3304
|
queryParameters: [apiVersion],
|
|
3143
3305
|
urlParameters: [
|
|
3144
3306
|
$host,
|
|
3145
3307
|
subscriptionId,
|
|
3146
3308
|
resourceGroupName,
|
|
3147
|
-
storageMoverName
|
|
3309
|
+
storageMoverName,
|
|
3148
3310
|
],
|
|
3149
3311
|
headerParameters: [accept],
|
|
3150
|
-
serializer: serializer$2
|
|
3312
|
+
serializer: serializer$2,
|
|
3151
3313
|
};
|
|
3152
3314
|
const getOperationSpec$2 = {
|
|
3153
3315
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}",
|
|
3154
3316
|
httpMethod: "GET",
|
|
3155
3317
|
responses: {
|
|
3156
3318
|
200: {
|
|
3157
|
-
bodyMapper: Project
|
|
3319
|
+
bodyMapper: Project,
|
|
3158
3320
|
},
|
|
3159
3321
|
default: {
|
|
3160
|
-
bodyMapper: ErrorResponse
|
|
3161
|
-
}
|
|
3322
|
+
bodyMapper: ErrorResponse,
|
|
3323
|
+
},
|
|
3162
3324
|
},
|
|
3163
3325
|
queryParameters: [apiVersion],
|
|
3164
3326
|
urlParameters: [
|
|
@@ -3166,21 +3328,21 @@ const getOperationSpec$2 = {
|
|
|
3166
3328
|
subscriptionId,
|
|
3167
3329
|
resourceGroupName,
|
|
3168
3330
|
storageMoverName,
|
|
3169
|
-
projectName
|
|
3331
|
+
projectName,
|
|
3170
3332
|
],
|
|
3171
3333
|
headerParameters: [accept],
|
|
3172
|
-
serializer: serializer$2
|
|
3334
|
+
serializer: serializer$2,
|
|
3173
3335
|
};
|
|
3174
3336
|
const createOrUpdateOperationSpec$1 = {
|
|
3175
3337
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}",
|
|
3176
3338
|
httpMethod: "PUT",
|
|
3177
3339
|
responses: {
|
|
3178
3340
|
200: {
|
|
3179
|
-
bodyMapper: Project
|
|
3341
|
+
bodyMapper: Project,
|
|
3180
3342
|
},
|
|
3181
3343
|
default: {
|
|
3182
|
-
bodyMapper: ErrorResponse
|
|
3183
|
-
}
|
|
3344
|
+
bodyMapper: ErrorResponse,
|
|
3345
|
+
},
|
|
3184
3346
|
},
|
|
3185
3347
|
requestBody: project,
|
|
3186
3348
|
queryParameters: [apiVersion],
|
|
@@ -3189,22 +3351,22 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
3189
3351
|
subscriptionId,
|
|
3190
3352
|
resourceGroupName,
|
|
3191
3353
|
storageMoverName,
|
|
3192
|
-
projectName
|
|
3354
|
+
projectName,
|
|
3193
3355
|
],
|
|
3194
3356
|
headerParameters: [accept, contentType],
|
|
3195
3357
|
mediaType: "json",
|
|
3196
|
-
serializer: serializer$2
|
|
3358
|
+
serializer: serializer$2,
|
|
3197
3359
|
};
|
|
3198
3360
|
const updateOperationSpec$1 = {
|
|
3199
3361
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}",
|
|
3200
3362
|
httpMethod: "PATCH",
|
|
3201
3363
|
responses: {
|
|
3202
3364
|
200: {
|
|
3203
|
-
bodyMapper: Project
|
|
3365
|
+
bodyMapper: Project,
|
|
3204
3366
|
},
|
|
3205
3367
|
default: {
|
|
3206
|
-
bodyMapper: ErrorResponse
|
|
3207
|
-
}
|
|
3368
|
+
bodyMapper: ErrorResponse,
|
|
3369
|
+
},
|
|
3208
3370
|
},
|
|
3209
3371
|
requestBody: project1,
|
|
3210
3372
|
queryParameters: [apiVersion],
|
|
@@ -3213,11 +3375,11 @@ const updateOperationSpec$1 = {
|
|
|
3213
3375
|
subscriptionId,
|
|
3214
3376
|
resourceGroupName,
|
|
3215
3377
|
storageMoverName,
|
|
3216
|
-
projectName
|
|
3378
|
+
projectName,
|
|
3217
3379
|
],
|
|
3218
3380
|
headerParameters: [accept, contentType],
|
|
3219
3381
|
mediaType: "json",
|
|
3220
|
-
serializer: serializer$2
|
|
3382
|
+
serializer: serializer$2,
|
|
3221
3383
|
};
|
|
3222
3384
|
const deleteOperationSpec$1 = {
|
|
3223
3385
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}",
|
|
@@ -3228,8 +3390,8 @@ const deleteOperationSpec$1 = {
|
|
|
3228
3390
|
202: {},
|
|
3229
3391
|
204: {},
|
|
3230
3392
|
default: {
|
|
3231
|
-
bodyMapper: ErrorResponse
|
|
3232
|
-
}
|
|
3393
|
+
bodyMapper: ErrorResponse,
|
|
3394
|
+
},
|
|
3233
3395
|
},
|
|
3234
3396
|
queryParameters: [apiVersion],
|
|
3235
3397
|
urlParameters: [
|
|
@@ -3237,31 +3399,31 @@ const deleteOperationSpec$1 = {
|
|
|
3237
3399
|
subscriptionId,
|
|
3238
3400
|
resourceGroupName,
|
|
3239
3401
|
storageMoverName,
|
|
3240
|
-
projectName
|
|
3402
|
+
projectName,
|
|
3241
3403
|
],
|
|
3242
3404
|
headerParameters: [accept],
|
|
3243
|
-
serializer: serializer$2
|
|
3405
|
+
serializer: serializer$2,
|
|
3244
3406
|
};
|
|
3245
3407
|
const listNextOperationSpec$2 = {
|
|
3246
3408
|
path: "{nextLink}",
|
|
3247
3409
|
httpMethod: "GET",
|
|
3248
3410
|
responses: {
|
|
3249
3411
|
200: {
|
|
3250
|
-
bodyMapper: ProjectList
|
|
3412
|
+
bodyMapper: ProjectList,
|
|
3251
3413
|
},
|
|
3252
3414
|
default: {
|
|
3253
|
-
bodyMapper: ErrorResponse
|
|
3254
|
-
}
|
|
3415
|
+
bodyMapper: ErrorResponse,
|
|
3416
|
+
},
|
|
3255
3417
|
},
|
|
3256
3418
|
urlParameters: [
|
|
3257
3419
|
$host,
|
|
3258
3420
|
nextLink,
|
|
3259
3421
|
subscriptionId,
|
|
3260
3422
|
resourceGroupName,
|
|
3261
|
-
storageMoverName
|
|
3423
|
+
storageMoverName,
|
|
3262
3424
|
],
|
|
3263
3425
|
headerParameters: [accept],
|
|
3264
|
-
serializer: serializer$2
|
|
3426
|
+
serializer: serializer$2,
|
|
3265
3427
|
};
|
|
3266
3428
|
|
|
3267
3429
|
/*
|
|
@@ -3302,7 +3464,7 @@ class JobDefinitionsImpl {
|
|
|
3302
3464
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
3303
3465
|
}
|
|
3304
3466
|
return this.listPagingPage(resourceGroupName, storageMoverName, projectName, options, settings);
|
|
3305
|
-
}
|
|
3467
|
+
},
|
|
3306
3468
|
};
|
|
3307
3469
|
}
|
|
3308
3470
|
listPagingPage(resourceGroupName, storageMoverName, projectName, options, settings) {
|
|
@@ -3369,7 +3531,7 @@ class JobDefinitionsImpl {
|
|
|
3369
3531
|
storageMoverName,
|
|
3370
3532
|
projectName,
|
|
3371
3533
|
jobDefinitionName,
|
|
3372
|
-
options
|
|
3534
|
+
options,
|
|
3373
3535
|
}, getOperationSpec$1);
|
|
3374
3536
|
}
|
|
3375
3537
|
/**
|
|
@@ -3389,7 +3551,7 @@ class JobDefinitionsImpl {
|
|
|
3389
3551
|
projectName,
|
|
3390
3552
|
jobDefinitionName,
|
|
3391
3553
|
jobDefinition,
|
|
3392
|
-
options
|
|
3554
|
+
options,
|
|
3393
3555
|
}, createOrUpdateOperationSpec);
|
|
3394
3556
|
}
|
|
3395
3557
|
/**
|
|
@@ -3409,7 +3571,7 @@ class JobDefinitionsImpl {
|
|
|
3409
3571
|
projectName,
|
|
3410
3572
|
jobDefinitionName,
|
|
3411
3573
|
jobDefinition,
|
|
3412
|
-
options
|
|
3574
|
+
options,
|
|
3413
3575
|
}, updateOperationSpec);
|
|
3414
3576
|
}
|
|
3415
3577
|
/**
|
|
@@ -3440,8 +3602,8 @@ class JobDefinitionsImpl {
|
|
|
3440
3602
|
rawResponse: {
|
|
3441
3603
|
statusCode: currentRawResponse.status,
|
|
3442
3604
|
body: currentRawResponse.parsedBody,
|
|
3443
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3444
|
-
}
|
|
3605
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3606
|
+
},
|
|
3445
3607
|
};
|
|
3446
3608
|
});
|
|
3447
3609
|
const lro = createLroSpec({
|
|
@@ -3451,14 +3613,14 @@ class JobDefinitionsImpl {
|
|
|
3451
3613
|
storageMoverName,
|
|
3452
3614
|
projectName,
|
|
3453
3615
|
jobDefinitionName,
|
|
3454
|
-
options
|
|
3616
|
+
options,
|
|
3455
3617
|
},
|
|
3456
|
-
spec: deleteOperationSpec
|
|
3618
|
+
spec: deleteOperationSpec,
|
|
3457
3619
|
});
|
|
3458
3620
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3459
3621
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3460
3622
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3461
|
-
resourceLocationConfig: "location"
|
|
3623
|
+
resourceLocationConfig: "location",
|
|
3462
3624
|
});
|
|
3463
3625
|
yield poller.poll();
|
|
3464
3626
|
return poller;
|
|
@@ -3479,7 +3641,8 @@ class JobDefinitionsImpl {
|
|
|
3479
3641
|
});
|
|
3480
3642
|
}
|
|
3481
3643
|
/**
|
|
3482
|
-
*
|
|
3644
|
+
* Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for
|
|
3645
|
+
* execution.
|
|
3483
3646
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3484
3647
|
* @param storageMoverName The name of the Storage Mover resource.
|
|
3485
3648
|
* @param projectName The name of the Project resource.
|
|
@@ -3492,7 +3655,7 @@ class JobDefinitionsImpl {
|
|
|
3492
3655
|
storageMoverName,
|
|
3493
3656
|
projectName,
|
|
3494
3657
|
jobDefinitionName,
|
|
3495
|
-
options
|
|
3658
|
+
options,
|
|
3496
3659
|
}, startJobOperationSpec);
|
|
3497
3660
|
}
|
|
3498
3661
|
/**
|
|
@@ -3509,7 +3672,7 @@ class JobDefinitionsImpl {
|
|
|
3509
3672
|
storageMoverName,
|
|
3510
3673
|
projectName,
|
|
3511
3674
|
jobDefinitionName,
|
|
3512
|
-
options
|
|
3675
|
+
options,
|
|
3513
3676
|
}, stopJobOperationSpec);
|
|
3514
3677
|
}
|
|
3515
3678
|
/**
|
|
@@ -3531,11 +3694,11 @@ const listOperationSpec$1 = {
|
|
|
3531
3694
|
httpMethod: "GET",
|
|
3532
3695
|
responses: {
|
|
3533
3696
|
200: {
|
|
3534
|
-
bodyMapper: JobDefinitionList
|
|
3697
|
+
bodyMapper: JobDefinitionList,
|
|
3535
3698
|
},
|
|
3536
3699
|
default: {
|
|
3537
|
-
bodyMapper: ErrorResponse
|
|
3538
|
-
}
|
|
3700
|
+
bodyMapper: ErrorResponse,
|
|
3701
|
+
},
|
|
3539
3702
|
},
|
|
3540
3703
|
queryParameters: [apiVersion],
|
|
3541
3704
|
urlParameters: [
|
|
@@ -3543,21 +3706,21 @@ const listOperationSpec$1 = {
|
|
|
3543
3706
|
subscriptionId,
|
|
3544
3707
|
resourceGroupName,
|
|
3545
3708
|
storageMoverName,
|
|
3546
|
-
projectName
|
|
3709
|
+
projectName,
|
|
3547
3710
|
],
|
|
3548
3711
|
headerParameters: [accept],
|
|
3549
|
-
serializer: serializer$1
|
|
3712
|
+
serializer: serializer$1,
|
|
3550
3713
|
};
|
|
3551
3714
|
const getOperationSpec$1 = {
|
|
3552
3715
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}",
|
|
3553
3716
|
httpMethod: "GET",
|
|
3554
3717
|
responses: {
|
|
3555
3718
|
200: {
|
|
3556
|
-
bodyMapper: JobDefinition
|
|
3719
|
+
bodyMapper: JobDefinition,
|
|
3557
3720
|
},
|
|
3558
3721
|
default: {
|
|
3559
|
-
bodyMapper: ErrorResponse
|
|
3560
|
-
}
|
|
3722
|
+
bodyMapper: ErrorResponse,
|
|
3723
|
+
},
|
|
3561
3724
|
},
|
|
3562
3725
|
queryParameters: [apiVersion],
|
|
3563
3726
|
urlParameters: [
|
|
@@ -3566,21 +3729,21 @@ const getOperationSpec$1 = {
|
|
|
3566
3729
|
resourceGroupName,
|
|
3567
3730
|
storageMoverName,
|
|
3568
3731
|
projectName,
|
|
3569
|
-
jobDefinitionName
|
|
3732
|
+
jobDefinitionName,
|
|
3570
3733
|
],
|
|
3571
3734
|
headerParameters: [accept],
|
|
3572
|
-
serializer: serializer$1
|
|
3735
|
+
serializer: serializer$1,
|
|
3573
3736
|
};
|
|
3574
3737
|
const createOrUpdateOperationSpec = {
|
|
3575
3738
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}",
|
|
3576
3739
|
httpMethod: "PUT",
|
|
3577
3740
|
responses: {
|
|
3578
3741
|
200: {
|
|
3579
|
-
bodyMapper: JobDefinition
|
|
3742
|
+
bodyMapper: JobDefinition,
|
|
3580
3743
|
},
|
|
3581
3744
|
default: {
|
|
3582
|
-
bodyMapper: ErrorResponse
|
|
3583
|
-
}
|
|
3745
|
+
bodyMapper: ErrorResponse,
|
|
3746
|
+
},
|
|
3584
3747
|
},
|
|
3585
3748
|
requestBody: jobDefinition,
|
|
3586
3749
|
queryParameters: [apiVersion],
|
|
@@ -3590,22 +3753,22 @@ const createOrUpdateOperationSpec = {
|
|
|
3590
3753
|
resourceGroupName,
|
|
3591
3754
|
storageMoverName,
|
|
3592
3755
|
projectName,
|
|
3593
|
-
jobDefinitionName
|
|
3756
|
+
jobDefinitionName,
|
|
3594
3757
|
],
|
|
3595
3758
|
headerParameters: [accept, contentType],
|
|
3596
3759
|
mediaType: "json",
|
|
3597
|
-
serializer: serializer$1
|
|
3760
|
+
serializer: serializer$1,
|
|
3598
3761
|
};
|
|
3599
3762
|
const updateOperationSpec = {
|
|
3600
3763
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}",
|
|
3601
3764
|
httpMethod: "PATCH",
|
|
3602
3765
|
responses: {
|
|
3603
3766
|
200: {
|
|
3604
|
-
bodyMapper: JobDefinition
|
|
3767
|
+
bodyMapper: JobDefinition,
|
|
3605
3768
|
},
|
|
3606
3769
|
default: {
|
|
3607
|
-
bodyMapper: ErrorResponse
|
|
3608
|
-
}
|
|
3770
|
+
bodyMapper: ErrorResponse,
|
|
3771
|
+
},
|
|
3609
3772
|
},
|
|
3610
3773
|
requestBody: jobDefinition1,
|
|
3611
3774
|
queryParameters: [apiVersion],
|
|
@@ -3615,11 +3778,11 @@ const updateOperationSpec = {
|
|
|
3615
3778
|
resourceGroupName,
|
|
3616
3779
|
storageMoverName,
|
|
3617
3780
|
projectName,
|
|
3618
|
-
jobDefinitionName
|
|
3781
|
+
jobDefinitionName,
|
|
3619
3782
|
],
|
|
3620
3783
|
headerParameters: [accept, contentType],
|
|
3621
3784
|
mediaType: "json",
|
|
3622
|
-
serializer: serializer$1
|
|
3785
|
+
serializer: serializer$1,
|
|
3623
3786
|
};
|
|
3624
3787
|
const deleteOperationSpec = {
|
|
3625
3788
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}",
|
|
@@ -3630,8 +3793,8 @@ const deleteOperationSpec = {
|
|
|
3630
3793
|
202: {},
|
|
3631
3794
|
204: {},
|
|
3632
3795
|
default: {
|
|
3633
|
-
bodyMapper: ErrorResponse
|
|
3634
|
-
}
|
|
3796
|
+
bodyMapper: ErrorResponse,
|
|
3797
|
+
},
|
|
3635
3798
|
},
|
|
3636
3799
|
queryParameters: [apiVersion],
|
|
3637
3800
|
urlParameters: [
|
|
@@ -3640,21 +3803,21 @@ const deleteOperationSpec = {
|
|
|
3640
3803
|
resourceGroupName,
|
|
3641
3804
|
storageMoverName,
|
|
3642
3805
|
projectName,
|
|
3643
|
-
jobDefinitionName
|
|
3806
|
+
jobDefinitionName,
|
|
3644
3807
|
],
|
|
3645
3808
|
headerParameters: [accept],
|
|
3646
|
-
serializer: serializer$1
|
|
3809
|
+
serializer: serializer$1,
|
|
3647
3810
|
};
|
|
3648
3811
|
const startJobOperationSpec = {
|
|
3649
3812
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob",
|
|
3650
3813
|
httpMethod: "POST",
|
|
3651
3814
|
responses: {
|
|
3652
3815
|
200: {
|
|
3653
|
-
bodyMapper: JobRunResourceId
|
|
3816
|
+
bodyMapper: JobRunResourceId,
|
|
3654
3817
|
},
|
|
3655
3818
|
default: {
|
|
3656
|
-
bodyMapper: ErrorResponse
|
|
3657
|
-
}
|
|
3819
|
+
bodyMapper: ErrorResponse,
|
|
3820
|
+
},
|
|
3658
3821
|
},
|
|
3659
3822
|
queryParameters: [apiVersion],
|
|
3660
3823
|
urlParameters: [
|
|
@@ -3663,21 +3826,21 @@ const startJobOperationSpec = {
|
|
|
3663
3826
|
resourceGroupName,
|
|
3664
3827
|
storageMoverName,
|
|
3665
3828
|
projectName,
|
|
3666
|
-
jobDefinitionName
|
|
3829
|
+
jobDefinitionName,
|
|
3667
3830
|
],
|
|
3668
3831
|
headerParameters: [accept],
|
|
3669
|
-
serializer: serializer$1
|
|
3832
|
+
serializer: serializer$1,
|
|
3670
3833
|
};
|
|
3671
3834
|
const stopJobOperationSpec = {
|
|
3672
3835
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob",
|
|
3673
3836
|
httpMethod: "POST",
|
|
3674
3837
|
responses: {
|
|
3675
3838
|
200: {
|
|
3676
|
-
bodyMapper: JobRunResourceId
|
|
3839
|
+
bodyMapper: JobRunResourceId,
|
|
3677
3840
|
},
|
|
3678
3841
|
default: {
|
|
3679
|
-
bodyMapper: ErrorResponse
|
|
3680
|
-
}
|
|
3842
|
+
bodyMapper: ErrorResponse,
|
|
3843
|
+
},
|
|
3681
3844
|
},
|
|
3682
3845
|
queryParameters: [apiVersion],
|
|
3683
3846
|
urlParameters: [
|
|
@@ -3686,21 +3849,21 @@ const stopJobOperationSpec = {
|
|
|
3686
3849
|
resourceGroupName,
|
|
3687
3850
|
storageMoverName,
|
|
3688
3851
|
projectName,
|
|
3689
|
-
jobDefinitionName
|
|
3852
|
+
jobDefinitionName,
|
|
3690
3853
|
],
|
|
3691
3854
|
headerParameters: [accept],
|
|
3692
|
-
serializer: serializer$1
|
|
3855
|
+
serializer: serializer$1,
|
|
3693
3856
|
};
|
|
3694
3857
|
const listNextOperationSpec$1 = {
|
|
3695
3858
|
path: "{nextLink}",
|
|
3696
3859
|
httpMethod: "GET",
|
|
3697
3860
|
responses: {
|
|
3698
3861
|
200: {
|
|
3699
|
-
bodyMapper: JobDefinitionList
|
|
3862
|
+
bodyMapper: JobDefinitionList,
|
|
3700
3863
|
},
|
|
3701
3864
|
default: {
|
|
3702
|
-
bodyMapper: ErrorResponse
|
|
3703
|
-
}
|
|
3865
|
+
bodyMapper: ErrorResponse,
|
|
3866
|
+
},
|
|
3704
3867
|
},
|
|
3705
3868
|
urlParameters: [
|
|
3706
3869
|
$host,
|
|
@@ -3708,10 +3871,10 @@ const listNextOperationSpec$1 = {
|
|
|
3708
3871
|
subscriptionId,
|
|
3709
3872
|
resourceGroupName,
|
|
3710
3873
|
storageMoverName,
|
|
3711
|
-
projectName
|
|
3874
|
+
projectName,
|
|
3712
3875
|
],
|
|
3713
3876
|
headerParameters: [accept],
|
|
3714
|
-
serializer: serializer$1
|
|
3877
|
+
serializer: serializer$1,
|
|
3715
3878
|
};
|
|
3716
3879
|
|
|
3717
3880
|
/*
|
|
@@ -3753,7 +3916,7 @@ class JobRunsImpl {
|
|
|
3753
3916
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
3754
3917
|
}
|
|
3755
3918
|
return this.listPagingPage(resourceGroupName, storageMoverName, projectName, jobDefinitionName, options, settings);
|
|
3756
|
-
}
|
|
3919
|
+
},
|
|
3757
3920
|
};
|
|
3758
3921
|
}
|
|
3759
3922
|
listPagingPage(resourceGroupName, storageMoverName, projectName, jobDefinitionName, options, settings) {
|
|
@@ -3810,7 +3973,7 @@ class JobRunsImpl {
|
|
|
3810
3973
|
storageMoverName,
|
|
3811
3974
|
projectName,
|
|
3812
3975
|
jobDefinitionName,
|
|
3813
|
-
options
|
|
3976
|
+
options,
|
|
3814
3977
|
}, listOperationSpec);
|
|
3815
3978
|
}
|
|
3816
3979
|
/**
|
|
@@ -3829,7 +3992,7 @@ class JobRunsImpl {
|
|
|
3829
3992
|
projectName,
|
|
3830
3993
|
jobDefinitionName,
|
|
3831
3994
|
jobRunName,
|
|
3832
|
-
options
|
|
3995
|
+
options,
|
|
3833
3996
|
}, getOperationSpec);
|
|
3834
3997
|
}
|
|
3835
3998
|
/**
|
|
@@ -3848,7 +4011,7 @@ class JobRunsImpl {
|
|
|
3848
4011
|
projectName,
|
|
3849
4012
|
jobDefinitionName,
|
|
3850
4013
|
nextLink,
|
|
3851
|
-
options
|
|
4014
|
+
options,
|
|
3852
4015
|
}, listNextOperationSpec);
|
|
3853
4016
|
}
|
|
3854
4017
|
}
|
|
@@ -3859,11 +4022,11 @@ const listOperationSpec = {
|
|
|
3859
4022
|
httpMethod: "GET",
|
|
3860
4023
|
responses: {
|
|
3861
4024
|
200: {
|
|
3862
|
-
bodyMapper: JobRunList
|
|
4025
|
+
bodyMapper: JobRunList,
|
|
3863
4026
|
},
|
|
3864
4027
|
default: {
|
|
3865
|
-
bodyMapper: ErrorResponse
|
|
3866
|
-
}
|
|
4028
|
+
bodyMapper: ErrorResponse,
|
|
4029
|
+
},
|
|
3867
4030
|
},
|
|
3868
4031
|
queryParameters: [apiVersion],
|
|
3869
4032
|
urlParameters: [
|
|
@@ -3872,21 +4035,21 @@ const listOperationSpec = {
|
|
|
3872
4035
|
resourceGroupName,
|
|
3873
4036
|
storageMoverName,
|
|
3874
4037
|
projectName,
|
|
3875
|
-
jobDefinitionName
|
|
4038
|
+
jobDefinitionName,
|
|
3876
4039
|
],
|
|
3877
4040
|
headerParameters: [accept],
|
|
3878
|
-
serializer
|
|
4041
|
+
serializer,
|
|
3879
4042
|
};
|
|
3880
4043
|
const getOperationSpec = {
|
|
3881
4044
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}",
|
|
3882
4045
|
httpMethod: "GET",
|
|
3883
4046
|
responses: {
|
|
3884
4047
|
200: {
|
|
3885
|
-
bodyMapper: JobRun
|
|
4048
|
+
bodyMapper: JobRun,
|
|
3886
4049
|
},
|
|
3887
4050
|
default: {
|
|
3888
|
-
bodyMapper: ErrorResponse
|
|
3889
|
-
}
|
|
4051
|
+
bodyMapper: ErrorResponse,
|
|
4052
|
+
},
|
|
3890
4053
|
},
|
|
3891
4054
|
queryParameters: [apiVersion],
|
|
3892
4055
|
urlParameters: [
|
|
@@ -3896,21 +4059,21 @@ const getOperationSpec = {
|
|
|
3896
4059
|
storageMoverName,
|
|
3897
4060
|
projectName,
|
|
3898
4061
|
jobDefinitionName,
|
|
3899
|
-
jobRunName
|
|
4062
|
+
jobRunName,
|
|
3900
4063
|
],
|
|
3901
4064
|
headerParameters: [accept],
|
|
3902
|
-
serializer
|
|
4065
|
+
serializer,
|
|
3903
4066
|
};
|
|
3904
4067
|
const listNextOperationSpec = {
|
|
3905
4068
|
path: "{nextLink}",
|
|
3906
4069
|
httpMethod: "GET",
|
|
3907
4070
|
responses: {
|
|
3908
4071
|
200: {
|
|
3909
|
-
bodyMapper: JobRunList
|
|
4072
|
+
bodyMapper: JobRunList,
|
|
3910
4073
|
},
|
|
3911
4074
|
default: {
|
|
3912
|
-
bodyMapper: ErrorResponse
|
|
3913
|
-
}
|
|
4075
|
+
bodyMapper: ErrorResponse,
|
|
4076
|
+
},
|
|
3914
4077
|
},
|
|
3915
4078
|
urlParameters: [
|
|
3916
4079
|
$host,
|
|
@@ -3919,10 +4082,10 @@ const listNextOperationSpec = {
|
|
|
3919
4082
|
resourceGroupName,
|
|
3920
4083
|
storageMoverName,
|
|
3921
4084
|
projectName,
|
|
3922
|
-
jobDefinitionName
|
|
4085
|
+
jobDefinitionName,
|
|
3923
4086
|
],
|
|
3924
4087
|
headerParameters: [accept],
|
|
3925
|
-
serializer
|
|
4088
|
+
serializer,
|
|
3926
4089
|
};
|
|
3927
4090
|
|
|
3928
4091
|
/*
|
|
@@ -3953,14 +4116,14 @@ class StorageMoverClient extends coreClient__namespace.ServiceClient {
|
|
|
3953
4116
|
}
|
|
3954
4117
|
const defaults = {
|
|
3955
4118
|
requestContentType: "application/json; charset=utf-8",
|
|
3956
|
-
credential: credentials
|
|
4119
|
+
credential: credentials,
|
|
3957
4120
|
};
|
|
3958
|
-
const packageDetails = `azsdk-js-arm-storagemover/2.0
|
|
4121
|
+
const packageDetails = `azsdk-js-arm-storagemover/2.1.0`;
|
|
3959
4122
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3960
4123
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3961
4124
|
: `${packageDetails}`;
|
|
3962
4125
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
3963
|
-
userAgentPrefix
|
|
4126
|
+
userAgentPrefix,
|
|
3964
4127
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
3965
4128
|
super(optionsWithDefaults);
|
|
3966
4129
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -3974,21 +4137,21 @@ class StorageMoverClient extends coreClient__namespace.ServiceClient {
|
|
|
3974
4137
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
3975
4138
|
!bearerTokenAuthenticationPolicyFound) {
|
|
3976
4139
|
this.pipeline.removePolicy({
|
|
3977
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
4140
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
3978
4141
|
});
|
|
3979
4142
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
3980
4143
|
credential: credentials,
|
|
3981
4144
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
3982
4145
|
challengeCallbacks: {
|
|
3983
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
3984
|
-
}
|
|
4146
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
4147
|
+
},
|
|
3985
4148
|
}));
|
|
3986
4149
|
}
|
|
3987
4150
|
// Parameter assignments
|
|
3988
4151
|
this.subscriptionId = subscriptionId;
|
|
3989
4152
|
// Assigning values to Constant parameters
|
|
3990
4153
|
this.$host = options.$host || "https://management.azure.com";
|
|
3991
|
-
this.apiVersion = options.apiVersion || "
|
|
4154
|
+
this.apiVersion = options.apiVersion || "2024-07-01";
|
|
3992
4155
|
this.operations = new OperationsImpl(this);
|
|
3993
4156
|
this.storageMovers = new StorageMoversImpl(this);
|
|
3994
4157
|
this.agents = new AgentsImpl(this);
|
|
@@ -4021,7 +4184,7 @@ class StorageMoverClient extends coreClient__namespace.ServiceClient {
|
|
|
4021
4184
|
}
|
|
4022
4185
|
return next(request);
|
|
4023
4186
|
});
|
|
4024
|
-
}
|
|
4187
|
+
},
|
|
4025
4188
|
};
|
|
4026
4189
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
4027
4190
|
}
|