azure-mgmt-databoxedge 2.0.0__tar.gz

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.
Files changed (137) hide show
  1. azure_mgmt_databoxedge-2.0.0/CHANGELOG.md +148 -0
  2. azure_mgmt_databoxedge-2.0.0/LICENSE +21 -0
  3. azure_mgmt_databoxedge-2.0.0/MANIFEST.in +8 -0
  4. azure_mgmt_databoxedge-2.0.0/PKG-INFO +238 -0
  5. azure_mgmt_databoxedge-2.0.0/README.md +61 -0
  6. azure_mgmt_databoxedge-2.0.0/_meta.json +11 -0
  7. azure_mgmt_databoxedge-2.0.0/azure/__init__.py +1 -0
  8. azure_mgmt_databoxedge-2.0.0/azure/mgmt/__init__.py +1 -0
  9. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/__init__.py +20 -0
  10. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/_configuration.py +66 -0
  11. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/_data_box_edge_management_client.py +440 -0
  12. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/_serialization.py +2117 -0
  13. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/_version.py +8 -0
  14. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/aio/__init__.py +10 -0
  15. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/aio/_configuration.py +66 -0
  16. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/aio/_data_box_edge_management_client.py +440 -0
  17. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/models.py +7 -0
  18. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/py.typed +1 -0
  19. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/__init__.py +32 -0
  20. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/_configuration.py +64 -0
  21. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/_data_box_edge_management_client.py +187 -0
  22. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/_patch.py +20 -0
  23. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/_version.py +9 -0
  24. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/__init__.py +29 -0
  25. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/_configuration.py +64 -0
  26. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/_data_box_edge_management_client.py +189 -0
  27. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/_patch.py +20 -0
  28. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/__init__.py +55 -0
  29. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_alerts_operations.py +199 -0
  30. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_bandwidth_schedules_operations.py +521 -0
  31. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_containers_operations.py +668 -0
  32. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_devices_operations.py +1521 -0
  33. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_jobs_operations.py +113 -0
  34. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_nodes_operations.py +139 -0
  35. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations.py +132 -0
  36. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_operations_status_operations.py +113 -0
  37. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_orders_operations.py +494 -0
  38. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_patch.py +20 -0
  39. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_roles_operations.py +502 -0
  40. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_shares_operations.py +633 -0
  41. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_skus_operations.py +137 -0
  42. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_account_credentials_operations.py +526 -0
  43. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_storage_accounts_operations.py +531 -0
  44. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_triggers_operations.py +519 -0
  45. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/aio/operations/_users_operations.py +509 -0
  46. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/models/__init__.py +262 -0
  47. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/models/_data_box_edge_management_client_enums.py +391 -0
  48. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/models/_models_py3.py +3805 -0
  49. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/models/_patch.py +20 -0
  50. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/__init__.py +55 -0
  51. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_alerts_operations.py +263 -0
  52. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_bandwidth_schedules_operations.py +642 -0
  53. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_containers_operations.py +844 -0
  54. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_devices_operations.py +1938 -0
  55. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_jobs_operations.py +148 -0
  56. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_nodes_operations.py +172 -0
  57. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_operations.py +153 -0
  58. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_operations_status_operations.py +148 -0
  59. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_orders_operations.py +615 -0
  60. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_patch.py +20 -0
  61. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_roles_operations.py +624 -0
  62. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_shares_operations.py +782 -0
  63. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_skus_operations.py +166 -0
  64. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_account_credentials_operations.py +649 -0
  65. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_storage_accounts_operations.py +657 -0
  66. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_triggers_operations.py +640 -0
  67. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/operations/_users_operations.py +633 -0
  68. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2019_08_01/py.typed +1 -0
  69. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/__init__.py +32 -0
  70. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/_configuration.py +64 -0
  71. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/_data_box_edge_management_client.py +221 -0
  72. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/_patch.py +20 -0
  73. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/_version.py +9 -0
  74. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/__init__.py +29 -0
  75. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_configuration.py +64 -0
  76. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_data_box_edge_management_client.py +224 -0
  77. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/_patch.py +20 -0
  78. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/__init__.py +59 -0
  79. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_addons_operations.py +553 -0
  80. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_alerts_operations.py +203 -0
  81. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_available_skus_operations.py +135 -0
  82. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_bandwidth_schedules_operations.py +534 -0
  83. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_containers_operations.py +684 -0
  84. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_devices_operations.py +1754 -0
  85. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_jobs_operations.py +115 -0
  86. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_monitoring_config_operations.py +555 -0
  87. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_nodes_operations.py +141 -0
  88. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations.py +134 -0
  89. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_operations_status_operations.py +115 -0
  90. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_orders_operations.py +570 -0
  91. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_patch.py +20 -0
  92. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_roles_operations.py +517 -0
  93. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_shares_operations.py +652 -0
  94. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_account_credentials_operations.py +539 -0
  95. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_storage_accounts_operations.py +544 -0
  96. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_triggers_operations.py +534 -0
  97. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/aio/operations/_users_operations.py +525 -0
  98. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/models/__init__.py +384 -0
  99. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/models/_data_box_edge_management_client_enums.py +574 -0
  100. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/models/_models_py3.py +6081 -0
  101. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/models/_patch.py +20 -0
  102. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/__init__.py +59 -0
  103. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_addons_operations.py +680 -0
  104. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_alerts_operations.py +267 -0
  105. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_available_skus_operations.py +162 -0
  106. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_bandwidth_schedules_operations.py +655 -0
  107. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_containers_operations.py +864 -0
  108. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_devices_operations.py +2234 -0
  109. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_jobs_operations.py +150 -0
  110. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_monitoring_config_operations.py +679 -0
  111. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_nodes_operations.py +174 -0
  112. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations.py +156 -0
  113. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_operations_status_operations.py +150 -0
  114. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_orders_operations.py +716 -0
  115. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_patch.py +20 -0
  116. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_roles_operations.py +636 -0
  117. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_shares_operations.py +798 -0
  118. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_account_credentials_operations.py +661 -0
  119. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_storage_accounts_operations.py +671 -0
  120. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_triggers_operations.py +656 -0
  121. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/operations/_users_operations.py +646 -0
  122. azure_mgmt_databoxedge-2.0.0/azure/mgmt/databoxedge/v2021_02_01_preview/py.typed +1 -0
  123. azure_mgmt_databoxedge-2.0.0/azure_mgmt_databoxedge.egg-info/PKG-INFO +238 -0
  124. azure_mgmt_databoxedge-2.0.0/azure_mgmt_databoxedge.egg-info/SOURCES.txt +135 -0
  125. azure_mgmt_databoxedge-2.0.0/azure_mgmt_databoxedge.egg-info/dependency_links.txt +1 -0
  126. azure_mgmt_databoxedge-2.0.0/azure_mgmt_databoxedge.egg-info/not-zip-safe +1 -0
  127. azure_mgmt_databoxedge-2.0.0/azure_mgmt_databoxedge.egg-info/requires.txt +4 -0
  128. azure_mgmt_databoxedge-2.0.0/azure_mgmt_databoxedge.egg-info/top_level.txt +1 -0
  129. azure_mgmt_databoxedge-2.0.0/pyproject.toml +6 -0
  130. azure_mgmt_databoxedge-2.0.0/setup.cfg +4 -0
  131. azure_mgmt_databoxedge-2.0.0/setup.py +83 -0
  132. azure_mgmt_databoxedge-2.0.0/tests/conftest.py +39 -0
  133. azure_mgmt_databoxedge-2.0.0/tests/disable_test_cli_mgmt_databoxedge.py +354 -0
  134. azure_mgmt_databoxedge-2.0.0/tests/test_data_box_edge_management_devices_operations_async_test.py +36 -0
  135. azure_mgmt_databoxedge-2.0.0/tests/test_data_box_edge_management_devices_operations_test.py +35 -0
  136. azure_mgmt_databoxedge-2.0.0/tests/test_data_box_edge_management_operations_async_test.py +27 -0
  137. azure_mgmt_databoxedge-2.0.0/tests/test_data_box_edge_management_operations_test.py +26 -0
