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,590 +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 __future__ import print_function
6
-
7
- import click
8
- import configparser
9
- import os
10
- import sys
11
- from enum import Enum
12
-
13
- from oci import exceptions
14
- from oci import config as oci_config
15
- from oci.dts.models.transfer_appliance import TransferAppliance
16
-
17
- from oci_cli import cli_util
18
- from oci_cli import json_skeleton_utils
19
- from oci_cli.aliasing import CommandGroupWithAlias
20
- from oci_cli.formatting import render_config_errors
21
-
22
- from services.dts.src.oci_cli_dts.appliance_init_auth_spec import InitAuthSpec
23
- from services.dts.src.oci_cli_dts.cli_utils import error_message_wrapper, format_dt
24
-
25
- from services.dts.src.oci_cli_dts.generated import dts_service_cli
26
- from services.dts.src.oci_cli_dts.appliance_init_auth import InitAuth
27
- from services.dts.src.oci_cli_dts.appliance_client_proxy import ApplianceClientProxy
28
- from services.dts.src.oci_cli_dts.physical_appliance_control_plane.client.models.physical_transfer_appliance import \
29
- PhysicalTransferAppliance
30
-
31
- from services.dts.src.oci_cli_dts.appliance_config_manager import ApplianceConfigManager
32
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CONFIGS_BASE_DIR, ENDPOINT, APPLIANCE_PROFILE, \
33
- KEY_FILE_KEY, APPLIANCE_UPLOAD_USER_CONFIG_PATH, TEST_OBJECT, DEFAULT_PROFILE, CONFIG_DIR
34
-
35
- """
36
- physical-appliance command
37
- This is a local command set and not generated from spec, but created here.
38
- These commands accesses the locally attached physical appliances.
39
- """
40
-
41
-
42
- @click.command('physical-appliance', cls=CommandGroupWithAlias, help="""Physical Appliance Operations""")
43
- @cli_util.help_option_group
44
- def physical_appliance_group():
45
- pass
46
-
47
-
48
- dts_service_cli.dts_service_group.add_command(physical_appliance_group)
49
-
50
-
51
- @physical_appliance_group.command('initialize-authentication',
52
- help=u"""Initializes authentication between the Data Transfer Utility
53
- and the transfer appliance.""")
54
- @cli_util.option('--job-id', required=False, help=u"""Transfer job ocid.""")
55
- @cli_util.option('--appliance-label', required=False, help=u"""Appliance label.""")
56
- @cli_util.option('--export-job-id', required=False, help=u"""Export job ocid.""")
57
- @cli_util.option('--appliance-cert-fingerprint', required=True,
58
- help=u"""The transfer appliance X.509/SSL certificate fingerprint.""")
59
- @cli_util.option('--appliance-ip', required=True, help=u"""The IP address of the transfer appliance.""")
60
- @cli_util.option('--appliance-port', required=False, type=click.INT, default=443, help=u"""Appliance label.""")
61
- @cli_util.option('--profile', required=False, default="DEFAULT", help=u"""profile""")
62
- @cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Appliance profile""")
63
- @cli_util.option('--access-token', required=False,
64
- help=u"""the access token to authenticate with the transfer appliance.""")
65
- @json_skeleton_utils.get_cli_json_input_option({})
66
- @cli_util.help_option
67
- @click.pass_context
68
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
69
- output_type={'module': 'dts', 'class': 'PhysicalAppliance'})
70
- @cli_util.wrap_exceptions
71
- def pa_initialize_authentication(ctx, from_json, job_id, appliance_label, export_job_id, appliance_cert_fingerprint,
72
- appliance_ip, appliance_port, access_token, profile, appliance_profile):
73
-
74
- kwargs = {}
75
-
76
- if job_id is not None and appliance_label is not None:
77
- if export_job_id is not None:
78
- raise click.UsageError('Either use --export-job-id or a combination of --job-id and --appliance-label')
79
-
80
- click.echo("Retrieving the Import Appliance Serial No. from OCI... ", nl=False)
81
- # Get the Transfer Appliance serial number from the control plane
82
- client = cli_util.build_client('dts', 'transfer_appliance', ctx)
83
- result = client.get_transfer_appliance(
84
- id=job_id,
85
- transfer_appliance_label=appliance_label,
86
- **kwargs
87
- )
88
- serial_number = result.data.serial_number
89
- click.echo("done")
90
-
91
- elif export_job_id is not None:
92
- if job_id is not None and appliance_label is not None:
93
- raise click.UsageError('Either use --export-job-id or a combination of --job-id and --appliance-label')
94
-
95
- click.echo("Retrieving the Export Appliance Serial No. from OCI... ", nl=False)
96
- client = cli_util.build_client('dts', 'appliance_export_job', ctx)
97
- kwargs_request = {'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])}
98
- result = client.get_appliance_export_job(appliance_export_job_id=export_job_id, **kwargs_request)
99
- serial_number = result.data.appliance_serial_number
100
- click.echo("done")
101
-
102
- else:
103
- raise click.UsageError('Either use --export-job-id or a combination of --job-id and --appliance-label')
104
-
105
- pa_init_auth_helper(ctx, appliance_profile, appliance_cert_fingerprint, appliance_ip, appliance_port,
106
- serial_number, access_token)
107
-
108
- if job_id is not None and appliance_label is not None:
109
- click.echo("Next action(s): Configuring Import Appliance Encryption")
110
- click.echo(" 1. oci dts physical-appliance show")
111
- click.echo(" 2. oci dts physical-appliance configure-encryption "
112
- "--job-id {} --appliance-label {}".format(job_id, appliance_label))
113
-
114
-
115
- def pa_init_auth_helper(ctx, appliance_profile, appliance_cert_fingerprint, appliance_ip, appliance_port,
116
- serial_number, access_token):
117
- auth_spec = InitAuthSpec(cert_fingerprint=appliance_cert_fingerprint, appliance_ip=appliance_ip,
118
- appliance_port=appliance_port, appliance_profile=appliance_profile,
119
- serial_id=serial_number, access_token=access_token)
120
-
121
- init_auth = create_init_auth(auth_spec)
122
- init_auth.run()
123
-
124
- # The initialize-authentication shows the transfer appliance details the same as oci dts physical-appliance show
125
- appliance_client = create_appliance_client(ctx, appliance_profile)
126
- user_friendly_appliance_info = convert_to_user_friendly(appliance_client.get_physical_transfer_appliance())
127
- cli_util.render_response(user_friendly_appliance_info, ctx)
128
-
129
-
130
- def create_init_auth(auth_spec):
131
- return InitAuth(auth_spec)
132
-
133
-
134
- @physical_appliance_group.command('list', help=u"""Lists all appliances registered via initialize authentication.""")
135
- @json_skeleton_utils.get_cli_json_input_option({})
136
- @cli_util.help_option
137
- @click.pass_context
138
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
139
- output_type={'module': 'dts', 'class': 'PhysicalAppliance'})
140
- @cli_util.wrap_exceptions
141
- def pa_list(ctx, from_json):
142
- result = []
143
- config_manager = ApplianceConfigManager(APPLIANCE_CONFIGS_BASE_DIR)
144
- for profile_name, config in config_manager.list_configs().items():
145
- result.append({
146
- ENDPOINT: config.get_appliance_url(),
147
- APPLIANCE_PROFILE: profile_name
148
- })
149
- cli_util.render(result, None, ctx)
150
-
151
-
152
- @physical_appliance_group.command('unregister',
153
- help=u"""Unregister appliance registered via initialize authentication.""")
154
- @cli_util.option('--appliance-profile', default="DEFAULT", required=False, help=u"""Appliance Profile""")
155
- @json_skeleton_utils.get_cli_json_input_option({})
156
- @cli_util.help_option
157
- @click.pass_context
158
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
159
- @cli_util.wrap_exceptions
160
- def pa_unregister(ctx, from_json, appliance_profile):
161
- config_manager = ApplianceConfigManager(APPLIANCE_CONFIGS_BASE_DIR)
162
- config = config_manager.get_config(appliance_profile)
163
- if not click.confirm("Is it OK to unregister appliance with endpoint {}".format(config.get_appliance_url())):
164
- click.echo("Exiting...")
165
- sys.exit(-1)
166
- else:
167
- config_manager.delete_config(appliance_profile)
168
- click.echo("Unregistered the appliance")
169
-
170
-
171
- @physical_appliance_group.command('configure-encryption',
172
- help=u"""Configures encryption on the transfer appliance.""")
173
- @cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Appliance Profile""")
174
- @cli_util.option('--job-id', required=True, help=u"""Transfer job OCID.""")
175
- @cli_util.option('--appliance-label', required=True, help=u"""Appliance label.""")
176
- @json_skeleton_utils.get_cli_json_input_option({})
177
- @cli_util.help_option
178
- @click.pass_context
179
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
180
- @cli_util.wrap_exceptions
181
- def pa_configure_encryption(ctx, from_json, appliance_profile, job_id, appliance_label):
182
- client = cli_util.build_client('dts', 'transfer_appliance', ctx)
183
- result = client.get_transfer_appliance(
184
- id=job_id,
185
- transfer_appliance_label=appliance_label
186
- )
187
- # If the appliance is not already in a preparing state, move it to a preparing state
188
- if result.data.lifecycle_state != TransferAppliance.LIFECYCLE_STATE_PREPARING:
189
- click.echo("Updating the state of the Appliance in OCI to PREPARING... ", nl=False)
190
- details = {
191
- "lifecycleState": TransferAppliance.LIFECYCLE_STATE_PREPARING
192
- }
193
- client.update_transfer_appliance(
194
- id=job_id,
195
- transfer_appliance_label=appliance_label,
196
- update_transfer_appliance_details=details,
197
- )
198
- click.echo("done")
199
-
200
- click.echo("Retrieving the Passphrase from OCI... ", nl=False)
201
- passphrase = client.get_transfer_appliance_encryption_passphrase(
202
- id=job_id,
203
- transfer_appliance_label=appliance_label
204
- ).data.encryption_passphrase
205
- appliance_client = create_appliance_client(ctx, appliance_profile)
206
- click.echo("done")
207
-
208
- click.echo("Configuring Appliance Encryption... ", nl=False)
209
- appliance_client.configure_encryption(passphrase_details={'passphrase': passphrase})
210
- click.echo("done")
211
-
212
- click.echo("Getting Appliance Info... ", nl=False)
213
- appliance_info = appliance_client.get_physical_transfer_appliance()
214
- click.echo("done")
215
-
216
- user_friendly_appliance_info = convert_to_user_friendly(appliance_info)
217
- cli_util.render_response(user_friendly_appliance_info, ctx)
218
- click.echo("Next action(s): Unlocking the Import Appliance")
219
- click.echo(" 1. oci dts physical-appliance unlock --job-id {} --appliance-label {}".format(job_id, appliance_label))
220
-
221
-
222
- def create_appliance_client(ctx, appliance_profile):
223
- return ApplianceClientProxy(ctx, appliance_profile)
224
-
225
-
226
- @physical_appliance_group.command('unlock',
227
- help=u"""Unlocks the transfer appliance.""")
228
- @cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Appliance Profile""")
229
- @cli_util.option('--job-id', required=False, help=u"""Transfer job OCID.""")
230
- @cli_util.option('--appliance-label', required=False, help=u"""Appliance label.""")
231
- @json_skeleton_utils.get_cli_json_input_option({})
232
- @cli_util.help_option
233
- @click.pass_context
234
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
235
- @cli_util.wrap_exceptions
236
- def pa_unlock(ctx, from_json, appliance_profile, job_id, appliance_label):
237
- if job_id is None or appliance_label is None:
238
- click.echo("Specify the --job-id and the --appliance-label to retrieve the passphrase from Oracle Cloud"
239
- "Infrastructure or enter the passphrase")
240
- passphrase = click.prompt('Passphrase', hide_input=True)
241
- if passphrase is None:
242
- click.echo('No input provided. Exiting...')
243
- sys.exit(-1)
244
- else:
245
- click.echo("Retrieving the Passphrase from OCI... ", nl=False)
246
- client = cli_util.build_client('dts', 'transfer_appliance', ctx)
247
- passphrase = client.get_transfer_appliance_encryption_passphrase(
248
- id=job_id,
249
- transfer_appliance_label=appliance_label
250
- ).data.encryption_passphrase
251
- click.echo("done")
252
- pa_unlock_helper(ctx, appliance_profile, passphrase)
253
- click.echo("Next action(s): Creating NFS Datasets")
254
- click.echo(" 1. oci dts nfs-dataset create --name <dataset_name> --rw true --world true --ip <ip_address> "
255
- "--subnet-mask-length <subnet-mask>")
256
-
257
-
258
- def pa_unlock_helper(ctx, appliance_profile, passphrase):
259
- click.echo("Unlocking Appliance... ", nl=False)
260
- appliance_client = create_appliance_client(ctx, appliance_profile)
261
- appliance_client.unlock_appliance(details={'passphrase': passphrase})
262
- click.echo("done")
263
-
264
- appliance_info = appliance_client.get_physical_transfer_appliance()
265
- user_friendly_appliance_info = convert_to_user_friendly(appliance_info)
266
- cli_util.render_response(user_friendly_appliance_info, ctx)
267
-
268
-
269
- @physical_appliance_group.command('show', help=u"""Shows transfer appliance details.""")
270
- @cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Appliance Profile""")
271
- @json_skeleton_utils.get_cli_json_input_option({})
272
- @cli_util.help_option
273
- @click.pass_context
274
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
275
- @cli_util.wrap_exceptions
276
- def pa_show(ctx, from_json, appliance_profile):
277
- appliance_client = create_appliance_client(ctx, appliance_profile)
278
- appliance_info = appliance_client.get_physical_transfer_appliance()
279
- user_friendly_appliance_info = convert_to_user_friendly(appliance_info)
280
- cli_util.render_response(user_friendly_appliance_info, ctx)
281
-
282
-
283
- def pa_show_helper(ctx, from_json, appliance_profile):
284
- appliance_client = create_appliance_client(ctx, appliance_profile)
285
- appliance_info = appliance_client.get_physical_transfer_appliance()
286
- user_friendly_appliance_info = convert_to_user_friendly(appliance_info)
287
- return user_friendly_appliance_info
288
-
289
-
290
- @physical_appliance_group.command('finalize', help=u"""Finalizes the appliance.""")
291
- @cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Appliance Profile""")
292
- @cli_util.option('--job-id', required=True, help=u"""Transfer job OCID.""")
293
- @cli_util.option('--appliance-label', required=True, help=u"""Appliance label.""")
294
- @cli_util.option('--skip-upload-user-check', required=False, is_flag=True,
295
- help=u"""Skip checking whether the upload user has the right credentials""")
296
- @cli_util.option('--skip-request-return-label', required=False, is_flag=True,
297
- help=u"""Skip prompt for request-return-label """)
298
- @json_skeleton_utils.get_cli_json_input_option({})
299
- @cli_util.help_option
300
- @click.pass_context
301
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
302
- @cli_util.wrap_exceptions
303
- def pa_finalize(ctx, from_json, appliance_profile, job_id, appliance_label, skip_upload_user_check, skip_request_return_label):
304
- click.echo("Retrieving the Upload Summary Object Name from OCI... ", nl=False)
305
- appliance_client = cli_util.build_client('dts', 'transfer_appliance', ctx)
306
- physical_appliance_client = create_appliance_client(ctx, appliance_profile)
307
- result = appliance_client.get_transfer_appliance(
308
- id=job_id,
309
- transfer_appliance_label=appliance_label
310
- )
311
- upload_summary_obj_name = result.data.upload_status_log_uri
312
- click.echo("done")
313
-
314
- click.echo("Retrieving the Upload Bucket Name from OCI... ", nl=False)
315
- client = cli_util.build_client('dts', 'transfer_job', ctx)
316
- upload_bucket = client.get_transfer_job(id=job_id).data.upload_bucket_name
317
- upload_user_config = oci_config.from_file(APPLIANCE_UPLOAD_USER_CONFIG_PATH)
318
- click.echo("done")
319
-
320
- if not skip_upload_user_check:
321
- click.echo("Validating the Upload User Credentials...")
322
- validate_upload_user_credentials(ctx, upload_bucket, upload_user_config)
323
-
324
- click.echo("Storing the Upload User Configuration and Credentials on the Appliance... ", nl=False)
325
- upload_user_key_file = open(os.path.expanduser(upload_user_config[KEY_FILE_KEY])).read()
326
- upload_config = {
327
- 'uploadBucket': upload_bucket,
328
- 'overwrite': False,
329
- 'objectNamePrefix': "",
330
- 'uploadSummaryObjectName': upload_summary_obj_name,
331
- 'uploadUserOciConfig': open(APPLIANCE_UPLOAD_USER_CONFIG_PATH).read(),
332
- 'uploadUserPrivateKeyPem': upload_user_key_file
333
- }
334
- physical_appliance_client.set_object_storage_upload_config(upload_config=upload_config)
335
- click.echo("done")
336
-
337
- click.echo("Finalizing the Appliance... ", nl=False)
338
- physical_appliance_client.finalize_appliance()
339
- appliance_info = physical_appliance_client.get_physical_transfer_appliance()
340
- click.echo("done")
341
-
342
- click.echo("The transfer appliance is locked after finalize. Hence the finalize status will be shown as NA. "
343
- "Please unlock the transfer appliance again to see the correct finalize status")
344
-
345
- requested_return_label = False
346
- return_label_exists = result.data.return_shipping_label_uri is not None
347
- current_state = result.data.lifecycle_state
348
- if current_state not in [
349
- TransferAppliance.LIFECYCLE_STATE_RETURN_LABEL_REQUESTED,
350
- TransferAppliance.LIFECYCLE_STATE_RETURN_LABEL_GENERATING,
351
- TransferAppliance.LIFECYCLE_STATE_RETURN_LABEL_AVAILABLE
352
- ]:
353
- if current_state != TransferAppliance.LIFECYCLE_STATE_FINALIZED:
354
- click.echo("Updating the State of the Appliance in OCI to FINALIZED... ", nl=False)
355
- appliance_client.update_transfer_appliance(
356
- id=job_id,
357
- transfer_appliance_label=appliance_label,
358
- update_transfer_appliance_details={
359
- "lifecycleState": TransferAppliance.LIFECYCLE_STATE_FINALIZED
360
- }
361
- )
362
- click.echo("done")
363
-
364
- confirm_prompt = "Would you like to request a return shipping label?"
365
- if not skip_request_return_label \
366
- and not return_label_exists \
367
- and click.confirm(click.style(confirm_prompt, fg="yellow")):
368
- click.echo("All following date and time inputs are expected in UTC timezone with format: 'YYYY-MM-DD HH:MM'")
369
- return_start_time = format_dt(click.prompt("Please enter pickup window start time").strip("'\""))
370
- return_end_time = format_dt(click.prompt("Please enter pickup window end time").strip("'\""))
371
-
372
- click.echo("Updating the State of the Appliance in OCI to RETURN_LABEL_REQUESTED... ", nl=False)
373
- appliance_client.update_transfer_appliance(
374
- id=job_id,
375
- transfer_appliance_label=appliance_label,
376
- update_transfer_appliance_details={
377
- "lifecycleState": TransferAppliance.LIFECYCLE_STATE_RETURN_LABEL_REQUESTED,
378
- 'pickupWindowStartTime': return_start_time,
379
- 'pickupWindowEndTime': return_end_time
380
- }
381
- )
382
- click.echo("done")
383
- requested_return_label = True
384
-
385
- user_friendly_appliance_info = convert_to_user_friendly(appliance_info)
386
- cli_util.render_response(user_friendly_appliance_info, ctx)
387
-
388
- if requested_return_label or return_label_exists:
389
- click.echo("Next action(s): Shipping the Import Appliance")
390
- click.echo(" 1. - Shut Down the Import Appliance -")
391
- click.echo(" 2. - Packing and Shipping the Import Appliance to Oracle -")
392
- else:
393
- click.echo("Next action(s): Requesting a Return Shipping Label")
394
- click.echo(" 1. oci dts appliance request-return-label --job-id {} --appliance-label {} "
395
- "--pickup-window-start-time <pickup_window_start_time> "
396
- "--pickup-window-end-time <pickup_window_end_time>".format(job_id, appliance_label))
397
-
398
-
399
- def get_upload_user_region():
400
- try:
401
- config = configparser.ConfigParser()
402
- config.read(APPLIANCE_UPLOAD_USER_CONFIG_PATH)
403
- return config.get(DEFAULT_PROFILE, 'region')
404
- except exceptions.ConfigFileNotFound as e:
405
- error_message_wrapper('Unable to parse the upload user config file %s: %s' % (APPLIANCE_UPLOAD_USER_CONFIG_PATH, e))
406
-
407
-
408
- def get_upload_user_config():
409
- try:
410
- upload_user_config = oci_config.from_file(file_location=APPLIANCE_UPLOAD_USER_CONFIG_PATH,
411
- profile_name="DEFAULT")
412
- return upload_user_config
413
-
414
- except exceptions.ConfigFileNotFound as e:
415
- error_message_wrapper('Unable to parse the upload user config file %s: %s' % (APPLIANCE_UPLOAD_USER_CONFIG_PATH, e))
416
-
417
-
418
- def get_user(ctx):
419
- if 'user' in ctx.obj['config']:
420
- return ctx.obj['config']['user']
421
- return oci_config.from_file(ctx.obj['config_file'])['user']
422
-
423
-
424
- def create_obj_storage_client(ctx):
425
- return cli_util.build_client('object_storage', 'object_storage', ctx)
426
-
427
-
428
- def validate_upload_user_credentials(ctx, upload_bucket, upload_user_config=None):
429
- """
430
- There are two users, the admin user and the upload user
431
- The admin user is the one who has access to the user's tenancy and can perform operations like creating a job,
432
- requesting an appliance, etc.
433
- The upload user has enough permissions to just upload data to a particular user bucket. The upload user cannot
434
- delete objects from the bucket nor can it make modifications to the bucket or account. In essence it is a
435
- restricted user.
436
- The upload user is defined in ~/.oci/config_upload_user under the [DEFAULT] section. There is no way to change
437
- the file and the section. These are standards that are expected
438
- The idea of validation is to check whether the upload user has the ability to create objects, inspect the object
439
- and read the object's meta data from Oracle Cloud Infrastructure
440
- The procedure is this:
441
- 1. Admin user tries to get the test object and delete it if it is present.
442
- - This is more of an error check when there is a stale object present from a previous failed run
443
- - Only the admin user, NOT the upload user, can delete an object
444
- 2. Upload user creates the test object
445
- 3. Upload user overwrites the test object
446
- 4. Upload user gets the checksum of the test object
447
- 5. Upload user gets the metadata of the test bucket
448
- 6. Admin user deletes the test object
449
- :param upload_bucket: The bucket to upload to
450
- :param upload_user_config: config built from APPLIANCE_UPLOAD_USER_CONFIG_PATH
451
- :return: None
452
- """
453
- # Overriding any endpoint that was set. Need to get to the endpoint based on the config file, not based on the
454
- # override parameter
455
- ctx.endpoint = None
456
- ctx.obj['endpoint'] = None
457
- # To support cross region uploads. get the region from the Upload User file
458
- # For example, let's say the config file had us-phoenix-1 as the region and config_upload_user had us-ashburn-1
459
- # If the region is not changed in the context, the admin client would be talking to us-phoenix-1 whereas the
460
- # upload client would be talking to us-ashburn-1. That's not what we want.
461
- try:
462
- if not upload_user_config:
463
- upload_user_config = get_upload_user_config()
464
- oci_config.validate_config(upload_user_config)
465
-
466
- except exceptions.ProfileNotFound as e:
467
- error_message_wrapper('ProfileNotFound: Unable to parse the upload user config file %s: %s' % (APPLIANCE_UPLOAD_USER_CONFIG_PATH, e))
468
-
469
- except exceptions.InvalidConfig as bad_config:
470
- table = render_config_errors(bad_config)
471
- template = "InvalidConfig: The config file at {config_file} is invalid:\n\n{errors}"
472
- error_message_wrapper(template.format(
473
- config_file=APPLIANCE_UPLOAD_USER_CONFIG_PATH,
474
- errors=table
475
- ))
476
-
477
- admin_user = get_user(ctx)
478
-
479
- region = get_upload_user_region()
480
-
481
- if 'config' in ctx.obj: # config loaded/present
482
- if 'region' in ctx.obj['config'] and ctx.obj['config']['region']: # region present in ~/.oci/config
483
- if region: # region present in APPLIANCE_UPLOAD_USER_CONFIG_PATH
484
- if ctx.obj['config']['region'].strip() != region.strip():
485
- confirm_prompt = "WARNING: The config file under {config_path}/config: '{config_region}' has different region than "\
486
- "{upload_user_path}: '{upload_user_region}'. Are you sure you want to continue with " \
487
- "'{upload_user_region}'?".format(config_path=CONFIG_DIR,
488
- upload_user_path=APPLIANCE_UPLOAD_USER_CONFIG_PATH,
489
- config_region=ctx.obj['config']['region'], upload_user_region=region)
490
- if not click.confirm(click.style(confirm_prompt, fg="yellow")):
491
- error_message_wrapper("Aborted. Exiting...")
492
-
493
- ctx.obj['region'] = region
494
- ctx.obj['config']['region'] = region
495
- object_storage_admin_client = create_obj_storage_client(ctx)
496
- # A bit hacky but gets the job done. Only two parameters need to be changed to get the upload user context,
497
- # the profile and the config file. All other parameters remain the same
498
- upload_user_ctx = ctx
499
- upload_user_ctx.obj['profile'] = 'DEFAULT'
500
- upload_user_ctx.obj['config_file'] = APPLIANCE_UPLOAD_USER_CONFIG_PATH
501
- # Overriding any endpoint that was set. Need to get to the endpoint based on the config_upload_user file
502
- upload_user_ctx.endpoint = None
503
- object_storage_upload_client = create_obj_storage_client(upload_user_ctx)
504
- namespace = object_storage_admin_client.get_namespace().data
505
- try:
506
- try:
507
- object_storage_admin_client.head_object(namespace, upload_bucket, TEST_OBJECT)
508
- click.echo("Found test object in bucket. Deleting it...")
509
- object_storage_admin_client.delete_object(namespace, upload_bucket, TEST_OBJECT)
510
- except exceptions.ServiceError as se:
511
- if se.status != 404:
512
- raise se
513
- except exceptions.ServiceError:
514
- click.echo("Admin user {} failed to delete the test object {}".format(admin_user, TEST_OBJECT))
515
- raise
516
-
517
- test_object_content = "Bulk Data Transfer Test"
518
-
519
- operation = None
520
- test_object_exists = False
521
- try:
522
- operation = "Create object {} in bucket {} using upload user".format(TEST_OBJECT, upload_bucket)
523
- object_storage_upload_client.put_object(namespace, upload_bucket, TEST_OBJECT, test_object_content)
524
- click.echo(operation)
525
- test_object_exists = True
526
-
527
- operation = "Overwrite object {} in bucket {} using upload user".format(TEST_OBJECT, upload_bucket)
528
- object_storage_upload_client.put_object(namespace, upload_bucket, TEST_OBJECT, test_object_content)
529
- click.echo(operation)
530
-
531
- operation = "Inspect object {} in bucket {} using upload user".format(TEST_OBJECT, upload_bucket)
532
- object_storage_upload_client.head_object(namespace, upload_bucket, TEST_OBJECT)
533
- click.echo(operation)
534
-
535
- operation = "Read bucket metadata {} using upload user".format(upload_bucket)
536
- metadata = object_storage_upload_client.get_bucket(namespace, upload_bucket).data.metadata
537
- click.echo(operation)
538
- except exceptions.ServiceError:
539
- click.echo("Failed to {} in tenancy {} as upload user".format(operation, namespace))
540
- raise
541
- finally:
542
- if test_object_exists:
543
- try:
544
- operation = "Delete object {} in bucket {} using admin user".format(TEST_OBJECT, upload_bucket)
545
- object_storage_admin_client.delete_object(namespace, upload_bucket, TEST_OBJECT)
546
- click.echo(operation)
547
- except exceptions.ServiceError:
548
- click.echo("Failed to delete test object {} as admin user {}".format(TEST_OBJECT, admin_user))
549
- raise
550
- else:
551
- error_message_wrapper('Unable to parse the upload user config file. Region not found in %s' %
552
- APPLIANCE_UPLOAD_USER_CONFIG_PATH)
553
- else:
554
- error_message_wrapper('Unable to parse the config file. Region not found in %s/config' % CONFIG_DIR)
555
- else:
556
- error_message_wrapper('Unable to parse the config file at %s/config' % CONFIG_DIR)
557
-
558
-
559
- def convert_to_user_friendly(appliance_info):
560
- if appliance_info.data['lockStatus'] == PhysicalTransferAppliance.LOCK_STATUS_NOT_LOCKED:
561
- appliance_info.data['availableSpaceInBytes'] = get_user_friendly_size(
562
- appliance_info.data['availableSpaceInBytes'])
563
- appliance_info.data['totalSpaceInBytes'] = get_user_friendly_size(appliance_info.data['totalSpaceInBytes'])
564
- else:
565
- appliance_info.data['availableSpaceInBytes'] = "Unknown"
566
- appliance_info.data['totalSpaceInBytes'] = "Unknown"
567
- return appliance_info
568
-
569
-
570
- class SpaceUnit(Enum):
571
- KB = 1024
572
- MB = 1024 * 1024
573
- GB = 1024 * 1024 * 1024
574
- TB = 1024 * 1024 * 1024 * 1024
575
-
576
-
577
- def get_unit(size_in_bytes):
578
- if SpaceUnit.TB.value < size_in_bytes:
579
- return SpaceUnit.TB
580
- elif SpaceUnit.GB.value < size_in_bytes:
581
- return SpaceUnit.GB
582
- elif SpaceUnit.MB.value < size_in_bytes:
583
- return SpaceUnit.MB
584
- return SpaceUnit.KB
585
-
586
-
587
- def get_user_friendly_size(size_in_bytes):
588
- unit = get_unit(size_in_bytes)
589
- value = "%.2f" % float(int(size_in_bytes) / unit.value)
590
- return value + unit.name