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
@@ -48,7 +48,7 @@ esxi_host_root_group.add_command(esxi_host_summary_group)
48
48
 
49
49
  Use the [WorkRequest] operations to track the creation of the ESXi host. \n[Command Reference](createEsxiHost)""")
50
50
  @cli_util.option('--cluster-id', required=True, help=u"""The [OCID] of the Cluster to add the ESXi host to.""")
51
- @cli_util.option('--display-name', help=u"""A descriptive name for the ESXi host. It's changeable. Esxi Host name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the Cluster.
51
+ @cli_util.option('--display-name', help=u"""A descriptive name for the ESXi host. It's changeable. Esxi Host name requirements are 1-25 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the Cluster.
52
52
 
53
53
  If this attribute is not specified, the Cluster's `instanceDisplayNamePrefix` attribute is used to name and incrementally number the ESXi host. For example, if you're creating the fourth ESXi host in the Cluster, and `instanceDisplayNamePrefix` is `MyCluster`, the host's display name is `MyCluster-4`.
54
54
 
@@ -490,11 +490,13 @@ def swap_billing(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval
490
490
 
491
491
  @esxi_host_group.command(name=cli_util.override('esxi_host.update_esxi_host.command_name', 'update'), help=u"""Updates the specified ESXi host. \n[Command Reference](updateEsxiHost)""")
492
492
  @cli_util.option('--esxi-host-id', required=True, help=u"""The [OCID] of the ESXi host.""")
493
- @cli_util.option('--display-name', help=u"""A descriptive name for the ESXi host. It's changeable. Esxi Host name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the Cluster.
493
+ @cli_util.option('--display-name', help=u"""A descriptive name for the ESXi host. It's changeable. Esxi Host name requirements are 1-25 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the Cluster.
494
494
 
495
495
  Avoid entering confidential information.""")
496
496
  @cli_util.option('--next-commitment', type=custom_types.CliCaseInsensitiveChoice(["HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS"]), help=u"""The billing option to switch to after the existing billing cycle ends. If `nextCommitment` is null or empty, `currentCommitment` continues to the next billing cycle. [ListSupportedCommitments].""")
497
- @cli_util.option('--billing-donor-host-id', help=u"""The [OCID] of the deleted ESXi Host with LeftOver billing cycle.""")
497
+ @cli_util.option('--billing-donor-host-id', help=u"""The [OCID] of the deleted ESXi Host with leftover billing cycle.
498
+
499
+ **Note:** This option also requires the `nextCommitment` parameter to be populated with a value other than `HOUR`. Otherwise, any update request fails with the error \u201CNext SKU can\u2019t be NULL or Hourly.\u201D""")
498
500
  @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].
499
501
 