@@ -0,0 +1,148 @@
1
+ # Release History
2
+
3
+ ## 2.0.0 (2025-02-19)
4
+
5
+ ### Features Added
6
+
7
+ - Model DataBoxEdgeSku has a new parameter capabilities
8
+
9
+ ### Breaking Changes
10
+ - Removed subfolders of some unused Api-Versions for smaller package size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.
11
+
12
+ ## 2.0.0b1 (2023-02-13)
13
+
14
+ ### Features Added
15
+
16
+ - Added operation DevicesOperations.create_or_update
17
+ - Added operation group DeviceCapacityCheckOperations
18
+ - Added operation group DeviceCapacityInfoOperations
19
+ - Added operation group DiagnosticSettingsOperations
20
+ - Added operation group SupportPackagesOperations
21
+ - Model DataBoxEdgeDevice has a new parameter data_residency
22
+ - Model DataBoxEdgeDevice has a new parameter system_data_properties_system_data
23
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cloud_witness_container_name
24
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cloud_witness_storage_account_name
25
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cloud_witness_storage_endpoint
26
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cluster_witness_type
27
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter file_share_witness_location
28
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter file_share_witness_username
29
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter system_data
30
+ - Model DataBoxEdgeSku has a new parameter capabilities
31
+ - Model Order has a new parameter kind
32
+ - Model Order has a new parameter order_id
33
+ - Model UpdateDetails has a new parameter friendly_version_number
34
+ - Model UpdateDetails has a new parameter installation_impact
35
+ - Model UpdateSummary has a new parameter last_successful_install_job_date_time
36
+ - Model UpdateSummary has a new parameter last_successful_scan_job_time
37
+ - Operation UsersOperations.list_by_data_box_edge_device has a new optional parameter filter
38
+
39
+ ### Breaking Changes
40
+
41
+ - Operation UsersOperations.list_by_data_box_edge_device no longer has parameter expand
42
+ - Parameter user_type of model User is now required
43
+ - Removed operation DevicesOperations.begin_create_or_update
44
+
45
+ ## 1.0.0 (2021-04-22)
46
+
47
+ **Features**
48
+
49
+ - Model Share has a new parameter system_data
50
+ - Model NodeList has a new parameter next_link
51
+ - Model Operation has a new parameter is_data_action
52
+ - Model IoTRole has a new parameter system_data
53
+ - Model IoTRole has a new parameter compute_resource
54
+ - Model Order has a new parameter shipment_type
55
+ - Model Order has a new parameter system_data
56
+ - Model Role has a new parameter system_data
57
+ - Model DataBoxEdgeDevice has a new parameter kind
58
+ - Model DataBoxEdgeDevice has a new parameter edge_profile
59
+ - Model DataBoxEdgeDevice has a new parameter identity
60
+ - Model DataBoxEdgeDevice has a new parameter resource_move_details
61
+ - Model DataBoxEdgeDevice has a new parameter system_data
62
+ - Model StorageAccountCredential has a new parameter system_data
63
+ - Model UpdateSummary has a new parameter last_download_job_status
64
+ - Model UpdateSummary has a new parameter last_completed_install_job_id
65
+ - Model UpdateSummary has a new parameter total_time_in_minutes
66
+ - Model UpdateSummary has a new parameter last_completed_download_job_id
67
+ - Model UpdateSummary has a new parameter last_install_job_status
68
+ - Model UpdateSummary has a new parameter updates
69
+ - Model UpdateSummary has a new parameter system_data
70
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter channel_integrity_key_name
71
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter channel_integrity_key_version
72
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter key_vault_sync_status
73
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter client_secret_store_id
74
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter device_secrets
75
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter client_secret_store_url
76
+ - Model FileEventTrigger has a new parameter system_data
77
+ - Model DataBoxEdgeSku has a new parameter shipment_types
78
+ - Model Alert has a new parameter system_data
79
+ - Model Container has a new parameter system_data
80
+ - Model User has a new parameter system_data
81
+ - Model Trigger has a new parameter system_data
82
+ - Model NetworkSettings has a new parameter system_data
83
+ - Model PeriodicTimerEventTrigger has a new parameter system_data
84
+ - Model BandwidthSchedule has a new parameter system_data
85
+ - Model OrderStatus has a new parameter tracking_information
86
+ - Model StorageAccount has a new parameter system_data
87
+ - Model DataBoxEdgeDevicePatch has a new parameter identity
88
+ - Model DataBoxEdgeDevicePatch has a new parameter edge_profile
89
+ - Added operation DevicesOperations.generate_certificate
90
+ - Added operation DevicesOperations.update_extended_information
91
+ - Added operation OrdersOperations.list_dc_access_code
92
+ - Added operation group AddonsOperations
93
+ - Added operation group MonitoringConfigOperations
94
+
95
+ **Breaking changes**
96
+
97
+ - Operation UsersOperations.list_by_data_box_edge_device has a new signature
98
+ - Parameter data_policy of model StorageAccount is now required
99
+ - Model SkuInformation no longer has parameter resource_type
100
+ - Model SkuInformation no longer has parameter capabilities
101
+ - Model SkuInformation no longer has parameter size
102
+ - Model DataBoxEdgeSku no longer has parameter restrictions
103
+ - Model ResourceTypeSku has a new signature
104
+
105
+ ## 1.0.0b1 (2020-12-08)
106
+
107
+ This is beta preview version.
108
+
109
+ This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).
110
+
111
+ **General breaking changes**
112
+
113
+ - Credential system has been completly revamped:
114
+
115
+ - `azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/
116
+ - `credentials` parameter has been renamed `credential`
117
+
118
+ - The `config` attribute 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
119
+ supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
120
+ - You can't import a `version` module anymore, use `__version__` instead
121
+ - Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`.
122
+ - Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed).
123
+ - Most of the operation kwarg have changed. Some of the most noticeable:
124
+
125
+ - `raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user
126
+ - For a complete set of
127
+ supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
128
+
129
+ **General new features**
130
+
131
+ - Type annotations support using `typing`. SDKs are mypy ready.
132
+ - This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client.
133
+ - This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry) for an overview.
134
+
135
+ ## 0.2.0 (2020-11-02)
136
+
137
+ **Features**
138
+
139
+ - Model IoTRole has a new parameter host_platform_type
140
+ - Model IoTRole has a new parameter io_tedge_agent_info
141
+ - Model Job has a new parameter refreshed_entity_id
142
+ - Model MountPointMap has a new parameter mount_type
143
+ - Model OrderStatus has a new parameter additional_order_details
144
+ - Added operation group ContainersOperations
145
+
146
+ ## 0.1.0 (2020-01-08)
147
+
148
+ - Initial Release
@@ -0,0 +1,21 @@
1
+ Copyright (c) Microsoft Corporation.
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,8 @@
1
+ include _meta.json
2
+ recursive-include tests *.py *.json
3
+ recursive-include samples *.py *.md
4
+ include *.md
5
+ include azure/__init__.py
6
+ include azure/mgmt/__init__.py
7
+ include LICENSE
8
+ include azure/mgmt/databoxedge/py.typed
@@ -0,0 +1,238 @@
1
+ Metadata-Version: 2.1
2
+ Name: azure-mgmt-databoxedge
3
+ Version: 2.0.0
4
+ Summary: Microsoft Azure Data Box Edge Management Client Library for Python
5
+ Home-page: https://github.com/Azure/azure-sdk-for-python
6
+ Author: Microsoft Corporation
7
+ Author-email: azpysdkhelp@microsoft.com
8
+ License: MIT License
9
+ Keywords: azure,azure sdk
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: License :: OSI Approved :: MIT License
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: isodate>=0.6.1
24
+ Requires-Dist: typing-extensions>=4.6.0
25
+ Requires-Dist: azure-common>=1.1
26
+ Requires-Dist: azure-mgmt-core>=1.3.2
27
+
28
+ # Microsoft Azure SDK for Python
29
+
30
+ This is the Microsoft Azure Data Box Edge Management Client Library.
31
+ This package has been tested with Python 3.8+.
32
+ For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
33
+
34
+ ## _Disclaimer_
35
+
36
+ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
37
+
38
+ ## Getting started
39
+
40
+ ### Prerequisites
41
+
42
+ - Python 3.8+ is required to use this package.
43
+ - [Azure subscription](https://azure.microsoft.com/free/)
44
+
45
+ ### Install the package
46
+
47
+ ```bash
48
+ pip install azure-mgmt-databoxedge
49
+ pip install azure-identity
50
+ ```
51
+
52
+ ### Authentication
53
+
54
+ By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
55
+
56
+ - `AZURE_CLIENT_ID` for Azure client ID.
57
+ - `AZURE_TENANT_ID` for Azure tenant ID.
58
+ - `AZURE_CLIENT_SECRET` for Azure client secret.
59
+
60
+ In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
61
+
62
+ With above configuration, client can be authenticated by following code:
63
+
64
+ ```python
65
+ from azure.identity import DefaultAzureCredential
66
+ from azure.mgmt.databoxedge import DataBoxEdgeManagementClient
67
+ import os
68
+
69
+ sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
70
+ client = DataBoxEdgeManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
71
+ ```
72
+
73
+ ## Examples
74
+
75
+ Code samples for this package can be found at:
76
+ - [Search Data Box Edge Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
77
+ - [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
78
+
79
+
80
+ ## Troubleshooting
81
+
82
+ ## Next steps
83
+
84
+ ## Provide Feedback
85
+
86
+ If you encounter any bugs or have suggestions, please file an issue in the
87
+ [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
88
+ section of the project.
89
+
90
+
91
+ # Release History
92
+
93
+ ## 2.0.0 (2025-02-19)
94
+
95
+ ### Features Added
96
+
97
+ - Model DataBoxEdgeSku has a new parameter capabilities
98
+
99
+ ### Breaking Changes
100
+ - Removed subfolders of some unused Api-Versions for smaller package size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.
101
+
102
+ ## 2.0.0b1 (2023-02-13)
103
+
104
+ ### Features Added
105
+
106
+ - Added operation DevicesOperations.create_or_update
107
+ - Added operation group DeviceCapacityCheckOperations
108
+ - Added operation group DeviceCapacityInfoOperations
109
+ - Added operation group DiagnosticSettingsOperations
110
+ - Added operation group SupportPackagesOperations
111
+ - Model DataBoxEdgeDevice has a new parameter data_residency
112
+ - Model DataBoxEdgeDevice has a new parameter system_data_properties_system_data
113
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cloud_witness_container_name
114
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cloud_witness_storage_account_name
115
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cloud_witness_storage_endpoint
116
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter cluster_witness_type
117
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter file_share_witness_location
118
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter file_share_witness_username
119
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter system_data
120
+ - Model DataBoxEdgeSku has a new parameter capabilities
121
+ - Model Order has a new parameter kind
122
+ - Model Order has a new parameter order_id
123
+ - Model UpdateDetails has a new parameter friendly_version_number
124
+ - Model UpdateDetails has a new parameter installation_impact
125
+ - Model UpdateSummary has a new parameter last_successful_install_job_date_time
126
+ - Model UpdateSummary has a new parameter last_successful_scan_job_time
127
+ - Operation UsersOperations.list_by_data_box_edge_device has a new optional parameter filter
128
+
129
+ ### Breaking Changes
130
+
131
+ - Operation UsersOperations.list_by_data_box_edge_device no longer has parameter expand
132
+ - Parameter user_type of model User is now required
133
+ - Removed operation DevicesOperations.begin_create_or_update
134
+
135
+ ## 1.0.0 (2021-04-22)
136
+
137
+ **Features**
138
+
139
+ - Model Share has a new parameter system_data
140
+ - Model NodeList has a new parameter next_link
141
+ - Model Operation has a new parameter is_data_action
142
+ - Model IoTRole has a new parameter system_data
143
+ - Model IoTRole has a new parameter compute_resource
144
+ - Model Order has a new parameter shipment_type
145
+ - Model Order has a new parameter system_data
146
+ - Model Role has a new parameter system_data
147
+ - Model DataBoxEdgeDevice has a new parameter kind
148
+ - Model DataBoxEdgeDevice has a new parameter edge_profile
149
+ - Model DataBoxEdgeDevice has a new parameter identity
150
+ - Model DataBoxEdgeDevice has a new parameter resource_move_details
151
+ - Model DataBoxEdgeDevice has a new parameter system_data
152
+ - Model StorageAccountCredential has a new parameter system_data
153
+ - Model UpdateSummary has a new parameter last_download_job_status
154
+ - Model UpdateSummary has a new parameter last_completed_install_job_id
155
+ - Model UpdateSummary has a new parameter total_time_in_minutes
156
+ - Model UpdateSummary has a new parameter last_completed_download_job_id
157
+ - Model UpdateSummary has a new parameter last_install_job_status
158
+ - Model UpdateSummary has a new parameter updates
159
+ - Model UpdateSummary has a new parameter system_data
160
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter channel_integrity_key_name
161
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter channel_integrity_key_version
162
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter key_vault_sync_status
163
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter client_secret_store_id
164
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter device_secrets
165
+ - Model DataBoxEdgeDeviceExtendedInfo has a new parameter client_secret_store_url
166
+ - Model FileEventTrigger has a new parameter system_data
167
+ - Model DataBoxEdgeSku has a new parameter shipment_types
168
+ - Model Alert has a new parameter system_data
169
+ - Model Container has a new parameter system_data
170
+ - Model User has a new parameter system_data
171
+ - Model Trigger has a new parameter system_data
172
+ - Model NetworkSettings has a new parameter system_data
173
+ - Model PeriodicTimerEventTrigger has a new parameter system_data
174
+ - Model BandwidthSchedule has a new parameter system_data
175
+ - Model OrderStatus has a new parameter tracking_information
176
+ - Model StorageAccount has a new parameter system_data
177
+ - Model DataBoxEdgeDevicePatch has a new parameter identity
178
+ - Model DataBoxEdgeDevicePatch has a new parameter edge_profile
179
+ - Added operation DevicesOperations.generate_certificate
180
+ - Added operation DevicesOperations.update_extended_information
181
+ - Added operation OrdersOperations.list_dc_access_code
182
+ - Added operation group AddonsOperations
183
+ - Added operation group MonitoringConfigOperations
184
+
185
+ **Breaking changes**
186
+
187
+ - Operation UsersOperations.list_by_data_box_edge_device has a new signature
188
+ - Parameter data_policy of model StorageAccount is now required
189
+ - Model SkuInformation no longer has parameter resource_type
190
+ - Model SkuInformation no longer has parameter capabilities
191
+ - Model SkuInformation no longer has parameter size
192
+ - Model DataBoxEdgeSku no longer has parameter restrictions
193
+ - Model ResourceTypeSku has a new signature
194
+
195
+ ## 1.0.0b1 (2020-12-08)
196
+
197
+ This is beta preview version.
198
+
199
+ This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).
200
+
201
+ **General breaking changes**
202
+
203
+ - Credential system has been completly revamped:
204
+
205
+ - `azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/
206
+ - `credentials` parameter has been renamed `credential`
207
+
208
+ - The `config` attribute 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
209
+ supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
210
+ - You can't import a `version` module anymore, use `__version__` instead
211
+ - Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`.
212
+ - Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed).
213
+ - Most of the operation kwarg have changed. Some of the most noticeable:
214
+
215
+ - `raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user
216
+ - For a complete set of
217
+ supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
218
+
219
+ **General new features**
220
+
221
+ - Type annotations support using `typing`. SDKs are mypy ready.
222
+ - This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client.
223
+ - This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry) for an overview.
224
+
225
+ ## 0.2.0 (2020-11-02)
226
+
227
+ **Features**
228
+
229
+ - Model IoTRole has a new parameter host_platform_type
230
+ - Model IoTRole has a new parameter io_tedge_agent_info
231
+ - Model Job has a new parameter refreshed_entity_id
232
+ - Model MountPointMap has a new parameter mount_type
233
+ - Model OrderStatus has a new parameter additional_order_details
234
+ - Added operation group ContainersOperations
235
+
236
+ ## 0.1.0 (2020-01-08)
237
+
238
+ - Initial Release
@@ -0,0 +1,61 @@
1
+ # Microsoft Azure SDK for Python
2
+
3
+ This is the Microsoft Azure Data Box Edge Management Client Library.
4
+ This package has been tested with Python 3.8+.
5
+ For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
6
+
7
+ ## _Disclaimer_
8
+
9
+ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
10
+
11
+ ## Getting started
12
+
13
+ ### Prerequisites
14
+
15
+ - Python 3.8+ is required to use this package.
16
+ - [Azure subscription](https://azure.microsoft.com/free/)
17
+
18
+ ### Install the package
19
+
20
+ ```bash
21
+ pip install azure-mgmt-databoxedge
22
+ pip install azure-identity
23
+ ```
24
+
25
+ ### Authentication
26
+
27
+ By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
28
+
29
+ - `AZURE_CLIENT_ID` for Azure client ID.
30
+ - `AZURE_TENANT_ID` for Azure tenant ID.
31
+ - `AZURE_CLIENT_SECRET` for Azure client secret.
32
+
33
+ In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
34
+
35
+ With above configuration, client can be authenticated by following code:
36
+
37
+ ```python
38
+ from azure.identity import DefaultAzureCredential
39
+ from azure.mgmt.databoxedge import DataBoxEdgeManagementClient
40
+ import os
41
+
42
+ sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
43
+ client = DataBoxEdgeManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
44
+ ```
45
+
46
+ ## Examples
47
+
48
+ Code samples for this package can be found at:
49
+ - [Search Data Box Edge Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
50
+ - [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
51
+
52
+
53
+ ## Troubleshooting
54
+
55
+ ## Next steps
56
+
57
+ ## Provide Feedback
58
+
59
+ If you encounter any bugs or have suggestions, please file an issue in the
60
+ [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
61
+ section of the project.
@@ -0,0 +1,11 @@
1
+ {
2
+ "commit": "eda4ed64f1ba48ebc65539f0a23baeb2114c98bf",
3
+ "repository_url": "https://github.com/Azure/azure-rest-api-specs",
4
+ "autorest": "3.10.2",
5
+ "use": [
6
+ "@autorest/python@6.27.4",
7
+ "@autorest/modelerfour@4.27.0"
8
+ ],
9
+ "autorest_command": "autorest specification/databoxedge/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10
+ "readme": "specification/databoxedge/resource-manager/readme.md"
11
+ }
@@ -0,0 +1 @@
1
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)
@@ -0,0 +1 @@
1
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)
@@ -0,0 +1,20 @@
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
+ # Code generated by Microsoft (R) AutoRest Code Generator.
6
+ # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ # --------------------------------------------------------------------------
8
+
9
+ from ._data_box_edge_management_client import DataBoxEdgeManagementClient
10
+ __all__ = ['DataBoxEdgeManagementClient']
11
+
12
+ try:
13
+ from ._patch import patch_sdk # type: ignore
14
+ patch_sdk()
15
+ except ImportError:
16
+ pass
17
+
18
+ from ._version import VERSION
19
+
20
+ __version__ = VERSION
@@ -0,0 +1,66 @@
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for
5
+ # license information.
6
+ #
7
+ # Code generated by Microsoft (R) AutoRest Code Generator.
8
+ # Changes may cause incorrect behavior and will be lost if the code is
9
+ # regenerated.
10
+ # --------------------------------------------------------------------------
11
+ from typing import Any, TYPE_CHECKING
12
+
13
+ from azure.core.pipeline import policies
14
+ from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy
15
+
16
+ from ._version import VERSION
17
+
18
+ if TYPE_CHECKING:
19
+ # pylint: disable=unused-import,ungrouped-imports
20
+ from azure.core.credentials import TokenCredential
21
+
22
+ class DataBoxEdgeManagementClientConfiguration:
23
+ """Configuration for DataBoxEdgeManagementClient.
24
+
25
+ Note that all parameters used to create this instance are saved as instance
26
+ attributes.
27
+
28
+ :param credential: Credential needed for the client to connect to Azure. Required.
29
+ :type credential: ~azure.core.credentials.TokenCredential
30
+ :param subscription_id: The subscription ID. Required.
31
+ :type subscription_id: str
32
+ """
33
+
34
+ def __init__(
35
+ self,
36
+ credential: "TokenCredential",
37
+ subscription_id: str,
38
+ **kwargs: Any
39
+ ):
40
+ if credential is None:
41
+ raise ValueError("Parameter 'credential' must not be None.")
42
+ if subscription_id is None:
43
+ raise ValueError("Parameter 'subscription_id' must not be None.")
44
+
45
+ self.credential = credential
46
+ self.subscription_id = subscription_id
47
+ self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
48
+ kwargs.setdefault('sdk_moniker', 'azure-mgmt-databoxedge/{}'.format(VERSION))
49
+ self.polling_interval = kwargs.get("polling_interval", 30)
50
+ self._configure(**kwargs)
51
+
52
+ def _configure(
53
+ self,
54
+ **kwargs: Any
55
+ ):
56
+ self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs)
57
+ self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
58
+ self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
59
+ self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs)
60
+ self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs)
61
+ self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs)
62
+ self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs)
63
+ self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs)
64
+ self.authentication_policy = kwargs.get('authentication_policy')
65
+ if self.credential and not self.authentication_policy:
66
+ self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)