Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the JobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="destinationAccountDetails">Destination account
 /// details.</param>
 /// <param name="expectedDataSizeInTeraBytes">The expected size of the
 /// data, which needs to be transfered in this job, in tera
 /// bytes.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="errorDetails">Error details for failure. This is
 /// optional.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 public JobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList <DestinationAccountDetails> destinationAccountDetails, int?expectedDataSizeInTeraBytes = default(int?), IList <JobStages> jobStages = default(IList <JobStages>), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <JobErrorDetails> errorDetails = default(IList <JobErrorDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string))
 {
     ExpectedDataSizeInTeraBytes = expectedDataSizeInTeraBytes;
     JobStages                  = jobStages;
     ContactDetails             = contactDetails;
     ShippingAddress            = shippingAddress;
     DeliveryPackage            = deliveryPackage;
     ReturnPackage              = returnPackage;
     DestinationAccountDetails  = destinationAccountDetails;
     ErrorDetails               = errorDetails;
     Preferences                = preferences;
     CopyLogDetails             = copyLogDetails;
     ReverseShipmentLabelSasKey = reverseShipmentLabelSasKey;
     ChainOfCustodySasKey       = chainOfCustodySasKey;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the JobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="dataImportDetails">Details of the data to be imported
 /// into azure.</param>
 /// <param name="dataExportDetails">Details of the data to be exported
 /// from azure.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 /// <param name="keyEncryptionKey">Details about which key encryption
 /// type is being used.</param>
 /// <param name="expectedDataSizeInTerabytes">The expected size of the
 /// data, which needs to be transferred in this job, in
 /// terabytes.</param>
 public JobDetails(ContactDetails contactDetails, IList <JobStages> jobStages = default(IList <JobStages>), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <DataImportDetails> dataImportDetails = default(IList <DataImportDetails>), IList <DataExportDetails> dataExportDetails = default(IList <DataExportDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int?expectedDataSizeInTerabytes = default(int?))
 {
     JobStages                   = jobStages;
     ContactDetails              = contactDetails;
     ShippingAddress             = shippingAddress;
     DeliveryPackage             = deliveryPackage;
     ReturnPackage               = returnPackage;
     DataImportDetails           = dataImportDetails;
     DataExportDetails           = dataExportDetails;
     Preferences                 = preferences;
     CopyLogDetails              = copyLogDetails;
     ReverseShipmentLabelSasKey  = reverseShipmentLabelSasKey;
     ChainOfCustodySasKey        = chainOfCustodySasKey;
     KeyEncryptionKey            = keyEncryptionKey;
     ExpectedDataSizeInTerabytes = expectedDataSizeInTerabytes;
     CustomInit();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (ContactDetails == null)
     {
         throw new ValidationException(ValidationRules.CannotBeNull, "ContactDetails");
     }
     if (ContactDetails != null)
     {
         ContactDetails.Validate();
     }
     if (ShippingAddress != null)
     {
         ShippingAddress.Validate();
     }
     if (DataImportDetails != null)
     {
         foreach (var element in DataImportDetails)
         {
             if (element != null)
             {
                 element.Validate();
             }
         }
     }
     if (DataExportDetails != null)
     {
         foreach (var element1 in DataExportDetails)
         {
             if (element1 != null)
             {
                 element1.Validate();
             }
         }
     }
     if (Preferences != null)
     {
         Preferences.Validate();
     }
     if (KeyEncryptionKey != null)
     {
         KeyEncryptionKey.Validate();
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the JobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="dataImportDetails">Details of the data to be imported
 /// into azure.</param>
 /// <param name="dataExportDetails">Details of the data to be exported
 /// from azure.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 /// <param name="keyEncryptionKey">Details about which key encryption
 /// type is being used.</param>
 /// <param name="expectedDataSizeInTeraBytes">The expected size of the
 /// data, which needs to be transferred in this job, in
 /// terabytes.</param>
 /// <param name="actions">Available actions on the job.</param>
 /// <param name="lastMitigationActionOnJob">Last mitigation action
 /// performed on the job.</param>
 /// <param name="datacenterAddress">Datacenter address to ship to, for
 /// the given sku and storage location.</param>
 /// <param name="dataCenterCode">DataCenter code. Possible values
 /// include: 'Invalid', 'BY2', 'BY1', 'ORK70', 'AM2', 'AMS20', 'BY21',
 /// 'BY24', 'MWH01', 'AMS06', 'SSE90', 'SYD03', 'SYD23', 'CBR20',
 /// 'YTO20', 'CWL20', 'LON24', 'BOM01', 'BL20', 'BL7', 'SEL20',
 /// 'TYO01', 'BN1', 'SN5', 'CYS04', 'TYO22', 'YTO21', 'YQB20', 'FRA22',
 /// 'MAA01', 'CPQ02', 'CPQ20', 'SIN20', 'HKG20', 'SG2', 'MEL23',
 /// 'SEL21', 'OSA20', 'SHA03', 'BJB', 'JNB22', 'JNB21', 'MNZ21', 'SN8',
 /// 'AUH20', 'ZRH20', 'PUS20', 'AdHoc', 'CH1', 'DSM05'</param>
 public JobDetails(ContactDetails contactDetails, IList <JobStages> jobStages = default(IList <JobStages>), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <DataImportDetails> dataImportDetails = default(IList <DataImportDetails>), IList <DataExportDetails> dataExportDetails = default(IList <DataExportDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int?expectedDataSizeInTeraBytes = default(int?), IList <CustomerResolutionCode?> actions = default(IList <CustomerResolutionCode?>), LastMitigationActionOnJob lastMitigationActionOnJob = default(LastMitigationActionOnJob), DatacenterAddressResponse datacenterAddress = default(DatacenterAddressResponse), string dataCenterCode = default(string))
 {
     JobStages                   = jobStages;
     ContactDetails              = contactDetails;
     ShippingAddress             = shippingAddress;
     DeliveryPackage             = deliveryPackage;
     ReturnPackage               = returnPackage;
     DataImportDetails           = dataImportDetails;
     DataExportDetails           = dataExportDetails;
     Preferences                 = preferences;
     CopyLogDetails              = copyLogDetails;
     ReverseShipmentLabelSasKey  = reverseShipmentLabelSasKey;
     ChainOfCustodySasKey        = chainOfCustodySasKey;
     KeyEncryptionKey            = keyEncryptionKey;
     ExpectedDataSizeInTeraBytes = expectedDataSizeInTeraBytes;
     Actions = actions;
     LastMitigationActionOnJob = lastMitigationActionOnJob;
     DatacenterAddress         = datacenterAddress;
     DataCenterCode            = dataCenterCode;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the UpdateJobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="keyEncryptionKey">Key encryption key for the
 /// job.</param>
 public UpdateJobDetails(ContactDetails contactDetails = default(ContactDetails), ShippingAddress shippingAddress = default(ShippingAddress), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey))
 {
     ContactDetails   = contactDetails;
     ShippingAddress  = shippingAddress;
     KeyEncryptionKey = keyEncryptionKey;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DataBoxCustomerDiskJobDetails
 /// class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="returnToCustomerPackageDetails">Return package
 /// shipping details.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="dataImportDetails">Details of the data to be imported
 /// into azure.</param>
 /// <param name="dataExportDetails">Details of the data to be exported
 /// from azure.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 /// <param name="keyEncryptionKey">Details about which key encryption
 /// type is being used.</param>
 /// <param name="expectedDataSizeInTeraBytes">The expected size of the
 /// data, which needs to be transferred in this job, in
 /// terabytes.</param>
 /// <param name="actions">Available actions on the job.</param>
 /// <param name="lastMitigationActionOnJob">Last mitigation action
 /// performed on the job.</param>
 /// <param name="datacenterAddress">Datacenter address to ship to, for
 /// the given sku and storage location.</param>
 /// <param name="dataCenterCode">DataCenter code. Possible values
 /// include: 'Invalid', 'BY2', 'BY1', 'ORK70', 'AM2', 'AMS20', 'BY21',
 /// 'BY24', 'MWH01', 'AMS06', 'SSE90', 'SYD03', 'SYD23', 'CBR20',
 /// 'YTO20', 'CWL20', 'LON24', 'BOM01', 'BL20', 'BL7', 'SEL20',
 /// 'TYO01', 'BN1', 'SN5', 'CYS04', 'TYO22', 'YTO21', 'YQB20', 'FRA22',
 /// 'MAA01', 'CPQ02', 'CPQ20', 'SIN20', 'HKG20', 'SG2', 'MEL23',
 /// 'SEL21', 'OSA20', 'SHA03', 'BJB', 'JNB22', 'JNB21', 'MNZ21', 'SN8',
 /// 'AUH20', 'ZRH20', 'PUS20', 'AdHoc', 'CH1', 'DSM05'</param>
 /// <param name="importDiskDetailsCollection">Contains the map of disk
 /// serial number to the disk details for import jobs.</param>
 /// <param name="exportDiskDetailsCollection">Contains the map of disk
 /// serial number to the disk details for export jobs.</param>
 /// <param name="copyProgress">Copy progress per disk.</param>
 /// <param name="deliverToDcPackageDetails">Delivery package shipping
 /// details.</param>
 /// <param name="enableManifestBackup">Flag to indicate if disk
 /// manifest should be backed-up in the Storage Account.</param>
 public DataBoxCustomerDiskJobDetails(ContactDetails contactDetails, PackageCarrierDetails returnToCustomerPackageDetails, IList <JobStages> jobStages = default(IList <JobStages>), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <DataImportDetails> dataImportDetails = default(IList <DataImportDetails>), IList <DataExportDetails> dataExportDetails = default(IList <DataExportDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int?expectedDataSizeInTeraBytes = default(int?), IList <CustomerResolutionCode?> actions = default(IList <CustomerResolutionCode?>), LastMitigationActionOnJob lastMitigationActionOnJob = default(LastMitigationActionOnJob), DatacenterAddressResponse datacenterAddress = default(DatacenterAddressResponse), string dataCenterCode = default(string), IDictionary <string, ImportDiskDetails> importDiskDetailsCollection = default(IDictionary <string, ImportDiskDetails>), IDictionary <string, ExportDiskDetails> exportDiskDetailsCollection = default(IDictionary <string, ExportDiskDetails>), IList <DataBoxCustomerDiskCopyProgress> copyProgress = default(IList <DataBoxCustomerDiskCopyProgress>), PackageCarrierInfo deliverToDcPackageDetails = default(PackageCarrierInfo), bool?enableManifestBackup = default(bool?))
     : base(contactDetails, jobStages, shippingAddress, deliveryPackage, returnPackage, dataImportDetails, dataExportDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey, keyEncryptionKey, expectedDataSizeInTeraBytes, actions, lastMitigationActionOnJob, datacenterAddress, dataCenterCode)
 {
     ImportDiskDetailsCollection = importDiskDetailsCollection;
     ExportDiskDetailsCollection = exportDiskDetailsCollection;
     CopyProgress = copyProgress;
     DeliverToDcPackageDetails      = deliverToDcPackageDetails;
     ReturnToCustomerPackageDetails = returnToCustomerPackageDetails;
     EnableManifestBackup           = enableManifestBackup;
     CustomInit();
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the DataBoxJobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="destinationAccountDetails">Destination account
 /// details.</param>
 /// <param name="expectedDataSizeInTeraBytes">The expected size of the
 /// data, which needs to be transfered in this job, in tera
 /// bytes.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="errorDetails">Error details for failure. This is
 /// optional.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 /// <param name="copyProgress">Copy progress per storage
 /// account.</param>
 public DataBoxJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList <DestinationAccountDetails> destinationAccountDetails, int?expectedDataSizeInTeraBytes = default(int?), IList <JobStages> jobStages = default(IList <JobStages>), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <JobErrorDetails> errorDetails = default(IList <JobErrorDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), IList <CopyProgress> copyProgress = default(IList <CopyProgress>))
     : base(contactDetails, shippingAddress, destinationAccountDetails, expectedDataSizeInTeraBytes, jobStages, deliveryPackage, returnPackage, errorDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey)
 {
     CopyProgress = copyProgress;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DataBoxHeavyJobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="dataImportDetails">Details of the data to be imported
 /// into azure.</param>
 /// <param name="dataExportDetails">Details of the data to be exported
 /// from azure.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 /// <param name="keyEncryptionKey">Details about which key encryption
 /// type is being used.</param>
 /// <param name="expectedDataSizeInTeraBytes">The expected size of the
 /// data, which needs to be transferred in this job, in
 /// terabytes.</param>
 /// <param name="actions">Available actions on the job.</param>
 /// <param name="lastMitigationActionOnJob">Last mitigation action
 /// performed on the job.</param>
 /// <param name="datacenterAddress">Datacenter address to ship to, for
 /// the given sku and storage location.</param>
 /// <param name="dataCenterCode">DataCenter code. Possible values
 /// include: 'Invalid', 'BY2', 'BY1', 'ORK70', 'AM2', 'AMS20', 'BY21',
 /// 'BY24', 'MWH01', 'AMS06', 'SSE90', 'SYD03', 'SYD23', 'CBR20',
 /// 'YTO20', 'CWL20', 'LON24', 'BOM01', 'BL20', 'BL7', 'SEL20',
 /// 'TYO01', 'BN1', 'SN5', 'CYS04', 'TYO22', 'YTO21', 'YQB20', 'FRA22',
 /// 'MAA01', 'CPQ02', 'CPQ20', 'SIN20', 'HKG20', 'SG2', 'MEL23',
 /// 'SEL21', 'OSA20', 'SHA03', 'BJB', 'JNB22', 'JNB21', 'MNZ21', 'SN8',
 /// 'AUH20', 'ZRH20', 'PUS20', 'AdHoc', 'CH1', 'DSM05'</param>
 /// <param name="copyProgress">Copy progress per account.</param>
 /// <param name="devicePassword">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 :
 /// @#\-$%^!+=;:_()]+</param>
 public DataBoxHeavyJobDetails(ContactDetails contactDetails, IList <JobStages> jobStages = default(IList <JobStages>), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <DataImportDetails> dataImportDetails = default(IList <DataImportDetails>), IList <DataExportDetails> dataExportDetails = default(IList <DataExportDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int?expectedDataSizeInTeraBytes = default(int?), IList <CustomerResolutionCode?> actions = default(IList <CustomerResolutionCode?>), LastMitigationActionOnJob lastMitigationActionOnJob = default(LastMitigationActionOnJob), DatacenterAddressResponse datacenterAddress = default(DatacenterAddressResponse), string dataCenterCode = default(string), IList <CopyProgress> copyProgress = default(IList <CopyProgress>), string devicePassword = default(string))
     : base(contactDetails, jobStages, shippingAddress, deliveryPackage, returnPackage, dataImportDetails, dataExportDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey, keyEncryptionKey, expectedDataSizeInTeraBytes, actions, lastMitigationActionOnJob, datacenterAddress, dataCenterCode)
 {
     CopyProgress   = copyProgress;
     DevicePassword = devicePassword;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DataBoxHeavyJobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="dataImportDetails">Details of the data to be imported
 /// into azure.</param>
 /// <param name="dataExportDetails">Details of the data to be exported
 /// from azure.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 /// <param name="keyEncryptionKey">Details about which key encryption
 /// type is being used.</param>
 /// <param name="expectedDataSizeInTerabytes">The expected size of the
 /// data, which needs to be transferred in this job, in
 /// terabytes.</param>
 /// <param name="copyProgress">Copy progress per account.</param>
 /// <param name="devicePassword">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 :
 /// @#\-$%^!+=;:_()]+</param>
 public DataBoxHeavyJobDetails(ContactDetails contactDetails, IList <JobStages> jobStages = default(IList <JobStages>), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <DataImportDetails> dataImportDetails = default(IList <DataImportDetails>), IList <DataExportDetails> dataExportDetails = default(IList <DataExportDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int?expectedDataSizeInTerabytes = default(int?), IList <CopyProgress> copyProgress = default(IList <CopyProgress>), string devicePassword = default(string))
     : base(contactDetails, jobStages, shippingAddress, deliveryPackage, returnPackage, dataImportDetails, dataExportDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey, keyEncryptionKey, expectedDataSizeInTerabytes)
 {
     CopyProgress   = copyProgress;
     DevicePassword = devicePassword;
     CustomInit();
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the UpdateJobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 public UpdateJobDetails(ContactDetails contactDetails = default(ContactDetails), ShippingAddress shippingAddress = default(ShippingAddress))
 {
     ContactDetails  = contactDetails;
     ShippingAddress = shippingAddress;
     CustomInit();
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the UpdateJobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="keyEncryptionKey">Key encryption key for the
 /// job.</param>
 /// <param name="returnToCustomerPackageDetails">Return package details
 /// of job.</param>
 public UpdateJobDetails(ContactDetails contactDetails = default(ContactDetails), ShippingAddress shippingAddress = default(ShippingAddress), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), PackageCarrierDetails returnToCustomerPackageDetails = default(PackageCarrierDetails))
 {
     ContactDetails   = contactDetails;
     ShippingAddress  = shippingAddress;
     KeyEncryptionKey = keyEncryptionKey;
     ReturnToCustomerPackageDetails = returnToCustomerPackageDetails;
     CustomInit();
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the ValidateAddress class.
 /// </summary>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="deviceType">Device type to be used for the job.
 /// Possible values include: 'DataBox', 'DataBoxDisk',
 /// 'DataBoxHeavy'</param>
 public ValidateAddress(ShippingAddress shippingAddress, SkuName deviceType)
 {
     ShippingAddress = shippingAddress;
     DeviceType      = deviceType;
     CustomInit();
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the DataBoxDiskJobDetails class.
 /// </summary>
 /// <param name="contactDetails">Contact details for notification and
 /// shipping.</param>
 /// <param name="jobStages">List of stages that run in the job.</param>
 /// <param name="shippingAddress">Shipping address of the
 /// customer.</param>
 /// <param name="deliveryPackage">Delivery package shipping
 /// details.</param>
 /// <param name="returnPackage">Return package shipping
 /// details.</param>
 /// <param name="dataImportDetails">Details of the data to be imported
 /// into azure.</param>
 /// <param name="dataExportDetails">Details of the data to be exported
 /// from azure.</param>
 /// <param name="preferences">Preferences for the order.</param>
 /// <param name="copyLogDetails">List of copy log details.</param>
 /// <param name="reverseShipmentLabelSasKey">Shared access key to
 /// download the return shipment label</param>
 /// <param name="chainOfCustodySasKey">Shared access key to download
 /// the chain of custody logs</param>
 /// <param name="keyEncryptionKey">Details about which key encryption
 /// type is being used.</param>
 /// <param name="expectedDataSizeInTerabytes">The expected size of the
 /// data, which needs to be transferred in this job, in
 /// terabytes.</param>
 /// <param name="preferredDisks">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.</param>
 /// <param name="copyProgress">Copy progress per disk.</param>
 /// <param name="disksAndSizeDetails">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.</param>
 /// <param name="passkey">User entered passkey for DataBox Disk
 /// job.</param>
 public DataBoxDiskJobDetails(ContactDetails contactDetails, IList <JobStages> jobStages = default(IList <JobStages>), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList <DataImportDetails> dataImportDetails = default(IList <DataImportDetails>), IList <DataExportDetails> dataExportDetails = default(IList <DataExportDetails>), Preferences preferences = default(Preferences), IList <CopyLogDetails> copyLogDetails = default(IList <CopyLogDetails>), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int?expectedDataSizeInTerabytes = default(int?), IDictionary <string, int?> preferredDisks = default(IDictionary <string, int?>), IList <DataBoxDiskCopyProgress> copyProgress = default(IList <DataBoxDiskCopyProgress>), IDictionary <string, int?> disksAndSizeDetails = default(IDictionary <string, int?>), string passkey = default(string))
     : base(contactDetails, jobStages, shippingAddress, deliveryPackage, returnPackage, dataImportDetails, dataExportDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey, keyEncryptionKey, expectedDataSizeInTerabytes)
 {
     PreferredDisks      = preferredDisks;
     CopyProgress        = copyProgress;
     DisksAndSizeDetails = disksAndSizeDetails;
     Passkey             = passkey;
     CustomInit();
 }