oci-cli 3.66.1__py3-none-any.whl → 3.67.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. common_util/ignored_commands.py +3 -1
  2. oci_cli/bin/jms.psm1 +74 -6
  3. oci_cli/bin/marketplace.psm1 +7 -1
  4. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-gpu-memory-fabric/update.txt +2 -2
  5. oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/create.txt +26 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/delete.txt +26 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/update.txt +26 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-compute-bare-metal-host-placement-constraint-details.txt +4 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-host-group-placement-constraint-details.txt +4 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch.txt +4 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-amd-vm-update-instance-platform-config.txt +4 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-intel-vm-update-instance-platform-config.txt +4 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-boot-volume-details.txt +4 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-image-details.txt +4 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update.txt +4 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/discovery-job/list-discovery-job-results.txt +13 -1
  17. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-error-summary/list-masking-errors.txt +1 -1
  18. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/list-masking-reports.txt +5 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/mask-data.txt +6 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +5 -0
  21. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-column/list.txt +22 -1
  22. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/service/get.txt +2 -2
  23. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-gcp-key-details.txt +779 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update-autonomous-database-gcp-key-details.txt +1079 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database.txt +4 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/configure-exascale.txt +136 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra.txt +2 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/create.txt +35 -9
  29. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/update.txt +38 -1
  30. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +1 -1
  31. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +23 -1
  32. oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape.txt +5 -0
  33. oci_cli/help_text_producer/data_files/text/cmdref/db.txt +6 -0
  34. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-db.txt +2 -2
  35. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-exadb-stack.txt +173 -0
  36. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-gi.txt +2 -2
  37. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-guest-os.txt +180 -0
  38. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create.txt +7 -4
  39. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/update.txt +1 -1
  40. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection-summary/list.txt +1 -1
  41. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection.txt +4 -0
  42. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/clone.txt +6 -5
  43. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create-fsu-cycle-create-upgrade-fsu-cycle.txt +4 -4
  44. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create-patch.txt +14 -12
  45. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create.txt +4 -4
  46. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/update-fsu-cycle-exadb-stack-fsu-goal-version-details.txt +230 -0
  47. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/update-patch.txt +10 -10
  48. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle-summary/list.txt +1 -1
  49. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle.txt +2 -0
  50. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-exadb-stack.txt +173 -0
  51. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-guest-os.txt +185 -0
  52. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery.txt +4 -0
  53. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update.txt +10 -0
  54. oci_cli/help_text_producer/data_files/text/cmdref/fn/function/create.txt +26 -0
  55. oci_cli/help_text_producer/data_files/text/cmdref/fn/function/update.txt +26 -0
  56. oci_cli/help_text_producer/data_files/text/cmdref/fusion-apps/fusion-environment/create.txt +6 -0
  57. oci_cli/help_text_producer/data_files/text/cmdref/fusion-apps/fusion-environment/update.txt +6 -0
  58. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/create.txt +5 -0
  59. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/update.txt +5 -0
  60. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/change-compartment.txt +136 -0
  61. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/create.txt +186 -0
  62. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/delete.txt +133 -0
  63. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/get.txt +96 -0
  64. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/update.txt +195 -0
  65. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint-collection/list-generative-ai-private-endpoints.txt +147 -0
  66. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint-collection.txt +14 -0
  67. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint.txt +22 -0
  68. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai.txt +16 -0
  69. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  70. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  71. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
  72. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log.txt +14 -0
  73. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
  74. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
  75. oci_cli/help_text_producer/data_files/text/cmdref/jms/agent-installer-summary/generate-agent-installer-configuration.txt +8 -0
  76. oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/create.txt +1 -1
  77. oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/list.txt +1 -1
  78. oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary/list-containers.txt +338 -0
  79. oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary.txt +14 -0
  80. oci_cli/help_text_producer/data_files/text/cmdref/jms/export-setting/update.txt +15 -0
  81. oci_cli/help_text_producer/data_files/text/cmdref/jms/fleet-agent-configuration/update.txt +8 -0
  82. oci_cli/help_text_producer/data_files/text/cmdref/jms/installation-usage/summarize.txt +1 -1
  83. oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/create.txt +12 -3
  84. oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/list.txt +3 -3
  85. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary/list-library-application-usage.txt +332 -0
  86. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary.txt +16 -0
  87. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory/summarize.txt +284 -0
  88. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory.txt +14 -0
  89. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary/list-library-managed-instance-usage.txt +332 -0
  90. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary.txt +16 -0
  91. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/scan.txt +8 -0
  92. oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/summarize.txt +3 -3
  93. oci_cli/help_text_producer/data_files/text/cmdref/jms/managed-instance-usage/summarize.txt +1 -1
  94. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-add-installation-site-task-details.txt +148 -0
  95. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-crypto-task-details.txt +148 -0
  96. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-deployed-application-migration-task-details.txt +148 -0
  97. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-java-migration-task-details.txt +148 -0
  98. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-jfr-task-details.txt +148 -0
  99. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-performance-tuning-task-details.txt +148 -0
  100. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-remove-installation-site-task-details.txt +148 -0
  101. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-java-server-task-details.txt +148 -0
  102. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-library-task-details.txt +148 -0
  103. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create.txt +150 -0
  104. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/delete.txt +146 -0
  105. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/get.txt +108 -0
  106. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/list.txt +136 -0
  107. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-add-installation-site-task-details.txt +165 -0
  108. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-crypto-task-details.txt +165 -0
  109. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-deployed-application-migration-task-details.txt +165 -0
  110. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-java-migration-task-details.txt +165 -0
  111. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-jfr-task-details.txt +165 -0
  112. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-performance-tuning-task-details.txt +165 -0
  113. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-remove-installation-site-task-details.txt +165 -0
  114. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-java-server-task-details.txt +165 -0
  115. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-library-task-details.txt +165 -0
  116. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update.txt +171 -0
  117. oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule.txt +58 -0
  118. oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary/list-uncorrelated-package-application-usage.txt +324 -0
  119. oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary.txt +16 -0
  120. oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-managed-instance-usage-summary/list-uncorrelated-package-managed-instance-usage.txt +324 -0
  121. oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-managed-instance-usage-summary.txt +16 -0
  122. oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary/list-uncorrelated-package-usage.txt +323 -0
  123. oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary.txt +14 -0
  124. oci_cli/help_text_producer/data_files/text/cmdref/jms/work-request/list.txt +1 -1
  125. oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/get.txt +1 -1
  126. oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/list.txt +1 -1
  127. oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/create.txt +1 -1
  128. oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/list.txt +1 -1
  129. oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads.txt +1 -3
  130. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/get.txt +83 -0
  131. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/update.txt +99 -0
  132. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration.txt +16 -0
  133. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/delete.txt +103 -0
  134. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/get.txt +91 -0
  135. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/list.txt +128 -0
  136. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/request.txt +172 -0
  137. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis.txt +23 -0
  138. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/delete.txt +103 -0
  139. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/get.txt +91 -0
  140. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/list.txt +136 -0
  141. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/request.txt +172 -0
  142. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis.txt +23 -0
  143. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/get.txt +83 -0
  144. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/update.txt +95 -0
  145. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration.txt +16 -0
  146. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary/list-work-items.txt +110 -0
  147. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary.txt +14 -0
  148. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/cancel.txt +103 -0
  149. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/get.txt +91 -0
  150. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/list.txt +137 -0
  151. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error/list.txt +128 -0
  152. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error.txt +15 -0
  153. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-log-entry/list-work-request-logs.txt +128 -0
  154. oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane/work-request → jms-utils}/work-request-log-entry.txt +2 -1
  155. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request.txt +23 -0
  156. oci_cli/help_text_producer/data_files/text/cmdref/jms-utils.txt +65 -0
  157. oci_cli/help_text_producer/data_files/text/cmdref/jms.txt +76 -0
  158. oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details/create-marketplace-external-attested-metadata.txt +96 -0
  159. oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details.txt +15 -0
  160. oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary/list-marketplace-metadata-public-keys.txt +121 -0
  161. oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary.txt +15 -0
  162. oci_cli/help_text_producer/data_files/text/cmdref/marketplace.txt +8 -0
  163. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/cluster/cluster/create.txt +12 -1
  164. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/cluster/cluster/update.txt +1 -1
  165. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/add-block-volume.txt +142 -0
  166. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/change-compartment.txt +114 -0
  167. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/create.txt +190 -0
  168. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/delete.txt +140 -0
  169. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/get.txt +100 -0
  170. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/list.txt +163 -0
  171. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/update.txt +185 -0
  172. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/add-datastore.txt +147 -0
  173. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/attach-to-cluster.txt +153 -0
  174. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/attach-to-esxi-host.txt +155 -0
  175. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/change-compartment.txt +110 -0
  176. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/create.txt +188 -0
  177. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/delete.txt +134 -0
  178. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/detach-from-cluster.txt +134 -0
  179. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/detach-from-esxi-host.txt +155 -0
  180. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/get.txt +96 -0
  181. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/list.txt +163 -0
  182. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/remove-datastore.txt +147 -0
  183. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/update.txt +182 -0
  184. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster.txt +37 -0
  185. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore.txt +27 -0
  186. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/esxi-host/create.txt +1 -1
  187. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/esxi-host/update.txt +6 -2
  188. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  189. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  190. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +43 -1
  191. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/create.txt +127 -0
  192. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/delete.txt +136 -0
  193. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/get.txt +98 -0
  194. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/list.txt +137 -0
  195. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region.txt +26 -0
  196. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/change-compartment.txt +135 -0
  197. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/create.txt +204 -0
  198. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/delete.txt +133 -0
  199. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/disable-oac.txt +129 -0
  200. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/enable-oac.txt +154 -0
  201. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/get.txt +95 -0
  202. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/list.txt +142 -0
  203. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/update.txt +179 -0
  204. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance.txt +34 -0
  205. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/create.txt +131 -0
  206. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/delete.txt +136 -0
  207. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/get.txt +98 -0
  208. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/list.txt +137 -0
  209. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/update.txt +137 -0
  210. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment.txt +29 -0
  211. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/cancel.txt +103 -0
  212. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/get.txt +91 -0
  213. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/list.txt +140 -0
  214. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error/list.txt +131 -0
  215. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error.txt +15 -0
  216. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry/list.txt +131 -0
  217. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry.txt +15 -0
  218. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request.txt +23 -0
  219. oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics.txt +68 -0
  220. oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +7 -7
  221. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
  222. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  223. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  224. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  225. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  226. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  227. oci_cli/help_text_producer/data_files/text/index.txt +6 -2
  228. oci_cli/service_mapping.py +11 -1
  229. oci_cli/version.py +1 -1
  230. {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/METADATA +2 -2
  231. {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/RECORD +290 -116
  232. services/core/src/oci_cli_compute/generated/compute_cli.py +194 -28
  233. services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +28 -9
  234. services/database/src/oci_cli_database/database_cli_extended.py +43 -2
  235. services/database/src/oci_cli_database/generated/database_cli.py +830 -4
  236. services/fleet_software_update/src/oci_cli_fleet_software_update/fleetsoftwareupdate_cli_extended.py +16 -0
  237. services/fleet_software_update/src/oci_cli_fleet_software_update/generated/fleetsoftwareupdate_cli.py +421 -32
  238. services/functions/src/oci_cli_functions_management/functionsmanagement_cli_extended.py +87 -5
  239. services/functions/src/oci_cli_functions_management/generated/functionsmanagement_cli.py +2361 -469
  240. services/fusion_apps/src/oci_cli_fusion_applications/fusionapplications_cli_extended.py +40 -0
  241. services/fusion_apps/src/oci_cli_fusion_applications/generated/fusionapplications_cli.py +10 -2
  242. services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +399 -2
  243. services/jms/src/oci_cli_java_management_service/generated/javamanagementservice_cli.py +4359 -2378
  244. services/jms_java_downloads/src/oci_cli_java_download/generated/javadownload_cli.py +5 -5
  245. services/jms_utils/__init__.py +4 -0
  246. services/jms_utils/src/__init__.py +4 -0
  247. services/jms_utils/src/oci_cli_jms_utils/__init__.py +4 -0
  248. services/jms_utils/src/oci_cli_jms_utils/generated/__init__.py +4 -0
  249. services/jms_utils/src/oci_cli_jms_utils/generated/client_mappings.py +14 -0
  250. services/jms_utils/src/oci_cli_jms_utils/generated/jmsutils_cli.py +812 -0
  251. services/jms_utils/tests/__init__.py +4 -0
  252. services/marketplace/src/oci_cli_marketplace/generated/marketplace_cli.py +94 -0
  253. services/ocvp/src/oci_cli_cluster/generated/cluster_cli.py +9 -5
  254. services/ocvp/src/oci_cli_datastore/__init__.py +4 -0
  255. services/ocvp/src/oci_cli_datastore/datastore_cli_extended.py +25 -0
  256. services/ocvp/src/oci_cli_datastore/generated/__init__.py +4 -0
  257. services/ocvp/src/oci_cli_datastore/generated/client_mappings.py +14 -0
  258. services/ocvp/src/oci_cli_datastore/generated/datastore_cli.py +434 -0
  259. services/ocvp/src/oci_cli_datastore_cluster/__init__.py +4 -0
  260. services/ocvp/src/oci_cli_datastore_cluster/datastorecluster_cli_extended.py +50 -0
  261. services/ocvp/src/oci_cli_datastore_cluster/generated/__init__.py +4 -0
  262. services/ocvp/src/oci_cli_datastore_cluster/generated/client_mappings.py +14 -0
  263. services/ocvp/src/oci_cli_datastore_cluster/generated/datastorecluster_cli.py +737 -0
  264. services/ocvp/src/oci_cli_esxi_host/generated/esxihost_cli.py +5 -3
  265. services/resource_analytics/__init__.py +4 -0
  266. services/resource_analytics/src/__init__.py +4 -0
  267. services/resource_analytics/src/oci_cli_monitored_region/__init__.py +4 -0
  268. services/resource_analytics/src/oci_cli_monitored_region/generated/__init__.py +4 -0
  269. services/resource_analytics/src/oci_cli_monitored_region/generated/client_mappings.py +14 -0
  270. services/resource_analytics/src/oci_cli_monitored_region/generated/monitoredregion_cli.py +233 -0
  271. services/resource_analytics/src/oci_cli_monitored_region/monitored_region_cli_extended.py +39 -0
  272. services/resource_analytics/src/oci_cli_resource_analytics/__init__.py +4 -0
  273. services/resource_analytics/src/oci_cli_resource_analytics/generated/__init__.py +4 -0
  274. services/resource_analytics/src/oci_cli_resource_analytics/generated/resource_analytics_service_cli.py +14 -0
  275. services/resource_analytics/src/oci_cli_resource_analytics_instance/__init__.py +4 -0
  276. services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/__init__.py +4 -0
  277. services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/client_mappings.py +14 -0
  278. services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/resourceanalyticsinstance_cli.py +968 -0
  279. services/resource_analytics/src/oci_cli_resource_analytics_instance/resource_analytics_instance_cli_extended.py +40 -0
  280. services/resource_analytics/src/oci_cli_tenancy_attachment/__init__.py +4 -0
  281. services/resource_analytics/src/oci_cli_tenancy_attachment/generated/__init__.py +4 -0
  282. services/resource_analytics/src/oci_cli_tenancy_attachment/generated/client_mappings.py +14 -0
  283. services/resource_analytics/src/oci_cli_tenancy_attachment/generated/tenancyattachment_cli.py +298 -0
  284. services/resource_analytics/src/oci_cli_tenancy_attachment/tenancy_attachment_cli_extended.py +39 -0
  285. services/resource_analytics/tests/__init__.py +4 -0
  286. {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/LICENSE.txt +0 -0
  287. {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  288. {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/WHEEL +0 -0
  289. {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/entry_points.txt +0 -0
  290. {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,40 @@
1
+ # Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2
+ #
3
+ # This software is dual-licensed to you under the Universal Permissive License
4
+ # (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
5
+ # 2.0 as shown at https://www.apache.org/licenses/LICENSE-2.0. You may choose
6
+ # either license.
7
+ #
8
+ # If you elect to accept the software under the Apache License, Version 2.0,
9
+ # the following applies:
10
+ #
11
+ # Licensed under the Apache License, Version 2.0 (the "License");
12
+ # you may not use this file except in compliance with the License.
13
+ # You may obtain a copy of the License at
14
+ #
15
+ # https://www.apache.org/licenses/LICENSE-2.0
16
+ #
17
+ # Unless required by applicable law or agreed to in writing, software
18
+ # distributed under the License is distributed on an "AS IS" BASIS,
19
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ # See the License for the specific language governing permissions and
21
+ # limitations under the License.
22
+ # coding: utf-8
23
+ # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
24
+ # 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.
25
+ from services.resource_analytics.src.oci_cli_resource_analytics.generated import resource_analytics_service_cli
26
+ from services.resource_analytics.src.oci_cli_resource_analytics_instance.generated import resourceanalyticsinstance_cli
27
+
28
+ # Add list command from collection to root group
29
+ # oci resource-analytics resource-analytics-instance list
30
+ resourceanalyticsinstance_cli.resource_analytics_instance_group.add_command(resourceanalyticsinstance_cli.list_resource_analytics_instances)
31
+
32
+ # Rearrange nested groups to be "top" level
33
+ # oci resource-analytics resource-analytics-instance resource-analytics-instance <command>
34
+ resourceanalyticsinstance_cli.resource_analytics_instance_root_group.commands.pop(resourceanalyticsinstance_cli.resource_analytics_instance_group.name)
35
+ # -> oci resource-analytics resource-analytics-instance <command>
36
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(resourceanalyticsinstance_cli.resource_analytics_instance_group)
37
+ # Re-add existing groups
38
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(resourceanalyticsinstance_cli.work_request_error_group)
39
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(resourceanalyticsinstance_cli.work_request_log_entry_group)
40
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(resourceanalyticsinstance_cli.work_request_group)
@@ -0,0 +1,4 @@
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: 20241031
@@ -0,0 +1,4 @@
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: 20241031
@@ -0,0 +1,14 @@
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: 20241031
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.resource_analytics import TenancyAttachmentClient
10
+
11
+ MODULE_TO_TYPE_MAPPINGS["resource_analytics"] = oci.resource_analytics.models.resource_analytics_type_mapping
12
+ if CLIENT_MAP.get("resource_analytics") is None:
13
+ CLIENT_MAP["resource_analytics"] = {}
14
+ CLIENT_MAP["resource_analytics"]["tenancy_attachment"] = TenancyAttachmentClient
@@ -0,0 +1,298 @@
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: 20241031
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.resource_analytics.src.oci_cli_resource_analytics.generated import resource_analytics_service_cli
17
+
18
+
19
+ @click.command(cli_util.override('tenancy_attachment.tenancy_attachment_root_group.command_name', 'tenancy-attachment'), cls=CommandGroupWithAlias, help=cli_util.override('tenancy_attachment.tenancy_attachment_root_group.help', """Use the Resource Analytics API to manage Resource Analytics Instances."""), short_help=cli_util.override('tenancy_attachment.tenancy_attachment_root_group.short_help', """Resource Analytics API"""))
20
+ @cli_util.help_option_group
21
+ def tenancy_attachment_root_group():
22
+ pass
23
+
24
+
25
+ @click.command(cli_util.override('tenancy_attachment.tenancy_attachment_collection_group.command_name', 'tenancy-attachment-collection'), cls=CommandGroupWithAlias, help="""Results of a TenancyAttachment search. Contains both TenancyAttachmentSummary items and other information, such as metadata.""")
26
+ @cli_util.help_option_group
27
+ def tenancy_attachment_collection_group():
28
+ pass
29
+
30
+
31
+ @click.command(cli_util.override('tenancy_attachment.tenancy_attachment_group.command_name', 'tenancy-attachment'), cls=CommandGroupWithAlias, help="""A TenancyAttachment is a customers' tenancy attached to a ResourceAnalyticsInstance. Attached tenancies will be included in analytics collection.
32
+
33
+ To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies].""")
34
+ @cli_util.help_option_group
35
+ def tenancy_attachment_group():
36
+ pass
37
+
38
+
39
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(tenancy_attachment_root_group)
40
+ tenancy_attachment_root_group.add_command(tenancy_attachment_collection_group)
41
+ tenancy_attachment_root_group.add_command(tenancy_attachment_group)
42
+
43
+
44
+ @tenancy_attachment_group.command(name=cli_util.override('tenancy_attachment.create_tenancy_attachment.command_name', 'create'), help=u"""Creates a TenancyAttachment. \n[Command Reference](createTenancyAttachment)""")
45
+ @cli_util.option('--resource-analytics-instance-id', required=True, help=u"""The [OCID] of the ResourceAnalyticsInstance associated with this TenancyAttachment.""")
46
+ @cli_util.option('--tenancy-id', required=True, help=u"""The [OCID] of the tenancy associated with this TenancyAttachment.""")
47
+ @cli_util.option('--description', help=u"""A description of the tenancy.""")
48
+ @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain 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.""")
49
+ @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
50
+ @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
51
+ @json_skeleton_utils.get_cli_json_input_option({})
52
+ @cli_util.help_option
53
+ @click.pass_context
54
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'resource_analytics', 'class': 'TenancyAttachment'})
55
+ @cli_util.wrap_exceptions
56
+ def create_tenancy_attachment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, resource_analytics_instance_id, tenancy_id, description):
57
+
58
+ kwargs = {}
59
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
60
+
61
+ _details = {}
62
+ _details['resourceAnalyticsInstanceId'] = resource_analytics_instance_id
63
+ _details['tenancyId'] = tenancy_id
64
+
65
+ if description is not None:
66
+ _details['description'] = description
67
+
68
+ client = cli_util.build_client('resource_analytics', 'tenancy_attachment', ctx)
69
+ result = client.create_tenancy_attachment(
70
+ create_tenancy_attachment_details=_details,
71
+ **kwargs
72
+ )
73
+ if wait_for_state:
74
+
75
+ if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
76
+ try:
77
+ wait_period_kwargs = {}
78
+ if max_wait_seconds is not None:
79
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
80
+ if wait_interval_seconds is not None:
81
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
82
+ if 'opc-work-request-id' not in result.headers:
83
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
84
+ cli_util.render_response(result, ctx)
85
+ return
86
+
87
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
88
+ result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
89
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
90
+ # If we fail, we should show an error, but we should still provide the information to the customer
91
+ click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
92
+ cli_util.render_response(result, ctx)
93
+ sys.exit(2)
94
+ except Exception:
95
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
96
+ cli_util.render_response(result, ctx)
97
+ raise
98
+ else:
99
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
100
+ cli_util.render_response(result, ctx)
101
+
102
+
103
+ @tenancy_attachment_group.command(name=cli_util.override('tenancy_attachment.delete_tenancy_attachment.command_name', 'delete'), help=u"""Deletes a TenancyAttachment. \n[Command Reference](deleteTenancyAttachment)""")
104
+ @cli_util.option('--tenancy-attachment-id', required=True, help=u"""The [OCID] of the TenancyAttachment.""")
105
+ @cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
106
+ @cli_util.confirm_delete_option
107
+ @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain 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.""")
108
+ @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
109
+ @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
110
+ @json_skeleton_utils.get_cli_json_input_option({})
111
+ @cli_util.help_option
112
+ @click.pass_context
113
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
114
+ @cli_util.wrap_exceptions
115
+ def delete_tenancy_attachment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, tenancy_attachment_id, if_match):
116
+
117
+ if isinstance(tenancy_attachment_id, six.string_types) and len(tenancy_attachment_id.strip()) == 0:
118
+ raise click.UsageError('Parameter --tenancy-attachment-id cannot be whitespace or empty string')
119
+
120
+ kwargs = {}
121
+ if if_match is not None:
122
+ kwargs['if_match'] = if_match
123
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
124
+ client = cli_util.build_client('resource_analytics', 'tenancy_attachment', ctx)
125
+ result = client.delete_tenancy_attachment(
126
+ tenancy_attachment_id=tenancy_attachment_id,
127
+ **kwargs
128
+ )
129
+ if wait_for_state:
130
+
131
+ if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
132
+ try:
133
+ wait_period_kwargs = {}
134
+ if max_wait_seconds is not None:
135
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
136
+ if wait_interval_seconds is not None:
137
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
138
+ if 'opc-work-request-id' not in result.headers:
139
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
140
+ cli_util.render_response(result, ctx)
141
+ return
142
+
143
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
144
+ result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
145
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
146
+ # If we fail, we should show an error, but we should still provide the information to the customer
147
+ click.echo('Failed to wait until the work request entered the specified state. Please retrieve the work request to find its current state', file=sys.stderr)
148
+ cli_util.render_response(result, ctx)
149
+ sys.exit(2)
150
+ except Exception:
151
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
152
+ cli_util.render_response(result, ctx)
153
+ raise
154
+ else:
155
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
156
+ cli_util.render_response(result, ctx)
157
+
158
+
159
+ @tenancy_attachment_group.command(name=cli_util.override('tenancy_attachment.get_tenancy_attachment.command_name', 'get'), help=u"""Gets information about a TenancyAttachment. \n[Command Reference](getTenancyAttachment)""")
160
+ @cli_util.option('--tenancy-attachment-id', required=True, help=u"""The [OCID] of the TenancyAttachment.""")
161
+ @json_skeleton_utils.get_cli_json_input_option({})
162
+ @cli_util.help_option
163
+ @click.pass_context
164
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'resource_analytics', 'class': 'TenancyAttachment'})
165
+ @cli_util.wrap_exceptions
166
+ def get_tenancy_attachment(ctx, from_json, tenancy_attachment_id):
167
+
168
+ if isinstance(tenancy_attachment_id, six.string_types) and len(tenancy_attachment_id.strip()) == 0:
169
+ raise click.UsageError('Parameter --tenancy-attachment-id cannot be whitespace or empty string')
170
+
171
+ kwargs = {}
172
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
173
+ client = cli_util.build_client('resource_analytics', 'tenancy_attachment', ctx)
174
+ result = client.get_tenancy_attachment(
175
+ tenancy_attachment_id=tenancy_attachment_id,
176
+ **kwargs
177
+ )
178
+ cli_util.render_response(result, ctx)
179
+
180
+
181
+ @tenancy_attachment_collection_group.command(name=cli_util.override('tenancy_attachment.list_tenancy_attachments.command_name', 'list'), help=u"""Gets a list of TenancyAttachments. \n[Command Reference](listTenancyAttachments)""")
182
+ @cli_util.option('--resource-analytics-instance-id', help=u"""The [OCID] of a ResourceAnalyticsInstance.""")
183
+ @cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "UPDATING", "ACTIVE", "NEEDS_ATTENTION", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.""")
184
+ @cli_util.option('--id', help=u"""The [OCID] of the TenancyAttachment.""")
185
+ @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].""")
186
+ @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].""")
187
+ @cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
188
+ @cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIME_CREATED", "DESCRIPTION"]), help=u"""The field to sort by. You can provide only one sort order. Default order for `TIME_CREATED` is descending. Default order for `DESCRIPTION` is ascending.""")
189
+ @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.""")
190
+ @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.""")
191
+ @json_skeleton_utils.get_cli_json_input_option({})
192
+ @cli_util.help_option
193
+ @click.pass_context
194
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'resource_analytics', 'class': 'TenancyAttachmentCollection'})
195
+ @cli_util.wrap_exceptions
196
+ def list_tenancy_attachments(ctx, from_json, all_pages, page_size, resource_analytics_instance_id, lifecycle_state, id, limit, page, sort_order, sort_by):
197
+
198
+ if all_pages and limit:
199
+ raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
200
+
201
+ kwargs = {}
202
+ if resource_analytics_instance_id is not None:
203
+ kwargs['resource_analytics_instance_id'] = resource_analytics_instance_id
204
+ if lifecycle_state is not None:
205
+ kwargs['lifecycle_state'] = lifecycle_state
206
+ if id is not None:
207
+ kwargs['id'] = id
208
+ if limit is not None:
209
+ kwargs['limit'] = limit
210
+ if page is not None:
211
+ kwargs['page'] = page
212
+ if sort_order is not None:
213
+ kwargs['sort_order'] = sort_order
214
+ if sort_by is not None:
215
+ kwargs['sort_by'] = sort_by
216
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
217
+ client = cli_util.build_client('resource_analytics', 'tenancy_attachment', ctx)
218
+ if all_pages:
219
+ if page_size:
220
+ kwargs['limit'] = page_size
221
+
222
+ result = cli_util.list_call_get_all_results(
223
+ client.list_tenancy_attachments,
224
+ **kwargs
225
+ )
226
+ elif limit is not None:
227
+ result = cli_util.list_call_get_up_to_limit(
228
+ client.list_tenancy_attachments,
229
+ limit,
230
+ page_size,
231
+ **kwargs
232
+ )
233
+ else:
234
+ result = client.list_tenancy_attachments(
235
+ **kwargs
236
+ )
237
+ cli_util.render_response(result, ctx)
238
+
239
+
240
+ @tenancy_attachment_group.command(name=cli_util.override('tenancy_attachment.update_tenancy_attachment.command_name', 'update'), help=u"""Updates a TenancyAttachment. \n[Command Reference](updateTenancyAttachment)""")
241
+ @cli_util.option('--tenancy-attachment-id', required=True, help=u"""The [OCID] of the TenancyAttachment.""")
242
+ @cli_util.option('--description', required=True, help=u"""A description of the tenancy.""")
243
+ @cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
244
+ @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain 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.""")
245
+ @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
246
+ @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
247
+ @json_skeleton_utils.get_cli_json_input_option({})
248
+ @cli_util.help_option
249
+ @click.pass_context
250
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
251
+ @cli_util.wrap_exceptions
252
+ def update_tenancy_attachment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, tenancy_attachment_id, description, if_match):
253
+
254
+ if isinstance(tenancy_attachment_id, six.string_types) and len(tenancy_attachment_id.strip()) == 0:
255
+ raise click.UsageError('Parameter --tenancy-attachment-id cannot be whitespace or empty string')
256
+
257
+ kwargs = {}
258
+ if if_match is not None:
259
+ kwargs['if_match'] = if_match
260
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
261
+
262
+ _details = {}
263
+ _details['description'] = description
264
+
265
+ client = cli_util.build_client('resource_analytics', 'tenancy_attachment', ctx)
266
+ result = client.update_tenancy_attachment(
267
+ tenancy_attachment_id=tenancy_attachment_id,
268
+ update_tenancy_attachment_details=_details,
269
+ **kwargs
270
+ )
271
+ if wait_for_state:
272
+
273
+ if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
274
+ try:
275
+ wait_period_kwargs = {}
276
+ if max_wait_seconds is not None:
277
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
278
+ if wait_interval_seconds is not None:
279
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
280
+ if 'opc-work-request-id' not in result.headers:
281
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
282
+ cli_util.render_response(result, ctx)
283
+ return
284
+
285
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
286
+ result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
287
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
288
+ # If we fail, we should show an error, but we should still provide the information to the customer
289
+ click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
290
+ cli_util.render_response(result, ctx)
291
+ sys.exit(2)
292
+ except Exception:
293
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
294
+ cli_util.render_response(result, ctx)
295
+ raise
296
+ else:
297
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
298
+ cli_util.render_response(result, ctx)
@@ -0,0 +1,39 @@
1
+ # Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2
+ #
3
+ # This software is dual-licensed to you under the Universal Permissive License
4
+ # (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
5
+ # 2.0 as shown at https://www.apache.org/licenses/LICENSE-2.0. You may choose
6
+ # either license.
7
+ #
8
+ # If you elect to accept the software under the Apache License, Version 2.0,
9
+ # the following applies:
10
+ #
11
+ # Licensed under the Apache License, Version 2.0 (the "License");
12
+ # you may not use this file except in compliance with the License.
13
+ # You may obtain a copy of the License at
14
+ #
15
+ # https://www.apache.org/licenses/LICENSE-2.0
16
+ #
17
+ # Unless required by applicable law or agreed to in writing, software
18
+ # distributed under the License is distributed on an "AS IS" BASIS,
19
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ # See the License for the specific language governing permissions and
21
+ # limitations under the License.
22
+ # coding: utf-8
23
+ # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
24
+ # 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.
25
+ from services.resource_analytics.src.oci_cli_resource_analytics.generated import resource_analytics_service_cli
26
+ from services.resource_analytics.src.oci_cli_tenancy_attachment.generated import tenancyattachment_cli
27
+
28
+ # Remove collection group
29
+ # oci resource-analytics tenancy-attachment tenancy-attachment-collection
30
+ tenancyattachment_cli.tenancy_attachment_root_group.commands.pop(tenancyattachment_cli.tenancy_attachment_collection_group.name)
31
+ # Add list command from collection to root group
32
+ # oci resource-analytics tenancy-attachment list
33
+ tenancyattachment_cli.tenancy_attachment_group.add_command(tenancyattachment_cli.list_tenancy_attachments)
34
+
35
+ # Rearrange nested groups to be "top" level
36
+ # oci resource-analytics tenancy-attachment tenancy-attachment <command>
37
+ tenancyattachment_cli.tenancy_attachment_root_group.commands.pop(tenancyattachment_cli.tenancy_attachment_group.name)
38
+ # -> oci resource-analytics tenancy-attachment <command>
39
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(tenancyattachment_cli.tenancy_attachment_group)
@@ -0,0 +1,4 @@
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: 20241031