oci-cli 3.64.0__py3-none-any.whl → 3.65.0__py3-none-any.whl

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 (508) hide show
  1. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-finding-analytics.txt +14 -0
  2. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +8 -0
  3. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +2 -2
  4. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
  5. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
  6. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +14 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/create-local-clone.txt +4 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/create-remote-clone.txt +4 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project/create.txt → db/pluggable-database/create-snapshot.txt} +30 -25
  17. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-updates.txt → db/pluggable-database/delete-snapshot.txt} +21 -17
  18. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/work-request/get.txt → db/pluggable-database/get-snapshot.txt} +9 -8
  19. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/access-policy/list.txt → db/pluggable-database/list-snapshots.txt} +32 -37
  20. oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database.txt +8 -0
  21. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
  22. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
  23. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
  24. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
  25. oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.txt +5 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/db.txt +8 -0
  30. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  31. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  32. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log/list.txt → work-request-log-entry/list-logs.txt} +5 -5
  33. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → delegate-access-control/work-request}/work-request-log-entry.txt +1 -1
  34. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
  35. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
  36. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-cohere-chat-request.txt +3 -1
  37. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +83 -3
  38. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +12 -0
  39. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
  40. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  42. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  43. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
  44. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
  45. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
  46. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
  47. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/delete.txt → kafka/cluster/change-compartment.txt} +15 -20
  48. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
  49. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
  50. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-windows-updates.txt → kafka/cluster/disable-superuser.txt} +17 -17
  51. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → kafka/cluster/enable-superuser.txt} +17 -18
  52. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
  53. oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster}/list.txt +36 -23
  54. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster}/update.txt +68 -45
  55. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
  56. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
  57. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
  58. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
  59. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
  60. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
  61. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
  62. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
  63. oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster-config-version}/list.txt +25 -23
  64. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
  65. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
  66. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
  67. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
  68. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
  69. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
  70. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request-error/list.txt +131 -0
  71. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
  72. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request → kafka/work-request-log-entry}/list-work-request-logs.txt +14 -11
  73. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request-log-entry.txt +15 -0
  74. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
  75. oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
  76. oci_cli/help_text_producer/data_files/text/cmdref/lfs/lustre-file-system.txt +1 -1
  77. oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +2 -1
  78. oci_cli/help_text_producer/data_files/text/cmdref/network/ipv6/create.txt +4 -0
  79. oci_cli/help_text_producer/data_files/text/cmdref/network/vnic/assign-ipv6.txt +4 -0
  80. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  81. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  82. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
  83. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
  84. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  85. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  86. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
  87. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  88. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  89. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  90. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  91. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  92. oci_cli/help_text_producer/data_files/text/index.txt +2 -8
  93. oci_cli/service_mapping.py +5 -20
  94. oci_cli/version.py +1 -1
  95. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/METADATA +2 -2
  96. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/RECORD +117 -498
  97. services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
  98. services/core/src/oci_cli_virtual_network/generated/virtualnetwork_cli.py +5 -1
  99. services/core/src/oci_cli_virtual_network/virtualnetwork_cli_extended.py +5 -1
  100. services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +12 -2
  101. services/database/src/oci_cli_database/database_cli_extended.py +109 -3
  102. services/database/src/oci_cli_database/generated/database_cli.py +381 -63
  103. services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +39 -5
  104. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
  105. services/{ai_anomaly_detection → managed_kafka}/__init__.py +1 -1
  106. services/{ai_anomaly_detection → managed_kafka}/src/__init__.py +1 -1
  107. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/__init__.py +1 -1
  108. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/generated/__init__.py +1 -1
  109. services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
  110. services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
  111. services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
  112. services/managed_kafka/tests/__init__.py +4 -0
  113. oci_cli/bin/dts.psm1 +0 -147
  114. oci_cli/bin/os-management.psm1 +0 -140
  115. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
  116. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
  117. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
  118. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
  119. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
  120. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
  121. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/list.txt +0 -146
  122. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
  123. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
  124. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
  125. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
  126. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-list-input-details.txt +0 -173
  127. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-store-output-details.txt +0 -175
  128. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
  129. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
  130. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
  131. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
  132. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
  133. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
  134. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
  135. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
  136. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
  137. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/delete.txt +0 -140
  138. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
  139. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
  140. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
  141. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
  142. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
  143. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/update.txt +0 -173
  144. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
  145. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/change-compartment.txt +0 -138
  146. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
  147. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/delete.txt +0 -137
  148. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
  149. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/list.txt +0 -147
  150. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/update.txt +0 -180
  151. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
  152. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/list.txt +0 -144
  153. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
  154. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
  155. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/get.txt +0 -91
  156. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
  157. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
  158. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
  159. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request.txt +0 -18
  160. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
  161. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.txt +0 -14
  162. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
  163. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
  164. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
  165. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
  166. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
  167. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
  168. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
  169. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
  170. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
  171. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
  172. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
  173. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
  174. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
  175. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
  176. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
  177. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
  178. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
  179. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
  180. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
  181. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
  182. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
  183. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
  184. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
  185. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
  186. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
  187. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
  188. oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
  189. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
  190. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
  191. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
  192. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
  193. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
  194. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
  195. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
  196. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
  197. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
  198. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
  199. oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
  200. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
  201. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
  202. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
  203. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
  204. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
  205. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
  206. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
  207. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
  208. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
  209. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
  210. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
  211. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
  212. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
  213. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
  214. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
  215. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
  216. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
  217. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
  218. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
  219. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
  220. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
  221. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
  222. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
  223. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
  224. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
  225. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
  226. oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
  227. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
  228. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
  229. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
  230. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
  231. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
  232. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
  233. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
  234. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
  235. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
  236. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
  237. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
  238. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
  239. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
  240. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
  241. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
  242. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
  243. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
  244. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/get.txt +0 -91
  245. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
  246. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
  247. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
  248. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
  249. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
  250. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
  251. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
  252. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
  253. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
  254. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
  255. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
  256. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
  257. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
  258. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list.txt +0 -144
  259. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
  260. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
  261. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
  262. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
  263. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
  264. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
  265. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
  266. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
  267. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
  268. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
  269. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
  270. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group.txt +0 -30
  271. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
  272. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
  273. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
  274. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
  275. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
  276. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
  277. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
  278. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
  279. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
  280. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
  281. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
  282. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
  283. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
  284. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
  285. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
  286. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
  287. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
  288. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
  289. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
  290. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
  291. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
  292. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
  293. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
  294. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
  295. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
  296. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
  297. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
  298. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
  299. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
  300. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
  301. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
  302. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
  303. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
  304. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
  305. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
  306. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
  307. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
  308. oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
  309. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
  310. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
  311. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/delete.txt +0 -141
  312. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
  313. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
  314. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
  315. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
  316. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
  317. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
  318. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/create.txt +0 -210
  319. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
  320. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
  321. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
  322. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
  323. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
  324. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
  325. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
  326. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
  327. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
  328. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
  329. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
  330. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
  331. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
  332. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
  333. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
  334. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
  335. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
  336. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
  337. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  338. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  339. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
  340. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
  341. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
  342. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
  343. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  344. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  345. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
  346. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
  347. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/change-compartment.txt +0 -141
  348. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
  349. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
  350. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
  351. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/update.txt +0 -211
  352. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
  353. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
  354. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
  355. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
  356. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
  357. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
  358. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
  359. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
  360. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request/list-work-request-errors.txt +0 -128
  361. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
  362. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
  363. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
  364. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
  365. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
  366. services/ai_anomaly_detection/tests/__init__.py +0 -4
  367. services/dts/__init__.py +0 -4
  368. services/dts/src/__init__.py +0 -4
  369. services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
  370. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
  371. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
  372. services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
  373. services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
  374. services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
  375. services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
  376. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
  377. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
  378. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
  379. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
  380. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
  381. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
  382. services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
  383. services/dts/src/oci_cli_dts/__init__.py +0 -4
  384. services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
  385. services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
  386. services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
  387. services/dts/src/oci_cli_dts/appliance_config.py +0 -34
  388. services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
  389. services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
  390. services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
  391. services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
  392. services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
  393. services/dts/src/oci_cli_dts/base_client.py +0 -102
  394. services/dts/src/oci_cli_dts/cli_utils.py +0 -131
  395. services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
  396. services/dts/src/oci_cli_dts/dts_transform.py +0 -31
  397. services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
  398. services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
  399. services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
  400. services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
  401. services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
  402. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
  403. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
  404. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
  405. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
  406. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
  407. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
  408. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
  409. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
  410. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
  411. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
  412. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
  413. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
  414. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
  415. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
  416. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
  417. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
  418. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
  419. services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
  420. services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
  421. services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
  422. services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
  423. services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
  424. services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
  425. services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
  426. services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
  427. services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
  428. services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
  429. services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
  430. services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
  431. services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
  432. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
  433. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/client_mappings.py +0 -14
  434. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
  435. services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
  436. services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
  437. services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
  438. services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
  439. services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
  440. services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
  441. services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
  442. services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
  443. services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
  444. services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
  445. services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
  446. services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
  447. services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
  448. services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
  449. services/dts/tests/__init__.py +0 -4
  450. services/os_management/__init__.py +0 -4
  451. services/os_management/src/__init__.py +0 -4
  452. services/os_management/src/oci_cli_event/__init__.py +0 -4
  453. services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
  454. services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
  455. services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
  456. services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
  457. services/os_management/src/oci_cli_os_management/__init__.py +0 -4
  458. services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
  459. services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
  460. services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
  461. services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
  462. services/os_management/tests/__init__.py +0 -4
  463. services/service_mesh/__init__.py +0 -4
  464. services/service_mesh/src/__init__.py +0 -4
  465. services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
  466. services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
  467. services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
  468. services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
  469. services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
  470. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
  471. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
  472. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
  473. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
  474. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
  475. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
  476. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
  477. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
  478. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
  479. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
  480. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
  481. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
  482. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
  483. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
  484. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
  485. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
  486. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
  487. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
  488. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
  489. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
  490. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
  491. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
  492. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
  493. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
  494. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
  495. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
  496. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
  497. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
  498. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
  499. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
  500. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
  501. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
  502. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
  503. services/service_mesh/tests/__init__.py +0 -4
  504. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/LICENSE.txt +0 -0
  505. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  506. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/WHEEL +0 -0
  507. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/entry_points.txt +0 -0
  508. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/top_level.txt +0 -0
