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,209 +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
5
-
6
- from __future__ import print_function
7
- import click
8
- import oci # noqa: F401
9
- import six # noqa: F401
10
- import sys # noqa: F401
11
- from oci_cli import cli_constants # noqa: F401
12
- from oci_cli import cli_util
13
- from oci_cli import json_skeleton_utils
14
- from oci_cli import custom_types # noqa: F401
15
- from oci_cli.aliasing import CommandGroupWithAlias
16
- from services.dts.src.oci_cli_dts.generated import dts_service_cli
17
-
18
-
19
- @click.command(cli_util.override('transfer_device.transfer_device_root_group.command_name', 'transfer-device'), cls=CommandGroupWithAlias, help=cli_util.override('transfer_device.transfer_device_root_group.help', """Data Transfer Service API Specification"""), short_help=cli_util.override('transfer_device.transfer_device_root_group.short_help', """Data Transfer Service API"""))
20
- @cli_util.help_option_group
21
- def transfer_device_root_group():
22
- pass
23
-
24
-
25
- @click.command(cli_util.override('transfer_device.transfer_device_group.command_name', 'transfer-device'), cls=CommandGroupWithAlias, help="""""")
26
- @cli_util.help_option_group
27
- def transfer_device_group():
28
- pass
29
-
30
-
31
- dts_service_cli.dts_service_group.add_command(transfer_device_root_group)
32
- transfer_device_root_group.add_command(transfer_device_group)
33
-
34
-
35
- @transfer_device_group.command(name=cli_util.override('transfer_device.create_transfer_device.command_name', 'create'), help=u"""Create a new Transfer Device \n[Command Reference](createTransferDevice)""")
36
- @cli_util.option('--id', required=True, help=u"""ID of the Transfer Job""")
37
- @cli_util.option('--serial-number', help=u"""""")
38
- @cli_util.option('--iscsi-iqn', help=u"""""")
39
- @json_skeleton_utils.get_cli_json_input_option({})
40
- @cli_util.help_option
41
- @click.pass_context
42
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'NewTransferDevice'})
43
- @cli_util.wrap_exceptions
44
- def create_transfer_device(ctx, from_json, id, serial_number, iscsi_iqn):
45
-
46
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
47
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
48
-
49
- kwargs = {}
50
-
51
- _details = {}
52
-
53
- if serial_number is not None:
54
- _details['serialNumber'] = serial_number
55
-
56
- if iscsi_iqn is not None:
57
- _details['iscsiIQN'] = iscsi_iqn
58
-
59
- client = cli_util.build_client('dts', 'transfer_device', ctx)
60
- result = client.create_transfer_device(
61
- id=id,
62
- create_transfer_device_details=_details,
63
- **kwargs
64
- )
65
- cli_util.render_response(result, ctx)
66
-
67
-
68
- @transfer_device_group.command(name=cli_util.override('transfer_device.delete_transfer_device.command_name', 'delete'), help=u"""deletes a transfer Device \n[Command Reference](deleteTransferDevice)""")
69
- @cli_util.option('--id', required=True, help=u"""ID of the Transfer Job""")
70
- @cli_util.option('--transfer-device-label', required=True, help=u"""Label of the Transfer Device""")
71
- @cli_util.confirm_delete_option
72
- @json_skeleton_utils.get_cli_json_input_option({})
73
- @cli_util.help_option
74
- @click.pass_context
75
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
76
- @cli_util.wrap_exceptions
77
- def delete_transfer_device(ctx, from_json, id, transfer_device_label):
78
-
79
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
80
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
81
-
82
- if isinstance(transfer_device_label, six.string_types) and len(transfer_device_label.strip()) == 0:
83
- raise click.UsageError('Parameter --transfer-device-label cannot be whitespace or empty string')
84
-
85
- kwargs = {}
86
- client = cli_util.build_client('dts', 'transfer_device', ctx)
87
- result = client.delete_transfer_device(
88
- id=id,
89
- transfer_device_label=transfer_device_label,
90
- **kwargs
91
- )
92
- cli_util.render_response(result, ctx)
93
-
94
-
95
- @transfer_device_group.command(name=cli_util.override('transfer_device.get_transfer_device.command_name', 'get'), help=u"""Describes a transfer package in detail \n[Command Reference](getTransferDevice)""")
96
- @cli_util.option('--id', required=True, help=u"""ID of the Transfer Job""")
97
- @cli_util.option('--transfer-device-label', required=True, help=u"""Label of the Transfer Device""")
98
- @json_skeleton_utils.get_cli_json_input_option({})
99
- @cli_util.help_option
100
- @click.pass_context
101
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'TransferDevice'})
102
- @cli_util.wrap_exceptions
103
- def get_transfer_device(ctx, from_json, id, transfer_device_label):
104
-
105
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
106
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
107
-
108
- if isinstance(transfer_device_label, six.string_types) and len(transfer_device_label.strip()) == 0:
109
- raise click.UsageError('Parameter --transfer-device-label cannot be whitespace or empty string')
110
-
111
- kwargs = {}
112
- client = cli_util.build_client('dts', 'transfer_device', ctx)
113
- result = client.get_transfer_device(
114
- id=id,
115
- transfer_device_label=transfer_device_label,
116
- **kwargs
117
- )
118
- cli_util.render_response(result, ctx)
119
-
120
-
121
- @transfer_device_group.command(name=cli_util.override('transfer_device.list_transfer_devices.command_name', 'list'), help=u"""Lists Transfer Devices associated with a transferJob \n[Command Reference](listTransferDevices)""")
122
- @cli_util.option('--id', required=True, help=u"""ID of the Transfer Job""")
123
- @cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["PREPARING", "READY", "PACKAGED", "ACTIVE", "PROCESSING", "COMPLETE", "MISSING", "ERROR", "DELETED", "CANCELLED"]), help=u"""filtering by lifecycleState""")
124
- @cli_util.option('--display-name', help=u"""filtering by displayName""")
125
- @cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
126
- @json_skeleton_utils.get_cli_json_input_option({})
127
- @cli_util.help_option
128
- @click.pass_context
129
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'MultipleTransferDevices'})
130
- @cli_util.wrap_exceptions
131
- def list_transfer_devices(ctx, from_json, all_pages, id, lifecycle_state, display_name):
132
-
133
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
134
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
135
-
136
- kwargs = {}
137
- if lifecycle_state is not None:
138
- kwargs['lifecycle_state'] = lifecycle_state
139
- if display_name is not None:
140
- kwargs['display_name'] = display_name
141
- client = cli_util.build_client('dts', 'transfer_device', ctx)
142
- result = client.list_transfer_devices(
143
- id=id,
144
- **kwargs
145
- )
146
- cli_util.render_response(result, ctx)
147
-
148
-
149
- @transfer_device_group.command(name=cli_util.override('transfer_device.update_transfer_device.command_name', 'update'), help=u"""Updates a Transfer Device \n[Command Reference](updateTransferDevice)""")
150
- @cli_util.option('--id', required=True, help=u"""ID of the Transfer Job""")
151
- @cli_util.option('--transfer-device-label', required=True, help=u"""Label of the Transfer Device""")
152
- @cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["PREPARING", "READY", "CANCELLED"]), help=u"""""")
153
- @cli_util.option('--if-match', help=u"""The entity tag to match. Optional, if set, the update will be successful only if the object's tag matches the tag specified in the request.""")
154
- @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PREPARING", "READY", "PACKAGED", "ACTIVE", "PROCESSING", "COMPLETE", "MISSING", "ERROR", "DELETED", "CANCELLED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
155
- @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
156
- @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
157
- @json_skeleton_utils.get_cli_json_input_option({})
158
- @cli_util.help_option
159
- @click.pass_context
160
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'TransferDevice'})
161
- @cli_util.wrap_exceptions
162
- def update_transfer_device(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, id, transfer_device_label, lifecycle_state, if_match):
163
-
164
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
165
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
166
-
167
- if isinstance(transfer_device_label, six.string_types) and len(transfer_device_label.strip()) == 0:
168
- raise click.UsageError('Parameter --transfer-device-label cannot be whitespace or empty string')
169
-
170
- kwargs = {}
171
- if if_match is not None:
172
- kwargs['if_match'] = if_match
173
-
174
- _details = {}
175
-
176
- if lifecycle_state is not None:
177
- _details['lifecycleState'] = lifecycle_state
178
-
179
- client = cli_util.build_client('dts', 'transfer_device', ctx)
180
- result = client.update_transfer_device(
181
- id=id,
182
- transfer_device_label=transfer_device_label,
183
- update_transfer_device_details=_details,
184
- **kwargs
185
- )
186
- if wait_for_state:
187
-
188
- if hasattr(client, 'get_transfer_device') and callable(getattr(client, 'get_transfer_device')):
189
- try:
190
- wait_period_kwargs = {}
191
- if max_wait_seconds is not None:
192
- wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
193
- if wait_interval_seconds is not None:
194
- wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
195
-
196
- click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
197
- result = oci.wait_until(client, client.get_transfer_device(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
198
- except oci.exceptions.MaximumWaitTimeExceeded as e:
199
- # If we fail, we should show an error, but we should still provide the information to the customer
200
- click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
201
- cli_util.render_response(result, ctx)
202
- sys.exit(2)
203
- except Exception:
204
- click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
205
- cli_util.render_response(result, ctx)
206
- raise
207
- else:
208
- click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
209
- cli_util.render_response(result, ctx)
@@ -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,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: 1.0.017
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.dts import TransferJobClient
10
-
11
- MODULE_TO_TYPE_MAPPINGS["dts"] = oci.dts.models.dts_type_mapping
12
- if CLIENT_MAP.get("dts") is None:
13
- CLIENT_MAP["dts"] = {}
14
- CLIENT_MAP["dts"]["transfer_job"] = TransferJobClient
@@ -1,368 +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
5
-
6
- from __future__ import print_function
7
- import click
8
- import oci # noqa: F401
9
- import six # noqa: F401
10
- import sys # noqa: F401
11
- from oci_cli import cli_constants # noqa: F401
12
- from oci_cli import cli_util
13
- from oci_cli import json_skeleton_utils
14
- from oci_cli import custom_types # noqa: F401
15
- from oci_cli.aliasing import CommandGroupWithAlias
16
- from services.dts.src.oci_cli_dts.generated import dts_service_cli
17
-
18
-
19
- @click.command(cli_util.override('transfer_job.transfer_job_root_group.command_name', 'transfer-job'), cls=CommandGroupWithAlias, help=cli_util.override('transfer_job.transfer_job_root_group.help', """Data Transfer Service API Specification"""), short_help=cli_util.override('transfer_job.transfer_job_root_group.short_help', """Data Transfer Service API"""))
20
- @cli_util.help_option_group
21
- def transfer_job_root_group():
22
- pass
23
-
24
-
25
- @click.command(cli_util.override('transfer_job.detach_devices_details_group.command_name', 'detach-devices-details'), cls=CommandGroupWithAlias, help="""""")
26
- @cli_util.help_option_group
27
- def detach_devices_details_group():
28
- pass
29
-
30
-
31
- @click.command(cli_util.override('transfer_job.transfer_job_group.command_name', 'transfer-job'), cls=CommandGroupWithAlias, help="""""")
32
- @cli_util.help_option_group
33
- def transfer_job_group():
34
- pass
35
-
36
-
37
- dts_service_cli.dts_service_group.add_command(transfer_job_root_group)
38
- transfer_job_root_group.add_command(detach_devices_details_group)
39
- transfer_job_root_group.add_command(transfer_job_group)
40
-
41
-
42
- @detach_devices_details_group.command(name=cli_util.override('transfer_job.change_transfer_job_compartment.command_name', 'change-compartment'), help=u"""Moves a TransferJob into a different compartment. \n[Command Reference](changeTransferJobCompartment)""")
43
- @cli_util.option('--transfer-job-id', required=True, help=u"""ID of the Transfer Job""")
44
- @cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment into which the resources should be moved.""")
45
- @cli_util.option('--if-match', help=u"""The entity tag to match. Optional, if set, the update will be successful only if the object's tag matches the tag specified in the request.""")
46
- @json_skeleton_utils.get_cli_json_input_option({})
47
- @cli_util.help_option
48
- @click.pass_context
49
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
50
- @cli_util.wrap_exceptions
51
- def change_transfer_job_compartment(ctx, from_json, transfer_job_id, compartment_id, if_match):
52
-
53
- if isinstance(transfer_job_id, six.string_types) and len(transfer_job_id.strip()) == 0:
54
- raise click.UsageError('Parameter --transfer-job-id cannot be whitespace or empty string')
55
-
56
- kwargs = {}
57
- if if_match is not None:
58
- kwargs['if_match'] = if_match
59
- kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
60
-
61
- _details = {}
62
- _details['compartmentId'] = compartment_id
63
-
64
- client = cli_util.build_client('dts', 'transfer_job', ctx)
65
- result = client.change_transfer_job_compartment(
66
- transfer_job_id=transfer_job_id,
67
- change_transfer_job_compartment_details=_details,
68
- **kwargs
69
- )
70
- cli_util.render_response(result, ctx)
71
-
72
-
73
- @transfer_job_group.command(name=cli_util.override('transfer_job.create_transfer_job.command_name', 'create'), help=u"""Create a new Transfer Job that corresponds with customer's logical dataset e.g. a DB or a filesystem. \n[Command Reference](createTransferJob)""")
74
- @cli_util.option('--compartment-id', help=u"""""")
75
- @cli_util.option('--upload-bucket-name', help=u"""""")
76
- @cli_util.option('--display-name', help=u"""""")
77
- @cli_util.option('--device-type', type=custom_types.CliCaseInsensitiveChoice(["DISK", "APPLIANCE"]), help=u"""""")
78
- @cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
79
-
80
- Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
81
- @cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
82
-
83
- Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
84
- @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["INITIATED", "PREPARING", "ACTIVE", "DELETED", "CLOSED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
85
- @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
86
- @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
87
- @json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}})
88
- @cli_util.help_option
89
- @click.pass_context
90
- @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': 'TransferJob'})
91
- @cli_util.wrap_exceptions
92
- def create_transfer_job(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, upload_bucket_name, display_name, device_type, freeform_tags, defined_tags):
93
-
94
- kwargs = {}
95
- kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
96
-
97
- _details = {}
98
-
99
- if compartment_id is not None:
100
- _details['compartmentId'] = compartment_id
101
-
102
- if upload_bucket_name is not None:
103
- _details['uploadBucketName'] = upload_bucket_name
104
-
105
- if display_name is not None:
106
- _details['displayName'] = display_name
107
-
108
- if device_type is not None:
109
- _details['deviceType'] = device_type
110
-
111
- if freeform_tags is not None:
112
- _details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
113
-
114
- if defined_tags is not None:
115
- _details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
116
-
117
- client = cli_util.build_client('dts', 'transfer_job', ctx)
118
- result = client.create_transfer_job(
119
- create_transfer_job_details=_details,
120
- **kwargs
121
- )
122
- if wait_for_state:
123
-
124
- if hasattr(client, 'get_transfer_job') and callable(getattr(client, 'get_transfer_job')):
125
- try:
126
- wait_period_kwargs = {}
127
- if max_wait_seconds is not None:
128
- wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
129
- if wait_interval_seconds is not None:
130
- wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
131
-
132
- click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
133
- result = oci.wait_until(client, client.get_transfer_job(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
134
- except oci.exceptions.MaximumWaitTimeExceeded as e:
135
- # If we fail, we should show an error, but we should still provide the information to the customer
136
- click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
137
- cli_util.render_response(result, ctx)
138
- sys.exit(2)
139
- except Exception:
140
- click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
141
- cli_util.render_response(result, ctx)
142
- raise
143
- else:
144
- click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
145
- cli_util.render_response(result, ctx)
146
-
147
-
148
- @transfer_job_group.command(name=cli_util.override('transfer_job.delete_transfer_job.command_name', 'delete'), help=u"""deletes a transfer job \n[Command Reference](deleteTransferJob)""")
149
- @cli_util.option('--id', required=True, help=u"""ID of the Transfer Job""")
150
- @cli_util.confirm_delete_option
151
- @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["INITIATED", "PREPARING", "ACTIVE", "DELETED", "CLOSED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
152
- @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
153
- @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
154
- @json_skeleton_utils.get_cli_json_input_option({})
155
- @cli_util.help_option
156
- @click.pass_context
157
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
158
- @cli_util.wrap_exceptions
159
- def delete_transfer_job(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, id):
160
-
161
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
162
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
163
-
164
- kwargs = {}
165
- kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
166
- client = cli_util.build_client('dts', 'transfer_job', ctx)
167
- result = client.delete_transfer_job(
168
- id=id,
169
- **kwargs
170
- )
171
- if wait_for_state:
172
-
173
- if hasattr(client, 'get_transfer_job') and callable(getattr(client, 'get_transfer_job')):
174
- try:
175
- wait_period_kwargs = {}
176
- if max_wait_seconds is not None:
177
- wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
178
- if wait_interval_seconds is not None:
179
- wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
180
-
181
- click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
182
- oci.wait_until(client, client.get_transfer_job(id), 'lifecycle_state', wait_for_state, succeed_on_not_found=True, **wait_period_kwargs)
183
- except oci.exceptions.ServiceError as e:
184
- # We make an initial service call so we can pass the result to oci.wait_until(), however if we are waiting on the
185
- # outcome of a delete operation it is possible that the resource is already gone and so the initial service call
186
- # will result in an exception that reflects a HTTP 404. In this case, we can exit with success (rather than raising
187
- # the exception) since this would have been the behaviour in the waiter anyway (as for delete we provide the argument
188
- # succeed_on_not_found=True to the waiter).
189
- #
190
- # Any non-404 should still result in the exception being thrown.
191
- if e.status == 404:
192
- pass
193
- else:
194
- raise
195
- except oci.exceptions.MaximumWaitTimeExceeded as e:
196
- # If we fail, we should show an error, but we should still provide the information to the customer
197
- click.echo('Failed to wait until the resource entered the specified state. Please retrieve the resource to find its current state', file=sys.stderr)
198
- cli_util.render_response(result, ctx)
199
- sys.exit(2)
200
- except Exception:
201
- click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
202
- cli_util.render_response(result, ctx)
203
- raise
204
- else:
205
- click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
206
- cli_util.render_response(result, ctx)
207
-
208
-
209
- @transfer_job_group.command(name=cli_util.override('transfer_job.get_transfer_job.command_name', 'get'), help=u"""Describes a transfer job in detail \n[Command Reference](getTransferJob)""")
210
- @cli_util.option('--id', required=True, help=u"""OCID of the Transfer Job""")
211
- @json_skeleton_utils.get_cli_json_input_option({})
212
- @cli_util.help_option
213
- @click.pass_context
214
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'TransferJob'})
215
- @cli_util.wrap_exceptions
216
- def get_transfer_job(ctx, from_json, id):
217
-
218
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
219
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
220
-
221
- kwargs = {}
222
- kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
223
- client = cli_util.build_client('dts', 'transfer_job', ctx)
224
- result = client.get_transfer_job(
225
- id=id,
226
- **kwargs
227
- )
228
- cli_util.render_response(result, ctx)
229
-
230
-
231
- @transfer_job_group.command(name=cli_util.override('transfer_job.list_transfer_jobs.command_name', 'list'), help=u"""Lists Transfer Jobs in a given compartment \n[Command Reference](listTransferJobs)""")
232
- @cli_util.option('--compartment-id', required=True, help=u"""compartment id""")
233
- @cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["INITIATED", "PREPARING", "ACTIVE", "DELETED", "CLOSED"]), help=u"""filtering by lifecycleState""")
234
- @cli_util.option('--display-name', help=u"""filtering by displayName""")
235
- @cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].
236
-
237
- Example: `50`""")
238
- @cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
239
- @cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
240
- @cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
241
- @json_skeleton_utils.get_cli_json_input_option({})
242
- @cli_util.help_option
243
- @click.pass_context
244
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'list[TransferJobSummary]'})
245
- @cli_util.wrap_exceptions
246
- def list_transfer_jobs(ctx, from_json, all_pages, page_size, compartment_id, lifecycle_state, display_name, limit, page):
247
-
248
- if all_pages and limit:
249
- raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
250
-
251
- kwargs = {}
252
- if lifecycle_state is not None:
253
- kwargs['lifecycle_state'] = lifecycle_state
254
- if display_name is not None:
255
- kwargs['display_name'] = display_name
256
- if limit is not None:
257
- kwargs['limit'] = limit
258
- if page is not None:
259
- kwargs['page'] = page
260
- kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
261
- client = cli_util.build_client('dts', 'transfer_job', ctx)
262
- if all_pages:
263
- if page_size:
264
- kwargs['limit'] = page_size
265
-
266
- result = cli_util.list_call_get_all_results(
267
- client.list_transfer_jobs,
268
- compartment_id=compartment_id,
269
- **kwargs
270
- )
271
- elif limit is not None:
272
- result = cli_util.list_call_get_up_to_limit(
273
- client.list_transfer_jobs,
274
- limit,
275
- page_size,
276
- compartment_id=compartment_id,
277
- **kwargs
278
- )
279
- else:
280
- result = client.list_transfer_jobs(
281
- compartment_id=compartment_id,
282
- **kwargs
283
- )
284
- cli_util.render_response(result, ctx)
285
-
286
-
287
- @transfer_job_group.command(name=cli_util.override('transfer_job.update_transfer_job.command_name', 'update'), help=u"""Updates a Transfer Job that corresponds with customer's logical dataset e.g. a DB or a filesystem. \n[Command Reference](updateTransferJob)""")
288
- @cli_util.option('--id', required=True, help=u"""ID of the Transfer Job""")
289
- @cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CLOSED"]), help=u"""""")
290
- @cli_util.option('--display-name', help=u"""""")
291
- @cli_util.option('--device-type', type=custom_types.CliCaseInsensitiveChoice(["DISK", "APPLIANCE"]), help=u"""""")
292
- @cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
293
-
294
- Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
295
- @cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
296
-
297
- Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
298
- @cli_util.option('--if-match', help=u"""The entity tag to match. Optional, if set, the update will be successful only if the object's tag matches the tag specified in the request.""")
299
- @cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
300
- @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["INITIATED", "PREPARING", "ACTIVE", "DELETED", "CLOSED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
301
- @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
302
- @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
303
- @json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}})
304
- @cli_util.help_option
305
- @click.pass_context
306
- @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': 'TransferJob'})
307
- @cli_util.wrap_exceptions
308
- def update_transfer_job(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, id, lifecycle_state, display_name, device_type, freeform_tags, defined_tags, if_match):
309
-
310
- if isinstance(id, six.string_types) and len(id.strip()) == 0:
311
- raise click.UsageError('Parameter --id cannot be whitespace or empty string')
312
- if not force:
313
- if freeform_tags or defined_tags:
314
- if not click.confirm("WARNING: Updates to freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
315
- ctx.abort()
316
-
317
- kwargs = {}
318
- if if_match is not None:
319
- kwargs['if_match'] = if_match
320
- kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
321
-
322
- _details = {}
323
-
324
- if lifecycle_state is not None:
325
- _details['lifecycleState'] = lifecycle_state
326
-
327
- if display_name is not None:
328
- _details['displayName'] = display_name
329
-
330
- if device_type is not None:
331
- _details['deviceType'] = device_type
332
-
333
- if freeform_tags is not None:
334
- _details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
335
-
336
- if defined_tags is not None:
337
- _details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
338
-
339
- client = cli_util.build_client('dts', 'transfer_job', ctx)
340
- result = client.update_transfer_job(
341
- id=id,
342
- update_transfer_job_details=_details,
343
- **kwargs
344
- )
345
- if wait_for_state:
346
-
347
- if hasattr(client, 'get_transfer_job') and callable(getattr(client, 'get_transfer_job')):
348
- try:
349
- wait_period_kwargs = {}
350
- if max_wait_seconds is not None:
351
- wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
352
- if wait_interval_seconds is not None:
353
- wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
354
-
355
- click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
356
- result = oci.wait_until(client, client.get_transfer_job(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
357
- except oci.exceptions.MaximumWaitTimeExceeded as e:
358
- # If we fail, we should show an error, but we should still provide the information to the customer
359
- click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
360
- cli_util.render_response(result, ctx)
361
- sys.exit(2)
362
- except Exception:
363
- click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
364
- cli_util.render_response(result, ctx)
365
- raise
366
- else:
367
- click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
368
- cli_util.render_response(result, ctx)