oci-cli 3.64.1__py3-none-any.whl → 3.65.1__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 (572) hide show
  1. oci_cli/bin/dbmulticloud.psm1 +39 -4
  2. oci_cli/bin/mysql.psm1 +4 -2
  3. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/condition-metadata-type/get.txt +1 -1
  4. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/detector-recipe/create.txt +1 -1
  5. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/create.txt +5 -1
  6. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/list.txt +1 -1
  7. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/update.txt +4 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem/list.txt +1 -1
  9. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem-aggregation/request-summarized-problems.txt +1 -1
  10. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource/list.txt +1 -1
  11. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource-type-summary/list-resource-types.txt +1 -1
  12. 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
  13. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/register-cloud-vm-cluster-pkcs.txt +1 -1
  16. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/unregister-cloud-vm-cluster-pkcs.txt +1 -1
  17. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
  18. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create-data-guard-association-google-cloud-provider-encryption-key-details.txt +206 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association.txt +3 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/access-policy/delete.txt → db/database/change-encryption-key-location-google-cloud-provider-encryption-key-details.txt} +19 -24
  21. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-create-stand-by-database-details.txt +6 -0
  22. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-from-backup.txt +6 -0
  23. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +20 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +3 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +10 -0
  30. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
  31. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/update.txt +10 -0
  32. oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
  33. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
  34. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
  35. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
  36. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
  37. oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
  38. oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
  39. oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
  40. oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.txt +5 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/db.txt +6 -0
  42. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/change-compartment.txt +6 -6
  43. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/create.txt +24 -4
  44. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/delete.txt +3 -2
  45. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/get.txt +3 -3
  46. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/list.txt +14 -7
  47. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/update.txt +7 -6
  48. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery.txt +57 -12
  49. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/change-compartment.txt +3 -3
  50. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/create.txt +6 -8
  51. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/delete.txt +2 -2
  52. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/get.txt +3 -3
  53. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/list.txt +9 -5
  54. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/update.txt +8 -8
  55. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container.txt +57 -12
  56. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/change-compartment.txt +2 -2
  57. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/create.txt +8 -8
  58. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/delete.txt +4 -3
  59. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/get.txt +3 -3
  60. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/list.txt +7 -5
  61. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/update.txt +8 -6
  62. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount.txt +57 -12
  63. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/change-compartment.txt +4 -4
  64. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/create.txt +11 -12
  65. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/delete.txt +2 -3
  66. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/get.txt +3 -2
  67. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/list.txt +6 -5
  68. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/patch.txt +2 -2
  69. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/update.txt +12 -13
  70. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector.txt +61 -16
  71. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/get.txt +3 -3
  72. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/list.txt +7 -4
  73. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key.txt +57 -12
  74. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/change-compartment.txt +3 -3
  75. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/create.txt +10 -10
  76. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/delete.txt +2 -2
  77. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/get.txt +5 -3
  78. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/list.txt +8 -5
  79. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/refresh.txt +6 -2
  80. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/update.txt +17 -12
  81. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/cascading-delete.txt +2 -2
  82. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/change-compartment.txt +2 -2
  83. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/create.txt +7 -6
  84. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/delete.txt +2 -2
  85. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/get.txt +3 -3
  86. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/list.txt +9 -5
  87. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/update.txt +9 -7
  88. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association.txt +61 -16
  89. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault.txt +61 -16
  90. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/change-compartment.txt +132 -0
  91. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/ingress-gateway → dbmulticloud/oracle-db-gcp-identity-connector}/create.txt +54 -69
  92. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-identity-connector}/delete.txt +8 -18
  93. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance → dbmulticloud/oracle-db-gcp-identity-connector}/get.txt +7 -6
  94. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → dbmulticloud/oracle-db-gcp-identity-connector}/list.txt +15 -13
  95. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-updates.txt → dbmulticloud/oracle-db-gcp-identity-connector/refresh.txt} +17 -17
  96. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-identity-connector}/update.txt +57 -38
  97. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector.txt +29 -0
  98. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request → dbmulticloud/oracle-db-gcp-key}/get.txt +7 -6
  99. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-key}/list.txt +18 -15
  100. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → dbmulticloud/oracle-db-gcp-key-ring}/change-compartment.txt +15 -21
  101. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/update.txt → dbmulticloud/oracle-db-gcp-key-ring/create.txt} +54 -47
  102. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → dbmulticloud/oracle-db-gcp-key-ring}/delete.txt +9 -13
  103. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/list.txt → dbmulticloud/oracle-db-gcp-key-ring/get.txt} +13 -44
  104. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → dbmulticloud/oracle-db-gcp-key-ring}/list.txt +21 -14
  105. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → dbmulticloud/oracle-db-gcp-key-ring/refresh.txt} +15 -20
  106. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-key-ring}/update.txt +31 -30
  107. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group.txt → dbmulticloud/oracle-db-gcp-key-ring.txt} +4 -8
  108. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request.txt → dbmulticloud/oracle-db-gcp-key.txt} +3 -5
  109. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/work-request.txt +61 -16
  110. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud.txt +95 -12
  111. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +2 -1
  112. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint-collection/list-endpoints.txt +4 -0
  113. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +11 -0
  114. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +12 -0
  115. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
  116. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
  117. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
  118. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  119. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-logs.txt → list-work-request-logs.txt} +5 -5
  120. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
  121. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
  122. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
  123. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe/delete.txt → kafka/cluster/change-compartment.txt} +16 -21
  124. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
  125. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
  126. 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
  127. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe/change-compartment.txt → kafka/cluster/enable-superuser.txt} +18 -19
  128. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
  129. oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster}/list.txt +36 -23
  130. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/update.txt +62 -58
  131. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
  132. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
  133. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
  134. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
  135. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
  136. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
  137. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
  138. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
  139. oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster-config-version}/list.txt +25 -23
  140. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
  141. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
  142. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
  143. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
  144. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
  145. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
  146. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request/list-work-request-errors.txt → kafka/work-request-error/list.txt} +16 -13
  147. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
  148. 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
  149. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-log-entry.txt +2 -1
  150. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
  151. oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
  152. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/list.txt +16 -0
  153. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/validate.txt +141 -0
  154. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
  155. oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +2 -0
  156. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  157. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  158. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
  159. oci_cli/help_text_producer/data_files/text/index.txt +3 -9
  160. oci_cli/service_mapping.py +6 -21
  161. oci_cli/version.py +1 -1
  162. {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/METADATA +2 -2
  163. {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/RECORD +198 -556
  164. services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
  165. services/cloud_guard/src/oci_cli_cloud_guard/generated/cloudguard_cli.py +18 -10
  166. services/database/src/oci_cli_database/database_cli_extended.py +67 -3
  167. services/database/src/oci_cli_database/generated/database_cli.py +367 -70
  168. services/{ai_anomaly_detection → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/__init__.py +1 -1
  169. services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/dbmulticloudgcpprovider_cli_extended.py +18 -0
  170. services/{ai_anomaly_detection/src → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated}/__init__.py +1 -1
  171. services/{dts/src/oci_cli_transfer_appliance_entitlement → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/generated/client_mappings.py +6 -6
  172. services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/dbmulticloudgcpprovider_cli.py +1057 -0
  173. services/dbmulticloud/src/oci_cli_dbmulticloud/generated/dbmulticloud_service_cli.py +27 -8
  174. services/dbmulticloud/src/oci_cli_multi_cloud_resource_discovery/generated/multicloudresourcediscovery_cli.py +63 -37
  175. services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_container/generated/oracledbazureblobcontainer_cli.py +52 -33
  176. services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_mount/generated/oracledbazureblobmount_cli.py +49 -30
  177. services/dbmulticloud/src/oci_cli_oracle_db_azure_connector/generated/oracledbazureconnector_cli.py +113 -39
  178. services/dbmulticloud/src/oci_cli_oracle_db_azure_key/generated/oracledbazurekey_cli.py +34 -15
  179. services/dbmulticloud/src/oci_cli_oracle_db_azure_vault/generated/oracledbazurevault_cli.py +69 -42
  180. services/dbmulticloud/src/oci_cli_oracle_db_azure_vault_association/generated/oracledbazurevaultassociation_cli.py +52 -33
  181. services/dbmulticloud/src/oci_cli_work_request/generated/workrequest_cli.py +27 -8
  182. services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +5 -2
  183. services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +7 -3
  184. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
  185. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka}/__init__.py +1 -1
  186. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection/generated → managed_kafka/src}/__init__.py +1 -1
  187. services/managed_kafka/src/oci_cli_kafka_cluster/__init__.py +4 -0
  188. services/managed_kafka/src/oci_cli_kafka_cluster/generated/__init__.py +4 -0
  189. services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
  190. services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
  191. services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
  192. services/managed_kafka/tests/__init__.py +4 -0
  193. services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -1
  194. oci_cli/bin/dts.psm1 +0 -147
  195. oci_cli/bin/os-management.psm1 +0 -140
  196. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
  197. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
  198. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
  199. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
  200. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
  201. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
  202. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
  203. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
  204. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
  205. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
  206. 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
  207. 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
  208. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
  209. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
  210. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
  211. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
  212. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
  213. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
  214. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
  215. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
  216. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
  217. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
  218. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
  219. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
  220. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
  221. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
  222. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
  223. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
  224. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
  225. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
  226. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/create.txt +0 -152
  227. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
  228. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
  229. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
  230. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
  231. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
  232. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
  233. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
  234. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
  235. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
  236. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
  237. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
  238. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
  239. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
  240. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
  241. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
  242. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
  243. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
  244. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
  245. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
  246. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
  247. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
  248. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
  249. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
  250. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
  251. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
  252. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
  253. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
  254. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
  255. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
  256. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
  257. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
  258. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
  259. oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
  260. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
  261. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
  262. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
  263. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
  264. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
  265. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
  266. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
  267. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
  268. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
  269. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
  270. oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
  271. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
  272. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
  273. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
  274. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
  275. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
  276. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
  277. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
  278. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
  279. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
  280. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
  281. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
  282. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
  283. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
  284. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
  285. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
  286. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
  287. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
  288. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
  289. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
  290. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
  291. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
  292. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
  293. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
  294. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
  295. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
  296. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
  297. oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
  298. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
  299. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
  300. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
  301. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
  302. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
  303. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
  304. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
  305. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
  306. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
  307. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
  308. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
  309. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
  310. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
  311. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
  312. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
  313. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
  314. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
  315. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
  316. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
  317. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
  318. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
  319. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
  320. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
  321. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
  322. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
  323. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
  324. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
  325. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
  326. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
  327. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
  328. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
  329. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
  330. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
  331. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
  332. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
  333. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
  334. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
  335. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
  336. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
  337. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
  338. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
  339. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
  340. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
  341. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
  342. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
  343. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
  344. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
  345. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
  346. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
  347. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
  348. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
  349. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
  350. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
  351. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
  352. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
  353. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
  354. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
  355. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
  356. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
  357. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
  358. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
  359. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
  360. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
  361. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
  362. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
  363. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
  364. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
  365. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
  366. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
  367. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
  368. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
  369. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
  370. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
  371. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
  372. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/get.txt +0 -91
  373. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
  374. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
  375. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
  376. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
  377. oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
  378. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
  379. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
  380. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
  381. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/list.txt +0 -150
  382. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
  383. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
  384. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
  385. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
  386. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
  387. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
  388. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
  389. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
  390. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
  391. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
  392. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
  393. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
  394. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
  395. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
  396. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
  397. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
  398. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
  399. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
  400. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
  401. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
  402. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
  403. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
  404. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
  405. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  406. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  407. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
  408. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
  409. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
  410. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
  411. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  412. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  413. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
  414. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
  415. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
  416. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
  417. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
  418. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
  419. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
  420. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
  421. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
  422. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
  423. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
  424. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
  425. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
  426. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
  427. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
  428. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
  429. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
  430. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
  431. services/ai_anomaly_detection/tests/__init__.py +0 -4
  432. services/dts/__init__.py +0 -4
  433. services/dts/src/__init__.py +0 -4
  434. services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
  435. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
  436. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
  437. services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
  438. services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
  439. services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
  440. services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
  441. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
  442. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
  443. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
  444. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
  445. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
  446. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
  447. services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
  448. services/dts/src/oci_cli_dts/__init__.py +0 -4
  449. services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
  450. services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
  451. services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
  452. services/dts/src/oci_cli_dts/appliance_config.py +0 -34
  453. services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
  454. services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
  455. services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
  456. services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
  457. services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
  458. services/dts/src/oci_cli_dts/base_client.py +0 -102
  459. services/dts/src/oci_cli_dts/cli_utils.py +0 -131
  460. services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
  461. services/dts/src/oci_cli_dts/dts_transform.py +0 -31
  462. services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
  463. services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
  464. services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
  465. services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
  466. services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
  467. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
  468. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
  469. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
  470. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
  471. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
  472. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
  473. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
  474. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
  475. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
  476. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
  477. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
  478. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
  479. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
  480. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
  481. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
  482. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
  483. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
  484. services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
  485. services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
  486. services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
  487. services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
  488. services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
  489. services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
  490. services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
  491. services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
  492. services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
  493. services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
  494. services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
  495. services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
  496. services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
  497. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
  498. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
  499. services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
  500. services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
  501. services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
  502. services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
  503. services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
  504. services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
  505. services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
  506. services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
  507. services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
  508. services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
  509. services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
  510. services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
  511. services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
  512. services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
  513. services/dts/tests/__init__.py +0 -4
  514. services/os_management/__init__.py +0 -4
  515. services/os_management/src/__init__.py +0 -4
  516. services/os_management/src/oci_cli_event/__init__.py +0 -4
  517. services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
  518. services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
  519. services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
  520. services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
  521. services/os_management/src/oci_cli_os_management/__init__.py +0 -4
  522. services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
  523. services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
  524. services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
  525. services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
  526. services/os_management/tests/__init__.py +0 -4
  527. services/service_mesh/__init__.py +0 -4
  528. services/service_mesh/src/__init__.py +0 -4
  529. services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
  530. services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
  531. services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
  532. services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
  533. services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
  534. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
  535. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
  536. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
  537. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
  538. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
  539. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
  540. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
  541. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
  542. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
  543. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
  544. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
  545. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
  546. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
  547. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
  548. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
  549. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
  550. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
  551. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
  552. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
  553. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
  554. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
  555. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
  556. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
  557. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
  558. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
  559. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
  560. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
  561. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
  562. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
  563. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
  564. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
  565. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
  566. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
  567. services/service_mesh/tests/__init__.py +0 -4
  568. {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/LICENSE.txt +0 -0
  569. {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  570. {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/WHEEL +0 -0
  571. {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/entry_points.txt +0 -0
  572. {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/top_level.txt +0 -0
@@ -1,14 +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: 20210101
5
-
6
- import oci
7
- from oci_cli.cli_clients import CLIENT_MAP
8
- from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
9
- from oci.ai_anomaly_detection import AnomalyDetectionClient
10
-
11
- MODULE_TO_TYPE_MAPPINGS["ai_anomaly_detection"] = oci.ai_anomaly_detection.models.ai_anomaly_detection_type_mapping
12
- if CLIENT_MAP.get("ai_anomaly_detection") is None:
13
- CLIENT_MAP["ai_anomaly_detection"] = {}
14
- CLIENT_MAP["ai_anomaly_detection"]["anomaly_detection"] = AnomalyDetectionClient
@@ -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: 20210101
services/dts/__init__.py DELETED
@@ -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,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,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,582 +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
- import click
7
- import six
8
- import time
9
- import oci
10
- import json
11
-
12
- from oci import exceptions
13
- from oci.dts.models.update_appliance_export_job_details import UpdateApplianceExportJobDetails
14
- from oci_cli import cli_util, custom_types
15
- from oci_cli import json_skeleton_utils
16
-
17
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_STATE_LOCKED, APPLIANCE_STATUS_NA
18
- from services.dts.src.oci_cli_dts.cli_utils import setup_notifications_helper
19
- from services.dts.src.oci_cli_dts.generated import dts_service_cli
20
- from services.dts.src.oci_cli_appliance_export_job.generated import applianceexportjob_cli
21
- from services.dts.src.oci_cli_transfer_appliance.transferappliance_cli_extended import customer_address_options
22
- from services.dts.src.oci_cli_dts.physicalappliance_cli_extended import pa_init_auth_helper, pa_unlock_helper, \
23
- pa_show_helper
24
- from services.dts.src.oci_cli_dts.nfsdataset_cli_extended import create_nfs_dataset_client, nfs_dataset_set_export, deactivate_nfs_dataset
25
- from services.dts.src.oci_cli_appliance_export_job.manifest.manifest_iterator import CasperListIterator
26
- from services.dts.src.oci_cli_appliance_export_job.manifest.manifest_stats_consumer import ManifestStatsConsumer
27
- from services.dts.src.oci_cli_appliance_export_job.manifest.manifest_writer import ManifestWriter
28
- from services.dts.src.oci_cli_appliance_export_job.manifest.object_uploader import ObjectUploader
29
- from services.dts.src.oci_cli_appliance_export_job.applianceexportjob_constants import \
30
- LIFECYCLE_STATE_DETAILS_PENDING_SUBMISSION, LIFECYCLE_STATE_DETAILS_PENDING_APPROVAL, \
31
- LIFECYCLE_STATE_DETAILS_CUSTOMER_PROCESSING, OBJECT_STORAGE_BUCKET_TYPE_ARCHIVE, \
32
- LIFECYCLE_STATE_DETAILS_ORACLE_SHIPPED, LIFECYCLE_STATE_DETAILS_CUSTOMER_RECEIVED, LIFECYCLE_STATE_DETAILS_RETURN_LABEL_REQUESTED
33
-
34
- cli_util.rename_command(dts_service_cli, dts_service_cli.dts_service_group, applianceexportjob_cli.appliance_export_job_root_group, 'export')
35
- cli_util.rename_command(dts_service_cli, applianceexportjob_cli.appliance_export_job_root_group, applianceexportjob_cli.get_appliance_export_job, 'show')
36
- applianceexportjob_cli.appliance_export_job_root_group.commands.pop(applianceexportjob_cli.appliance_export_job_group.name)
37
- applianceexportjob_cli.appliance_export_job_root_group.add_command(applianceexportjob_cli.list_appliance_export_jobs)
38
-
39
-
40
- @applianceexportjob_cli.appliance_export_job_root_group.command(name='setup-notifications', help=u"""Setup notifications for export""")
41
- @click.pass_context
42
- @cli_util.help_option
43
- @cli_util.wrap_exceptions
44
- def setup_notifications_extended(ctx):
45
- setup_export_notifications(ctx)
46
-
47
-
48
- @cli_util.copy_params_from_generated_command(applianceexportjob_cli.create_appliance_export_job, params_to_exclude=['customer_shipping_address', 'compartment_id', 'bucket_name', 'display_name', 'prefix', 'range_start', 'range_end'])
49
- @applianceexportjob_cli.appliance_export_job_root_group.command(name=applianceexportjob_cli.create_appliance_export_job.name, help=applianceexportjob_cli.create_appliance_export_job.help)
50
- @cli_util.option('--compartment-id', required=True, help=u"""OCID of the compartment in which the export job is created""")
51
- @cli_util.option('--bucket-name', required=True, help=u"""Name of the object storage bucket for this export job""")
52
- @cli_util.option('--display-name', required=True, help=u"""User friendly name of the export job""")
53
- @cli_util.option('--addressee', required=True, help=u"""Company or person to send the appliance to""")
54
- @cli_util.option('--care-of', required=True, help=u"""Place/person to direct the package to.""")
55
- @cli_util.option('--address1', required=True, help=u"""Address line 1.""")
56
- @cli_util.option('--address2', help=u"""Optional address line 2.""")
57
- @cli_util.option('--address3', help=u"""Optional address line 3.""")
58
- @cli_util.option('--address4', help=u"""Optional address line 4.""")
59
- @cli_util.option('--city-or-locality', required=True, help=u"""City or Locality.""")
60
- @cli_util.option('--state-province-region', required=True, help=u"""State or Province or Region.""")
61
- @cli_util.option('--country', required=True, help=u"""Country.""")
62
- @cli_util.option('--zip-postal-code', required=True, help=u"""Zip or Postal Code""")
63
- @cli_util.option('--phone-number', required=True, help=u"""Phone number.""")
64
- @cli_util.option('--email', required=True, help=u"""Email address.""")
65
- @cli_util.option('--setup-notifications', type=click.BOOL, help=u"""Setup notifications for export""")
66
- @click.pass_context
67
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
68
- @cli_util.wrap_exceptions
69
- def create_appliance_export_job_extended(ctx, **kwargs):
70
- ctx_endpoint_dts = ctx.obj['endpoint']
71
- ctx.endpoint = None
72
- ctx.obj['endpoint'] = None
73
- os_client = create_os_client(ctx)
74
- namespace = os_client.get_namespace().data
75
-
76
- result = os_client.get_bucket(
77
- namespace_name=namespace,
78
- bucket_name=kwargs['bucket_name']
79
- )
80
-
81
- if result.data.storage_tier == OBJECT_STORAGE_BUCKET_TYPE_ARCHIVE:
82
- raise click.UsageError('Export for Archive buckets is currently not supported')
83
-
84
- kwargs['customer_shipping_address'] = {}
85
- for option, value in customer_address_options.items():
86
- if option in kwargs:
87
- kwargs['customer_shipping_address'][value] = kwargs[option]
88
- kwargs.pop(option)
89
-
90
- if kwargs['setup_notifications'] is None:
91
- if click.confirm("It is a pre-requisite to setup notifications for export. Do you want to setup notifications?"):
92
- setup_export_notifications(ctx)
93
- else:
94
- click.echo("Continuing without setting up notifications. Please make sure that you have set it up")
95
- elif kwargs['setup_notifications']:
96
- setup_export_notifications(ctx)
97
- kwargs.pop('setup_notifications')
98
- ctx.obj['endpoint'] = ctx_endpoint_dts
99
- ctx.invoke(applianceexportjob_cli.create_appliance_export_job, **kwargs)
100
-
101
-
102
- def setup_export_notifications(ctx):
103
- # Create the topic, subscriptions and rule in the root compartment so that everything trickles down
104
- config = oci.config.from_file(file_location=ctx.obj['config_file'], profile_name=ctx.obj['profile'])
105
- root_compartment = config['tenancy']
106
-
107
- create_topic_details = {
108
- 'name': 'DTSExportTopic',
109
- 'description': 'Topic for data transfer service export jobs',
110
- 'compartmentId': root_compartment
111
- }
112
-
113
- create_rule_kwargs = {
114
- 'display_name': 'DTSExportRule',
115
- 'compartment_id': root_compartment,
116
- 'description': 'Rule for data transfer service to send notifications for export jobs',
117
- 'is_enabled': True,
118
- 'condition': '{"eventType":"com.oraclecloud.datatransferservice.*applianceexportjob"}',
119
- 'actions': {
120
- 'actions': [
121
- {
122
- 'actionType': 'ONS',
123
- 'topicId': None,
124
- 'isEnabled': True
125
- }
126
- ]
127
- }
128
- }
129
-
130
- setup_notifications_helper(ctx, create_topic_details, create_rule_kwargs)
131
-
132
-
133
- def create_os_client(ctx):
134
- return cli_util.build_client('object_storage', 'object_storage', ctx)
135
-
136
-
137
- def policy_printer(policy_name, bucket_access_policies):
138
- click.echo('NOTE: Sometimes you will need to replace a single quote with \'\"\'\"\'')
139
- create_policy_command = 'oci iam policy create --name {} --compartment-id $ROOT_COMPARTMENT ' \
140
- '--statements \'{}\' --description "The policies to allow DTS to process the export job"'.format(policy_name, json.dumps(bucket_access_policies))
141
- click.echo(create_policy_command)
142
-
143
-
144
- def get_bucket_access_policies(result):
145
- return result.data.bucket_access_policies
146
-
147
-
148
- @cli_util.copy_params_from_generated_command(applianceexportjob_cli.change_appliance_export_job_compartment, params_to_exclude=['appliance_export_job_id'])
149
- @applianceexportjob_cli.appliance_export_job_root_group.command(name=applianceexportjob_cli.change_appliance_export_job_compartment.name, help=applianceexportjob_cli.change_appliance_export_job_compartment.help)
150
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
151
- @click.pass_context
152
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
153
- @cli_util.wrap_exceptions
154
- def change_appliance_export_job_compartment_extended(ctx, **kwargs):
155
- if 'job_id' in kwargs:
156
- kwargs['appliance_export_job_id'] = kwargs['job_id']
157
- kwargs.pop('job_id')
158
- ctx.invoke(applianceexportjob_cli.change_appliance_export_job_compartment, **kwargs)
159
-
160
-
161
- @cli_util.copy_params_from_generated_command(applianceexportjob_cli.delete_appliance_export_job, params_to_exclude=['appliance_export_job_id'])
162
- @applianceexportjob_cli.appliance_export_job_root_group.command(name=applianceexportjob_cli.delete_appliance_export_job.name, help=applianceexportjob_cli.delete_appliance_export_job.help)
163
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
164
- @click.pass_context
165
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
166
- @cli_util.wrap_exceptions
167
- def delete_appliance_export_job_extended(ctx, **kwargs):
168
- if 'job_id' in kwargs:
169
- kwargs['appliance_export_job_id'] = kwargs['job_id']
170
- kwargs.pop('job_id')
171
- ctx.invoke(applianceexportjob_cli.delete_appliance_export_job, **kwargs)
172
-
173
-
174
- @cli_util.copy_params_from_generated_command(applianceexportjob_cli.get_appliance_export_job, params_to_exclude=['appliance_export_job_id'])
175
- @applianceexportjob_cli.appliance_export_job_root_group.command(name=applianceexportjob_cli.get_appliance_export_job.name, help=applianceexportjob_cli.get_appliance_export_job.help)
176
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
177
- @click.pass_context
178
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
179
- @cli_util.wrap_exceptions
180
- def show_appliance_export_job_extended(ctx, **kwargs):
181
-
182
- if isinstance(kwargs['job_id'], six.string_types) and len(kwargs['job_id'].strip()) == 0:
183
- raise click.UsageError('Parameter --appliance-export-job-id cannot be whitespace or empty string')
184
-
185
- kwargs_request = {
186
- 'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])
187
- }
188
- client = cli_util.build_client('dts', 'appliance_export_job', ctx)
189
- result = client.get_appliance_export_job(
190
- appliance_export_job_id=kwargs['job_id'],
191
- **kwargs_request
192
- )
193
- # Should not display the encryption passphrase
194
- reset_passphrase(result)
195
- cli_util.render_response(result, ctx)
196
-
197
-
198
- @applianceexportjob_cli.appliance_export_job_root_group.command(name="get-passphrase", help=u"""Get the passphrase of the export job""")
199
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
200
- @cli_util.help_option
201
- @click.pass_context
202
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
203
- @cli_util.wrap_exceptions
204
- def get_passphrase_export_job_extended(ctx, **kwargs):
205
-
206
- if isinstance(kwargs['job_id'], six.string_types) and len(kwargs['job_id'].strip()) == 0:
207
- raise click.UsageError('Parameter --appliance-export-job-id cannot be whitespace or empty string')
208
-
209
- kwargs_request = {
210
- 'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])
211
- }
212
- client = cli_util.build_client('dts', 'appliance_export_job', ctx)
213
- result = client.get_appliance_export_job(
214
- appliance_export_job_id=kwargs['job_id'],
215
- **kwargs_request
216
- )
217
- click.echo(result.data.appliance_decryption_passphrase)
218
-
219
-
220
- def reset_passphrase(result):
221
- result.data.appliance_decryption_passphrase = "********"
222
-
223
-
224
- @cli_util.copy_params_from_generated_command(applianceexportjob_cli.update_appliance_export_job, params_to_exclude=['appliance_export_job_id', 'customer_shipping_address', 'lifecycle_state', 'lifecycle_state_details', 'expected_return_date', 'pickup_window_start_time', 'pickup_window_end_time'])
225
- @applianceexportjob_cli.appliance_export_job_root_group.command(name=applianceexportjob_cli.update_appliance_export_job.name, help=applianceexportjob_cli.update_appliance_export_job.help)
226
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
227
- @cli_util.option('--addressee', help=u"""Company or person to send the appliance to""")
228
- @cli_util.option('--care-of', help=u"""Place/person to direct the package to.""")
229
- @cli_util.option('--address1', help=u"""Address line 1.""")
230
- @cli_util.option('--address2', help=u"""Optional address line 2.""")
231
- @cli_util.option('--address3', help=u"""Optional address line 3.""")
232
- @cli_util.option('--address4', help=u"""Optional address line 4.""")
233
- @cli_util.option('--city-or-locality', help=u"""City or Locality.""")
234
- @cli_util.option('--state-province-region', help=u"""State or Province or Region.""")
235
- @cli_util.option('--country', help=u"""Country.""")
236
- @cli_util.option('--zip-postal-code', help=u"""Zip or Postal Code""")
237
- @cli_util.option('--phone-number', help=u"""Phone number.""")
238
- @cli_util.option('--email', help=u"""Email address.""")
239
- @click.pass_context
240
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
241
- @cli_util.wrap_exceptions
242
- def update_appliance_export_job_extended(ctx, **kwargs):
243
- if 'job_id' in kwargs:
244
- kwargs['appliance_export_job_id'] = kwargs['job_id']
245
- kwargs.pop('job_id')
246
- kwargs['customer_shipping_address'] = {}
247
- for option, value in customer_address_options.items():
248
- if option in kwargs:
249
- kwargs['customer_shipping_address'][value] = kwargs[option]
250
- kwargs.pop(option)
251
- ctx.invoke(applianceexportjob_cli.update_appliance_export_job, **kwargs)
252
-
253
-
254
- @applianceexportjob_cli.appliance_export_job_root_group.command(name="generate-manifest", help=u"""Generates a manifest file for the objects that need to be exported""")
255
- @cli_util.option('--compartment-id', required=True, help=u"""Compartment OCID where the bucket resides""")
256
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
257
- @cli_util.option('--bucket', required=True, help=u"""Name of the bucket for which export is requested""")
258
- @cli_util.option('--prefix', help=u"""The subset of objects that needs to be exported whose names starts with this Prefix""")
259
- @cli_util.option('--start', help=u"""The subset of objects that needs to be exported starting with this object (inclusive)""")
260
- @cli_util.option('--end', help=u"""The subset of objects that needs to be exported upto this object (inclusive)""")
261
- @cli_util.help_option
262
- @click.pass_context
263
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
264
- @cli_util.wrap_exceptions
265
- def generate_manifest_appliance_export_job_extended(ctx, **kwargs):
266
-
267
- if isinstance(kwargs['compartment_id'], six.string_types) and len(kwargs['compartment_id'].strip()) == 0:
268
- raise click.UsageError('Parameter --compartment-id cannot be whitespace or empty string')
269
-
270
- if isinstance(kwargs['job_id'], six.string_types) and len(kwargs['job_id'].strip()) == 0:
271
- raise click.UsageError('Parameter --job-id cannot be whitespace or empty string')
272
-
273
- if isinstance(kwargs['bucket'], six.string_types) and len(kwargs['bucket'].strip()) == 0:
274
- raise click.UsageError('Parameter --bucket cannot be whitespace or empty string')
275
-
276
- ctx_endpoint_dts = ctx.obj['endpoint']
277
- ctx.obj['endpoint'] = None
278
- os_client = create_os_client(ctx)
279
- namespace = os_client.get_namespace().data
280
-
281
- result = os_client.get_bucket(
282
- namespace_name=namespace,
283
- bucket_name=kwargs['bucket']
284
- )
285
-
286
- if result.data.storage_tier == OBJECT_STORAGE_BUCKET_TYPE_ARCHIVE:
287
- raise click.UsageError('Export for Archive buckets is currently not supported')
288
-
289
- click.echo("Starting manifest generation on bucket {}. This may take few minutes, please wait until it is completed ...".format(kwargs['bucket']))
290
-
291
- iterator = CasperListIterator(os_client, namespace, kwargs['bucket'], kwargs['prefix'], kwargs['start'], kwargs['end'])
292
- consumer = ManifestStatsConsumer()
293
- uploader = ObjectUploader(os_client, namespace, kwargs['bucket'], kwargs['job_id'])
294
- writer = ManifestWriter(iterator, uploader, consumer)
295
-
296
- _start_time = time.time()
297
- response = writer.write()
298
- if response:
299
- click.echo('Manifest file {} uploaded to bucket {}.'.format(response.get_manifest_object_name(), kwargs['bucket']))
300
- _total_time = time.time() - _start_time
301
- click.echo("\n************************* Manifest generation completed in {:.2f} mins **************************".format(_total_time / 60))
302
- else:
303
- click.echo("\n*********************************** Manifest generation failed **************************************")
304
-
305
- ctx.obj['endpoint'] = ctx_endpoint_dts
306
- kwargs_update = {
307
- 'appliance_export_job_id': kwargs['job_id'],
308
- 'lifecycle_state': UpdateApplianceExportJobDetails.LIFECYCLE_STATE_CREATING,
309
- 'lifecycle_state_details': LIFECYCLE_STATE_DETAILS_PENDING_SUBMISSION,
310
- 'manifest_file': response.get_manifest_object_name(),
311
- 'manifest_md5': response.get_manifest_md5(),
312
- 'prefix': kwargs['prefix'],
313
- 'range_start': kwargs['start'],
314
- 'range_end': kwargs['end'],
315
- 'total_size_in_bytes': response.get_total_size(),
316
- 'number_of_objects': response.get_total_count(),
317
- 'first_object': response.get_first_object(),
318
- 'last_object': response.get_last_object(),
319
- 'next_object': response.get_next_start_with()
320
- }
321
- ctx.invoke(applianceexportjob_cli.update_appliance_export_job, **kwargs_update)
322
- click.echo("\n*** Export Job updated with above manifest details.")
323
-
324
-
325
- @applianceexportjob_cli.appliance_export_job_root_group.command(name="create-policy", help=u"""Create the IAM policy for the export job""")
326
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
327
- @cli_util.help_option
328
- @click.pass_context
329
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
330
- @cli_util.wrap_exceptions
331
- def create_policy_extended(ctx, **kwargs):
332
-
333
- # Get the export job and check if the policy language has been added by Oracle
334
- kwargs_show = {
335
- 'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])
336
- }
337
-
338
- client = cli_util.build_client('dts', 'appliance_export_job', ctx)
339
- result = client.get_appliance_export_job(
340
- appliance_export_job_id=kwargs['job_id'],
341
- **kwargs_show
342
- )
343
- if len(get_bucket_access_policies(result)) <= 1:
344
- click.echo("Addition of policy language by Oracle in progress. Retry this command after some time or contact Oracle support")
345
- return
346
-
347
- # The policy needs to be created in the root compartment of the tenancy in the home region
348
- config = oci.config.from_file(file_location=ctx.obj['config_file'], profile_name=ctx.obj['profile'])
349
- root_compartment = config['tenancy']
350
- policy_name = result.data.display_name + "_Policy"
351
- ctx.endpoint = None
352
- ctx.obj['endpoint'] = None
353
- # Get the home region through the region-subscription list command
354
- identity_client = cli_util.build_client('identity', 'identity', ctx)
355
- subscription_kwargs = {}
356
- subscriptions_result = identity_client.list_region_subscriptions(
357
- tenancy_id=root_compartment,
358
- **subscription_kwargs
359
- )
360
-
361
- # There is no need to change the home region if there is only one region available in the list
362
- if len(subscriptions_result.data) > 1:
363
- for subscription in subscriptions_result.data:
364
- if subscription.is_home_region:
365
- ctx.obj['region'] = subscription.region_name
366
- ctx.obj['config']['region'] = subscription.region_name
367
- break
368
-
369
- # Re-create the identity client with the home region set in the ctx
370
- identity_client = cli_util.build_client('identity', 'identity', ctx)
371
-
372
- click.echo('\nSetting up the following policies in the root compartment. If the following operation fails it means '
373
- 'that you do not have enough privileges to create policies. Re-run the below command with the correct user')
374
- policy_printer(policy_name, get_bucket_access_policies(result))
375
- iam_kwargs = {}
376
- iam_details = {
377
- 'compartmentId': root_compartment,
378
- 'name': policy_name,
379
- 'statements': result.data.bucket_access_policies,
380
- 'description': "The policies to allow DTS to process the export job"
381
- }
382
-
383
- create_policy_result = identity_client.create_policy(
384
- create_policy_details=iam_details,
385
- **iam_kwargs
386
- )
387
- cli_util.render_response(create_policy_result, ctx)
388
-
389
-
390
- @applianceexportjob_cli.appliance_export_job_root_group.command(name="request-appliance", help=u"""Request an appliance for export""")
391
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
392
- @cli_util.help_option
393
- @click.pass_context
394
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
395
- @cli_util.wrap_exceptions
396
- def request_appliance_export_job_extended(ctx, **kwargs):
397
- kwargs_update = {
398
- 'appliance_export_job_id': kwargs['job_id'],
399
- 'lifecycle_state': UpdateApplianceExportJobDetails.LIFECYCLE_STATE_ACTIVE,
400
- 'lifecycle_state_details': LIFECYCLE_STATE_DETAILS_PENDING_APPROVAL
401
- }
402
- ctx.invoke(applianceexportjob_cli.update_appliance_export_job, **kwargs_update)
403
-
404
-
405
- def get_appliance_export_job_helper(ctx, from_json, id):
406
- client = cli_util.build_client('dts', 'appliance_export_job', ctx)
407
- kwargs_request = {'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])}
408
- result = client.get_appliance_export_job(
409
- appliance_export_job_id=id,
410
- **kwargs_request
411
- )
412
- return result
413
-
414
-
415
- def appliance_state_update(appliance_lifecycle_state, appliance_lifecycle_state_details, **kwargs):
416
- '''
417
- Changes the state of the appliance if not already in IN_PROCESSING
418
- :param appliance_lifecycle_state: str
419
- :param kwargs: appliance details
420
- :return: updated kwargs with target-state
421
- '''
422
- if appliance_lifecycle_state == UpdateApplianceExportJobDetails.LIFECYCLE_STATE_INPROGRESS:
423
- if appliance_lifecycle_state_details == LIFECYCLE_STATE_DETAILS_CUSTOMER_PROCESSING:
424
- click.echo("Appliance lifecycle_state_details is already in {}.".format(
425
- LIFECYCLE_STATE_DETAILS_CUSTOMER_PROCESSING))
426
- return None
427
- kwargs_update = {'appliance_export_job_id': kwargs['job_id']}
428
- if appliance_lifecycle_state_details in [LIFECYCLE_STATE_DETAILS_ORACLE_SHIPPED,
429
- LIFECYCLE_STATE_DETAILS_CUSTOMER_RECEIVED]:
430
- kwargs_update.update({'lifecycle_state': appliance_lifecycle_state,
431
- 'lifecycle_state_details': LIFECYCLE_STATE_DETAILS_CUSTOMER_PROCESSING})
432
- click.echo("Updating the state of the job from {} to {}".format(appliance_lifecycle_state_details,
433
- LIFECYCLE_STATE_DETAILS_CUSTOMER_PROCESSING))
434
- return kwargs_update
435
- else:
436
- raise click.ClickException("The Appliance is not in state for export. Contact Oracle Support")
437
- else:
438
- click.echo(
439
- "Appliance lifecycle-state is NOT {}.".format(UpdateApplianceExportJobDetails.LIFECYCLE_STATE_INPROGRESS))
440
- return None
441
-
442
-
443
- @applianceexportjob_cli.appliance_export_job_root_group.command(name="request-return-label", help=u"""Request return label""")
444
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
445
- @cli_util.option('--pickup-window-start-time', type=custom_types.CLI_DATETIME, required=True, help=u"""Start time for the window to pickup the device,""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
446
- @cli_util.option('--pickup-window-end-time', type=custom_types.CLI_DATETIME, required=True, help=u"""End time for the window to pickup the device,""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
447
- @cli_util.help_option
448
- @click.pass_context
449
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
450
- @cli_util.wrap_exceptions
451
- @json_skeleton_utils.get_cli_json_input_option({})
452
- def request_return_shipping_label_extended(ctx, from_json, **kwargs):
453
- '''
454
- Request return shipping label for appliance
455
- :param ctx:
456
- :param kwargs: return shipping label date-time information
457
- :return: Appliance status update
458
- '''
459
- if isinstance(kwargs['job_id'], six.string_types) and len(kwargs['job_id'].strip()) == 0:
460
- raise click.UsageError('Parameter --appliance-export-job-id cannot be whitespace or empty string')
461
-
462
- kwargs_update = {
463
- 'appliance_export_job_id': kwargs['job_id'],
464
- 'lifecycle_state': UpdateApplianceExportJobDetails.LIFECYCLE_STATE_INPROGRESS,
465
- 'lifecycle_state_details': LIFECYCLE_STATE_DETAILS_RETURN_LABEL_REQUESTED,
466
- 'pickup_window_start_time': kwargs['pickup_window_start_time'],
467
- 'pickup_window_end_time': kwargs['pickup_window_end_time']
468
- }
469
- click.echo("Changing the state of the transfer appliance to {}".format(LIFECYCLE_STATE_DETAILS_RETURN_LABEL_REQUESTED))
470
- ctx.invoke(applianceexportjob_cli.update_appliance_export_job, **kwargs_update)
471
-
472
-
473
- def appliance_unlock(ctx, appliance_profile, passphrase, appliance_lock_status):
474
- '''
475
- Unlocks appliance if the lockStatus is LOCKED or NA
476
- :param ctx:
477
- :param appliance_profile: str
478
- :param passphrase: str
479
- :param appliance_lock_status: <state of appliance>
480
- :return: None if already in Unlocked state
481
- '''
482
- if appliance_lock_status in [APPLIANCE_STATE_LOCKED, APPLIANCE_STATUS_NA]:
483
- click.echo("Unlocking the appliance")
484
- pa_unlock_helper(ctx, appliance_profile, passphrase)
485
- else:
486
- click.echo("Appliance is already in UNLOCKED status")
487
- return None
488
-
489
-
490
- def appliance_encryption_check(encryptionConfigured):
491
- '''
492
- :param encryptionConfigured: bool
493
- :return: raises exception if the encryptionConfigured is False
494
- '''
495
- if encryptionConfigured == 'False':
496
- raise exceptions.ClientError("The Appliance is not configured for export. Contact Oracle Support")
497
- else:
498
- click.echo("Appliance encryption is configured")
499
-
500
-
501
- @applianceexportjob_cli.appliance_export_job_root_group.command(name="configure-physical-appliance", help=u"""Configure the physical appliance to copy data""")
502
- @cli_util.option('--job-id', required=True, help=u"""OCID of the Export Job""")
503
- @cli_util.option('--appliance-cert-fingerprint', required=True, help=u"""The transfer appliance X.509/SSL certificate fingerprint.""")
504
- @cli_util.option('--appliance-ip', required=True, help=u"""AThe IP address of the transfer appliance.""")
505
- @cli_util.option('--appliance-port', required=False, type=click.INT, default=443, help=u"""Appliance label.""")
506
- @cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Appliance profile""")
507
- @cli_util.option('--access-token', required=False, help=u"""the access token to authenticate with the transfer appliance.""")
508
- @cli_util.option('--rw', required=True, type=click.BOOL, help=u"""Read/Write option on export of dataset""")
509
- @cli_util.option('--world', required=True, type=click.BOOL, help=u"""World option on export of dataset""")
510
- @cli_util.option('--ip', help=u"""IP address to export dataset to""")
511
- @cli_util.option('--subnet-mask-length', type=click.INT, help=u"""Subnet mask length for the IP address""")
512
- @cli_util.help_option
513
- @click.pass_context
514
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
515
- @cli_util.wrap_exceptions
516
- def configure_physical_appliance_export_job_extended(ctx, **kwargs):
517
- # Should do:
518
- # - oci dts update the export job to be in CUSTOMER_PROCESSING
519
- # - Get the passphrase by doing a show_appliance_export_job_extended and parsing the passphrase
520
- # - Use the output in the init auth and unlock appliance commands
521
- # - oci dts physical-appliance initialize-authentication
522
- # - oci dts physical-appliance unlock
523
- # - oci dts nfs-dataset list
524
- # - oci dts nfs-dataset set-export
525
- # - oci dts nfs-dataset activate
526
- if isinstance(kwargs['job_id'], six.string_types) and len(kwargs['job_id'].strip()) == 0:
527
- raise click.UsageError('Parameter --appliance-export-job-id cannot be whitespace or empty string')
528
- client = cli_util.build_client('dts', 'appliance_export_job', ctx)
529
-
530
- kwargs_request = {'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])}
531
- result = client.get_appliance_export_job(appliance_export_job_id=kwargs['job_id'], **kwargs_request)
532
-
533
- click.echo("Getting the serial number and passphrase of the appliance")
534
- serial_number = result.data.appliance_serial_number
535
- passphrase = result.data.appliance_decryption_passphrase
536
- appliance_profile = kwargs['appliance_profile']
537
-
538
- # Initialize authentication with XA
539
- click.echo("Initializing authentication with the appliance")
540
- pa_init_auth_helper(ctx, appliance_profile, kwargs['appliance_cert_fingerprint'], kwargs['appliance_ip'],
541
- kwargs['appliance_port'], serial_number, kwargs['access_token'])
542
-
543
- # Appliance state change
544
- appliance_lifecycle_state = result.data.lifecycle_state
545
- appliance_lifecycle_state_details = result.data.lifecycle_state_details
546
- kwargs_update = appliance_state_update(appliance_lifecycle_state, appliance_lifecycle_state_details, **kwargs)
547
- if kwargs_update:
548
- ctx.invoke(applianceexportjob_cli.update_appliance_export_job, **kwargs_update)
549
-
550
- # Get appliance info
551
- appliance_info = pa_show_helper(ctx=ctx, appliance_profile=appliance_profile, from_json=None)
552
- appliance_encryption_check(appliance_info.data['encryptionConfigured'])
553
- appliance_unlock(ctx, appliance_profile, passphrase, appliance_info.data['lockStatus'])
554
-
555
- # There is only one dataset. Get the name of that dataset and use it to set exports and activate it
556
- nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
557
- click.echo("Getting the NFS dataset on the appliance")
558
-
559
- nfs_datasets = nfs_dataset_client.list_nfs_datasets()
560
-
561
- if len(nfs_datasets.data) != 1:
562
- raise exceptions.ClientError("No/multiple datasets exist on the appliance. Contact Oracle Support")
563
- nfs_dataset_name = nfs_datasets.data[0]['name']
564
- nfs_dataset = nfs_datasets.data[0]
565
- # Check if the dataset is ACTIVE, if INACTIVE, do nothing
566
- # Deactivate the dataset before setting the exports
567
- deactivate_nfs_dataset(ctx, appliance_profile, **nfs_dataset)
568
-
569
- # Set the exports
570
- nfs_kwargs = {
571
- 'rw': kwargs['rw'],
572
- 'world': kwargs['world'],
573
- 'ip': kwargs['ip'],
574
- 'subnet_mask_length': kwargs['subnet_mask_length'],
575
- 'name': nfs_dataset_name,
576
- 'appliance_profile': appliance_profile
577
- }
578
- ctx.invoke(nfs_dataset_set_export, **nfs_kwargs)
579
-
580
- click.echo("Activating dataset {}".format(nfs_dataset_name))
581
- nfs_dataset_client.activate_nfs_dataset(nfs_dataset_name)
582
- click.echo("Dataset {} activated".format(nfs_dataset_name))
@@ -1,11 +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
- LIFECYCLE_STATE_DETAILS_PENDING_SUBMISSION = "PENDING_SUBMISSION"
6
- LIFECYCLE_STATE_DETAILS_PENDING_APPROVAL = "PENDING_APPROVAL"
7
- LIFECYCLE_STATE_DETAILS_CUSTOMER_PROCESSING = "CUSTOMER_PROCESSING"
8
- LIFECYCLE_STATE_DETAILS_CUSTOMER_RECEIVED = "CUSTOMER_RECEIVED"
9
- LIFECYCLE_STATE_DETAILS_ORACLE_SHIPPED = "ORACLE_SHIPPED"
10
- OBJECT_STORAGE_BUCKET_TYPE_ARCHIVE = "Archive"
11
- LIFECYCLE_STATE_DETAILS_RETURN_LABEL_REQUESTED = "RETURN_SHIPPING_LABEL_REQUESTED"
@@ -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