@azure/arm-databox 5.0.0-beta.2 → 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 +2 -2
- package/dist/index.js +973 -182
- 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.d.ts +2 -0
- package/dist-esm/src/dataBoxManagementClient.d.ts.map +1 -1
- package/dist-esm/src/dataBoxManagementClient.js +50 -19
- package/dist-esm/src/dataBoxManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.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 +479 -145
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +69 -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 +107 -49
- package/dist-esm/src/operations/jobs.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +31 -13
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/service.d.ts.map +1 -1
- package/dist-esm/src/operations/service.js +31 -13
- 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 +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- 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 +21 -16
- package/review/arm-databox.api.md +255 -189
- package/src/dataBoxManagementClient.ts +61 -21
- package/src/index.ts +1 -0
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +468 -98
- package/src/models/mappers.ts +634 -42
- package/src/models/parameters.ts +1 -1
- package/src/operations/jobs.ts +96 -57
- package/src/operations/operations.ts +21 -9
- package/src/operations/service.ts +27 -14
- package/src/operationsInterfaces/jobs.ts +4 -4
- package/src/pagingHelper.ts +39 -0
- package/types/arm-databox.d.ts +457 -99
- 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 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
2
|
+
export type JobDetailsUnion = JobDetails | DataBoxCustomerDiskJobDetails | DataBoxDiskJobDetails | DataBoxHeavyJobDetails | DataBoxJobDetails;
|
|
3
|
+
export type DataAccountDetailsUnion = DataAccountDetails | ManagedDiskDetails | StorageAccountDetails;
|
|
4
|
+
export type CopyLogDetailsUnion = CopyLogDetails | DataBoxAccountCopyLogDetails | DataBoxCustomerDiskCopyLogDetails | DataBoxDiskCopyLogDetails | DataBoxHeavyAccountCopyLogDetails;
|
|
5
|
+
export type DatacenterAddressResponseUnion = DatacenterAddressResponse | DatacenterAddressInstructionResponse | DatacenterAddressLocationResponse;
|
|
6
|
+
export type ValidationInputRequestUnion = ValidationInputRequest | ValidateAddress | CreateOrderLimitForSubscriptionValidationRequest | DataTransferDetailsValidationRequest | PreferencesValidationRequest | SkuAvailabilityValidationRequest | SubscriptionIsAllowedToCreateJobValidationRequest;
|
|
7
|
+
export type ValidationInputResponseUnion = ValidationInputResponse | AddressValidationProperties | CreateOrderLimitForSubscriptionValidationResponseProperties | DataTransferDetailsValidationResponseProperties | PreferencesValidationResponseProperties | SkuAvailabilityValidationResponseProperties | SubscriptionIsAllowedToCreateJobValidationResponseProperties;
|
|
8
|
+
export type ValidationRequestUnion = ValidationRequest | CreateJobValidations;
|
|
9
|
+
export type JobSecretsUnion = JobSecrets | CustomerDiskJobSecrets | DataBoxDiskJobSecrets | DataBoxHeavyJobSecrets | DataboxJobSecrets;
|
|
10
|
+
export type ScheduleAvailabilityRequestUnion = ScheduleAvailabilityRequest | DataBoxScheduleAvailabilityRequest | DiskScheduleAvailabilityRequest | HeavyScheduleAvailabilityRequest;
|
|
11
|
+
export type GranularCopyLogDetailsUnion = GranularCopyLogDetails | DataBoxDiskGranularCopyLogDetails;
|
|
11
12
|
/** Operation Collection. */
|
|
12
13
|
export interface OperationList {
|
|
13
14
|
/**
|
|
@@ -74,31 +75,31 @@ export interface JobResourceList {
|
|
|
74
75
|
/** Link for the next set of job resources. */
|
|
75
76
|
nextLink?: string;
|
|
76
77
|
}
|
|
77
|
-
/**
|
|
78
|
+
/** Provides additional information about an http error response. */
|
|
78
79
|
export interface CloudError {
|
|
79
|
-
/** Cloud error code. */
|
|
80
|
-
code?: string;
|
|
81
|
-
/** Cloud error message. */
|
|
82
|
-
message?: string;
|
|
83
|
-
/** Cloud error target. */
|
|
84
|
-
target?: string;
|
|
85
80
|
/**
|
|
86
|
-
*
|
|
81
|
+
* Gets or sets additional error info.
|
|
87
82
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
88
83
|
*/
|
|
89
|
-
readonly
|
|
84
|
+
readonly additionalInfo?: AdditionalErrorInfo[];
|
|
85
|
+
/** Error code. */
|
|
86
|
+
code?: string;
|
|
90
87
|
/**
|
|
91
|
-
*
|
|
88
|
+
* Gets or sets details for the error.
|
|
92
89
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
93
90
|
*/
|
|
94
|
-
readonly
|
|
91
|
+
readonly details?: CloudError[];
|
|
92
|
+
/** The error message parsed from the body of the http error response. */
|
|
93
|
+
message?: string;
|
|
94
|
+
/** Gets or sets the target of the error. */
|
|
95
|
+
target?: string;
|
|
95
96
|
}
|
|
96
|
-
/**
|
|
97
|
+
/** This class represents additional info which Resource Providers pass when an error occurs. */
|
|
97
98
|
export interface AdditionalErrorInfo {
|
|
98
|
-
/** Additional
|
|
99
|
-
type?: string;
|
|
100
|
-
/** Additional error info. */
|
|
99
|
+
/** Additional information of the type of error. */
|
|
101
100
|
info?: Record<string, unknown>;
|
|
101
|
+
/** Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). */
|
|
102
|
+
type?: string;
|
|
102
103
|
}
|
|
103
104
|
/** Job details. */
|
|
104
105
|
export interface JobDetails {
|
|
@@ -129,6 +130,8 @@ export interface JobDetails {
|
|
|
129
130
|
dataExportDetails?: DataExportDetails[];
|
|
130
131
|
/** Preferences for the order. */
|
|
131
132
|
preferences?: Preferences;
|
|
133
|
+
/** Optional Reverse Shipping details for order. */
|
|
134
|
+
reverseShippingDetails?: ReverseShippingDetails;
|
|
132
135
|
/**
|
|
133
136
|
* List of copy log details.
|
|
134
137
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -144,6 +147,11 @@ export interface JobDetails {
|
|
|
144
147
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
145
148
|
*/
|
|
146
149
|
readonly chainOfCustodySasKey?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Holds device data erasure details
|
|
152
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
153
|
+
*/
|
|
154
|
+
readonly deviceErasureDetails?: DeviceErasureDetails;
|
|
147
155
|
/** Details about which key encryption type is being used. */
|
|
148
156
|
keyEncryptionKey?: KeyEncryptionKey;
|
|
149
157
|
/** The expected size of the data, which needs to be transferred in this job, in terabytes. */
|
|
@@ -241,6 +249,10 @@ export interface ShippingAddress {
|
|
|
241
249
|
companyName?: string;
|
|
242
250
|
/** Type of address. */
|
|
243
251
|
addressType?: AddressType;
|
|
252
|
+
/** Flag to indicate if customer has chosen to skip default address validation */
|
|
253
|
+
skipAddressValidation?: boolean;
|
|
254
|
+
/** Tax Identification Number */
|
|
255
|
+
taxIdentificationNumber?: string;
|
|
244
256
|
}
|
|
245
257
|
/** package shipping details */
|
|
246
258
|
export interface PackageShippingDetails {
|
|
@@ -353,24 +365,72 @@ export interface Preferences {
|
|
|
353
365
|
preferredDataCenterRegion?: string[];
|
|
354
366
|
/** Preferences related to the shipment logistics of the sku. */
|
|
355
367
|
transportPreferences?: TransportPreferences;
|
|
368
|
+
/** Optional Preferences related to the reverse shipment logistics of the sku. */
|
|
369
|
+
reverseTransportPreferences?: TransportPreferences;
|
|
356
370
|
/** Preferences related to the Encryption. */
|
|
357
371
|
encryptionPreferences?: EncryptionPreferences;
|
|
372
|
+
/** Preferences related to the Access Tier of storage accounts. */
|
|
373
|
+
storageAccountAccessTierPreferences?: string[];
|
|
358
374
|
}
|
|
359
375
|
/** Preferences related to the shipment logistics of the sku */
|
|
360
376
|
export interface TransportPreferences {
|
|
361
377
|
/** Indicates Shipment Logistics type that the customer preferred. */
|
|
362
378
|
preferredShipmentType: TransportShipmentTypes;
|
|
379
|
+
/**
|
|
380
|
+
* Read only property which indicates whether transport preferences has been updated or not after device is prepared.
|
|
381
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
382
|
+
*/
|
|
383
|
+
readonly isUpdated?: boolean;
|
|
363
384
|
}
|
|
364
385
|
/** Preferences related to the Encryption. */
|
|
365
386
|
export interface EncryptionPreferences {
|
|
366
387
|
/** Defines secondary layer of software-based encryption enablement. */
|
|
367
388
|
doubleEncryption?: DoubleEncryption;
|
|
389
|
+
/** Defines Hardware level encryption (Only for disk) */
|
|
390
|
+
hardwareEncryption?: HardwareEncryption;
|
|
391
|
+
}
|
|
392
|
+
/** Reverse Shipping Address and contact details for a job. */
|
|
393
|
+
export interface ReverseShippingDetails {
|
|
394
|
+
/** Contact Info. */
|
|
395
|
+
contactDetails?: ContactInfo;
|
|
396
|
+
/** Shipping address where customer wishes to receive the device. */
|
|
397
|
+
shippingAddress?: ShippingAddress;
|
|
398
|
+
/**
|
|
399
|
+
* A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared.
|
|
400
|
+
* Read only field
|
|
401
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
402
|
+
*/
|
|
403
|
+
readonly isUpdated?: boolean;
|
|
404
|
+
}
|
|
405
|
+
/** Contact Info. */
|
|
406
|
+
export interface ContactInfo {
|
|
407
|
+
/** Contact name of the person. */
|
|
408
|
+
contactName: string;
|
|
409
|
+
/** Phone number of the contact person. */
|
|
410
|
+
phone: string;
|
|
411
|
+
/** Phone extension number of the contact person. */
|
|
412
|
+
phoneExtension?: string;
|
|
413
|
+
/** Mobile number of the contact person. */
|
|
414
|
+
mobile?: string;
|
|
368
415
|
}
|
|
369
416
|
/** Details for log generated during copy. */
|
|
370
417
|
export interface CopyLogDetails {
|
|
371
418
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
372
419
|
copyLogDetailsType: "DataBox" | "DataBoxCustomerDisk" | "DataBoxDisk" | "DataBoxHeavy";
|
|
373
420
|
}
|
|
421
|
+
/** Device erasure details with erasure completion status and erasureordestructionlog sas key */
|
|
422
|
+
export interface DeviceErasureDetails {
|
|
423
|
+
/**
|
|
424
|
+
* Holds the device erasure completion status
|
|
425
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
|
+
*/
|
|
427
|
+
readonly deviceErasureStatus?: StageStatus;
|
|
428
|
+
/**
|
|
429
|
+
* Shared access key to download cleanup or destruction certificate for device
|
|
430
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
431
|
+
*/
|
|
432
|
+
readonly erasureOrDestructionCertificateSasKey?: string;
|
|
433
|
+
}
|
|
374
434
|
/** Encryption key containing details about key to encrypt different keys. */
|
|
375
435
|
export interface KeyEncryptionKey {
|
|
376
436
|
/** Type of encryption key used for key encryption. */
|
|
@@ -516,7 +576,11 @@ export interface UserAssignedIdentity {
|
|
|
516
576
|
/** The Mitigate Job captured from request body for Mitigate API */
|
|
517
577
|
export interface MitigateJobRequest {
|
|
518
578
|
/** Resolution code for the job */
|
|
519
|
-
customerResolutionCode
|
|
579
|
+
customerResolutionCode?: CustomerResolutionCode;
|
|
580
|
+
/** Serial number and the customer resolution code corresponding to each serial number */
|
|
581
|
+
serialNumberCustomerResolutionMap?: {
|
|
582
|
+
[propertyName: string]: CustomerResolutionCode;
|
|
583
|
+
};
|
|
520
584
|
}
|
|
521
585
|
/** The request body to provide the delivery package details of job */
|
|
522
586
|
export interface MarkDevicesShippedRequest {
|
|
@@ -598,6 +662,11 @@ export interface SkuInformation {
|
|
|
598
662
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
599
663
|
*/
|
|
600
664
|
readonly requiredFeature?: string;
|
|
665
|
+
/**
|
|
666
|
+
* List of all the Countries in the SKU specific commerce boundary
|
|
667
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
668
|
+
*/
|
|
669
|
+
readonly countriesWithinCommerceBoundary?: string[];
|
|
601
670
|
}
|
|
602
671
|
/** Map of data location to service location */
|
|
603
672
|
export interface DataLocationToServiceLocationMap {
|
|
@@ -715,6 +784,10 @@ export interface UpdateJobDetails {
|
|
|
715
784
|
contactDetails?: ContactDetails;
|
|
716
785
|
/** Shipping address of the customer. */
|
|
717
786
|
shippingAddress?: ShippingAddress;
|
|
787
|
+
/** Reverse Shipping Address and contact details for a job. */
|
|
788
|
+
reverseShippingDetails?: ReverseShippingDetails;
|
|
789
|
+
/** Preferences related to the order */
|
|
790
|
+
preferences?: Preferences;
|
|
718
791
|
/** Key encryption key for the job. */
|
|
719
792
|
keyEncryptionKey?: KeyEncryptionKey;
|
|
720
793
|
/** Return package details of job. */
|
|
@@ -952,6 +1025,11 @@ export interface ArmBaseObject {
|
|
|
952
1025
|
*/
|
|
953
1026
|
readonly type?: string;
|
|
954
1027
|
}
|
|
1028
|
+
/** Granular Details for log generated during copy. */
|
|
1029
|
+
export interface GranularCopyLogDetails {
|
|
1030
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1031
|
+
copyLogDetailsType: "DataBoxCustomerDisk";
|
|
1032
|
+
}
|
|
955
1033
|
/** Copy progress. */
|
|
956
1034
|
export interface CopyProgress {
|
|
957
1035
|
/**
|
|
@@ -1030,6 +1108,105 @@ export interface CopyProgress {
|
|
|
1030
1108
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1031
1109
|
*/
|
|
1032
1110
|
readonly isEnumerationInProgress?: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* Error, if any, in the stage
|
|
1113
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1114
|
+
*/
|
|
1115
|
+
readonly error?: CloudError;
|
|
1116
|
+
/**
|
|
1117
|
+
* Available actions on the job.
|
|
1118
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1119
|
+
*/
|
|
1120
|
+
readonly actions?: CustomerResolutionCode[];
|
|
1121
|
+
}
|
|
1122
|
+
/** Granular Copy progress. */
|
|
1123
|
+
export interface GranularCopyProgress {
|
|
1124
|
+
/**
|
|
1125
|
+
* Name of the storage account. This will be empty for data account types other than storage account.
|
|
1126
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1127
|
+
*/
|
|
1128
|
+
readonly storageAccountName?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Transfer type of data
|
|
1131
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1132
|
+
*/
|
|
1133
|
+
readonly transferType?: TransferType;
|
|
1134
|
+
/**
|
|
1135
|
+
* Data Account Type.
|
|
1136
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1137
|
+
*/
|
|
1138
|
+
readonly dataAccountType?: DataAccountType;
|
|
1139
|
+
/**
|
|
1140
|
+
* Id of the account where the data needs to be uploaded.
|
|
1141
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1142
|
+
*/
|
|
1143
|
+
readonly accountId?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* To indicate bytes transferred.
|
|
1146
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1147
|
+
*/
|
|
1148
|
+
readonly bytesProcessed?: number;
|
|
1149
|
+
/**
|
|
1150
|
+
* Total amount of data to be processed by the job.
|
|
1151
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1152
|
+
*/
|
|
1153
|
+
readonly totalBytesToProcess?: number;
|
|
1154
|
+
/**
|
|
1155
|
+
* Number of files processed
|
|
1156
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1157
|
+
*/
|
|
1158
|
+
readonly filesProcessed?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* Total files to process
|
|
1161
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1162
|
+
*/
|
|
1163
|
+
readonly totalFilesToProcess?: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* Number of files not adhering to azure naming conventions which were processed by automatic renaming
|
|
1166
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1167
|
+
*/
|
|
1168
|
+
readonly invalidFilesProcessed?: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* Total amount of data not adhering to azure naming conventions which were processed by automatic renaming
|
|
1171
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1172
|
+
*/
|
|
1173
|
+
readonly invalidFileBytesUploaded?: number;
|
|
1174
|
+
/**
|
|
1175
|
+
* Number of folders not adhering to azure naming conventions which were processed by automatic renaming
|
|
1176
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1177
|
+
*/
|
|
1178
|
+
readonly renamedContainerCount?: number;
|
|
1179
|
+
/**
|
|
1180
|
+
* Number of files which could not be copied
|
|
1181
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1182
|
+
*/
|
|
1183
|
+
readonly filesErroredOut?: number;
|
|
1184
|
+
/**
|
|
1185
|
+
* To indicate directories errored out in the job.
|
|
1186
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1187
|
+
*/
|
|
1188
|
+
readonly directoriesErroredOut?: number;
|
|
1189
|
+
/**
|
|
1190
|
+
* To indicate directories renamed
|
|
1191
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1192
|
+
*/
|
|
1193
|
+
readonly invalidDirectoriesProcessed?: number;
|
|
1194
|
+
/**
|
|
1195
|
+
* To indicate if enumeration of data is in progress.
|
|
1196
|
+
* Until this is true, the TotalBytesToProcess may not be valid.
|
|
1197
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1198
|
+
*/
|
|
1199
|
+
readonly isEnumerationInProgress?: boolean;
|
|
1200
|
+
/**
|
|
1201
|
+
* Error, if any, in the stage
|
|
1202
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1203
|
+
*/
|
|
1204
|
+
readonly error?: CloudError;
|
|
1205
|
+
/**
|
|
1206
|
+
* Available actions on the job.
|
|
1207
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1208
|
+
*/
|
|
1209
|
+
readonly actions?: CustomerResolutionCode[];
|
|
1033
1210
|
}
|
|
1034
1211
|
/** Import disk details */
|
|
1035
1212
|
export interface ImportDiskDetails {
|
|
@@ -1098,6 +1275,16 @@ export interface DataBoxDiskCopyProgress {
|
|
|
1098
1275
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1099
1276
|
*/
|
|
1100
1277
|
readonly status?: CopyStatus;
|
|
1278
|
+
/**
|
|
1279
|
+
* Error, if any, in the stage
|
|
1280
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1281
|
+
*/
|
|
1282
|
+
readonly error?: CloudError;
|
|
1283
|
+
/**
|
|
1284
|
+
* Available actions on the job.
|
|
1285
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1286
|
+
*/
|
|
1287
|
+
readonly actions?: CustomerResolutionCode[];
|
|
1101
1288
|
}
|
|
1102
1289
|
/** The secrets related to a databox heavy. */
|
|
1103
1290
|
export interface DataBoxHeavySecret {
|
|
@@ -1156,7 +1343,7 @@ export interface DataBoxSecret {
|
|
|
1156
1343
|
readonly accountCredentialDetails?: AccountCredentialDetails[];
|
|
1157
1344
|
}
|
|
1158
1345
|
/** Customer disk job details. */
|
|
1159
|
-
export
|
|
1346
|
+
export interface DataBoxCustomerDiskJobDetails extends JobDetails {
|
|
1160
1347
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1161
1348
|
jobDetailsType: "DataBoxCustomerDisk";
|
|
1162
1349
|
/** Contains the map of disk serial number to the disk details for import jobs. */
|
|
@@ -1184,9 +1371,9 @@ export declare type DataBoxCustomerDiskJobDetails = JobDetails & {
|
|
|
1184
1371
|
returnToCustomerPackageDetails: PackageCarrierDetails;
|
|
1185
1372
|
/** Flag to indicate if disk manifest should be backed-up in the Storage Account. */
|
|
1186
1373
|
enableManifestBackup?: boolean;
|
|
1187
|
-
}
|
|
1374
|
+
}
|
|
1188
1375
|
/** DataBox Disk Job Details. */
|
|
1189
|
-
export
|
|
1376
|
+
export interface DataBoxDiskJobDetails extends JobDetails {
|
|
1190
1377
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1191
1378
|
jobDetailsType: "DataBoxDisk";
|
|
1192
1379
|
/** User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. */
|
|
@@ -1198,6 +1385,16 @@ export declare type DataBoxDiskJobDetails = JobDetails & {
|
|
|
1198
1385
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1199
1386
|
*/
|
|
1200
1387
|
readonly copyProgress?: DataBoxDiskCopyProgress[];
|
|
1388
|
+
/**
|
|
1389
|
+
* Copy progress per disk.
|
|
1390
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1391
|
+
*/
|
|
1392
|
+
readonly granularCopyProgress?: DataBoxDiskGranularCopyProgress[];
|
|
1393
|
+
/**
|
|
1394
|
+
* Copy progress per disk.
|
|
1395
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1396
|
+
*/
|
|
1397
|
+
readonly granularCopyLogDetails?: DataBoxDiskGranularCopyLogDetails[];
|
|
1201
1398
|
/**
|
|
1202
1399
|
* Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer.
|
|
1203
1400
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1207,9 +1404,9 @@ export declare type DataBoxDiskJobDetails = JobDetails & {
|
|
|
1207
1404
|
};
|
|
1208
1405
|
/** User entered passkey for DataBox Disk job. */
|
|
1209
1406
|
passkey?: string;
|
|
1210
|
-
}
|
|
1407
|
+
}
|
|
1211
1408
|
/** Databox Heavy Device Job Details */
|
|
1212
|
-
export
|
|
1409
|
+
export interface DataBoxHeavyJobDetails extends JobDetails {
|
|
1213
1410
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1214
1411
|
jobDetailsType: "DataBoxHeavy";
|
|
1215
1412
|
/**
|
|
@@ -1219,9 +1416,9 @@ export declare type DataBoxHeavyJobDetails = JobDetails & {
|
|
|
1219
1416
|
readonly copyProgress?: CopyProgress[];
|
|
1220
1417
|
/** Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
|
|
1221
1418
|
devicePassword?: string;
|
|
1222
|
-
}
|
|
1419
|
+
}
|
|
1223
1420
|
/** Databox Job Details */
|
|
1224
|
-
export
|
|
1421
|
+
export interface DataBoxJobDetails extends JobDetails {
|
|
1225
1422
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1226
1423
|
jobDetailsType: "DataBox";
|
|
1227
1424
|
/**
|
|
@@ -1231,25 +1428,25 @@ export declare type DataBoxJobDetails = JobDetails & {
|
|
|
1231
1428
|
readonly copyProgress?: CopyProgress[];
|
|
1232
1429
|
/** Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+ */
|
|
1233
1430
|
devicePassword?: string;
|
|
1234
|
-
}
|
|
1431
|
+
}
|
|
1235
1432
|
/** Details of the managed disks. */
|
|
1236
|
-
export
|
|
1433
|
+
export interface ManagedDiskDetails extends DataAccountDetails {
|
|
1237
1434
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1238
1435
|
dataAccountType: "ManagedDisk";
|
|
1239
1436
|
/** Resource Group Id of the compute disks. */
|
|
1240
1437
|
resourceGroupId: string;
|
|
1241
1438
|
/** Resource Id of the storage account that can be used to copy the vhd for staging. */
|
|
1242
1439
|
stagingStorageAccountId: string;
|
|
1243
|
-
}
|
|
1440
|
+
}
|
|
1244
1441
|
/** Details for the storage account. */
|
|
1245
|
-
export
|
|
1442
|
+
export interface StorageAccountDetails extends DataAccountDetails {
|
|
1246
1443
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1247
1444
|
dataAccountType: "StorageAccount";
|
|
1248
1445
|
/** Storage Account Resource Id. */
|
|
1249
1446
|
storageAccountId: string;
|
|
1250
|
-
}
|
|
1447
|
+
}
|
|
1251
1448
|
/** Copy log details for a storage account of a DataBox job */
|
|
1252
|
-
export
|
|
1449
|
+
export interface DataBoxAccountCopyLogDetails extends CopyLogDetails {
|
|
1253
1450
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1254
1451
|
copyLogDetailsType: "DataBox";
|
|
1255
1452
|
/**
|
|
@@ -1267,9 +1464,9 @@ export declare type DataBoxAccountCopyLogDetails = CopyLogDetails & {
|
|
|
1267
1464
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1268
1465
|
*/
|
|
1269
1466
|
readonly copyVerboseLogLink?: string;
|
|
1270
|
-
}
|
|
1467
|
+
}
|
|
1271
1468
|
/** Copy Log Details for customer disk */
|
|
1272
|
-
export
|
|
1469
|
+
export interface DataBoxCustomerDiskCopyLogDetails extends CopyLogDetails {
|
|
1273
1470
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1274
1471
|
copyLogDetailsType: "DataBoxCustomerDisk";
|
|
1275
1472
|
/**
|
|
@@ -1287,9 +1484,9 @@ export declare type DataBoxCustomerDiskCopyLogDetails = CopyLogDetails & {
|
|
|
1287
1484
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1288
1485
|
*/
|
|
1289
1486
|
readonly verboseLogLink?: string;
|
|
1290
|
-
}
|
|
1487
|
+
}
|
|
1291
1488
|
/** Copy Log Details for a disk */
|
|
1292
|
-
export
|
|
1489
|
+
export interface DataBoxDiskCopyLogDetails extends CopyLogDetails {
|
|
1293
1490
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1294
1491
|
copyLogDetailsType: "DataBoxDisk";
|
|
1295
1492
|
/**
|
|
@@ -1307,9 +1504,9 @@ export declare type DataBoxDiskCopyLogDetails = CopyLogDetails & {
|
|
|
1307
1504
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1308
1505
|
*/
|
|
1309
1506
|
readonly verboseLogLink?: string;
|
|
1310
|
-
}
|
|
1507
|
+
}
|
|
1311
1508
|
/** Copy log details for a storage account for Databox heavy */
|
|
1312
|
-
export
|
|
1509
|
+
export interface DataBoxHeavyAccountCopyLogDetails extends CopyLogDetails {
|
|
1313
1510
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1314
1511
|
copyLogDetailsType: "DataBoxHeavy";
|
|
1315
1512
|
/**
|
|
@@ -1327,9 +1524,9 @@ export declare type DataBoxHeavyAccountCopyLogDetails = CopyLogDetails & {
|
|
|
1327
1524
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1328
1525
|
*/
|
|
1329
1526
|
readonly copyVerboseLogLink?: string[];
|
|
1330
|
-
}
|
|
1527
|
+
}
|
|
1331
1528
|
/** Datacenter instruction for given storage location. */
|
|
1332
|
-
export
|
|
1529
|
+
export interface DatacenterAddressInstructionResponse extends DatacenterAddressResponse {
|
|
1333
1530
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1334
1531
|
datacenterAddressType: "DatacenterAddressInstruction";
|
|
1335
1532
|
/**
|
|
@@ -1337,9 +1534,9 @@ export declare type DatacenterAddressInstructionResponse = DatacenterAddressResp
|
|
|
1337
1534
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1338
1535
|
*/
|
|
1339
1536
|
readonly communicationInstruction?: string;
|
|
1340
|
-
}
|
|
1537
|
+
}
|
|
1341
1538
|
/** Datacenter address for given storage location. */
|
|
1342
|
-
export
|
|
1539
|
+
export interface DatacenterAddressLocationResponse extends DatacenterAddressResponse {
|
|
1343
1540
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1344
1541
|
datacenterAddressType: "DatacenterAddressLocation";
|
|
1345
1542
|
/**
|
|
@@ -1407,9 +1604,9 @@ export declare type DatacenterAddressLocationResponse = DatacenterAddressRespons
|
|
|
1407
1604
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1408
1605
|
*/
|
|
1409
1606
|
readonly additionalShippingInformation?: string;
|
|
1410
|
-
}
|
|
1607
|
+
}
|
|
1411
1608
|
/** Job Resource. */
|
|
1412
|
-
export
|
|
1609
|
+
export interface JobResource extends Resource {
|
|
1413
1610
|
/**
|
|
1414
1611
|
* Name of the object.
|
|
1415
1612
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1447,6 +1644,16 @@ export declare type JobResource = Resource & {
|
|
|
1447
1644
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1448
1645
|
*/
|
|
1449
1646
|
readonly isShippingAddressEditable?: boolean;
|
|
1647
|
+
/**
|
|
1648
|
+
* The Editable status for Reverse Shipping Address and Contact Info
|
|
1649
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1650
|
+
*/
|
|
1651
|
+
readonly reverseShippingDetailsUpdate?: ReverseShippingDetailsEditStatus;
|
|
1652
|
+
/**
|
|
1653
|
+
* The Editable status for Reverse Transport preferences
|
|
1654
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1655
|
+
*/
|
|
1656
|
+
readonly reverseTransportPreferenceUpdate?: ReverseTransportPreferenceEditStatus;
|
|
1450
1657
|
/**
|
|
1451
1658
|
* Is Prepare To Ship Enabled on this job
|
|
1452
1659
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1483,9 +1690,9 @@ export declare type JobResource = Resource & {
|
|
|
1483
1690
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1484
1691
|
*/
|
|
1485
1692
|
readonly isCancellableWithoutFee?: boolean;
|
|
1486
|
-
}
|
|
1693
|
+
}
|
|
1487
1694
|
/** The requirements to validate customer address where the device needs to be shipped. */
|
|
1488
|
-
export
|
|
1695
|
+
export interface ValidateAddress extends ValidationInputRequest {
|
|
1489
1696
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1490
1697
|
validationType: "ValidateAddress";
|
|
1491
1698
|
/** Shipping address of the customer. */
|
|
@@ -1494,16 +1701,16 @@ export declare type ValidateAddress = ValidationInputRequest & {
|
|
|
1494
1701
|
deviceType: SkuName;
|
|
1495
1702
|
/** Preferences related to the shipment logistics of the sku. */
|
|
1496
1703
|
transportPreferences?: TransportPreferences;
|
|
1497
|
-
}
|
|
1704
|
+
}
|
|
1498
1705
|
/** Request to validate create order limit for current subscription. */
|
|
1499
|
-
export
|
|
1706
|
+
export interface CreateOrderLimitForSubscriptionValidationRequest extends ValidationInputRequest {
|
|
1500
1707
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1501
1708
|
validationType: "ValidateCreateOrderLimit";
|
|
1502
1709
|
/** Device type to be used for the job. */
|
|
1503
1710
|
deviceType: SkuName;
|
|
1504
|
-
}
|
|
1711
|
+
}
|
|
1505
1712
|
/** Request to validate export and import data details. */
|
|
1506
|
-
export
|
|
1713
|
+
export interface DataTransferDetailsValidationRequest extends ValidationInputRequest {
|
|
1507
1714
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1508
1715
|
validationType: "ValidateDataTransferDetails";
|
|
1509
1716
|
/** List of DataTransfer details to be used to export data from azure. */
|
|
@@ -1514,18 +1721,18 @@ export declare type DataTransferDetailsValidationRequest = ValidationInputReques
|
|
|
1514
1721
|
deviceType: SkuName;
|
|
1515
1722
|
/** Type of the transfer. */
|
|
1516
1723
|
transferType: TransferType;
|
|
1517
|
-
}
|
|
1724
|
+
}
|
|
1518
1725
|
/** Request to validate preference of transport and data center. */
|
|
1519
|
-
export
|
|
1726
|
+
export interface PreferencesValidationRequest extends ValidationInputRequest {
|
|
1520
1727
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1521
1728
|
validationType: "ValidatePreferences";
|
|
1522
1729
|
/** Preference of transport and data center. */
|
|
1523
1730
|
preference?: Preferences;
|
|
1524
1731
|
/** Device type to be used for the job. */
|
|
1525
1732
|
deviceType: SkuName;
|
|
1526
|
-
}
|
|
1733
|
+
}
|
|
1527
1734
|
/** Request to validate sku availability. */
|
|
1528
|
-
export
|
|
1735
|
+
export interface SkuAvailabilityValidationRequest extends ValidationInputRequest {
|
|
1529
1736
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1530
1737
|
validationType: "ValidateSkuAvailability";
|
|
1531
1738
|
/** Device type to be used for the job. */
|
|
@@ -1536,14 +1743,14 @@ export declare type SkuAvailabilityValidationRequest = ValidationInputRequest &
|
|
|
1536
1743
|
country: string;
|
|
1537
1744
|
/** Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 */
|
|
1538
1745
|
location: string;
|
|
1539
|
-
}
|
|
1746
|
+
}
|
|
1540
1747
|
/** Request to validate subscription permission to create jobs. */
|
|
1541
|
-
export
|
|
1748
|
+
export interface SubscriptionIsAllowedToCreateJobValidationRequest extends ValidationInputRequest {
|
|
1542
1749
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1543
1750
|
validationType: "ValidateSubscriptionIsAllowedToCreateJob";
|
|
1544
|
-
}
|
|
1751
|
+
}
|
|
1545
1752
|
/** The address validation output. */
|
|
1546
|
-
export
|
|
1753
|
+
export interface AddressValidationProperties extends ValidationInputResponse {
|
|
1547
1754
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1548
1755
|
validationType: "ValidateAddress";
|
|
1549
1756
|
/**
|
|
@@ -1556,9 +1763,9 @@ export declare type AddressValidationProperties = ValidationInputResponse & {
|
|
|
1556
1763
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1557
1764
|
*/
|
|
1558
1765
|
readonly alternateAddresses?: ShippingAddress[];
|
|
1559
|
-
}
|
|
1766
|
+
}
|
|
1560
1767
|
/** Properties of create order limit for subscription validation response. */
|
|
1561
|
-
export
|
|
1768
|
+
export interface CreateOrderLimitForSubscriptionValidationResponseProperties extends ValidationInputResponse {
|
|
1562
1769
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1563
1770
|
validationType: "ValidateCreateOrderLimit";
|
|
1564
1771
|
/**
|
|
@@ -1566,9 +1773,9 @@ export declare type CreateOrderLimitForSubscriptionValidationResponseProperties
|
|
|
1566
1773
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1567
1774
|
*/
|
|
1568
1775
|
readonly status?: ValidationStatus;
|
|
1569
|
-
}
|
|
1776
|
+
}
|
|
1570
1777
|
/** Properties of data transfer details validation response. */
|
|
1571
|
-
export
|
|
1778
|
+
export interface DataTransferDetailsValidationResponseProperties extends ValidationInputResponse {
|
|
1572
1779
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1573
1780
|
validationType: "ValidateDataTransferDetails";
|
|
1574
1781
|
/**
|
|
@@ -1576,9 +1783,9 @@ export declare type DataTransferDetailsValidationResponseProperties = Validation
|
|
|
1576
1783
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1577
1784
|
*/
|
|
1578
1785
|
readonly status?: ValidationStatus;
|
|
1579
|
-
}
|
|
1786
|
+
}
|
|
1580
1787
|
/** Properties of data center and transport preference validation response. */
|
|
1581
|
-
export
|
|
1788
|
+
export interface PreferencesValidationResponseProperties extends ValidationInputResponse {
|
|
1582
1789
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1583
1790
|
validationType: "ValidatePreferences";
|
|
1584
1791
|
/**
|
|
@@ -1586,9 +1793,9 @@ export declare type PreferencesValidationResponseProperties = ValidationInputRes
|
|
|
1586
1793
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1587
1794
|
*/
|
|
1588
1795
|
readonly status?: ValidationStatus;
|
|
1589
|
-
}
|
|
1796
|
+
}
|
|
1590
1797
|
/** Properties of sku availability validation response. */
|
|
1591
|
-
export
|
|
1798
|
+
export interface SkuAvailabilityValidationResponseProperties extends ValidationInputResponse {
|
|
1592
1799
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1593
1800
|
validationType: "ValidateSkuAvailability";
|
|
1594
1801
|
/**
|
|
@@ -1596,9 +1803,9 @@ export declare type SkuAvailabilityValidationResponseProperties = ValidationInpu
|
|
|
1596
1803
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1597
1804
|
*/
|
|
1598
1805
|
readonly status?: ValidationStatus;
|
|
1599
|
-
}
|
|
1806
|
+
}
|
|
1600
1807
|
/** Properties of subscription permission to create job validation response. */
|
|
1601
|
-
export
|
|
1808
|
+
export interface SubscriptionIsAllowedToCreateJobValidationResponseProperties extends ValidationInputResponse {
|
|
1602
1809
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1603
1810
|
validationType: "ValidateSubscriptionIsAllowedToCreateJob";
|
|
1604
1811
|
/**
|
|
@@ -1606,14 +1813,14 @@ export declare type SubscriptionIsAllowedToCreateJobValidationResponseProperties
|
|
|
1606
1813
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1607
1814
|
*/
|
|
1608
1815
|
readonly status?: ValidationStatus;
|
|
1609
|
-
}
|
|
1816
|
+
}
|
|
1610
1817
|
/** It does all pre-job creation validations. */
|
|
1611
|
-
export
|
|
1818
|
+
export interface CreateJobValidations extends ValidationRequest {
|
|
1612
1819
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1613
1820
|
validationCategory: "JobCreationValidation";
|
|
1614
|
-
}
|
|
1821
|
+
}
|
|
1615
1822
|
/** The secrets related to customer disk job. */
|
|
1616
|
-
export
|
|
1823
|
+
export interface CustomerDiskJobSecrets extends JobSecrets {
|
|
1617
1824
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1618
1825
|
jobSecretsType: "DataBoxCustomerDisk";
|
|
1619
1826
|
/**
|
|
@@ -1626,9 +1833,9 @@ export declare type CustomerDiskJobSecrets = JobSecrets & {
|
|
|
1626
1833
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1627
1834
|
*/
|
|
1628
1835
|
readonly carrierAccountNumber?: string;
|
|
1629
|
-
}
|
|
1836
|
+
}
|
|
1630
1837
|
/** The secrets related to disk job. */
|
|
1631
|
-
export
|
|
1838
|
+
export interface DataBoxDiskJobSecrets extends JobSecrets {
|
|
1632
1839
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1633
1840
|
jobSecretsType: "DataBoxDisk";
|
|
1634
1841
|
/**
|
|
@@ -1646,9 +1853,9 @@ export declare type DataBoxDiskJobSecrets = JobSecrets & {
|
|
|
1646
1853
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1647
1854
|
*/
|
|
1648
1855
|
readonly isPasskeyUserDefined?: boolean;
|
|
1649
|
-
}
|
|
1856
|
+
}
|
|
1650
1857
|
/** The secrets related to a databox heavy job. */
|
|
1651
|
-
export
|
|
1858
|
+
export interface DataBoxHeavyJobSecrets extends JobSecrets {
|
|
1652
1859
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1653
1860
|
jobSecretsType: "DataBoxHeavy";
|
|
1654
1861
|
/**
|
|
@@ -1656,33 +1863,58 @@ export declare type DataBoxHeavyJobSecrets = JobSecrets & {
|
|
|
1656
1863
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1657
1864
|
*/
|
|
1658
1865
|
readonly cabinetPodSecrets?: DataBoxHeavySecret[];
|
|
1659
|
-
}
|
|
1866
|
+
}
|
|
1660
1867
|
/** The secrets related to a databox job. */
|
|
1661
|
-
export
|
|
1868
|
+
export interface DataboxJobSecrets extends JobSecrets {
|
|
1662
1869
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1663
1870
|
jobSecretsType: "DataBox";
|
|
1664
1871
|
/** Contains the list of secret objects for a job. */
|
|
1665
1872
|
podSecrets?: DataBoxSecret[];
|
|
1666
|
-
}
|
|
1873
|
+
}
|
|
1667
1874
|
/** Request body to get the availability for scheduling data box orders orders. */
|
|
1668
|
-
export
|
|
1875
|
+
export interface DataBoxScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
|
|
1669
1876
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1670
1877
|
skuName: "DataBox";
|
|
1671
|
-
}
|
|
1878
|
+
}
|
|
1672
1879
|
/** Request body to get the availability for scheduling disk orders. */
|
|
1673
|
-
export
|
|
1880
|
+
export interface DiskScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
|
|
1674
1881
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1675
1882
|
skuName: "DataBoxDisk";
|
|
1676
1883
|
/** The expected size of the data, which needs to be transferred in this job, in terabytes. */
|
|
1677
1884
|
expectedDataSizeInTeraBytes: number;
|
|
1678
|
-
}
|
|
1885
|
+
}
|
|
1679
1886
|
/** Request body to get the availability for scheduling heavy orders. */
|
|
1680
|
-
export
|
|
1887
|
+
export interface HeavyScheduleAvailabilityRequest extends ScheduleAvailabilityRequest {
|
|
1681
1888
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1682
1889
|
skuName: "DataBoxHeavy";
|
|
1683
|
-
}
|
|
1890
|
+
}
|
|
1891
|
+
/** Granular Copy Log Details for customer disk */
|
|
1892
|
+
export interface DataBoxDiskGranularCopyLogDetails extends GranularCopyLogDetails {
|
|
1893
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1894
|
+
copyLogDetailsType: "DataBoxCustomerDisk";
|
|
1895
|
+
/**
|
|
1896
|
+
* Disk Serial Number.
|
|
1897
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1898
|
+
*/
|
|
1899
|
+
readonly serialNumber?: string;
|
|
1900
|
+
/**
|
|
1901
|
+
* Account id.
|
|
1902
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1903
|
+
*/
|
|
1904
|
+
readonly accountId?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Link for copy error logs.
|
|
1907
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1908
|
+
*/
|
|
1909
|
+
readonly errorLogLink?: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* Link for copy verbose logs.
|
|
1912
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1913
|
+
*/
|
|
1914
|
+
readonly verboseLogLink?: string;
|
|
1915
|
+
}
|
|
1684
1916
|
/** DataBox CustomerDisk Copy Progress */
|
|
1685
|
-
export
|
|
1917
|
+
export interface DataBoxCustomerDiskCopyProgress extends CopyProgress {
|
|
1686
1918
|
/**
|
|
1687
1919
|
* Disk Serial Number.
|
|
1688
1920
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1693,7 +1925,30 @@ export declare type DataBoxCustomerDiskCopyProgress = CopyProgress & {
|
|
|
1693
1925
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1694
1926
|
*/
|
|
1695
1927
|
readonly copyStatus?: CopyStatus;
|
|
1696
|
-
}
|
|
1928
|
+
}
|
|
1929
|
+
/** DataBox Disk Granular Copy Progress */
|
|
1930
|
+
export interface DataBoxDiskGranularCopyProgress extends GranularCopyProgress {
|
|
1931
|
+
/**
|
|
1932
|
+
* Disk Serial Number.
|
|
1933
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1934
|
+
*/
|
|
1935
|
+
readonly serialNumber?: string;
|
|
1936
|
+
/**
|
|
1937
|
+
* The Status of the copy
|
|
1938
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1939
|
+
*/
|
|
1940
|
+
readonly copyStatus?: CopyStatus;
|
|
1941
|
+
}
|
|
1942
|
+
/** Defines headers for Jobs_delete operation. */
|
|
1943
|
+
export interface JobsDeleteHeaders {
|
|
1944
|
+
/** The URI to poll for completion status. */
|
|
1945
|
+
location?: string;
|
|
1946
|
+
}
|
|
1947
|
+
/** Defines headers for Jobs_update operation. */
|
|
1948
|
+
export interface JobsUpdateHeaders {
|
|
1949
|
+
/** The URI to poll for completion status. */
|
|
1950
|
+
location?: string;
|
|
1951
|
+
}
|
|
1697
1952
|
/** Known values of {@link StageName} that the service accepts. */
|
|
1698
1953
|
export declare enum KnownStageName {
|
|
1699
1954
|
/** An order has been created. */
|
|
@@ -1766,7 +2021,7 @@ export declare enum KnownStageName {
|
|
|
1766
2021
|
* **PreparingToShipFromAzureDC**: Preparing the device to ship to customer. \
|
|
1767
2022
|
* **ShippedToCustomer**: Shipped the device to customer.
|
|
1768
2023
|
*/
|
|
1769
|
-
export
|
|
2024
|
+
export type StageName = string;
|
|
1770
2025
|
/** Known values of {@link NotificationStageName} that the service accepts. */
|
|
1771
2026
|
export declare enum KnownNotificationStageName {
|
|
1772
2027
|
/** Notification at device prepared stage. */
|
|
@@ -1800,59 +2055,127 @@ export declare enum KnownNotificationStageName {
|
|
|
1800
2055
|
* **Created**: Notification at job created stage. \
|
|
1801
2056
|
* **ShippedToCustomer**: Notification at shipped devices to customer stage.
|
|
1802
2057
|
*/
|
|
1803
|
-
export
|
|
2058
|
+
export type NotificationStageName = string;
|
|
1804
2059
|
/** Known values of {@link DataCenterCode} that the service accepts. */
|
|
1805
2060
|
export declare enum KnownDataCenterCode {
|
|
2061
|
+
/** Invalid */
|
|
1806
2062
|
Invalid = "Invalid",
|
|
2063
|
+
/** BY2 */
|
|
1807
2064
|
BY2 = "BY2",
|
|
2065
|
+
/** BY1 */
|
|
1808
2066
|
BY1 = "BY1",
|
|
2067
|
+
/** ORK70 */
|
|
1809
2068
|
ORK70 = "ORK70",
|
|
2069
|
+
/** AM2 */
|
|
1810
2070
|
AM2 = "AM2",
|
|
2071
|
+
/** AMS20 */
|
|
1811
2072
|
AMS20 = "AMS20",
|
|
2073
|
+
/** BY21 */
|
|
1812
2074
|
BY21 = "BY21",
|
|
2075
|
+
/** BY24 */
|
|
1813
2076
|
BY24 = "BY24",
|
|
2077
|
+
/** MWH01 */
|
|
1814
2078
|
MWH01 = "MWH01",
|
|
2079
|
+
/** AMS06 */
|
|
1815
2080
|
AMS06 = "AMS06",
|
|
2081
|
+
/** SSE90 */
|
|
1816
2082
|
SSE90 = "SSE90",
|
|
2083
|
+
/** SYD03 */
|
|
1817
2084
|
SYD03 = "SYD03",
|
|
2085
|
+
/** SYD23 */
|
|
1818
2086
|
SYD23 = "SYD23",
|
|
2087
|
+
/** CBR20 */
|
|
1819
2088
|
CBR20 = "CBR20",
|
|
2089
|
+
/** YTO20 */
|
|
1820
2090
|
YTO20 = "YTO20",
|
|
2091
|
+
/** CWL20 */
|
|
1821
2092
|
CWL20 = "CWL20",
|
|
2093
|
+
/** LON24 */
|
|
1822
2094
|
LON24 = "LON24",
|
|
2095
|
+
/** BOM01 */
|
|
1823
2096
|
BOM01 = "BOM01",
|
|
2097
|
+
/** BL20 */
|
|
1824
2098
|
BL20 = "BL20",
|
|
2099
|
+
/** BL7 */
|
|
1825
2100
|
BL7 = "BL7",
|
|
2101
|
+
/** SEL20 */
|
|
1826
2102
|
SEL20 = "SEL20",
|
|
2103
|
+
/** TYO01 */
|
|
1827
2104
|
TYO01 = "TYO01",
|
|
2105
|
+
/** BN1 */
|
|
1828
2106
|
BN1 = "BN1",
|
|
2107
|
+
/** SN5 */
|
|
1829
2108
|
SN5 = "SN5",
|
|
2109
|
+
/** CYS04 */
|
|
1830
2110
|
CYS04 = "CYS04",
|
|
2111
|
+
/** TYO22 */
|
|
1831
2112
|
TYO22 = "TYO22",
|
|
2113
|
+
/** YTO21 */
|
|
1832
2114
|
YTO21 = "YTO21",
|
|
2115
|
+
/** YQB20 */
|
|
1833
2116
|
YQB20 = "YQB20",
|
|
2117
|
+
/** FRA22 */
|
|
1834
2118
|
FRA22 = "FRA22",
|
|
2119
|
+
/** MAA01 */
|
|
1835
2120
|
MAA01 = "MAA01",
|
|
2121
|
+
/** CPQ02 */
|
|
1836
2122
|
CPQ02 = "CPQ02",
|
|
2123
|
+
/** CPQ20 */
|
|
1837
2124
|
CPQ20 = "CPQ20",
|
|
2125
|
+
/** SIN20 */
|
|
1838
2126
|
SIN20 = "SIN20",
|
|
2127
|
+
/** HKG20 */
|
|
1839
2128
|
HKG20 = "HKG20",
|
|
2129
|
+
/** SG2 */
|
|
1840
2130
|
SG2 = "SG2",
|
|
2131
|
+
/** MEL23 */
|
|
1841
2132
|
MEL23 = "MEL23",
|
|
2133
|
+
/** SEL21 */
|
|
1842
2134
|
SEL21 = "SEL21",
|
|
2135
|
+
/** OSA20 */
|
|
1843
2136
|
OSA20 = "OSA20",
|
|
2137
|
+
/** SHA03 */
|
|
1844
2138
|
SHA03 = "SHA03",
|
|
2139
|
+
/** BJB */
|
|
1845
2140
|
BJB = "BJB",
|
|
2141
|
+
/** JNB22 */
|
|
1846
2142
|
JNB22 = "JNB22",
|
|
2143
|
+
/** JNB21 */
|
|
1847
2144
|
JNB21 = "JNB21",
|
|
2145
|
+
/** MNZ21 */
|
|
1848
2146
|
MNZ21 = "MNZ21",
|
|
2147
|
+
/** SN8 */
|
|
1849
2148
|
SN8 = "SN8",
|
|
2149
|
+
/** AUH20 */
|
|
1850
2150
|
AUH20 = "AUH20",
|
|
2151
|
+
/** ZRH20 */
|
|
1851
2152
|
ZRH20 = "ZRH20",
|
|
2153
|
+
/** PUS20 */
|
|
1852
2154
|
PUS20 = "PUS20",
|
|
2155
|
+
/** AdHoc */
|
|
1853
2156
|
AdHoc = "AdHoc",
|
|
2157
|
+
/** CH1 */
|
|
1854
2158
|
CH1 = "CH1",
|
|
1855
|
-
DSM05
|
|
2159
|
+
/** DSM05 */
|
|
2160
|
+
DSM05 = "DSM05",
|
|
2161
|
+
/** DUB07 */
|
|
2162
|
+
DUB07 = "DUB07",
|
|
2163
|
+
/** PNQ01 */
|
|
2164
|
+
PNQ01 = "PNQ01",
|
|
2165
|
+
/** SVG20 */
|
|
2166
|
+
SVG20 = "SVG20",
|
|
2167
|
+
/** OSA02 */
|
|
2168
|
+
OSA02 = "OSA02",
|
|
2169
|
+
/** OSA22 */
|
|
2170
|
+
OSA22 = "OSA22",
|
|
2171
|
+
/** PAR22 */
|
|
2172
|
+
PAR22 = "PAR22",
|
|
2173
|
+
/** BN7 */
|
|
2174
|
+
BN7 = "BN7",
|
|
2175
|
+
/** SN6 */
|
|
2176
|
+
SN6 = "SN6",
|
|
2177
|
+
/** BJS20 */
|
|
2178
|
+
BJS20 = "BJS20"
|
|
1856
2179
|
}
|
|
1857
2180
|
/**
|
|
1858
2181
|
* Defines values for DataCenterCode. \
|
|
@@ -1908,9 +2231,18 @@ export declare enum KnownDataCenterCode {
|
|
|
1908
2231
|
* **PUS20** \
|
|
1909
2232
|
* **AdHoc** \
|
|
1910
2233
|
* **CH1** \
|
|
1911
|
-
* **DSM05**
|
|
2234
|
+
* **DSM05** \
|
|
2235
|
+
* **DUB07** \
|
|
2236
|
+
* **PNQ01** \
|
|
2237
|
+
* **SVG20** \
|
|
2238
|
+
* **OSA02** \
|
|
2239
|
+
* **OSA22** \
|
|
2240
|
+
* **PAR22** \
|
|
2241
|
+
* **BN7** \
|
|
2242
|
+
* **SN6** \
|
|
2243
|
+
* **BJS20**
|
|
1912
2244
|
*/
|
|
1913
|
-
export
|
|
2245
|
+
export type DataCenterCode = string;
|
|
1914
2246
|
/** Known values of {@link CopyStatus} that the service accepts. */
|
|
1915
2247
|
export declare enum KnownCopyStatus {
|
|
1916
2248
|
/** Data copy hasn't started yet. */
|
|
@@ -1947,7 +2279,7 @@ export declare enum KnownCopyStatus {
|
|
|
1947
2279
|
DriveNotDetected = "DriveNotDetected",
|
|
1948
2280
|
/** Copy failed due to corrupted drive. */
|
|
1949
2281
|
DriveCorrupted = "DriveCorrupted",
|
|
1950
|
-
/** Copy failed due to modified
|
|
2282
|
+
/** Copy failed due to modified or removed metadata files. */
|
|
1951
2283
|
MetadataFilesModifiedOrRemoved = "MetadataFilesModifiedOrRemoved"
|
|
1952
2284
|
}
|
|
1953
2285
|
/**
|
|
@@ -1972,70 +2304,76 @@ export declare enum KnownCopyStatus {
|
|
|
1972
2304
|
* **OtherUserError**: Copy failed due to user error. \
|
|
1973
2305
|
* **DriveNotDetected**: Copy failed due to disk detection error. \
|
|
1974
2306
|
* **DriveCorrupted**: Copy failed due to corrupted drive. \
|
|
1975
|
-
* **MetadataFilesModifiedOrRemoved**: Copy failed due to modified
|
|
2307
|
+
* **MetadataFilesModifiedOrRemoved**: Copy failed due to modified or removed metadata files.
|
|
1976
2308
|
*/
|
|
1977
|
-
export
|
|
2309
|
+
export type CopyStatus = string;
|
|
1978
2310
|
/** Defines values for TransferType. */
|
|
1979
|
-
export
|
|
2311
|
+
export type TransferType = "ImportToAzure" | "ExportFromAzure";
|
|
2312
|
+
/** Defines values for ReverseShippingDetailsEditStatus. */
|
|
2313
|
+
export type ReverseShippingDetailsEditStatus = "Enabled" | "Disabled" | "NotSupported";
|
|
2314
|
+
/** Defines values for ReverseTransportPreferenceEditStatus. */
|
|
2315
|
+
export type ReverseTransportPreferenceEditStatus = "Enabled" | "Disabled" | "NotSupported";
|
|
1980
2316
|
/** Defines values for StageStatus. */
|
|
1981
|
-
export
|
|
2317
|
+
export type StageStatus = "None" | "InProgress" | "Succeeded" | "Failed" | "Cancelled" | "Cancelling" | "SucceededWithErrors" | "WaitingForCustomerAction" | "SucceededWithWarnings" | "WaitingForCustomerActionForKek" | "WaitingForCustomerActionForCleanUp" | "CustomerActionPerformedForCleanUp" | "CustomerActionPerformed";
|
|
1982
2318
|
/** Defines values for AddressType. */
|
|
1983
|
-
export
|
|
2319
|
+
export type AddressType = "None" | "Residential" | "Commercial";
|
|
1984
2320
|
/** Defines values for DataAccountType. */
|
|
1985
|
-
export
|
|
2321
|
+
export type DataAccountType = "StorageAccount" | "ManagedDisk";
|
|
1986
2322
|
/** Defines values for LogCollectionLevel. */
|
|
1987
|
-
export
|
|
2323
|
+
export type LogCollectionLevel = "Error" | "Verbose";
|
|
1988
2324
|
/** Defines values for TransferConfigurationType. */
|
|
1989
|
-
export
|
|
2325
|
+
export type TransferConfigurationType = "TransferAll" | "TransferUsingFilter";
|
|
1990
2326
|
/** Defines values for FilterFileType. */
|
|
1991
|
-
export
|
|
2327
|
+
export type FilterFileType = "AzureBlob" | "AzureFile";
|
|
1992
2328
|
/** Defines values for ClassDiscriminator. */
|
|
1993
|
-
export
|
|
2329
|
+
export type ClassDiscriminator = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
|
|
1994
2330
|
/** Defines values for TransportShipmentTypes. */
|
|
1995
|
-
export
|
|
2331
|
+
export type TransportShipmentTypes = "CustomerManaged" | "MicrosoftManaged";
|
|
1996
2332
|
/** Defines values for DoubleEncryption. */
|
|
1997
|
-
export
|
|
2333
|
+
export type DoubleEncryption = "Enabled" | "Disabled";
|
|
2334
|
+
/** Defines values for HardwareEncryption. */
|
|
2335
|
+
export type HardwareEncryption = "Enabled" | "Disabled";
|
|
1998
2336
|
/** Defines values for KekType. */
|
|
1999
|
-
export
|
|
2337
|
+
export type KekType = "MicrosoftManaged" | "CustomerManaged";
|
|
2000
2338
|
/** Defines values for CustomerResolutionCode. */
|
|
2001
|
-
export
|
|
2339
|
+
export type CustomerResolutionCode = "None" | "MoveToCleanUpDevice" | "Resume" | "Restart" | "ReachOutToOperation";
|
|
2002
2340
|
/** Defines values for DatacenterAddressType. */
|
|
2003
|
-
export
|
|
2341
|
+
export type DatacenterAddressType = "DatacenterAddressLocation" | "DatacenterAddressInstruction";
|
|
2004
2342
|
/** Defines values for JobDeliveryType. */
|
|
2005
|
-
export
|
|
2343
|
+
export type JobDeliveryType = "NonScheduled" | "Scheduled";
|
|
2006
2344
|
/** Defines values for SkuName. */
|
|
2007
|
-
export
|
|
2345
|
+
export type SkuName = "DataBox" | "DataBoxDisk" | "DataBoxHeavy" | "DataBoxCustomerDisk";
|
|
2008
2346
|
/** Defines values for SkuDisabledReason. */
|
|
2009
|
-
export
|
|
2347
|
+
export type SkuDisabledReason = "None" | "Country" | "Region" | "Feature" | "OfferType" | "NoSubscriptionInfo";
|
|
2010
2348
|
/** Defines values for ValidationInputDiscriminator. */
|
|
2011
|
-
export
|
|
2349
|
+
export type ValidationInputDiscriminator = "ValidateAddress" | "ValidateSubscriptionIsAllowedToCreateJob" | "ValidatePreferences" | "ValidateCreateOrderLimit" | "ValidateSkuAvailability" | "ValidateDataTransferDetails";
|
|
2012
2350
|
/** Defines values for AddressValidationStatus. */
|
|
2013
|
-
export
|
|
2351
|
+
export type AddressValidationStatus = "Valid" | "Invalid" | "Ambiguous";
|
|
2014
2352
|
/** Defines values for OverallValidationStatus. */
|
|
2015
|
-
export
|
|
2353
|
+
export type OverallValidationStatus = "AllValidToProceed" | "InputsRevisitRequired" | "CertainInputValidationsSkipped";
|
|
2016
2354
|
/** Defines values for ShareDestinationFormatType. */
|
|
2017
|
-
export
|
|
2355
|
+
export type ShareDestinationFormatType = "UnknownType" | "HCS" | "BlockBlob" | "PageBlob" | "AzureFile" | "ManagedDisk";
|
|
2018
2356
|
/** Defines values for AccessProtocol. */
|
|
2019
|
-
export
|
|
2357
|
+
export type AccessProtocol = "SMB" | "NFS";
|
|
2020
2358
|
/** Defines values for ValidationStatus. */
|
|
2021
|
-
export
|
|
2359
|
+
export type ValidationStatus = "Valid" | "Invalid" | "Skipped";
|
|
2022
2360
|
/** Optional parameters. */
|
|
2023
2361
|
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
2024
2362
|
}
|
|
2025
2363
|
/** Contains response data for the list operation. */
|
|
2026
|
-
export
|
|
2364
|
+
export type OperationsListResponse = OperationList;
|
|
2027
2365
|
/** Optional parameters. */
|
|
2028
2366
|
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2029
2367
|
}
|
|
2030
2368
|
/** Contains response data for the listNext operation. */
|
|
2031
|
-
export
|
|
2369
|
+
export type OperationsListNextResponse = OperationList;
|
|
2032
2370
|
/** Optional parameters. */
|
|
2033
2371
|
export interface JobsListOptionalParams extends coreClient.OperationOptions {
|
|
2034
2372
|
/** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
|
|
2035
2373
|
skipToken?: string;
|
|
2036
2374
|
}
|
|
2037
2375
|
/** Contains response data for the list operation. */
|
|
2038
|
-
export
|
|
2376
|
+
export type JobsListResponse = JobResourceList;
|
|
2039
2377
|
/** Optional parameters. */
|
|
2040
2378
|
export interface JobsMarkDevicesShippedOptionalParams extends coreClient.OperationOptions {
|
|
2041
2379
|
}
|
|
@@ -2045,14 +2383,14 @@ export interface JobsListByResourceGroupOptionalParams extends coreClient.Operat
|
|
|
2045
2383
|
skipToken?: string;
|
|
2046
2384
|
}
|
|
2047
2385
|
/** Contains response data for the listByResourceGroup operation. */
|
|
2048
|
-
export
|
|
2386
|
+
export type JobsListByResourceGroupResponse = JobResourceList;
|
|
2049
2387
|
/** Optional parameters. */
|
|
2050
2388
|
export interface JobsGetOptionalParams extends coreClient.OperationOptions {
|
|
2051
2389
|
/** $expand is supported on details parameter for job, which provides details on the job stages. */
|
|
2052
2390
|
expand?: string;
|
|
2053
2391
|
}
|
|
2054
2392
|
/** Contains response data for the get operation. */
|
|
2055
|
-
export
|
|
2393
|
+
export type JobsGetResponse = JobResource;
|
|
2056
2394
|
/** Optional parameters. */
|
|
2057
2395
|
export interface JobsCreateOptionalParams extends coreClient.OperationOptions {
|
|
2058
2396
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -2061,7 +2399,7 @@ export interface JobsCreateOptionalParams extends coreClient.OperationOptions {
|
|
|
2061
2399
|
resumeFrom?: string;
|
|
2062
2400
|
}
|
|
2063
2401
|
/** Contains response data for the create operation. */
|
|
2064
|
-
export
|
|
2402
|
+
export type JobsCreateResponse = JobResource;
|
|
2065
2403
|
/** Optional parameters. */
|
|
2066
2404
|
export interface JobsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2067
2405
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -2079,12 +2417,12 @@ export interface JobsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
|
2079
2417
|
resumeFrom?: string;
|
|
2080
2418
|
}
|
|
2081
2419
|
/** Contains response data for the update operation. */
|
|
2082
|
-
export
|
|
2420
|
+
export type JobsUpdateResponse = JobResource;
|
|
2083
2421
|
/** Optional parameters. */
|
|
2084
2422
|
export interface JobsBookShipmentPickUpOptionalParams extends coreClient.OperationOptions {
|
|
2085
2423
|
}
|
|
2086
2424
|
/** Contains response data for the bookShipmentPickUp operation. */
|
|
2087
|
-
export
|
|
2425
|
+
export type JobsBookShipmentPickUpResponse = ShipmentPickUpResponse;
|
|
2088
2426
|
/** Optional parameters. */
|
|
2089
2427
|
export interface JobsCancelOptionalParams extends coreClient.OperationOptions {
|
|
2090
2428
|
}
|
|
@@ -2092,21 +2430,17 @@ export interface JobsCancelOptionalParams extends coreClient.OperationOptions {
|
|
|
2092
2430
|
export interface JobsListCredentialsOptionalParams extends coreClient.OperationOptions {
|
|
2093
2431
|
}
|
|
2094
2432
|
/** Contains response data for the listCredentials operation. */
|
|
2095
|
-
export
|
|
2433
|
+
export type JobsListCredentialsResponse = UnencryptedCredentialsList;
|
|
2096
2434
|
/** Optional parameters. */
|
|
2097
2435
|
export interface JobsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2098
|
-
/** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
|
|
2099
|
-
skipToken?: string;
|
|
2100
2436
|
}
|
|
2101
2437
|
/** Contains response data for the listNext operation. */
|
|
2102
|
-
export
|
|
2438
|
+
export type JobsListNextResponse = JobResourceList;
|
|
2103
2439
|
/** Optional parameters. */
|
|
2104
2440
|
export interface JobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
2105
|
-
/** $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs. */
|
|
2106
|
-
skipToken?: string;
|
|
2107
2441
|
}
|
|
2108
2442
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
2109
|
-
export
|
|
2443
|
+
export type JobsListByResourceGroupNextResponse = JobResourceList;
|
|
2110
2444
|
/** Optional parameters. */
|
|
2111
2445
|
export interface MitigateOptionalParams extends coreClient.OperationOptions {
|
|
2112
2446
|
}
|
|
@@ -2114,37 +2448,37 @@ export interface MitigateOptionalParams extends coreClient.OperationOptions {
|
|
|
2114
2448
|
export interface ServiceListAvailableSkusByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2115
2449
|
}
|
|
2116
2450
|
/** Contains response data for the listAvailableSkusByResourceGroup operation. */
|
|
2117
|
-
export
|
|
2451
|
+
export type ServiceListAvailableSkusByResourceGroupResponse = AvailableSkusResult;
|
|
2118
2452
|
/** Optional parameters. */
|
|
2119
2453
|
export interface ServiceValidateAddressOptionalParams extends coreClient.OperationOptions {
|
|
2120
2454
|
}
|
|
2121
2455
|
/** Contains response data for the validateAddress operation. */
|
|
2122
|
-
export
|
|
2456
|
+
export type ServiceValidateAddressResponse = AddressValidationOutput;
|
|
2123
2457
|
/** Optional parameters. */
|
|
2124
2458
|
export interface ServiceValidateInputsByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2125
2459
|
}
|
|
2126
2460
|
/** Contains response data for the validateInputsByResourceGroup operation. */
|
|
2127
|
-
export
|
|
2461
|
+
export type ServiceValidateInputsByResourceGroupResponse = ValidationResponse;
|
|
2128
2462
|
/** Optional parameters. */
|
|
2129
2463
|
export interface ServiceValidateInputsOptionalParams extends coreClient.OperationOptions {
|
|
2130
2464
|
}
|
|
2131
2465
|
/** Contains response data for the validateInputs operation. */
|
|
2132
|
-
export
|
|
2466
|
+
export type ServiceValidateInputsResponse = ValidationResponse;
|
|
2133
2467
|
/** Optional parameters. */
|
|
2134
2468
|
export interface ServiceRegionConfigurationOptionalParams extends coreClient.OperationOptions {
|
|
2135
2469
|
}
|
|
2136
2470
|
/** Contains response data for the regionConfiguration operation. */
|
|
2137
|
-
export
|
|
2471
|
+
export type ServiceRegionConfigurationResponse = RegionConfigurationResponse;
|
|
2138
2472
|
/** Optional parameters. */
|
|
2139
2473
|
export interface ServiceRegionConfigurationByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2140
2474
|
}
|
|
2141
2475
|
/** Contains response data for the regionConfigurationByResourceGroup operation. */
|
|
2142
|
-
export
|
|
2476
|
+
export type ServiceRegionConfigurationByResourceGroupResponse = RegionConfigurationResponse;
|
|
2143
2477
|
/** Optional parameters. */
|
|
2144
2478
|
export interface ServiceListAvailableSkusByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
2145
2479
|
}
|
|
2146
2480
|
/** Contains response data for the listAvailableSkusByResourceGroupNext operation. */
|
|
2147
|
-
export
|
|
2481
|
+
export type ServiceListAvailableSkusByResourceGroupNextResponse = AvailableSkusResult;
|
|
2148
2482
|
/** Optional parameters. */
|
|
2149
2483
|
export interface DataBoxManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
2150
2484
|
/** server parameter */
|