Package: azure-mgmt-databox
Microsoft Azure SDK for PythonThis is the Microsoft Azure Data Box Management Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-databox
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.databoximportDataBoxManagementClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=DataBoxManagementClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Data Box Managementon docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History2.0.0 (2023-05-22)Features AddedAdded operation JobsOperations.mark_devices_shippedAdded operation group DataBoxManagementClientOperationsMixinModel CopyProgress has a new parameter actionsModel CopyProgress has a new parameter errorModel DataBoxDiskCopyProgress has a new parameter actionsModel DataBoxDiskCopyProgress has a new parameter errorModel DataBoxDiskJobDetails has a new parameter actionsModel DataBoxDiskJobDetails has a new parameter data_center_codeModel DataBoxDiskJobDetails has a new parameter datacenter_addressModel DataBoxDiskJobDetails has a new parameter device_erasure_detailsModel DataBoxDiskJobDetails has a new parameter expected_data_size_in_tera_bytesModel DataBoxDiskJobDetails has a new parameter granular_copy_log_detailsModel DataBoxDiskJobDetails has a new parameter granular_copy_progressModel DataBoxDiskJobDetails has a new parameter last_mitigation_action_on_jobModel DataBoxDiskJobDetails has a new parameter reverse_shipping_detailsModel DataBoxHeavyJobDetails has a new parameter actionsModel DataBoxHeavyJobDetails has a new parameter data_center_codeModel DataBoxHeavyJobDetails has a new parameter datacenter_addressModel DataBoxHeavyJobDetails has a new parameter device_erasure_detailsModel DataBoxHeavyJobDetails has a new parameter expected_data_size_in_tera_bytesModel DataBoxHeavyJobDetails has a new parameter last_mitigation_action_on_jobModel DataBoxHeavyJobDetails has a new parameter reverse_shipping_detailsModel DataBoxJobDetails has a new parameter actionsModel DataBoxJobDetails has a new parameter data_center_codeModel DataBoxJobDetails has a new parameter datacenter_addressModel DataBoxJobDetails has a new parameter device_erasure_detailsModel DataBoxJobDetails has a new parameter expected_data_size_in_tera_bytesModel DataBoxJobDetails has a new parameter last_mitigation_action_on_jobModel DataBoxJobDetails has a new parameter reverse_shipping_detailsModel DataImportDetails has a new parameter log_collection_levelModel EncryptionPreferences has a new parameter hardware_encryptionModel JobDetails has a new parameter actionsModel JobDetails has a new parameter data_center_codeModel JobDetails has a new parameter datacenter_addressModel JobDetails has a new parameter device_erasure_detailsModel JobDetails has a new parameter expected_data_size_in_tera_bytesModel JobDetails has a new parameter last_mitigation_action_on_jobModel JobDetails has a new parameter reverse_shipping_detailsModel JobResource has a new parameter reverse_shipping_details_updateModel JobResource has a new parameter reverse_transport_preference_updateModel JobResource has a new parameter system_dataModel Preferences has a new parameter reverse_transport_preferencesModel Preferences has a new parameter storage_account_access_tier_preferencesModel RegionConfigurationRequest has a new parameter datacenter_address_requestModel RegionConfigurationResponse has a new parameter datacenter_address_responseModel ShippingAddress has a new parameter skip_address_validationModel ShippingAddress has a new parameter tax_identification_numberModel SkuInformation has a new parameter countries_within_commerce_boundaryModel TransportPreferences has a new parameter is_updatedModel UpdateJobDetails has a new parameter preferencesModel UpdateJobDetails has a new parameter return_to_customer_package_detailsModel UpdateJobDetails has a new parameter reverse_shipping_detailsBreaking ChangesModel DataBoxDiskJobDetails no longer has parameter expected_data_size_in_terabytesModel DataBoxHeavyJobDetails no longer has parameter expected_data_size_in_terabytesModel DataBoxJobDetails no longer has parameter expected_data_size_in_terabytesModel DiskScheduleAvailabilityRequest has a new required parameter expected_data_size_in_tera_bytesModel DiskScheduleAvailabilityRequest no longer has parameter expected_data_size_in_terabytesModel JobDetails no longer has parameter expected_data_size_in_terabytes2.0.0b1 (2023-02-10)Features AddedAdded operation JobsOperations.mark_devices_shippedAdded operation group DataBoxManagementClientOperationsMixinModel DataBoxDiskJobDetails has a new parameter actionsModel DataBoxDiskJobDetails has a new parameter data_center_codeModel DataBoxDiskJobDetails has a new parameter datacenter_addressModel DataBoxDiskJobDetails has a new parameter device_erasure_detailsModel DataBoxDiskJobDetails has a new parameter expected_data_size_in_tera_bytesModel DataBoxDiskJobDetails has a new parameter granular_copy_log_detailsModel DataBoxDiskJobDetails has a new parameter granular_copy_progressModel DataBoxDiskJobDetails has a new parameter last_mitigation_action_on_jobModel DataBoxDiskJobDetails has a new parameter reverse_shipping_detailsModel DataBoxHeavyJobDetails has a new parameter actionsModel DataBoxHeavyJobDetails has a new parameter data_center_codeModel DataBoxHeavyJobDetails has a new parameter datacenter_addressModel DataBoxHeavyJobDetails has a new parameter device_erasure_detailsModel DataBoxHeavyJobDetails has a new parameter expected_data_size_in_tera_bytesModel DataBoxHeavyJobDetails has a new parameter last_mitigation_action_on_jobModel DataBoxHeavyJobDetails has a new parameter reverse_shipping_detailsModel DataBoxJobDetails has a new parameter actionsModel DataBoxJobDetails has a new parameter data_center_codeModel DataBoxJobDetails has a new parameter datacenter_addressModel DataBoxJobDetails has a new parameter device_erasure_detailsModel DataBoxJobDetails has a new parameter expected_data_size_in_tera_bytesModel DataBoxJobDetails has a new parameter last_mitigation_action_on_jobModel DataBoxJobDetails has a new parameter reverse_shipping_detailsModel DataImportDetails has a new parameter log_collection_levelModel JobDetails has a new parameter actionsModel JobDetails has a new parameter data_center_codeModel JobDetails has a new parameter datacenter_addressModel JobDetails has a new parameter device_erasure_detailsModel JobDetails has a new parameter expected_data_size_in_tera_bytesModel JobDetails has a new parameter last_mitigation_action_on_jobModel JobDetails has a new parameter reverse_shipping_detailsModel JobResource has a new parameter reverse_shipping_details_updateModel JobResource has a new parameter reverse_transport_preference_updateModel JobResource has a new parameter system_dataModel Preferences has a new parameter reverse_transport_preferencesModel Preferences has a new parameter storage_account_access_tier_preferencesModel RegionConfigurationRequest has a new parameter datacenter_address_requestModel RegionConfigurationResponse has a new parameter datacenter_address_responseModel SkuInformation has a new parameter countries_within_commerce_boundaryModel TransportPreferences has a new parameter is_updatedModel UpdateJobDetails has a new parameter preferencesModel UpdateJobDetails has a new parameter return_to_customer_package_detailsModel UpdateJobDetails has a new parameter reverse_shipping_detailsBreaking ChangesModel DataBoxDiskJobDetails no longer has parameter expected_data_size_in_terabytesModel DataBoxHeavyJobDetails no longer has parameter expected_data_size_in_terabytesModel DataBoxJobDetails no longer has parameter expected_data_size_in_terabytesModel DiskScheduleAvailabilityRequest has a new required parameter expected_data_size_in_tera_bytesModel DiskScheduleAvailabilityRequest no longer has parameter expected_data_size_in_terabytesModel JobDetails no longer has parameter expected_data_size_in_terabytes1.0.0 (2021-03-18)GA release1.0.0b1 (2020-11-30)This is beta preview version.This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).General breaking changesCredential system has been completly revamped:azure.common.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead:https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredentialTheconfigattribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True). For a complete set of
supported options, see theparameters accept in init documentation of azure-coreYou can't import aversionmodule anymore, use__version__insteadOperations that used to return amsrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_.Exceptions tree have been simplified and most exceptions are nowazure.core.exceptions.HttpResponseError(CloudErrorhas been removed).Most of the operation kwarg have changed. Some of the most noticeable:rawhas been removed. Equivalent feature can be found usingcls, a callback that will give access to internal HTTP response for advanced userFor a complete set of
supported options, see theparameters accept in Request documentation of azure-coreGeneral new featuresType annotations support usingtyping. SDKs are mypy ready.This client has now stable and official support for async. Check theaionamespace of your package to find the async client.This client now support natively tracing library like OpenCensus or OpenTelemetry. See thistracing quickstartfor an overview.0.2.0 (2020-02-12)FeaturesModel DestinationAccountDetails has a new parameter share_passwordModel ValidateAddress has a new parameter transport_preferencesModel DataBoxDiskJobSecrets has a new parameter dc_access_security_codeModel Preferences has a new parameter transport_preferencesModel DestinationManagedDiskDetails has a new parameter share_passwordModel AddressValidationOutput has a new parameter errorModel DataBoxDiskJobDetails has a new parameter expected_data_size_in_terabytesModel DataboxJobSecrets has a new parameter dc_access_security_codeModel JobResource has a new parameter delivery_infoModel JobResource has a new parameter is_cancellable_without_feeModel JobResource has a new parameter delivery_typeModel CopyProgress has a new parameter invalid_file_bytes_uploadedModel CopyProgress has a new parameter files_errored_outModel CopyProgress has a new parameter invalid_files_processedModel CopyProgress has a new parameter renamed_container_countModel CopyProgress has a new parameter data_destination_typeModel DataBoxHeavyJobSecrets has a new parameter dc_access_security_codeModel DestinationStorageAccountDetails has a new parameter share_passwordModel AccountCredentialDetails has a new parameter data_destination_typeModel JobDetails has a new parameter expected_data_size_in_terabytesModel JobSecrets has a new parameter dc_access_security_codeModel DataBoxJobDetails has a new parameter device_passwordModel DataBoxJobDetails has a new parameter expected_data_size_in_terabytesModel DataBoxHeavyJobDetails has a new parameter device_passwordModel DataBoxHeavyJobDetails has a new parameter expected_data_size_in_terabytesAdded operation ServiceOperations.validate_inputs_by_resource_groupAdded operation ServiceOperations.validate_inputsAdded operation ServiceOperations.list_available_skus_by_resource_groupAdded operation ServiceOperations.region_configurationBreaking changesOperation ServiceOperations.validate_address_method has a new signatureModel ValidateAddress has a new required parameter validation_typeModel DataBoxDiskJobDetails no longer has parameter expected_data_size_in_tera_bytesModel JobDetails no longer has parameter expected_data_size_in_tera_bytesModel DataBoxJobDetails no longer has parameter expected_data_size_in_tera_bytesModel DataBoxHeavyJobDetails no longer has parameter expected_data_size_in_tera_bytes0.1.0 (2020-02-05)Initial Release