@@ -1,93 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
-
6
- class ManifestStats:
7
- """
8
- This class is responsible to store information about the ongoing manifest process
9
- """
10
- def __init__(self):
11
- self._total_count = 0
12
- self._total_size = 0
13
- self._first_object = None
14
- self._last_object = None
15
- self._next_start_with = None
16
- self._manifest_obj_name = None
17
- self._manifest_md5 = None
18
-
19
- def increment_total_count(self):
20
- self._total_count += 1
21
-
22
- def increment_total_size(self, size):
23
- self._total_size += size
24
-
25
- def get_total_count(self):
26
- return self._total_count
27
-
28
- def get_total_size(self):
29
- return self._total_size
30
-
31
- def set_first_object(self, object):
32
- self._first_object = object
33
-
34
- def get_first_object(self):
35
- return self._first_object
36
-
37
- def set_last_object(self, object):
38
- self._last_object = object
39
-
40
- def get_last_object(self):
41
- return self._last_object
42
-
43
- def set_next_start_with(self, object):
44
- self._next_start_with = object
45
-
46
- def get_next_start_with(self):
47
- return self._next_start_with
48
-
49
- def set_manifest_obj_name(self, name):
50
- self._manifest_obj_name = name
51
-
52
- def get_manifest_object_name(self):
53
- return self._manifest_obj_name
54
-
55
- def set_manifest_md5(self, md5):
56
- self._manifest_md5 = md5
57
-
58
- def get_manifest_md5(self):
59
- return self._manifest_md5
60
-
61
- def __str__(self):
62
- return "************************* Manifest Progress ************************ \n" \
63
- "** Total Objects: \t{}\n" \
64
- "** Total Size: \t\t{}\n" \
65
- "** First Object: \t{}\n" \
66
- "** Last Object: \t{}\n" \
67
- "** Next Start With: \t{}\n" \
68
- "******************************************************************** \n"\
69
- .format(self._total_count, self._format_size(), self._first_object, self._last_object, self._next_start_with)
70
-
71
- def _format_size(self):
72
- """
73
- Print size in human readable format for ex: 200 MB, 20 GB, 2 TB etc.
74
- :return: Formatted string in human readable format
75
- """
76
-
77
- MiB = 1024 * 1024
78
- GiB = MiB * 1024
79
- TiB = GiB * 1024
80
-
81
- _format_str = '{number:.{digits}f}'
82
-
83
- if self._total_size < MiB:
84
- return '{} Bytes'.format(self._total_size)
85
-
86
- elif MiB <= self._total_size < GiB:
87
- return (_format_str + ' MB').format(number=self._total_size / MiB, digits=2)
88
-
89
- elif GiB <= self._total_size < TiB:
90
- return (_format_str + ' GB').format(number=self._total_size / GiB, digits=2)
91
-
92
- else:
93
- return (_format_str + ' TB').format(number=self._total_size / TiB, digits=2)
@@ -1,15 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
-
6
- class ManifestStatsConsumer:
7
- def __init__(self):
8
- pass
9
-
10
- def consume(self, manifest_stats):
11
- """
12
- Consumes stats from manifest writer to report progress to the user
13
- :param manifest_stats: Object of type ManifestStats that contains information about a manifest process
14
- """
15
- print(str(manifest_stats))
@@ -1,117 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
- from .manifest_constants import ENCODING_FORMAT_UTF, MAX_EXPORT_SIZE, OBJECT_NAME_MAX_PATH_LENGTH, MAX_PART_SIZE_MB
6
- from .manifest_stats import ManifestStats
7
- import logging
8
-
9
-
10
- class ManifestWriter:
11
- """
12
- Utility class to create a manifest file from the iterator of objects
13
- :param iterator of type ManifestIterator to iterate over the items to be written to manifest
14
- :param object_uploader of type ObjectUploader that manages all uploads to object storage
15
- :param stats_consumer of type ManifestStatsConsumer that takes manifest stats object to report progress
16
- :param size_of_part: The maximum size of a part. Usually 100MB
17
- """
18
- def __init__(self, iterator, object_uploader, stats_consumer, size_of_part=MAX_PART_SIZE_MB):
19
- self._iterator = iterator
20
- self._uploader = object_uploader
21
- self._consumer = stats_consumer
22
- self._buffer = None
23
- self._stats = ManifestStats()
24
- self._part_counter = 0
25
- self._max_part_size = size_of_part
26
- self.log = logging.getLogger(self.__module__ + "." + self.__class__.__name__)
27
-
28
- def write(self):
29
- """
30
- This method iterates over the iterator to read objects and write them to a local buffer. This buffer is then passed
31
- in to the ObjectUploader which eventually uploads it as either a multipart or a regular object to objectStorage
32
- :return: String name of the object that was uploaded to object storage
33
- """
34
- self.log.debug("Starting manifest writer ... ")
35
-
36
- while self._iterator.has_next():
37
- line_item = self._iterator.get_next()
38
-
39
- if not self._do_xa_capacity_check(line_item.size):
40
- _msg_ = "MAXIMUM CAPACITY REACHED FOR THIS EXPORT, TOTAL SIZE = {}.\nPLEASE CREATE A NEW EXPORT REQUEST "
41
- "WITH SPECIFYING THE FILTER '--start={}' WHICH IS THE NEXT OBJECT TO BE PROCESSED FOR THIS BUCKET.\n"
42
- "STOPPING THE CURRENT MANIFEST GENERATION HERE. TOTAL NUMBER OF OBJECTS IN THIS MANIFEST = {}".format(self._stats.get_total_size(), line_item.path, self._stats.get_total_count()) # noqa: F523
43
-
44
- print(_msg_)
45
- self.log.info(_msg_)
46
- self._stats.set_next_start_with(line_item.path)
47
- break
48
-
49
- self._validate_object(line_item)
50
-
51
- if not self._do_buffer_capacity_check(len(str(line_item))):
52
- self.log.debug("Reached max buffer size, flushing buffer for next items ... ")
53
- self._do_mp_upload()
54
-
55
- self._write_and_record(line_item)
56
-
57
- if self._part_counter > 1:
58
- self._do_mp_upload()
59
- _result = self._uploader.commit_mp_object()
60
- else:
61
- self._consumer.consume(self._stats)
62
- _result = self._uploader.upload_regular_object(self._buffer)
63
-
64
- self._stats.set_manifest_md5(_result['md5'])
65
- self._stats.set_manifest_obj_name(_result['name'])
66
- return self._stats
67
-
68
- def _write_and_record(self, line_item):
69
- """
70
- Write line_item to buffer and update the stats info with this line_item
71
- :param line_item: Object of type ManifestLineItem with __str__() defined
72
- """
73
- # Todo: check memory leak?
74
- if self._buffer is None or len(self._buffer) == 0:
75
- self._buffer = bytearray(str(line_item), ENCODING_FORMAT_UTF)
76
- else:
77
- self._buffer.extend(bytearray(str(line_item), ENCODING_FORMAT_UTF))
78
-
79
- if self._stats.get_first_object() is None:
80
- self._stats.set_first_object(line_item.path)
81
-
82
- self._stats.increment_total_count()
83
- self._stats.increment_total_size(int(line_item.size))
84
- self._stats.set_last_object(line_item.path)
85
-
86
- def _clear_buffer(self):
87
- self.log.debug("Reached max part size limit, clearing buffer for next write")
88
- self._buffer.clear()
89
-
90
- def _do_mp_upload(self):
91
- self._part_counter += 1
92
- self._uploader.upload_part(self._buffer, self._part_counter)
93
- self._clear_buffer()
94
- self._consumer.consume(self._stats)
95
-
96
- def _do_xa_capacity_check(self, requested_size):
97
- return self._stats.get_total_size() + requested_size <= MAX_EXPORT_SIZE
98
-
99
- def _do_buffer_capacity_check(self, requested_size):
100
- return self._buffer is None or len(self._buffer) + requested_size <= self._max_part_size
101
-
102
- @staticmethod
103
- def _validate_object(o):
104
- o1 = o.path
105
- if o1:
106
- if o1[0] == "/":
107
- ManifestWriter._raise_object_validation_exception(o, "Object's path starts with a slash")
108
-
109
- path_arr = o1.split('/')
110
- for path in path_arr:
111
- if len(path) > OBJECT_NAME_MAX_PATH_LENGTH:
112
- ManifestWriter._raise_object_validation_exception(
113
- o, "'{}' is longer than {} characters".format(path, OBJECT_NAME_MAX_PATH_LENGTH))
114
-
115
- @staticmethod
116
- def _raise_object_validation_exception(line_item, msg):
117
- raise Exception("Object validation failed for object {}. {}.".format(str(line_item).strip(), msg))
@@ -1,124 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
- from .manifest_constants import MANIFEST_OBJECT_NAME_PREFIX
6
- from oci.object_storage.models import CreateMultipartUploadDetails
7
- import logging
8
-
9
-
10
- class ObjectUploader:
11
- """
12
- Utility class to manage regular and multipart uploads to object storage
13
- :param client to communicate with the object storage service
14
- :param namespace The object storage namespace where the bucket resides
15
- :param bucket The bucket on which export service has been requested
16
- :param obj_name_suffix job id of the export job that will be used as the suffix for the manifest file name
17
- """
18
- def __init__(self, client, namespace, bucket, obj_name_suffix):
19
- self._client = client
20
- self._namespace = namespace
21
- self._bucket = bucket
22
- self._parts_info = []
23
- self._object_key = MANIFEST_OBJECT_NAME_PREFIX.format(obj_name_suffix)
24
- self._multipart_request_details = None
25
- self.log = logging.getLogger(self.__module__ + "." + self.__class__.__name__)
26
-
27
- def _create_mp_upload_request(self):
28
- self.log.debug('Initiating a multipart upload request to object storage')
29
- details = CreateMultipartUploadDetails()
30
- details.object = self._object_key
31
-
32
- response = self._client.create_multipart_upload(self._namespace, self._bucket, details)
33
- if response is not None and response.status == 200:
34
- self._multipart_request_details = response.data
35
- self.log.debug("Successfully created request for multipart upload, upload id {}".format(self._multipart_request_details.upload_id))
36
- else:
37
- raise Exception("Failed to request multipart upload for bucket {}. Response status {}".format(self.manifest_writer.bucket, response.status))
38
-
39
- def upload_part(self, buffer, part_number):
40
- """
41
- Upload a part object of a multipart upload to object storage
42
- :param buffer: Array of bytes that needs to be uploaded in a single part
43
- :param part_number: part number of the current part to be uploaded
44
- :return: True or False depending on the status of upload
45
- """
46
- if self._multipart_request_details is None:
47
- self.log.debug("No upload request found, requesting a multipart upload ")
48
- self._create_mp_upload_request()
49
-
50
- # Upload part from buffer
51
- if buffer is not None and len(buffer) > 0:
52
- # TODO: Verify the encoding/decoding with non ascii chars if happening as expected
53
- # TODO: Check if this re-conversion from byte array to bytes object can be avoided
54
- # convert bytearray to bytes object / byte string
55
- _data = bytes(buffer)
56
- response = self._client.upload_part(self._namespace, self._bucket, self._object_key, self._multipart_request_details.upload_id, part_number, _data)
57
- if response is not None and response.status == 200:
58
- self._add_part_info_(part_number, response.headers['etag'])
59
- self.log.debug("Part number {} uploaded successfully".format(part_number))
60
- else:
61
- _msg = "Failed to upload part number {}. Response status {}".format(part_number, response.status)
62
- self.log.error(_msg)
63
- raise Exception(_msg)
64
- else:
65
- self.log.error("Upload part buffer is either missing or empty")
66
- raise Exception("Upload part buffer is either missing or empty")
67
-
68
- def commit_mp_object(self):
69
- """
70
- Commit the pending multipart upload to object storage
71
- :return: String name of the object that is committed and available in object storage
72
- """
73
- if self._multipart_request_details is not None:
74
- # commit
75
- commit_parts_map = {
76
- "partsToCommit": self._parts_info
77
- }
78
-
79
- response = self._client.commit_multipart_upload(self._namespace, self._bucket, self._multipart_request_details.object, self._multipart_request_details.upload_id, commit_parts_map)
80
- if response is not None and response.status == 200:
81
- self.log.debug("Successfully committed object {}, with Etag {}".format(self._multipart_request_details.object, response.headers['etag']))
82
- return {
83
- "name": self._multipart_request_details.object,
84
- "md5": response.headers['opc-multipart-md5']
85
- }
86
- else:
87
- raise Exception("Failed to commit multipart object. Response status {}, message {}".format(response.status, response.message))
88
- else:
89
- raise Exception("No pending multipart request found for committing")
90
-
91
- def upload_regular_object(self, buffer):
92
- """
93
- Upload a part object of a multipart upload to object storage
94
- :param buffer: Array of bytes that needs to be uploaded in a single object
95
- :return: String name of the object that is uploaded to object storage
96
- """
97
- if buffer is not None:
98
- self.log.info("Starting upload for regular object of size {}".format(len(buffer)))
99
- # TODO: Verify the encoding/decoding with non ascii chars if happening as expected
100
- # TODO: Check if this re-conversion from byte array to bytes object can be avoided
101
- # convert bytearray to bytes object / byte string
102
- _data = bytes(buffer)
103
- response = self._client.put_object(self._namespace, self._bucket, self._object_key, _data, content_length=len(buffer))
104
- if response is not None and response.status == 200:
105
- self.log.info("Successfully completed PUT Object operation on object storage. Response status {}, "
106
- "object name {}, object etag {}".format(response.status, self._object_key, response.headers['etag']))
107
- return {
108
- "name": self._object_key,
109
- "md5": response.headers['opc-content-md5']
110
- }
111
- else:
112
- raise Exception("Failed to make PUT request to object storage. Response status {}, message {}".format(response.status, response.message))
113
-
114
- def _add_part_info_(self, part_number, part_etag):
115
- """
116
- Collect information about uploaded parts needed for doing commit()
117
- :param part_number: part number of the uploded part
118
- :param part_etag: etag of the uploaded part returned by upload_part()
119
- """
120
- # parts_info is a array of dictionaries
121
- self._parts_info.append({
122
- "partNum": part_number,
123
- "etag": part_etag
124
- })
@@ -1,4 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
- # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
@@ -1,59 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
-
6
- import click
7
-
8
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CERT_FILE_NAME
9
-
10
-
11
- class ApplianceAuthManager:
12
- def __init__(self, appliance_config_spec, expected_cert_fingerprint, config_manager, cert_manager):
13
- """
14
- This class is responsible for getting the certificates from an appliance and validating them
15
- :param appliance_config_spec: The ApplianceConfigSpec object containing the appliance's details
16
- :param expected_cert_fingerprint: The certificate's fingerprint that is passed in by the user. This is used
17
- later to be able to compare against the fingerprint of the certificate that was received
18
- :param config_manager: The ApplianceConfigManager object that handles the directory structure of the appliance
19
- configs
20
- :param cert_manager: The ApplianceCertManager object that actually implements the individual operations related
21
- to the fetching and storing of certificates
22
- """
23
- self.appliance_config_spec = appliance_config_spec
24
- self.expected_cert_fingerprint = expected_cert_fingerprint
25
- self.config_manager = config_manager
26
- self.cert_manager = cert_manager
27
-
28
- def initialize_auth(self):
29
- """
30
- The wrapper for the initialization of auth for the appliance on the host. This essentially makes calls to the
31
- cert manager
32
- :return: None
33
- """
34
- try:
35
- self.config_manager.create_config(self.appliance_config_spec)
36
- except Exception as e:
37
- click.echo("Error while creating the config at {}. Attempting to delete the config..."
38
- .format(self.appliance_config_spec.get_profile()))
39
- self.config_manager.delete_config(self.appliance_config_spec.get_profile())
40
- raise e
41
-
42
- cert_file = "{}/{}".format(self.config_manager.get_config_dir(self.appliance_config_spec.get_profile()),
43
- APPLIANCE_CERT_FILE_NAME)
44
-
45
- try:
46
- self.cert_manager.fetch_cert(cert_file)
47
- except Exception as e:
48
- click.echo("Error while fetching the certificate from the appliance. Attempting to delete the config...")
49
- click.echo(e)
50
- self.config_manager.delete_config(self.appliance_config_spec.get_profile())
51
- raise e
52
-
53
- try:
54
- self.cert_manager.validate_cert(cert_file, self.expected_cert_fingerprint)
55
- except Exception as e:
56
- click.echo(e)
57
- click.echo("Error while validating cert fingerprint. Attempting to delete the config...")
58
- self.config_manager.delete_config(self.appliance_config_spec.get_profile())
59
- raise e
@@ -1,51 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
-
6
- import OpenSSL
7
- import ssl
8
-
9
- from oci import exceptions
10
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CERT_COMMON_NAME
11
-
12
-
13
- class ApplianceCertManager:
14
- def __init__(self, appliance_endpoint):
15
- """
16
- This is where all the action happens. This manager is responsible for getting the certificates from the
17
- appliance and validating them
18
- :param appliance_endpoint: The endpoint of the appliance in the form of (ip, port)
19
- """
20
- self.appliance_endpoint = appliance_endpoint
21
-
22
- def fetch_cert(self, cert_file):
23
- """
24
- Pull certificate from appliance (SSL server) and store in local appliance certificate file in PEM format
25
- :param cert_file: The String path to the cert file
26
- :return: None
27
- """
28
- ssl_cert = ssl.get_server_certificate(self.appliance_endpoint)
29
- with open(cert_file, 'w') as f:
30
- f.write(ssl_cert)
31
-
32
- @staticmethod
33
- def validate_cert(cert_file, expected_cert_fingerprint):
34
- """
35
- Validate whether the fingerprint of the cert file matches what the user provided
36
- :param cert_file: String path to the server certificate
37
- :param expected_cert_fingerprint: String certificate fingerprint that the user provided
38
- :return: None
39
- """
40
- ssl_cert = open(cert_file, 'rt').read()
41
- x509_cert = OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, ssl_cert)
42
- cert_common_name = x509_cert.get_subject().commonName
43
- if cert_common_name != APPLIANCE_CERT_COMMON_NAME:
44
- raise exceptions.RequestException(
45
- f"Expected common name '{APPLIANCE_CERT_COMMON_NAME}' but received certificate with common name '{cert_common_name}'")
46
- server_fingerprint = x509_cert.digest("md5")
47
- if type(expected_cert_fingerprint) == bytes:
48
- expected_cert_fingerprint = expected_cert_fingerprint.decode("utf-8")
49
- if server_fingerprint.decode("utf-8") != expected_cert_fingerprint:
50
- raise exceptions.RequestException(
51
- "Provided cert fingerprint does not match what was returned by the appliance")
@@ -1,57 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
-
6
- """
7
- NOTE: This class should always comply to the API definition of PhysicalTransferApplianceClient present in
8
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py
9
- """
10
-
11
- from oci_cli import cli_util
12
-
13
- from services.dts.src.oci_cli_dts.appliance_config_manager import ApplianceConfigManager
14
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CONFIGS_BASE_DIR, APPLIANCE_AUTH_USER, \
15
- APPLIANCE_CERT_FILE_NAME
16
- from services.dts.src.oci_cli_dts.physical_appliance_control_plane.client.physical_transfer_appliance_client import \
17
- PhysicalTransferApplianceClient
18
-
19
-
20
- class ApplianceClientProxy:
21
- def __init__(self, ctx, appliance_profile):
22
- config_manager = ApplianceConfigManager(APPLIANCE_CONFIGS_BASE_DIR)
23
- appliance_config = config_manager.get_config(appliance_profile)
24
- self.auth_value = "{}:{}".format(APPLIANCE_AUTH_USER, appliance_config.get_access_token())
25
- self.serial_id = appliance_config.get_appliance_serial_id()
26
-
27
- config = cli_util.build_config(ctx.obj)
28
- host_name = appliance_config.get_appliance_url()
29
- self_signed_cert = "{}/{}".format(config_manager.get_config_dir(appliance_profile), APPLIANCE_CERT_FILE_NAME)
30
- self.appliance_client = PhysicalTransferApplianceClient(config=config,
31
- service_endpoint=host_name,
32
- self_signed_cert=self_signed_cert)
33
-
34
- def configure_encryption(self, **kwargs):
35
- kwargs['auth_value'] = self.auth_value
36
- kwargs['serial_id'] = self.serial_id
37
- return self.appliance_client.configure_encryption(**kwargs)
38
-
39
- def finalize_appliance(self, **kwargs):
40
- kwargs['auth_value'] = self.auth_value
41
- kwargs['serial_id'] = self.serial_id
42
- return self.appliance_client.finalize_appliance(**kwargs)
43
-
44
- def get_physical_transfer_appliance(self, **kwargs):
45
- kwargs['auth_value'] = self.auth_value
46
- kwargs['serial_id'] = self.serial_id
47
- return self.appliance_client.get_physical_transfer_appliance(**kwargs)
48
-
49
- def set_object_storage_upload_config(self, upload_config, **kwargs):
50
- kwargs['auth_value'] = self.auth_value
51
- kwargs['serial_id'] = self.serial_id
52
- return self.appliance_client.set_object_storage_upload_config(upload_config, **kwargs)
53
-
54
- def unlock_appliance(self, **kwargs):
55
- kwargs['auth_value'] = self.auth_value
56
- kwargs['serial_id'] = self.serial_id
57
- return self.appliance_client.unlock_appliance(**kwargs)
@@ -1,34 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
-
5
-
6
- class ApplianceConfig:
7
- def __init__(self, appliance_url, access_token, serial_id):
8
- self.appliance_url = appliance_url
9
- self.access_token = access_token
10
- self.serial_id = serial_id
11
-
12
- def get_appliance_url(self):
13
- return self.appliance_url
14
-
15
- def get_access_token(self):
16
- return self.access_token
17
-
18
- def get_appliance_serial_id(self):
19
- return self.serial_id
20
-
21
- def __str__(self):
22
- return "ApplianceConfig{applianceUrl=%s, accessToken='%s', xaSerialId='%s'}" \
23
- % (self.appliance_url, self.access_token, self.serial_id)
24
-
25
- def __eq__(self, other):
26
- if self is other:
27
- return True
28
- if other is None or self.__class__.__name__ != other.__class__.__name__:
29
- return False
30
- return self.appliance_url == other.appliance_url and self.access_token == other.access_token and \
31
- self.serial_id == other.serial_id
32
-
33
- def __hash__(self):
34
- return hash(self.appliance_url + self.access_token + self.serial_id)