500
502
  Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@@ -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,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 MonitoredRegionClient
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"]["monitored_region"] = MonitoredRegionClient
@@ -0,0 +1,233 @@
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('monitored_region.monitored_region_root_group.command_name', 'monitored-region'), cls=CommandGroupWithAlias, help=cli_util.override('monitored_region.monitored_region_root_group.help', """Use the Resource Analytics API to manage Resource Analytics Instances."""), short_help=cli_util.override('monitored_region.monitored_region_root_group.short_help', """Resource Analytics API"""))
20
+ @cli_util.help_option_group
21
+ def monitored_region_root_group():
22
+ pass
23
+
24
+
25
+ @click.command(cli_util.override('monitored_region.monitored_region_collection_group.command_name', 'monitored-region-collection'), cls=CommandGroupWithAlias, help="""Results of a MonitoredRegion search. Contains both MonitoredRegionSummary items and other information, such as metadata.""")
26
+ @cli_util.help_option_group
27
+ def monitored_region_collection_group():
28
+ pass
29
+
30
+
31
+ @click.command(cli_util.override('monitored_region.monitored_region_group.command_name', 'monitored-region'), cls=CommandGroupWithAlias, help="""A MonitoredRegion is a region to collect data for the associated ResourceAnalyticsInstance.
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 monitored_region_group():
36
+ pass
37
+
38
+
39
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(monitored_region_root_group)
40
+ monitored_region_root_group.add_command(monitored_region_collection_group)
41
+ monitored_region_root_group.add_command(monitored_region_group)
42
+
43
+
44
+ @monitored_region_group.command(name=cli_util.override('monitored_region.create_monitored_region.command_name', 'create'), help=u"""Creates a MonitoredRegion. \n[Command Reference](createMonitoredRegion)""")
45
+ @cli_util.option('--resource-analytics-instance-id', required=True, help=u"""The [OCID] of the ResourceAnalyticsInstance associated with this MonitoredRegion.""")
46
+ @cli_util.option('--region-id', required=True, help=u"""The [Region Identifier] of this MonitoredRegion.""")
47
+ @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.""")
48
+ @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.""")
49
+ @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.""")
50
+ @json_skeleton_utils.get_cli_json_input_option({})
51
+ @cli_util.help_option
52
+ @click.pass_context
53
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'resource_analytics', 'class': 'MonitoredRegion'})
54
+ @cli_util.wrap_exceptions
55
+ def create_monitored_region(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, resource_analytics_instance_id, region_id):
56
+
57
+ kwargs = {}
58
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
59
+
60
+ _details = {}
61
+ _details['resourceAnalyticsInstanceId'] = resource_analytics_instance_id
62
+ _details['regionId'] = region_id
63
+
64
+ client = cli_util.build_client('resource_analytics', 'monitored_region', ctx)
65
+ result = client.create_monitored_region(
66
+ create_monitored_region_details=_details,
67
+ **kwargs
68
+ )
69
+ if wait_for_state:
70
+
71
+ if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
72
+ try:
73
+ wait_period_kwargs = {}
74
+ if max_wait_seconds is not None:
75
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
76
+ if wait_interval_seconds is not None:
77
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
78
+ if 'opc-work-request-id' not in result.headers:
79
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
80
+ cli_util.render_response(result, ctx)
81
+ return
82
+
83
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
84
+ result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
85
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
86
+ # If we fail, we should show an error, but we should still provide the information to the customer
87
+ click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
88
+ cli_util.render_response(result, ctx)
89
+ sys.exit(2)
90
+ except Exception:
91
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
92
+ cli_util.render_response(result, ctx)
93
+ raise
94
+ else:
95
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
96
+ cli_util.render_response(result, ctx)
97
+
98
+
99
+ @monitored_region_group.command(name=cli_util.override('monitored_region.delete_monitored_region.command_name', 'delete'), help=u"""Deletes a MonitoredRegion. \n[Command Reference](deleteMonitoredRegion)""")
100
+ @cli_util.option('--monitored-region-id', required=True, help=u"""The [OCID] of the MonitoredRegion.""")
101
+ @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.""")
102
+ @cli_util.confirm_delete_option
103
+ @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.""")
104
+ @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.""")
105
+ @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.""")
106
+ @json_skeleton_utils.get_cli_json_input_option({})
107
+ @cli_util.help_option
108
+ @click.pass_context
109
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
110
+ @cli_util.wrap_exceptions
111
+ def delete_monitored_region(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, monitored_region_id, if_match):
112
+
113
+ if isinstance(monitored_region_id, six.string_types) and len(monitored_region_id.strip()) == 0:
114
+ raise click.UsageError('Parameter --monitored-region-id cannot be whitespace or empty string')
115
+
116
+ kwargs = {}
117
+ if if_match is not None:
118
+ kwargs['if_match'] = if_match
119
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
120
+ client = cli_util.build_client('resource_analytics', 'monitored_region', ctx)
121
+ result = client.delete_monitored_region(
122
+ monitored_region_id=monitored_region_id,
123
+ **kwargs
124
+ )
125
+ if wait_for_state:
126
+
127
+ if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
128
+ try:
129
+ wait_period_kwargs = {}
130
+ if max_wait_seconds is not None:
131
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
132
+ if wait_interval_seconds is not None:
133
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
134
+ if 'opc-work-request-id' not in result.headers:
135
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
136
+ cli_util.render_response(result, ctx)
137
+ return
138
+
139
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
140
+ result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
141
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
142
+ # If we fail, we should show an error, but we should still provide the information to the customer
143
+ 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)
144
+ cli_util.render_response(result, ctx)
145
+ sys.exit(2)
146
+ except Exception:
147
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
148
+ cli_util.render_response(result, ctx)
149
+ raise
150
+ else:
151
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
152
+ cli_util.render_response(result, ctx)
153
+
154
+
155
+ @monitored_region_group.command(name=cli_util.override('monitored_region.get_monitored_region.command_name', 'get'), help=u"""Gets information about a MonitoredRegion. \n[Command Reference](getMonitoredRegion)""")
156
+ @cli_util.option('--monitored-region-id', required=True, help=u"""The [OCID] of the MonitoredRegion.""")
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': 'resource_analytics', 'class': 'MonitoredRegion'})
161
+ @cli_util.wrap_exceptions
162
+ def get_monitored_region(ctx, from_json, monitored_region_id):
163
+
164
+ if isinstance(monitored_region_id, six.string_types) and len(monitored_region_id.strip()) == 0:
165
+ raise click.UsageError('Parameter --monitored-region-id cannot be whitespace or empty string')
166
+
167
+ kwargs = {}
168
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
169
+ client = cli_util.build_client('resource_analytics', 'monitored_region', ctx)
170
+ result = client.get_monitored_region(
171
+ monitored_region_id=monitored_region_id,
172
+ **kwargs
173
+ )
174
+ cli_util.render_response(result, ctx)
175
+
176
+
177
+ @monitored_region_collection_group.command(name=cli_util.override('monitored_region.list_monitored_regions.command_name', 'list'), help=u"""Gets a list of MonitoredRegions. \n[Command Reference](listMonitoredRegions)""")
178
+ @cli_util.option('--resource-analytics-instance-id', help=u"""The [OCID] of a ResourceAnalyticsInstance.""")
179
+ @cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.""")
180
+ @cli_util.option('--id', help=u"""The [OCID] of the MonitoredRegion.""")
181
+ @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].""")
182
+ @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].""")
183
+ @cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
184
+ @cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIME_CREATED", "REGION_ID"]), help=u"""The field to sort by. You can provide only one sort order. Default order for `TIME_CREATED` is descending. Default order for `REGION_ID` is ascending.""")
185
+ @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.""")
186
+ @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.""")
187
+ @json_skeleton_utils.get_cli_json_input_option({})
188
+ @cli_util.help_option
189
+ @click.pass_context
190
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'resource_analytics', 'class': 'MonitoredRegionCollection'})
191
+ @cli_util.wrap_exceptions
192
+ def list_monitored_regions(ctx, from_json, all_pages, page_size, resource_analytics_instance_id, lifecycle_state, id, limit, page, sort_order, sort_by):
193
+
194
+ if all_pages and limit:
195
+ raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
196
+
197
+ kwargs = {}
198
+ if resource_analytics_instance_id is not None:
199
+ kwargs['resource_analytics_instance_id'] = resource_analytics_instance_id
200
+ if lifecycle_state is not None:
201
+ kwargs['lifecycle_state'] = lifecycle_state
202
+ if id is not None:
203
+ kwargs['id'] = id
204
+ if limit is not None:
205
+ kwargs['limit'] = limit
206
+ if page is not None:
207
+ kwargs['page'] = page
208
+ if sort_order is not None:
209
+ kwargs['sort_order'] = sort_order
210
+ if sort_by is not None:
211
+ kwargs['sort_by'] = sort_by
212
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
213
+ client = cli_util.build_client('resource_analytics', 'monitored_region', ctx)
214
+ if all_pages:
215
+ if page_size:
216
+ kwargs['limit'] = page_size
217
+
218
+ result = cli_util.list_call_get_all_results(
219
+ client.list_monitored_regions,
220
+ **kwargs
221
+ )
222
+ elif limit is not None:
223
+ result = cli_util.list_call_get_up_to_limit(
224
+ client.list_monitored_regions,
225
+ limit,
226
+ page_size,
227
+ **kwargs
228
+ )
229
+ else:
230
+ result = client.list_monitored_regions(
231
+ **kwargs
232
+ )
233
+ 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_monitored_region.generated import monitoredregion_cli
27
+
28
+ # Remove collection group
29
+ # oci resource-analytics monitored-region monitored-region-collection
30
+ monitoredregion_cli.monitored_region_root_group.commands.pop(monitoredregion_cli.monitored_region_collection_group.name)
31
+ # Add list command from collection to root group
32
+ # oci resource-analytics monitored-region list
33
+ monitoredregion_cli.monitored_region_group.add_command(monitoredregion_cli.list_monitored_regions)
34
+
35
+ # Rearrange nested groups to be "top" level
36
+ # oci resource-analytics monitored-region monitored-region <command>
37
+ monitoredregion_cli.monitored_region_root_group.commands.pop(monitoredregion_cli.monitored_region_group.name)
38
+ # -> oci resource-analytics monitored-region <command>
39
+ resource_analytics_service_cli.resource_analytics_service_group.add_command(monitoredregion_cli.monitored_region_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
+ from oci_cli.cli_root import cli
7
+ from oci_cli import cli_util
8
+ from oci_cli.aliasing import CommandGroupWithAlias
9
+
10
+
11
+ @cli.command(cli_util.override('tenancy_attachment.resource_analytics_service_group.command_name', 'resource-analytics'), cls=CommandGroupWithAlias, help=cli_util.override('tenancy_attachment.resource_analytics_service_group.help', """Use the Resource Analytics API to manage Resource Analytics Instances."""), short_help=cli_util.override('tenancy_attachment.resource_analytics_service_group.short_help', """Resource Analytics API"""))
12
+ @cli_util.help_option_group
13
+ def resource_analytics_service_group():
14
+ pass
@@ -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 ResourceAnalyticsInstanceClient
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"]["resource_analytics_instance"] = ResourceAnalyticsInstanceClient