@azure/arm-databox 5.0.0-beta.3 → 5.0.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 +2 -2
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +791 -161
- 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/jobsBookShipmentPickUpSample.js +12 -5
- package/dist-esm/samples-dev/jobsBookShipmentPickUpSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsCancelSample.js +12 -5
- package/dist-esm/samples-dev/jobsCancelSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsCreateSample.js +93 -86
- package/dist-esm/samples-dev/jobsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsDeleteSample.js +12 -5
- package/dist-esm/samples-dev/jobsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsGetSample.js +32 -25
- package/dist-esm/samples-dev/jobsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.js +23 -9
- package/dist-esm/samples-dev/jobsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsListCredentialsSample.js +24 -10
- package/dist-esm/samples-dev/jobsListCredentialsSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsListSample.js +22 -8
- package/dist-esm/samples-dev/jobsListSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js +16 -6
- package/dist-esm/samples-dev/jobsMarkDevicesShippedSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsUpdateSample.js +39 -32
- package/dist-esm/samples-dev/jobsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/mitigateSample.js +16 -6
- package/dist-esm/samples-dev/mitigateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +23 -8
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js +24 -10
- package/dist-esm/samples-dev/serviceListAvailableSkusByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/serviceRegionConfigurationByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.js +10 -3
- package/dist-esm/samples-dev/serviceRegionConfigurationSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceValidateAddressSample.js +17 -10
- package/dist-esm/samples-dev/serviceValidateAddressSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js +20 -13
- package/dist-esm/samples-dev/serviceValidateInputsByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serviceValidateInputsSample.js +19 -12
- package/dist-esm/samples-dev/serviceValidateInputsSample.js.map +1 -1
- package/dist-esm/src/dataBoxManagementClient.js +2 -2
- package/dist-esm/src/dataBoxManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +361 -77
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +19 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +11 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +614 -46
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/jobs.d.ts +4 -4
- package/dist-esm/src/operations/jobs.d.ts.map +1 -1
- package/dist-esm/src/operations/jobs.js +62 -31
- package/dist-esm/src/operations/jobs.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -6
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/service.js +12 -6
- package/dist-esm/src/operations/service.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/databox_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/databox_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/databox_operations_test.spec.js +78 -0
- package/dist-esm/test/databox_operations_test.spec.js.map +1 -0
- package/package.json +11 -10
- package/review/arm-databox.api.md +123 -10
- package/src/dataBoxManagementClient.ts +2 -2
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +336 -30
- package/src/models/mappers.ts +634 -42
- package/src/models/parameters.ts +1 -1
- package/src/operations/jobs.ts +39 -31
- package/src/operations/operations.ts +0 -1
- package/src/operations/service.ts +0 -1
- package/src/operationsInterfaces/jobs.ts +4 -4
- package/src/pagingHelper.ts +4 -4
- package/types/arm-databox.d.ts +332 -35
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -215,20 +215,21 @@ export const CloudError = {
|
|
|
215
215
|
name: "Composite",
|
|
216
216
|
className: "CloudError",
|
|
217
217
|
modelProperties: {
|
|
218
|
-
|
|
219
|
-
serializedName: "
|
|
220
|
-
|
|
221
|
-
name: "String"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
message: {
|
|
225
|
-
serializedName: "message",
|
|
218
|
+
additionalInfo: {
|
|
219
|
+
serializedName: "additionalInfo",
|
|
220
|
+
readOnly: true,
|
|
226
221
|
type: {
|
|
227
|
-
name: "
|
|
222
|
+
name: "Sequence",
|
|
223
|
+
element: {
|
|
224
|
+
type: {
|
|
225
|
+
name: "Composite",
|
|
226
|
+
className: "AdditionalErrorInfo"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
228
229
|
}
|
|
229
230
|
},
|
|
230
|
-
|
|
231
|
-
serializedName: "
|
|
231
|
+
code: {
|
|
232
|
+
serializedName: "code",
|
|
232
233
|
type: {
|
|
233
234
|
name: "String"
|
|
234
235
|
}
|
|
@@ -246,17 +247,16 @@ export const CloudError = {
|
|
|
246
247
|
}
|
|
247
248
|
}
|
|
248
249
|
},
|
|
249
|
-
|
|
250
|
-
serializedName: "
|
|
251
|
-
readOnly: true,
|
|
250
|
+
message: {
|
|
251
|
+
serializedName: "message",
|
|
252
252
|
type: {
|
|
253
|
-
name: "
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
253
|
+
name: "String"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
target: {
|
|
257
|
+
serializedName: "target",
|
|
258
|
+
type: {
|
|
259
|
+
name: "String"
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}
|
|
@@ -267,18 +267,18 @@ export const AdditionalErrorInfo = {
|
|
|
267
267
|
name: "Composite",
|
|
268
268
|
className: "AdditionalErrorInfo",
|
|
269
269
|
modelProperties: {
|
|
270
|
-
type: {
|
|
271
|
-
serializedName: "type",
|
|
272
|
-
type: {
|
|
273
|
-
name: "String"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
270
|
info: {
|
|
277
271
|
serializedName: "info",
|
|
278
272
|
type: {
|
|
279
273
|
name: "Dictionary",
|
|
280
274
|
value: { type: { name: "any" } }
|
|
281
275
|
}
|
|
276
|
+
},
|
|
277
|
+
type: {
|
|
278
|
+
serializedName: "type",
|
|
279
|
+
type: {
|
|
280
|
+
name: "String"
|
|
281
|
+
}
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
}
|
|
@@ -378,6 +378,13 @@ export const JobDetails = {
|
|
|
378
378
|
className: "Preferences"
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
|
+
reverseShippingDetails: {
|
|
382
|
+
serializedName: "reverseShippingDetails",
|
|
383
|
+
type: {
|
|
384
|
+
name: "Composite",
|
|
385
|
+
className: "ReverseShippingDetails"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
381
388
|
copyLogDetails: {
|
|
382
389
|
serializedName: "copyLogDetails",
|
|
383
390
|
readOnly: true,
|
|
@@ -405,6 +412,13 @@ export const JobDetails = {
|
|
|
405
412
|
name: "String"
|
|
406
413
|
}
|
|
407
414
|
},
|
|
415
|
+
deviceErasureDetails: {
|
|
416
|
+
serializedName: "deviceErasureDetails",
|
|
417
|
+
type: {
|
|
418
|
+
name: "Composite",
|
|
419
|
+
className: "DeviceErasureDetails"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
408
422
|
keyEncryptionKey: {
|
|
409
423
|
serializedName: "keyEncryptionKey",
|
|
410
424
|
type: {
|
|
@@ -426,7 +440,13 @@ export const JobDetails = {
|
|
|
426
440
|
element: {
|
|
427
441
|
type: {
|
|
428
442
|
name: "Enum",
|
|
429
|
-
allowedValues: [
|
|
443
|
+
allowedValues: [
|
|
444
|
+
"None",
|
|
445
|
+
"MoveToCleanUpDevice",
|
|
446
|
+
"Resume",
|
|
447
|
+
"Restart",
|
|
448
|
+
"ReachOutToOperation"
|
|
449
|
+
]
|
|
430
450
|
}
|
|
431
451
|
}
|
|
432
452
|
}
|
|
@@ -491,7 +511,8 @@ export const JobStages = {
|
|
|
491
511
|
"SucceededWithWarnings",
|
|
492
512
|
"WaitingForCustomerActionForKek",
|
|
493
513
|
"WaitingForCustomerActionForCleanUp",
|
|
494
|
-
"CustomerActionPerformedForCleanUp"
|
|
514
|
+
"CustomerActionPerformedForCleanUp",
|
|
515
|
+
"CustomerActionPerformed"
|
|
495
516
|
]
|
|
496
517
|
}
|
|
497
518
|
},
|
|
@@ -662,6 +683,18 @@ export const ShippingAddress = {
|
|
|
662
683
|
name: "Enum",
|
|
663
684
|
allowedValues: ["None", "Residential", "Commercial"]
|
|
664
685
|
}
|
|
686
|
+
},
|
|
687
|
+
skipAddressValidation: {
|
|
688
|
+
serializedName: "skipAddressValidation",
|
|
689
|
+
type: {
|
|
690
|
+
name: "Boolean"
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
taxIdentificationNumber: {
|
|
694
|
+
serializedName: "taxIdentificationNumber",
|
|
695
|
+
type: {
|
|
696
|
+
name: "String"
|
|
697
|
+
}
|
|
665
698
|
}
|
|
666
699
|
}
|
|
667
700
|
}
|
|
@@ -1031,12 +1064,32 @@ export const Preferences = {
|
|
|
1031
1064
|
className: "TransportPreferences"
|
|
1032
1065
|
}
|
|
1033
1066
|
},
|
|
1067
|
+
reverseTransportPreferences: {
|
|
1068
|
+
serializedName: "reverseTransportPreferences",
|
|
1069
|
+
type: {
|
|
1070
|
+
name: "Composite",
|
|
1071
|
+
className: "TransportPreferences"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1034
1074
|
encryptionPreferences: {
|
|
1035
1075
|
serializedName: "encryptionPreferences",
|
|
1036
1076
|
type: {
|
|
1037
1077
|
name: "Composite",
|
|
1038
1078
|
className: "EncryptionPreferences"
|
|
1039
1079
|
}
|
|
1080
|
+
},
|
|
1081
|
+
storageAccountAccessTierPreferences: {
|
|
1082
|
+
serializedName: "storageAccountAccessTierPreferences",
|
|
1083
|
+
type: {
|
|
1084
|
+
name: "Sequence",
|
|
1085
|
+
element: {
|
|
1086
|
+
defaultValue: "Archive",
|
|
1087
|
+
isConstant: true,
|
|
1088
|
+
type: {
|
|
1089
|
+
name: "String"
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1040
1093
|
}
|
|
1041
1094
|
}
|
|
1042
1095
|
}
|
|
@@ -1053,6 +1106,13 @@ export const TransportPreferences = {
|
|
|
1053
1106
|
name: "Enum",
|
|
1054
1107
|
allowedValues: ["CustomerManaged", "MicrosoftManaged"]
|
|
1055
1108
|
}
|
|
1109
|
+
},
|
|
1110
|
+
isUpdated: {
|
|
1111
|
+
serializedName: "isUpdated",
|
|
1112
|
+
readOnly: true,
|
|
1113
|
+
type: {
|
|
1114
|
+
name: "Boolean"
|
|
1115
|
+
}
|
|
1056
1116
|
}
|
|
1057
1117
|
}
|
|
1058
1118
|
}
|
|
@@ -1069,6 +1129,82 @@ export const EncryptionPreferences = {
|
|
|
1069
1129
|
name: "Enum",
|
|
1070
1130
|
allowedValues: ["Enabled", "Disabled"]
|
|
1071
1131
|
}
|
|
1132
|
+
},
|
|
1133
|
+
hardwareEncryption: {
|
|
1134
|
+
serializedName: "hardwareEncryption",
|
|
1135
|
+
type: {
|
|
1136
|
+
name: "Enum",
|
|
1137
|
+
allowedValues: ["Enabled", "Disabled"]
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
};
|
|
1143
|
+
export const ReverseShippingDetails = {
|
|
1144
|
+
type: {
|
|
1145
|
+
name: "Composite",
|
|
1146
|
+
className: "ReverseShippingDetails",
|
|
1147
|
+
modelProperties: {
|
|
1148
|
+
contactDetails: {
|
|
1149
|
+
serializedName: "contactDetails",
|
|
1150
|
+
type: {
|
|
1151
|
+
name: "Composite",
|
|
1152
|
+
className: "ContactInfo"
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
shippingAddress: {
|
|
1156
|
+
serializedName: "shippingAddress",
|
|
1157
|
+
type: {
|
|
1158
|
+
name: "Composite",
|
|
1159
|
+
className: "ShippingAddress"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
isUpdated: {
|
|
1163
|
+
serializedName: "isUpdated",
|
|
1164
|
+
readOnly: true,
|
|
1165
|
+
type: {
|
|
1166
|
+
name: "Boolean"
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
};
|
|
1172
|
+
export const ContactInfo = {
|
|
1173
|
+
type: {
|
|
1174
|
+
name: "Composite",
|
|
1175
|
+
className: "ContactInfo",
|
|
1176
|
+
modelProperties: {
|
|
1177
|
+
contactName: {
|
|
1178
|
+
constraints: {
|
|
1179
|
+
MinLength: 1
|
|
1180
|
+
},
|
|
1181
|
+
serializedName: "contactName",
|
|
1182
|
+
required: true,
|
|
1183
|
+
type: {
|
|
1184
|
+
name: "String"
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
phone: {
|
|
1188
|
+
constraints: {
|
|
1189
|
+
MinLength: 1
|
|
1190
|
+
},
|
|
1191
|
+
serializedName: "phone",
|
|
1192
|
+
required: true,
|
|
1193
|
+
type: {
|
|
1194
|
+
name: "String"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
phoneExtension: {
|
|
1198
|
+
serializedName: "phoneExtension",
|
|
1199
|
+
type: {
|
|
1200
|
+
name: "String"
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
mobile: {
|
|
1204
|
+
serializedName: "mobile",
|
|
1205
|
+
type: {
|
|
1206
|
+
name: "String"
|
|
1207
|
+
}
|
|
1072
1208
|
}
|
|
1073
1209
|
}
|
|
1074
1210
|
}
|
|
@@ -1099,6 +1235,43 @@ export const CopyLogDetails = {
|
|
|
1099
1235
|
}
|
|
1100
1236
|
}
|
|
1101
1237
|
};
|
|
1238
|
+
export const DeviceErasureDetails = {
|
|
1239
|
+
type: {
|
|
1240
|
+
name: "Composite",
|
|
1241
|
+
className: "DeviceErasureDetails",
|
|
1242
|
+
modelProperties: {
|
|
1243
|
+
deviceErasureStatus: {
|
|
1244
|
+
serializedName: "deviceErasureStatus",
|
|
1245
|
+
readOnly: true,
|
|
1246
|
+
type: {
|
|
1247
|
+
name: "Enum",
|
|
1248
|
+
allowedValues: [
|
|
1249
|
+
"None",
|
|
1250
|
+
"InProgress",
|
|
1251
|
+
"Succeeded",
|
|
1252
|
+
"Failed",
|
|
1253
|
+
"Cancelled",
|
|
1254
|
+
"Cancelling",
|
|
1255
|
+
"SucceededWithErrors",
|
|
1256
|
+
"WaitingForCustomerAction",
|
|
1257
|
+
"SucceededWithWarnings",
|
|
1258
|
+
"WaitingForCustomerActionForKek",
|
|
1259
|
+
"WaitingForCustomerActionForCleanUp",
|
|
1260
|
+
"CustomerActionPerformedForCleanUp",
|
|
1261
|
+
"CustomerActionPerformed"
|
|
1262
|
+
]
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
erasureOrDestructionCertificateSasKey: {
|
|
1266
|
+
serializedName: "erasureOrDestructionCertificateSasKey",
|
|
1267
|
+
readOnly: true,
|
|
1268
|
+
type: {
|
|
1269
|
+
name: "String"
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
};
|
|
1102
1275
|
export const KeyEncryptionKey = {
|
|
1103
1276
|
type: {
|
|
1104
1277
|
name: "Composite",
|
|
@@ -1191,7 +1364,13 @@ export const LastMitigationActionOnJob = {
|
|
|
1191
1364
|
serializedName: "customerResolution",
|
|
1192
1365
|
type: {
|
|
1193
1366
|
name: "Enum",
|
|
1194
|
-
allowedValues: [
|
|
1367
|
+
allowedValues: [
|
|
1368
|
+
"None",
|
|
1369
|
+
"MoveToCleanUpDevice",
|
|
1370
|
+
"Resume",
|
|
1371
|
+
"Restart",
|
|
1372
|
+
"ReachOutToOperation"
|
|
1373
|
+
]
|
|
1195
1374
|
}
|
|
1196
1375
|
}
|
|
1197
1376
|
}
|
|
@@ -1440,10 +1619,33 @@ export const MitigateJobRequest = {
|
|
|
1440
1619
|
modelProperties: {
|
|
1441
1620
|
customerResolutionCode: {
|
|
1442
1621
|
serializedName: "customerResolutionCode",
|
|
1443
|
-
required: true,
|
|
1444
1622
|
type: {
|
|
1445
1623
|
name: "Enum",
|
|
1446
|
-
allowedValues: [
|
|
1624
|
+
allowedValues: [
|
|
1625
|
+
"None",
|
|
1626
|
+
"MoveToCleanUpDevice",
|
|
1627
|
+
"Resume",
|
|
1628
|
+
"Restart",
|
|
1629
|
+
"ReachOutToOperation"
|
|
1630
|
+
]
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
serialNumberCustomerResolutionMap: {
|
|
1634
|
+
serializedName: "serialNumberCustomerResolutionMap",
|
|
1635
|
+
type: {
|
|
1636
|
+
name: "Dictionary",
|
|
1637
|
+
value: {
|
|
1638
|
+
type: {
|
|
1639
|
+
name: "Enum",
|
|
1640
|
+
allowedValues: [
|
|
1641
|
+
"None",
|
|
1642
|
+
"MoveToCleanUpDevice",
|
|
1643
|
+
"Resume",
|
|
1644
|
+
"Restart",
|
|
1645
|
+
"ReachOutToOperation"
|
|
1646
|
+
]
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1447
1649
|
}
|
|
1448
1650
|
}
|
|
1449
1651
|
}
|
|
@@ -1650,6 +1852,18 @@ export const SkuInformation = {
|
|
|
1650
1852
|
type: {
|
|
1651
1853
|
name: "String"
|
|
1652
1854
|
}
|
|
1855
|
+
},
|
|
1856
|
+
countriesWithinCommerceBoundary: {
|
|
1857
|
+
serializedName: "properties.countriesWithinCommerceBoundary",
|
|
1858
|
+
readOnly: true,
|
|
1859
|
+
type: {
|
|
1860
|
+
name: "Sequence",
|
|
1861
|
+
element: {
|
|
1862
|
+
type: {
|
|
1863
|
+
name: "String"
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1653
1867
|
}
|
|
1654
1868
|
}
|
|
1655
1869
|
}
|
|
@@ -1955,6 +2169,20 @@ export const UpdateJobDetails = {
|
|
|
1955
2169
|
className: "ShippingAddress"
|
|
1956
2170
|
}
|
|
1957
2171
|
},
|
|
2172
|
+
reverseShippingDetails: {
|
|
2173
|
+
serializedName: "reverseShippingDetails",
|
|
2174
|
+
type: {
|
|
2175
|
+
name: "Composite",
|
|
2176
|
+
className: "ReverseShippingDetails"
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
preferences: {
|
|
2180
|
+
serializedName: "preferences",
|
|
2181
|
+
type: {
|
|
2182
|
+
name: "Composite",
|
|
2183
|
+
className: "Preferences"
|
|
2184
|
+
}
|
|
2185
|
+
},
|
|
1958
2186
|
keyEncryptionKey: {
|
|
1959
2187
|
serializedName: "keyEncryptionKey",
|
|
1960
2188
|
type: {
|
|
@@ -2525,6 +2753,32 @@ export const ArmBaseObject = {
|
|
|
2525
2753
|
}
|
|
2526
2754
|
}
|
|
2527
2755
|
};
|
|
2756
|
+
export const GranularCopyLogDetails = {
|
|
2757
|
+
type: {
|
|
2758
|
+
name: "Composite",
|
|
2759
|
+
className: "GranularCopyLogDetails",
|
|
2760
|
+
uberParent: "GranularCopyLogDetails",
|
|
2761
|
+
polymorphicDiscriminator: {
|
|
2762
|
+
serializedName: "copyLogDetailsType",
|
|
2763
|
+
clientName: "copyLogDetailsType"
|
|
2764
|
+
},
|
|
2765
|
+
modelProperties: {
|
|
2766
|
+
copyLogDetailsType: {
|
|
2767
|
+
serializedName: "copyLogDetailsType",
|
|
2768
|
+
required: true,
|
|
2769
|
+
type: {
|
|
2770
|
+
name: "Enum",
|
|
2771
|
+
allowedValues: [
|
|
2772
|
+
"DataBox",
|
|
2773
|
+
"DataBoxDisk",
|
|
2774
|
+
"DataBoxHeavy",
|
|
2775
|
+
"DataBoxCustomerDisk"
|
|
2776
|
+
]
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
}
|
|
2781
|
+
};
|
|
2528
2782
|
export const CopyProgress = {
|
|
2529
2783
|
type: {
|
|
2530
2784
|
name: "Composite",
|
|
@@ -2636,19 +2890,186 @@ export const CopyProgress = {
|
|
|
2636
2890
|
type: {
|
|
2637
2891
|
name: "Boolean"
|
|
2638
2892
|
}
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2893
|
+
},
|
|
2894
|
+
error: {
|
|
2895
|
+
serializedName: "error",
|
|
2896
|
+
type: {
|
|
2897
|
+
name: "Composite",
|
|
2898
|
+
className: "CloudError"
|
|
2899
|
+
}
|
|
2900
|
+
},
|
|
2901
|
+
actions: {
|
|
2902
|
+
serializedName: "actions",
|
|
2903
|
+
readOnly: true,
|
|
2904
|
+
type: {
|
|
2905
|
+
name: "Sequence",
|
|
2906
|
+
element: {
|
|
2907
|
+
type: {
|
|
2908
|
+
name: "Enum",
|
|
2909
|
+
allowedValues: [
|
|
2910
|
+
"None",
|
|
2911
|
+
"MoveToCleanUpDevice",
|
|
2912
|
+
"Resume",
|
|
2913
|
+
"Restart",
|
|
2914
|
+
"ReachOutToOperation"
|
|
2915
|
+
]
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
};
|
|
2923
|
+
export const GranularCopyProgress = {
|
|
2924
|
+
type: {
|
|
2925
|
+
name: "Composite",
|
|
2926
|
+
className: "GranularCopyProgress",
|
|
2927
|
+
modelProperties: {
|
|
2928
|
+
storageAccountName: {
|
|
2929
|
+
serializedName: "storageAccountName",
|
|
2930
|
+
readOnly: true,
|
|
2931
|
+
type: {
|
|
2932
|
+
name: "String"
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
transferType: {
|
|
2936
|
+
serializedName: "transferType",
|
|
2937
|
+
readOnly: true,
|
|
2938
|
+
type: {
|
|
2939
|
+
name: "Enum",
|
|
2940
|
+
allowedValues: ["ImportToAzure", "ExportFromAzure"]
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2943
|
+
dataAccountType: {
|
|
2944
|
+
serializedName: "dataAccountType",
|
|
2945
|
+
readOnly: true,
|
|
2946
|
+
type: {
|
|
2947
|
+
name: "Enum",
|
|
2948
|
+
allowedValues: ["StorageAccount", "ManagedDisk"]
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2951
|
+
accountId: {
|
|
2952
|
+
serializedName: "accountId",
|
|
2953
|
+
readOnly: true,
|
|
2954
|
+
type: {
|
|
2955
|
+
name: "String"
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2958
|
+
bytesProcessed: {
|
|
2959
|
+
serializedName: "bytesProcessed",
|
|
2960
|
+
readOnly: true,
|
|
2961
|
+
type: {
|
|
2962
|
+
name: "Number"
|
|
2963
|
+
}
|
|
2964
|
+
},
|
|
2965
|
+
totalBytesToProcess: {
|
|
2966
|
+
serializedName: "totalBytesToProcess",
|
|
2967
|
+
readOnly: true,
|
|
2968
|
+
type: {
|
|
2969
|
+
name: "Number"
|
|
2970
|
+
}
|
|
2971
|
+
},
|
|
2972
|
+
filesProcessed: {
|
|
2973
|
+
serializedName: "filesProcessed",
|
|
2974
|
+
readOnly: true,
|
|
2975
|
+
type: {
|
|
2976
|
+
name: "Number"
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
totalFilesToProcess: {
|
|
2980
|
+
serializedName: "totalFilesToProcess",
|
|
2981
|
+
readOnly: true,
|
|
2982
|
+
type: {
|
|
2983
|
+
name: "Number"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
invalidFilesProcessed: {
|
|
2987
|
+
serializedName: "invalidFilesProcessed",
|
|
2988
|
+
readOnly: true,
|
|
2989
|
+
type: {
|
|
2990
|
+
name: "Number"
|
|
2991
|
+
}
|
|
2992
|
+
},
|
|
2993
|
+
invalidFileBytesUploaded: {
|
|
2994
|
+
serializedName: "invalidFileBytesUploaded",
|
|
2995
|
+
readOnly: true,
|
|
2996
|
+
type: {
|
|
2997
|
+
name: "Number"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
renamedContainerCount: {
|
|
3001
|
+
serializedName: "renamedContainerCount",
|
|
3002
|
+
readOnly: true,
|
|
3003
|
+
type: {
|
|
3004
|
+
name: "Number"
|
|
3005
|
+
}
|
|
3006
|
+
},
|
|
3007
|
+
filesErroredOut: {
|
|
3008
|
+
serializedName: "filesErroredOut",
|
|
3009
|
+
readOnly: true,
|
|
3010
|
+
type: {
|
|
3011
|
+
name: "Number"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
directoriesErroredOut: {
|
|
3015
|
+
serializedName: "directoriesErroredOut",
|
|
3016
|
+
readOnly: true,
|
|
3017
|
+
type: {
|
|
3018
|
+
name: "Number"
|
|
3019
|
+
}
|
|
3020
|
+
},
|
|
3021
|
+
invalidDirectoriesProcessed: {
|
|
3022
|
+
serializedName: "invalidDirectoriesProcessed",
|
|
3023
|
+
readOnly: true,
|
|
3024
|
+
type: {
|
|
3025
|
+
name: "Number"
|
|
3026
|
+
}
|
|
3027
|
+
},
|
|
3028
|
+
isEnumerationInProgress: {
|
|
3029
|
+
serializedName: "isEnumerationInProgress",
|
|
3030
|
+
readOnly: true,
|
|
3031
|
+
type: {
|
|
3032
|
+
name: "Boolean"
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
error: {
|
|
3036
|
+
serializedName: "error",
|
|
3037
|
+
type: {
|
|
3038
|
+
name: "Composite",
|
|
3039
|
+
className: "CloudError"
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
actions: {
|
|
3043
|
+
serializedName: "actions",
|
|
3044
|
+
readOnly: true,
|
|
3045
|
+
type: {
|
|
3046
|
+
name: "Sequence",
|
|
3047
|
+
element: {
|
|
3048
|
+
type: {
|
|
3049
|
+
name: "Enum",
|
|
3050
|
+
allowedValues: [
|
|
3051
|
+
"None",
|
|
3052
|
+
"MoveToCleanUpDevice",
|
|
3053
|
+
"Resume",
|
|
3054
|
+
"Restart",
|
|
3055
|
+
"ReachOutToOperation"
|
|
3056
|
+
]
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3060
|
+
}
|
|
3061
|
+
}
|
|
3062
|
+
}
|
|
3063
|
+
};
|
|
3064
|
+
export const ImportDiskDetails = {
|
|
3065
|
+
type: {
|
|
3066
|
+
name: "Composite",
|
|
3067
|
+
className: "ImportDiskDetails",
|
|
3068
|
+
modelProperties: {
|
|
3069
|
+
manifestFile: {
|
|
3070
|
+
serializedName: "manifestFile",
|
|
3071
|
+
required: true,
|
|
3072
|
+
type: {
|
|
2652
3073
|
name: "String"
|
|
2653
3074
|
}
|
|
2654
3075
|
},
|
|
@@ -2759,6 +3180,32 @@ export const DataBoxDiskCopyProgress = {
|
|
|
2759
3180
|
type: {
|
|
2760
3181
|
name: "String"
|
|
2761
3182
|
}
|
|
3183
|
+
},
|
|
3184
|
+
error: {
|
|
3185
|
+
serializedName: "error",
|
|
3186
|
+
type: {
|
|
3187
|
+
name: "Composite",
|
|
3188
|
+
className: "CloudError"
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
actions: {
|
|
3192
|
+
serializedName: "actions",
|
|
3193
|
+
readOnly: true,
|
|
3194
|
+
type: {
|
|
3195
|
+
name: "Sequence",
|
|
3196
|
+
element: {
|
|
3197
|
+
type: {
|
|
3198
|
+
name: "Enum",
|
|
3199
|
+
allowedValues: [
|
|
3200
|
+
"None",
|
|
3201
|
+
"MoveToCleanUpDevice",
|
|
3202
|
+
"Resume",
|
|
3203
|
+
"Restart",
|
|
3204
|
+
"ReachOutToOperation"
|
|
3205
|
+
]
|
|
3206
|
+
}
|
|
3207
|
+
}
|
|
3208
|
+
}
|
|
2762
3209
|
}
|
|
2763
3210
|
}
|
|
2764
3211
|
}
|
|
@@ -2951,6 +3398,30 @@ export const DataBoxDiskJobDetails = {
|
|
|
2951
3398
|
}
|
|
2952
3399
|
}
|
|
2953
3400
|
}
|
|
3401
|
+
}, granularCopyProgress: {
|
|
3402
|
+
serializedName: "granularCopyProgress",
|
|
3403
|
+
readOnly: true,
|
|
3404
|
+
type: {
|
|
3405
|
+
name: "Sequence",
|
|
3406
|
+
element: {
|
|
3407
|
+
type: {
|
|
3408
|
+
name: "Composite",
|
|
3409
|
+
className: "DataBoxDiskGranularCopyProgress"
|
|
3410
|
+
}
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
}, granularCopyLogDetails: {
|
|
3414
|
+
serializedName: "granularCopyLogDetails",
|
|
3415
|
+
readOnly: true,
|
|
3416
|
+
type: {
|
|
3417
|
+
name: "Sequence",
|
|
3418
|
+
element: {
|
|
3419
|
+
type: {
|
|
3420
|
+
name: "Composite",
|
|
3421
|
+
className: "DataBoxDiskGranularCopyLogDetails"
|
|
3422
|
+
}
|
|
3423
|
+
}
|
|
3424
|
+
}
|
|
2954
3425
|
}, disksAndSizeDetails: {
|
|
2955
3426
|
serializedName: "disksAndSizeDetails",
|
|
2956
3427
|
readOnly: true,
|
|
@@ -3337,6 +3808,20 @@ export const JobResource = {
|
|
|
3337
3808
|
type: {
|
|
3338
3809
|
name: "Boolean"
|
|
3339
3810
|
}
|
|
3811
|
+
}, reverseShippingDetailsUpdate: {
|
|
3812
|
+
serializedName: "properties.reverseShippingDetailsUpdate",
|
|
3813
|
+
readOnly: true,
|
|
3814
|
+
type: {
|
|
3815
|
+
name: "Enum",
|
|
3816
|
+
allowedValues: ["Enabled", "Disabled", "NotSupported"]
|
|
3817
|
+
}
|
|
3818
|
+
}, reverseTransportPreferenceUpdate: {
|
|
3819
|
+
serializedName: "properties.reverseTransportPreferenceUpdate",
|
|
3820
|
+
readOnly: true,
|
|
3821
|
+
type: {
|
|
3822
|
+
name: "Enum",
|
|
3823
|
+
allowedValues: ["Enabled", "Disabled", "NotSupported"]
|
|
3824
|
+
}
|
|
3340
3825
|
}, isPrepareToShipEnabled: {
|
|
3341
3826
|
serializedName: "properties.isPrepareToShipEnabled",
|
|
3342
3827
|
readOnly: true,
|
|
@@ -3846,6 +4331,40 @@ export const HeavyScheduleAvailabilityRequest = {
|
|
|
3846
4331
|
modelProperties: Object.assign({}, ScheduleAvailabilityRequest.type.modelProperties)
|
|
3847
4332
|
}
|
|
3848
4333
|
};
|
|
4334
|
+
export const DataBoxDiskGranularCopyLogDetails = {
|
|
4335
|
+
serializedName: "DataBoxCustomerDisk",
|
|
4336
|
+
type: {
|
|
4337
|
+
name: "Composite",
|
|
4338
|
+
className: "DataBoxDiskGranularCopyLogDetails",
|
|
4339
|
+
uberParent: "GranularCopyLogDetails",
|
|
4340
|
+
polymorphicDiscriminator: GranularCopyLogDetails.type.polymorphicDiscriminator,
|
|
4341
|
+
modelProperties: Object.assign(Object.assign({}, GranularCopyLogDetails.type.modelProperties), { serialNumber: {
|
|
4342
|
+
serializedName: "serialNumber",
|
|
4343
|
+
readOnly: true,
|
|
4344
|
+
type: {
|
|
4345
|
+
name: "String"
|
|
4346
|
+
}
|
|
4347
|
+
}, accountId: {
|
|
4348
|
+
serializedName: "accountId",
|
|
4349
|
+
readOnly: true,
|
|
4350
|
+
type: {
|
|
4351
|
+
name: "String"
|
|
4352
|
+
}
|
|
4353
|
+
}, errorLogLink: {
|
|
4354
|
+
serializedName: "errorLogLink",
|
|
4355
|
+
readOnly: true,
|
|
4356
|
+
type: {
|
|
4357
|
+
name: "String"
|
|
4358
|
+
}
|
|
4359
|
+
}, verboseLogLink: {
|
|
4360
|
+
serializedName: "verboseLogLink",
|
|
4361
|
+
readOnly: true,
|
|
4362
|
+
type: {
|
|
4363
|
+
name: "String"
|
|
4364
|
+
}
|
|
4365
|
+
} })
|
|
4366
|
+
}
|
|
4367
|
+
};
|
|
3849
4368
|
export const DataBoxCustomerDiskCopyProgress = {
|
|
3850
4369
|
type: {
|
|
3851
4370
|
name: "Composite",
|
|
@@ -3865,6 +4384,53 @@ export const DataBoxCustomerDiskCopyProgress = {
|
|
|
3865
4384
|
} })
|
|
3866
4385
|
}
|
|
3867
4386
|
};
|
|
4387
|
+
export const DataBoxDiskGranularCopyProgress = {
|
|
4388
|
+
type: {
|
|
4389
|
+
name: "Composite",
|
|
4390
|
+
className: "DataBoxDiskGranularCopyProgress",
|
|
4391
|
+
modelProperties: Object.assign(Object.assign({}, GranularCopyProgress.type.modelProperties), { serialNumber: {
|
|
4392
|
+
serializedName: "serialNumber",
|
|
4393
|
+
readOnly: true,
|
|
4394
|
+
type: {
|
|
4395
|
+
name: "String"
|
|
4396
|
+
}
|
|
4397
|
+
}, copyStatus: {
|
|
4398
|
+
serializedName: "copyStatus",
|
|
4399
|
+
readOnly: true,
|
|
4400
|
+
type: {
|
|
4401
|
+
name: "String"
|
|
4402
|
+
}
|
|
4403
|
+
} })
|
|
4404
|
+
}
|
|
4405
|
+
};
|
|
4406
|
+
export const JobsDeleteHeaders = {
|
|
4407
|
+
type: {
|
|
4408
|
+
name: "Composite",
|
|
4409
|
+
className: "JobsDeleteHeaders",
|
|
4410
|
+
modelProperties: {
|
|
4411
|
+
location: {
|
|
4412
|
+
serializedName: "location",
|
|
4413
|
+
type: {
|
|
4414
|
+
name: "String"
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4419
|
+
};
|
|
4420
|
+
export const JobsUpdateHeaders = {
|
|
4421
|
+
type: {
|
|
4422
|
+
name: "Composite",
|
|
4423
|
+
className: "JobsUpdateHeaders",
|
|
4424
|
+
modelProperties: {
|
|
4425
|
+
location: {
|
|
4426
|
+
serializedName: "location",
|
|
4427
|
+
type: {
|
|
4428
|
+
name: "String"
|
|
4429
|
+
}
|
|
4430
|
+
}
|
|
4431
|
+
}
|
|
4432
|
+
}
|
|
4433
|
+
};
|
|
3868
4434
|
export let discriminators = {
|
|
3869
4435
|
JobDetails: JobDetails,
|
|
3870
4436
|
DataAccountDetails: DataAccountDetails,
|
|
@@ -3875,6 +4441,7 @@ export let discriminators = {
|
|
|
3875
4441
|
ValidationRequest: ValidationRequest,
|
|
3876
4442
|
JobSecrets: JobSecrets,
|
|
3877
4443
|
ScheduleAvailabilityRequest: ScheduleAvailabilityRequest,
|
|
4444
|
+
GranularCopyLogDetails: GranularCopyLogDetails,
|
|
3878
4445
|
"JobDetails.DataBoxCustomerDisk": DataBoxCustomerDiskJobDetails,
|
|
3879
4446
|
"JobDetails.DataBoxDisk": DataBoxDiskJobDetails,
|
|
3880
4447
|
"JobDetails.DataBoxHeavy": DataBoxHeavyJobDetails,
|
|
@@ -3906,6 +4473,7 @@ export let discriminators = {
|
|
|
3906
4473
|
"JobSecrets.DataBox": DataboxJobSecrets,
|
|
3907
4474
|
"ScheduleAvailabilityRequest.DataBox": DataBoxScheduleAvailabilityRequest,
|
|
3908
4475
|
"ScheduleAvailabilityRequest.DataBoxDisk": DiskScheduleAvailabilityRequest,
|
|
3909
|
-
"ScheduleAvailabilityRequest.DataBoxHeavy": HeavyScheduleAvailabilityRequest
|
|
4476
|
+
"ScheduleAvailabilityRequest.DataBoxHeavy": HeavyScheduleAvailabilityRequest,
|
|
4477
|
+
"GranularCopyLogDetails.DataBoxCustomerDisk": DataBoxDiskGranularCopyLogDetails
|
|
3910
4478
|
};
|
|
3911
4479
|
//# sourceMappingURL=mappers.js.map
|