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.
- common_util/ignored_commands.py +3 -1
- oci_cli/bin/jms.psm1 +74 -6
- oci_cli/bin/marketplace.psm1 +7 -1
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-gpu-memory-fabric/update.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/create.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/delete.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/update.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-compute-bare-metal-host-placement-constraint-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-host-group-placement-constraint-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-amd-vm-update-instance-platform-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-intel-vm-update-instance-platform-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-boot-volume-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-image-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/discovery-job/list-discovery-job-results.txt +13 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-error-summary/list-masking-errors.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/list-masking-reports.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/mask-data.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-column/list.txt +22 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/service/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-gcp-key-details.txt +779 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update-autonomous-database-gcp-key-details.txt +1079 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/configure-exascale.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/create.txt +35 -9
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/update.txt +38 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +23 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-db.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-exadb-stack.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-gi.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-guest-os.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create.txt +7 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection-summary/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/clone.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create-fsu-cycle-create-upgrade-fsu-cycle.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create-patch.txt +14 -12
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create.txt +4 -4
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/update-patch.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle-summary/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-exadb-stack.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-guest-os.txt +185 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fn/function/create.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fn/function/update.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fusion-apps/fusion-environment/create.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fusion-apps/fusion-environment/update.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/create.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/update.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/create.txt +186 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/update.txt +195 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint-collection/list-generative-ai-private-endpoints.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai.txt +16 -0
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/agent-installer-summary/generate-agent-installer-configuration.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary/list-containers.txt +338 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/export-setting/update.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/fleet-agent-configuration/update.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/installation-usage/summarize.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/create.txt +12 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary/list-library-application-usage.txt +332 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory/summarize.txt +284 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary/list-library-managed-instance-usage.txt +332 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/scan.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/summarize.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/managed-instance-usage/summarize.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-add-installation-site-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-crypto-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-deployed-application-migration-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-java-migration-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-jfr-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-performance-tuning-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-remove-installation-site-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-java-server-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-library-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/delete.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/get.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/list.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-add-installation-site-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-crypto-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-deployed-application-migration-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-java-migration-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-jfr-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-performance-tuning-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-remove-installation-site-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-java-server-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-library-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule.txt +58 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary/list-uncorrelated-package-application-usage.txt +324 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary.txt +16 -0
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-managed-instance-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary/list-uncorrelated-package-usage.txt +323 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads.txt +1 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/get.txt +83 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/update.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/delete.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/list.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/request.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/delete.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/list.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/request.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/get.txt +83 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/update.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary/list-work-items.txt +110 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error/list.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-log-entry/list-work-request-logs.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane/work-request → jms-utils}/work-request-log-entry.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils.txt +65 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms.txt +76 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details/create-marketplace-external-attested-metadata.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary/list-marketplace-metadata-public-keys.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/cluster/cluster/create.txt +12 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/cluster/cluster/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/add-block-volume.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/change-compartment.txt +114 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/create.txt +190 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/delete.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/get.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/list.txt +163 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/update.txt +185 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/add-datastore.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/attach-to-cluster.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/attach-to-esxi-host.txt +155 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/change-compartment.txt +110 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/create.txt +188 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/detach-from-cluster.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/detach-from-esxi-host.txt +155 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/list.txt +163 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/remove-datastore.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/update.txt +182 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster.txt +37 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore.txt +27 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/esxi-host/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/esxi-host/update.txt +6 -2
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +43 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/create.txt +127 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/change-compartment.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/create.txt +204 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/disable-oac.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/enable-oac.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/list.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/update.txt +179 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance.txt +34 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/create.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/update.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics.txt +68 -0
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +6 -2
- oci_cli/service_mapping.py +11 -1
- oci_cli/version.py +1 -1
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/METADATA +2 -2
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/RECORD +290 -116
- services/core/src/oci_cli_compute/generated/compute_cli.py +194 -28
- services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +28 -9
- services/database/src/oci_cli_database/database_cli_extended.py +43 -2
- services/database/src/oci_cli_database/generated/database_cli.py +830 -4
- services/fleet_software_update/src/oci_cli_fleet_software_update/fleetsoftwareupdate_cli_extended.py +16 -0
- services/fleet_software_update/src/oci_cli_fleet_software_update/generated/fleetsoftwareupdate_cli.py +421 -32
- services/functions/src/oci_cli_functions_management/functionsmanagement_cli_extended.py +87 -5
- services/functions/src/oci_cli_functions_management/generated/functionsmanagement_cli.py +2361 -469
- services/fusion_apps/src/oci_cli_fusion_applications/fusionapplications_cli_extended.py +40 -0
- services/fusion_apps/src/oci_cli_fusion_applications/generated/fusionapplications_cli.py +10 -2
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +399 -2
- services/jms/src/oci_cli_java_management_service/generated/javamanagementservice_cli.py +4359 -2378
- services/jms_java_downloads/src/oci_cli_java_download/generated/javadownload_cli.py +5 -5
- services/jms_utils/__init__.py +4 -0
- services/jms_utils/src/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/client_mappings.py +14 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/jmsutils_cli.py +812 -0
- services/jms_utils/tests/__init__.py +4 -0
- services/marketplace/src/oci_cli_marketplace/generated/marketplace_cli.py +94 -0
- services/ocvp/src/oci_cli_cluster/generated/cluster_cli.py +9 -5
- services/ocvp/src/oci_cli_datastore/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore/datastore_cli_extended.py +25 -0
- services/ocvp/src/oci_cli_datastore/generated/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore/generated/client_mappings.py +14 -0
- services/ocvp/src/oci_cli_datastore/generated/datastore_cli.py +434 -0
- services/ocvp/src/oci_cli_datastore_cluster/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore_cluster/datastorecluster_cli_extended.py +50 -0
- services/ocvp/src/oci_cli_datastore_cluster/generated/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore_cluster/generated/client_mappings.py +14 -0
- services/ocvp/src/oci_cli_datastore_cluster/generated/datastorecluster_cli.py +737 -0
- services/ocvp/src/oci_cli_esxi_host/generated/esxihost_cli.py +5 -3
- services/resource_analytics/__init__.py +4 -0
- services/resource_analytics/src/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/monitoredregion_cli.py +233 -0
- services/resource_analytics/src/oci_cli_monitored_region/monitored_region_cli_extended.py +39 -0
- services/resource_analytics/src/oci_cli_resource_analytics/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics/generated/resource_analytics_service_cli.py +14 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/resourceanalyticsinstance_cli.py +968 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/resource_analytics_instance_cli_extended.py +40 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/tenancyattachment_cli.py +298 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/tenancy_attachment_cli_extended.py +39 -0
- services/resource_analytics/tests/__init__.py +4 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,812 @@
|
|
|
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: 20250521
|
|
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.cli_root import cli
|
|
12
|
+
from oci_cli import cli_constants # noqa: F401
|
|
13
|
+
from oci_cli import cli_util
|
|
14
|
+
from oci_cli import json_skeleton_utils
|
|
15
|
+
from oci_cli import custom_types # noqa: F401
|
|
16
|
+
from oci_cli.aliasing import CommandGroupWithAlias
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@cli.command(cli_util.override('jms_utils.jms_utils_root_group.command_name', 'jms-utils'), cls=CommandGroupWithAlias, help=cli_util.override('jms_utils.jms_utils_root_group.help', """The APIs for Analyze Applications and other utilities of Java Management Service."""), short_help=cli_util.override('jms_utils.jms_utils_root_group.short_help', """Java Management Service Utilities API"""))
|
|
20
|
+
@cli_util.help_option_group
|
|
21
|
+
def jms_utils_root_group():
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@click.command(cli_util.override('jms_utils.performance_tuning_analysis_group.command_name', 'performance-tuning-analysis'), cls=CommandGroupWithAlias, help="""To use any of the API operations, you must be authorized by 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].""")
|
|
26
|
+
@cli_util.help_option_group
|
|
27
|
+
def performance_tuning_analysis_group():
|
|
28
|
+
pass
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@click.command(cli_util.override('jms_utils.analyze_applications_configuration_group.command_name', 'analyze-applications-configuration'), cls=CommandGroupWithAlias, help="""The configuration for analyzing applications.""")
|
|
32
|
+
@cli_util.help_option_group
|
|
33
|
+
def analyze_applications_configuration_group():
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
@click.command(cli_util.override('jms_utils.work_item_summary_group.command_name', 'work-item-summary'), cls=CommandGroupWithAlias, help="""Work item to complete a work request.""")
|
|
38
|
+
@cli_util.help_option_group
|
|
39
|
+
def work_item_summary_group():
|
|
40
|
+
pass
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@click.command(cli_util.override('jms_utils.work_request_error_group.command_name', 'work-request-error'), cls=CommandGroupWithAlias, help="""An error encountered while performing an operation that is tracked by a work request.""")
|
|
44
|
+
@cli_util.help_option_group
|
|
45
|
+
def work_request_error_group():
|
|
46
|
+
pass
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@click.command(cli_util.override('jms_utils.work_request_log_entry_group.command_name', 'work-request-log-entry'), cls=CommandGroupWithAlias, help="""A log message from performing an operation that is tracked by a work request.""")
|
|
50
|
+
@cli_util.help_option_group
|
|
51
|
+
def work_request_log_entry_group():
|
|
52
|
+
pass
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
@click.command(cli_util.override('jms_utils.work_request_group.command_name', 'work-request'), cls=CommandGroupWithAlias, help="""An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.""")
|
|
56
|
+
@cli_util.help_option_group
|
|
57
|
+
def work_request_group():
|
|
58
|
+
pass
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
@click.command(cli_util.override('jms_utils.java_migration_analysis_group.command_name', 'java-migration-analysis'), cls=CommandGroupWithAlias, help="""To use any of the API operations, you must be authorized by 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].""")
|
|
62
|
+
@cli_util.help_option_group
|
|
63
|
+
def java_migration_analysis_group():
|
|
64
|
+
pass
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
@click.command(cli_util.override('jms_utils.subscription_acknowledgment_configuration_group.command_name', 'subscription-acknowledgment-configuration'), cls=CommandGroupWithAlias, help="""The configuration for subscription acknowledgment.""")
|
|
68
|
+
@cli_util.help_option_group
|
|
69
|
+
def subscription_acknowledgment_configuration_group():
|
|
70
|
+
pass
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
jms_utils_root_group.add_command(performance_tuning_analysis_group)
|
|
74
|
+
jms_utils_root_group.add_command(analyze_applications_configuration_group)
|
|
75
|
+
jms_utils_root_group.add_command(work_item_summary_group)
|
|
76
|
+
jms_utils_root_group.add_command(work_request_error_group)
|
|
77
|
+
jms_utils_root_group.add_command(work_request_log_entry_group)
|
|
78
|
+
jms_utils_root_group.add_command(work_request_group)
|
|
79
|
+
jms_utils_root_group.add_command(java_migration_analysis_group)
|
|
80
|
+
jms_utils_root_group.add_command(subscription_acknowledgment_configuration_group)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
@work_request_group.command(name=cli_util.override('jms_utils.cancel_work_request.command_name', 'cancel'), help=u"""Cancels a work request. \n[Command Reference](cancelWorkRequest)""")
|
|
84
|
+
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the asynchronous work request.""")
|
|
85
|
+
@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.""")
|
|
86
|
+
@cli_util.confirm_delete_option
|
|
87
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
88
|
+
@cli_util.help_option
|
|
89
|
+
@click.pass_context
|
|
90
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
91
|
+
@cli_util.wrap_exceptions
|
|
92
|
+
def cancel_work_request(ctx, from_json, work_request_id, if_match):
|
|
93
|
+
|
|
94
|
+
if isinstance(work_request_id, six.string_types) and len(work_request_id.strip()) == 0:
|
|
95
|
+
raise click.UsageError('Parameter --work-request-id cannot be whitespace or empty string')
|
|
96
|
+
|
|
97
|
+
kwargs = {}
|
|
98
|
+
if if_match is not None:
|
|
99
|
+
kwargs['if_match'] = if_match
|
|
100
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
101
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
102
|
+
result = client.cancel_work_request(
|
|
103
|
+
work_request_id=work_request_id,
|
|
104
|
+
**kwargs
|
|
105
|
+
)
|
|
106
|
+
cli_util.render_response(result, ctx)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
@java_migration_analysis_group.command(name=cli_util.override('jms_utils.delete_java_migration_analysis.command_name', 'delete'), help=u"""Deletes a Java Migration Analysis. \n[Command Reference](deleteJavaMigrationAnalysis)""")
|
|
110
|
+
@cli_util.option('--java-migration-analysis-id', required=True, help=u"""The [OCID] of the Java Migration Analysis.""")
|
|
111
|
+
@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.""")
|
|
112
|
+
@cli_util.confirm_delete_option
|
|
113
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
114
|
+
@cli_util.help_option
|
|
115
|
+
@click.pass_context
|
|
116
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
117
|
+
@cli_util.wrap_exceptions
|
|
118
|
+
def delete_java_migration_analysis(ctx, from_json, java_migration_analysis_id, if_match):
|
|
119
|
+
|
|
120
|
+
if isinstance(java_migration_analysis_id, six.string_types) and len(java_migration_analysis_id.strip()) == 0:
|
|
121
|
+
raise click.UsageError('Parameter --java-migration-analysis-id cannot be whitespace or empty string')
|
|
122
|
+
|
|
123
|
+
kwargs = {}
|
|
124
|
+
if if_match is not None:
|
|
125
|
+
kwargs['if_match'] = if_match
|
|
126
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
127
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
128
|
+
result = client.delete_java_migration_analysis(
|
|
129
|
+
java_migration_analysis_id=java_migration_analysis_id,
|
|
130
|
+
**kwargs
|
|
131
|
+
)
|
|
132
|
+
cli_util.render_response(result, ctx)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
@performance_tuning_analysis_group.command(name=cli_util.override('jms_utils.delete_performance_tuning_analysis.command_name', 'delete'), help=u"""Deletes a Performance Tuning Analysis. \n[Command Reference](deletePerformanceTuningAnalysis)""")
|
|
136
|
+
@cli_util.option('--performance-tuning-analysis-id', required=True, help=u"""The [OCID] of the Performance Tuning Analysis.""")
|
|
137
|
+
@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.""")
|
|
138
|
+
@cli_util.confirm_delete_option
|
|
139
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
140
|
+
@cli_util.help_option
|
|
141
|
+
@click.pass_context
|
|
142
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
143
|
+
@cli_util.wrap_exceptions
|
|
144
|
+
def delete_performance_tuning_analysis(ctx, from_json, performance_tuning_analysis_id, if_match):
|
|
145
|
+
|
|
146
|
+
if isinstance(performance_tuning_analysis_id, six.string_types) and len(performance_tuning_analysis_id.strip()) == 0:
|
|
147
|
+
raise click.UsageError('Parameter --performance-tuning-analysis-id cannot be whitespace or empty string')
|
|
148
|
+
|
|
149
|
+
kwargs = {}
|
|
150
|
+
if if_match is not None:
|
|
151
|
+
kwargs['if_match'] = if_match
|
|
152
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
153
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
154
|
+
result = client.delete_performance_tuning_analysis(
|
|
155
|
+
performance_tuning_analysis_id=performance_tuning_analysis_id,
|
|
156
|
+
**kwargs
|
|
157
|
+
)
|
|
158
|
+
cli_util.render_response(result, ctx)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
@analyze_applications_configuration_group.command(name=cli_util.override('jms_utils.get_analyze_applications_configuration.command_name', 'get'), help=u"""Returns the configuration for analyzing applications. \n[Command Reference](getAnalyzeApplicationsConfiguration)""")
|
|
162
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
163
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
164
|
+
@cli_util.help_option
|
|
165
|
+
@click.pass_context
|
|
166
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'AnalyzeApplicationsConfiguration'})
|
|
167
|
+
@cli_util.wrap_exceptions
|
|
168
|
+
def get_analyze_applications_configuration(ctx, from_json, compartment_id):
|
|
169
|
+
|
|
170
|
+
kwargs = {}
|
|
171
|
+
if compartment_id is not None:
|
|
172
|
+
kwargs['compartment_id'] = compartment_id
|
|
173
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
174
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
175
|
+
result = client.get_analyze_applications_configuration(
|
|
176
|
+
**kwargs
|
|
177
|
+
)
|
|
178
|
+
cli_util.render_response(result, ctx)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
@java_migration_analysis_group.command(name=cli_util.override('jms_utils.get_java_migration_analysis.command_name', 'get'), help=u"""Gets information about a Java Migration Analysis. \n[Command Reference](getJavaMigrationAnalysis)""")
|
|
182
|
+
@cli_util.option('--java-migration-analysis-id', required=True, help=u"""The [OCID] of the Java Migration Analysis.""")
|
|
183
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
184
|
+
@cli_util.help_option
|
|
185
|
+
@click.pass_context
|
|
186
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'JavaMigrationAnalysis'})
|
|
187
|
+
@cli_util.wrap_exceptions
|
|
188
|
+
def get_java_migration_analysis(ctx, from_json, java_migration_analysis_id):
|
|
189
|
+
|
|
190
|
+
if isinstance(java_migration_analysis_id, six.string_types) and len(java_migration_analysis_id.strip()) == 0:
|
|
191
|
+
raise click.UsageError('Parameter --java-migration-analysis-id cannot be whitespace or empty string')
|
|
192
|
+
|
|
193
|
+
kwargs = {}
|
|
194
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
195
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
196
|
+
result = client.get_java_migration_analysis(
|
|
197
|
+
java_migration_analysis_id=java_migration_analysis_id,
|
|
198
|
+
**kwargs
|
|
199
|
+
)
|
|
200
|
+
cli_util.render_response(result, ctx)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
@performance_tuning_analysis_group.command(name=cli_util.override('jms_utils.get_performance_tuning_analysis.command_name', 'get'), help=u"""Gets information about a Performance Tuning Analysis. \n[Command Reference](getPerformanceTuningAnalysis)""")
|
|
204
|
+
@cli_util.option('--performance-tuning-analysis-id', required=True, help=u"""The [OCID] of the Performance Tuning Analysis.""")
|
|
205
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
206
|
+
@cli_util.help_option
|
|
207
|
+
@click.pass_context
|
|
208
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'PerformanceTuningAnalysis'})
|
|
209
|
+
@cli_util.wrap_exceptions
|
|
210
|
+
def get_performance_tuning_analysis(ctx, from_json, performance_tuning_analysis_id):
|
|
211
|
+
|
|
212
|
+
if isinstance(performance_tuning_analysis_id, six.string_types) and len(performance_tuning_analysis_id.strip()) == 0:
|
|
213
|
+
raise click.UsageError('Parameter --performance-tuning-analysis-id cannot be whitespace or empty string')
|
|
214
|
+
|
|
215
|
+
kwargs = {}
|
|
216
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
217
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
218
|
+
result = client.get_performance_tuning_analysis(
|
|
219
|
+
performance_tuning_analysis_id=performance_tuning_analysis_id,
|
|
220
|
+
**kwargs
|
|
221
|
+
)
|
|
222
|
+
cli_util.render_response(result, ctx)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
@subscription_acknowledgment_configuration_group.command(name=cli_util.override('jms_utils.get_subscription_acknowledgment_configuration.command_name', 'get'), help=u"""Returns the configuration for subscription acknowledgment. \n[Command Reference](getSubscriptionAcknowledgmentConfiguration)""")
|
|
226
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
227
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
228
|
+
@cli_util.help_option
|
|
229
|
+
@click.pass_context
|
|
230
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'SubscriptionAcknowledgmentConfiguration'})
|
|
231
|
+
@cli_util.wrap_exceptions
|
|
232
|
+
def get_subscription_acknowledgment_configuration(ctx, from_json, compartment_id):
|
|
233
|
+
|
|
234
|
+
kwargs = {}
|
|
235
|
+
if compartment_id is not None:
|
|
236
|
+
kwargs['compartment_id'] = compartment_id
|
|
237
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
238
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
239
|
+
result = client.get_subscription_acknowledgment_configuration(
|
|
240
|
+
**kwargs
|
|
241
|
+
)
|
|
242
|
+
cli_util.render_response(result, ctx)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
@work_request_group.command(name=cli_util.override('jms_utils.get_work_request.command_name', 'get'), help=u"""Gets the details of a work request. \n[Command Reference](getWorkRequest)""")
|
|
246
|
+
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the asynchronous work request.""")
|
|
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={}, output_type={'module': 'jms_utils', 'class': 'WorkRequest'})
|
|
251
|
+
@cli_util.wrap_exceptions
|
|
252
|
+
def get_work_request(ctx, from_json, work_request_id):
|
|
253
|
+
|
|
254
|
+
if isinstance(work_request_id, six.string_types) and len(work_request_id.strip()) == 0:
|
|
255
|
+
raise click.UsageError('Parameter --work-request-id cannot be whitespace or empty string')
|
|
256
|
+
|
|
257
|
+
kwargs = {}
|
|
258
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
259
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
260
|
+
result = client.get_work_request(
|
|
261
|
+
work_request_id=work_request_id,
|
|
262
|
+
**kwargs
|
|
263
|
+
)
|
|
264
|
+
cli_util.render_response(result, ctx)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
@java_migration_analysis_group.command(name=cli_util.override('jms_utils.list_java_migration_analysis.command_name', 'list'), help=u"""Gets a list of Java Migration Analysis. \n[Command Reference](listJavaMigrationAnalysis)""")
|
|
268
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
269
|
+
@cli_util.option('--id', help=u"""The [OCID] of the Java Migration Analysis.""")
|
|
270
|
+
@cli_util.option('--analysis-project-name', help=u"""The project name of the Performance Tuning Analysis to query for.""")
|
|
271
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
272
|
+
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.""")
|
|
273
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
274
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIME_CREATED", "TIME_STARTED", "TIME_FINISHED"]), help=u"""The field to sort Java Migration Analysis. Only one sort order may be provided.""")
|
|
275
|
+
@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.""")
|
|
276
|
+
@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.""")
|
|
277
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
278
|
+
@cli_util.help_option
|
|
279
|
+
@click.pass_context
|
|
280
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'JavaMigrationAnalysisCollection'})
|
|
281
|
+
@cli_util.wrap_exceptions
|
|
282
|
+
def list_java_migration_analysis(ctx, from_json, all_pages, page_size, compartment_id, id, analysis_project_name, limit, page, sort_order, sort_by):
|
|
283
|
+
|
|
284
|
+
if all_pages and limit:
|
|
285
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
286
|
+
|
|
287
|
+
kwargs = {}
|
|
288
|
+
if compartment_id is not None:
|
|
289
|
+
kwargs['compartment_id'] = compartment_id
|
|
290
|
+
if id is not None:
|
|
291
|
+
kwargs['id'] = id
|
|
292
|
+
if analysis_project_name is not None:
|
|
293
|
+
kwargs['analysis_project_name'] = analysis_project_name
|
|
294
|
+
if limit is not None:
|
|
295
|
+
kwargs['limit'] = limit
|
|
296
|
+
if page is not None:
|
|
297
|
+
kwargs['page'] = page
|
|
298
|
+
if sort_order is not None:
|
|
299
|
+
kwargs['sort_order'] = sort_order
|
|
300
|
+
if sort_by is not None:
|
|
301
|
+
kwargs['sort_by'] = sort_by
|
|
302
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
303
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
304
|
+
if all_pages:
|
|
305
|
+
if page_size:
|
|
306
|
+
kwargs['limit'] = page_size
|
|
307
|
+
|
|
308
|
+
result = cli_util.list_call_get_all_results(
|
|
309
|
+
client.list_java_migration_analysis,
|
|
310
|
+
**kwargs
|
|
311
|
+
)
|
|
312
|
+
elif limit is not None:
|
|
313
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
314
|
+
client.list_java_migration_analysis,
|
|
315
|
+
limit,
|
|
316
|
+
page_size,
|
|
317
|
+
**kwargs
|
|
318
|
+
)
|
|
319
|
+
else:
|
|
320
|
+
result = client.list_java_migration_analysis(
|
|
321
|
+
**kwargs
|
|
322
|
+
)
|
|
323
|
+
cli_util.render_response(result, ctx)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
@performance_tuning_analysis_group.command(name=cli_util.override('jms_utils.list_performance_tuning_analysis.command_name', 'list'), help=u"""Gets a list of Performance tuning Analysis. \n[Command Reference](listPerformanceTuningAnalysis)""")
|
|
327
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
328
|
+
@cli_util.option('--id', help=u"""The [OCID] of the Performance Tuning Analysis.""")
|
|
329
|
+
@cli_util.option('--analysis-project-name', help=u"""The project name of the Performance Tuning Analysis to query for.""")
|
|
330
|
+
@cli_util.option('--performance-tuning-analysis-result', type=custom_types.CliCaseInsensitiveChoice(["ACTION_RECOMMENDED", "NO_WARNINGS"]), help=u"""The result of the Performance Tuning Analysis to query for.""")
|
|
331
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
332
|
+
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.""")
|
|
333
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
334
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIME_CREATED", "TIME_STARTED", "TIME_FINISHED"]), help=u"""The field to sort Performance Tuning Analysis. Only one sort order may be provided.""")
|
|
335
|
+
@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.""")
|
|
336
|
+
@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.""")
|
|
337
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
338
|
+
@cli_util.help_option
|
|
339
|
+
@click.pass_context
|
|
340
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'PerformanceTuningAnalysisCollection'})
|
|
341
|
+
@cli_util.wrap_exceptions
|
|
342
|
+
def list_performance_tuning_analysis(ctx, from_json, all_pages, page_size, compartment_id, id, analysis_project_name, performance_tuning_analysis_result, limit, page, sort_order, sort_by):
|
|
343
|
+
|
|
344
|
+
if all_pages and limit:
|
|
345
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
346
|
+
|
|
347
|
+
kwargs = {}
|
|
348
|
+
if compartment_id is not None:
|
|
349
|
+
kwargs['compartment_id'] = compartment_id
|
|
350
|
+
if id is not None:
|
|
351
|
+
kwargs['id'] = id
|
|
352
|
+
if analysis_project_name is not None:
|
|
353
|
+
kwargs['analysis_project_name'] = analysis_project_name
|
|
354
|
+
if performance_tuning_analysis_result is not None:
|
|
355
|
+
kwargs['performance_tuning_analysis_result'] = performance_tuning_analysis_result
|
|
356
|
+
if limit is not None:
|
|
357
|
+
kwargs['limit'] = limit
|
|
358
|
+
if page is not None:
|
|
359
|
+
kwargs['page'] = page
|
|
360
|
+
if sort_order is not None:
|
|
361
|
+
kwargs['sort_order'] = sort_order
|
|
362
|
+
if sort_by is not None:
|
|
363
|
+
kwargs['sort_by'] = sort_by
|
|
364
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
365
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
366
|
+
if all_pages:
|
|
367
|
+
if page_size:
|
|
368
|
+
kwargs['limit'] = page_size
|
|
369
|
+
|
|
370
|
+
result = cli_util.list_call_get_all_results(
|
|
371
|
+
client.list_performance_tuning_analysis,
|
|
372
|
+
**kwargs
|
|
373
|
+
)
|
|
374
|
+
elif limit is not None:
|
|
375
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
376
|
+
client.list_performance_tuning_analysis,
|
|
377
|
+
limit,
|
|
378
|
+
page_size,
|
|
379
|
+
**kwargs
|
|
380
|
+
)
|
|
381
|
+
else:
|
|
382
|
+
result = client.list_performance_tuning_analysis(
|
|
383
|
+
**kwargs
|
|
384
|
+
)
|
|
385
|
+
cli_util.render_response(result, ctx)
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
@work_item_summary_group.command(name=cli_util.override('jms_utils.list_work_items.command_name', 'list-work-items'), help=u"""Retrieve a paginated list of work items for a specified work request. \n[Command Reference](listWorkItems)""")
|
|
389
|
+
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the asynchronous work request.""")
|
|
390
|
+
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.""")
|
|
391
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
392
|
+
@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.""")
|
|
393
|
+
@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.""")
|
|
394
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
395
|
+
@cli_util.help_option
|
|
396
|
+
@click.pass_context
|
|
397
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'WorkItemCollection'})
|
|
398
|
+
@cli_util.wrap_exceptions
|
|
399
|
+
def list_work_items(ctx, from_json, all_pages, page_size, work_request_id, page, limit):
|
|
400
|
+
|
|
401
|
+
if all_pages and limit:
|
|
402
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
403
|
+
|
|
404
|
+
if isinstance(work_request_id, six.string_types) and len(work_request_id.strip()) == 0:
|
|
405
|
+
raise click.UsageError('Parameter --work-request-id cannot be whitespace or empty string')
|
|
406
|
+
|
|
407
|
+
kwargs = {}
|
|
408
|
+
if page is not None:
|
|
409
|
+
kwargs['page'] = page
|
|
410
|
+
if limit is not None:
|
|
411
|
+
kwargs['limit'] = limit
|
|
412
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
413
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
414
|
+
if all_pages:
|
|
415
|
+
if page_size:
|
|
416
|
+
kwargs['limit'] = page_size
|
|
417
|
+
|
|
418
|
+
result = cli_util.list_call_get_all_results(
|
|
419
|
+
client.list_work_items,
|
|
420
|
+
work_request_id=work_request_id,
|
|
421
|
+
**kwargs
|
|
422
|
+
)
|
|
423
|
+
elif limit is not None:
|
|
424
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
425
|
+
client.list_work_items,
|
|
426
|
+
limit,
|
|
427
|
+
page_size,
|
|
428
|
+
work_request_id=work_request_id,
|
|
429
|
+
**kwargs
|
|
430
|
+
)
|
|
431
|
+
else:
|
|
432
|
+
result = client.list_work_items(
|
|
433
|
+
work_request_id=work_request_id,
|
|
434
|
+
**kwargs
|
|
435
|
+
)
|
|
436
|
+
cli_util.render_response(result, ctx)
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
@work_request_error_group.command(name=cli_util.override('jms_utils.list_work_request_errors.command_name', 'list'), help=u"""Lists the errors for a work request. \n[Command Reference](listWorkRequestErrors)""")
|
|
440
|
+
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the asynchronous work request.""")
|
|
441
|
+
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.""")
|
|
442
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
443
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated"]), help=u"""The field to sort by. Only one sort order may be provided. Default order for `timeCreated` is descending.""")
|
|
444
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
445
|
+
@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.""")
|
|
446
|
+
@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.""")
|
|
447
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
448
|
+
@cli_util.help_option
|
|
449
|
+
@click.pass_context
|
|
450
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'WorkRequestErrorCollection'})
|
|
451
|
+
@cli_util.wrap_exceptions
|
|
452
|
+
def list_work_request_errors(ctx, from_json, all_pages, page_size, work_request_id, page, limit, sort_by, sort_order):
|
|
453
|
+
|
|
454
|
+
if all_pages and limit:
|
|
455
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
456
|
+
|
|
457
|
+
if isinstance(work_request_id, six.string_types) and len(work_request_id.strip()) == 0:
|
|
458
|
+
raise click.UsageError('Parameter --work-request-id cannot be whitespace or empty string')
|
|
459
|
+
|
|
460
|
+
kwargs = {}
|
|
461
|
+
if page is not None:
|
|
462
|
+
kwargs['page'] = page
|
|
463
|
+
if limit is not None:
|
|
464
|
+
kwargs['limit'] = limit
|
|
465
|
+
if sort_by is not None:
|
|
466
|
+
kwargs['sort_by'] = sort_by
|
|
467
|
+
if sort_order is not None:
|
|
468
|
+
kwargs['sort_order'] = sort_order
|
|
469
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
470
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
471
|
+
if all_pages:
|
|
472
|
+
if page_size:
|
|
473
|
+
kwargs['limit'] = page_size
|
|
474
|
+
|
|
475
|
+
result = cli_util.list_call_get_all_results(
|
|
476
|
+
client.list_work_request_errors,
|
|
477
|
+
work_request_id=work_request_id,
|
|
478
|
+
**kwargs
|
|
479
|
+
)
|
|
480
|
+
elif limit is not None:
|
|
481
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
482
|
+
client.list_work_request_errors,
|
|
483
|
+
limit,
|
|
484
|
+
page_size,
|
|
485
|
+
work_request_id=work_request_id,
|
|
486
|
+
**kwargs
|
|
487
|
+
)
|
|
488
|
+
else:
|
|
489
|
+
result = client.list_work_request_errors(
|
|
490
|
+
work_request_id=work_request_id,
|
|
491
|
+
**kwargs
|
|
492
|
+
)
|
|
493
|
+
cli_util.render_response(result, ctx)
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
@work_request_log_entry_group.command(name=cli_util.override('jms_utils.list_work_request_logs.command_name', 'list-work-request-logs'), help=u"""Lists the logs for a work request. \n[Command Reference](listWorkRequestLogs)""")
|
|
497
|
+
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the asynchronous work request.""")
|
|
498
|
+
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.""")
|
|
499
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
500
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated"]), help=u"""The field to sort by. Only one sort order may be provided. Default order for `timeCreated` is descending.""")
|
|
501
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
502
|
+
@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.""")
|
|
503
|
+
@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.""")
|
|
504
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
505
|
+
@cli_util.help_option
|
|
506
|
+
@click.pass_context
|
|
507
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'WorkRequestLogEntryCollection'})
|
|
508
|
+
@cli_util.wrap_exceptions
|
|
509
|
+
def list_work_request_logs(ctx, from_json, all_pages, page_size, work_request_id, page, limit, sort_by, sort_order):
|
|
510
|
+
|
|
511
|
+
if all_pages and limit:
|
|
512
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
513
|
+
|
|
514
|
+
if isinstance(work_request_id, six.string_types) and len(work_request_id.strip()) == 0:
|
|
515
|
+
raise click.UsageError('Parameter --work-request-id cannot be whitespace or empty string')
|
|
516
|
+
|
|
517
|
+
kwargs = {}
|
|
518
|
+
if page is not None:
|
|
519
|
+
kwargs['page'] = page
|
|
520
|
+
if limit is not None:
|
|
521
|
+
kwargs['limit'] = limit
|
|
522
|
+
if sort_by is not None:
|
|
523
|
+
kwargs['sort_by'] = sort_by
|
|
524
|
+
if sort_order is not None:
|
|
525
|
+
kwargs['sort_order'] = sort_order
|
|
526
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
527
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
528
|
+
if all_pages:
|
|
529
|
+
if page_size:
|
|
530
|
+
kwargs['limit'] = page_size
|
|
531
|
+
|
|
532
|
+
result = cli_util.list_call_get_all_results(
|
|
533
|
+
client.list_work_request_logs,
|
|
534
|
+
work_request_id=work_request_id,
|
|
535
|
+
**kwargs
|
|
536
|
+
)
|
|
537
|
+
elif limit is not None:
|
|
538
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
539
|
+
client.list_work_request_logs,
|
|
540
|
+
limit,
|
|
541
|
+
page_size,
|
|
542
|
+
work_request_id=work_request_id,
|
|
543
|
+
**kwargs
|
|
544
|
+
)
|
|
545
|
+
else:
|
|
546
|
+
result = client.list_work_request_logs(
|
|
547
|
+
work_request_id=work_request_id,
|
|
548
|
+
**kwargs
|
|
549
|
+
)
|
|
550
|
+
cli_util.render_response(result, ctx)
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
@work_request_group.command(name=cli_util.override('jms_utils.list_work_requests.command_name', 'list'), help=u"""Lists the work requests in a compartment. \n[Command Reference](listWorkRequests)""")
|
|
554
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
555
|
+
@cli_util.option('--work-request-id', help=u"""The [OCID] of the asynchronous work request.""")
|
|
556
|
+
@cli_util.option('--status', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELLING", "CANCELLED"]), help=u"""A filter to return only the resources that match the given lifecycle state.""")
|
|
557
|
+
@cli_util.option('--resource-id', help=u"""The [OCID] of the resource affected by the work request.""")
|
|
558
|
+
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call.""")
|
|
559
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
560
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
561
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeAccepted"]), help=u"""The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending.""")
|
|
562
|
+
@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.""")
|
|
563
|
+
@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.""")
|
|
564
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
565
|
+
@cli_util.help_option
|
|
566
|
+
@click.pass_context
|
|
567
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'WorkRequestSummaryCollection'})
|
|
568
|
+
@cli_util.wrap_exceptions
|
|
569
|
+
def list_work_requests(ctx, from_json, all_pages, page_size, compartment_id, work_request_id, status, resource_id, page, limit, sort_order, sort_by):
|
|
570
|
+
|
|
571
|
+
if all_pages and limit:
|
|
572
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
573
|
+
|
|
574
|
+
kwargs = {}
|
|
575
|
+
if compartment_id is not None:
|
|
576
|
+
kwargs['compartment_id'] = compartment_id
|
|
577
|
+
if work_request_id is not None:
|
|
578
|
+
kwargs['work_request_id'] = work_request_id
|
|
579
|
+
if status is not None:
|
|
580
|
+
kwargs['status'] = status
|
|
581
|
+
if resource_id is not None:
|
|
582
|
+
kwargs['resource_id'] = resource_id
|
|
583
|
+
if page is not None:
|
|
584
|
+
kwargs['page'] = page
|
|
585
|
+
if limit is not None:
|
|
586
|
+
kwargs['limit'] = limit
|
|
587
|
+
if sort_order is not None:
|
|
588
|
+
kwargs['sort_order'] = sort_order
|
|
589
|
+
if sort_by is not None:
|
|
590
|
+
kwargs['sort_by'] = sort_by
|
|
591
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
592
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
593
|
+
if all_pages:
|
|
594
|
+
if page_size:
|
|
595
|
+
kwargs['limit'] = page_size
|
|
596
|
+
|
|
597
|
+
result = cli_util.list_call_get_all_results(
|
|
598
|
+
client.list_work_requests,
|
|
599
|
+
**kwargs
|
|
600
|
+
)
|
|
601
|
+
elif limit is not None:
|
|
602
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
603
|
+
client.list_work_requests,
|
|
604
|
+
limit,
|
|
605
|
+
page_size,
|
|
606
|
+
**kwargs
|
|
607
|
+
)
|
|
608
|
+
else:
|
|
609
|
+
result = client.list_work_requests(
|
|
610
|
+
**kwargs
|
|
611
|
+
)
|
|
612
|
+
cli_util.render_response(result, ctx)
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
@java_migration_analysis_group.command(name=cli_util.override('jms_utils.request_java_migration_analysis.command_name', 'request'), help=u"""Requests Java Migration Analysis. \n[Command Reference](requestJavaMigrationAnalysis)""")
|
|
616
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment where the Java Migration Analysis will be created.""")
|
|
617
|
+
@cli_util.option('--targets', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of targets for the Java Migration Analysis.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
618
|
+
@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].
|
|
619
|
+
|
|
620
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
621
|
+
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
|
|
622
|
+
|
|
623
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
624
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELLING", "CANCELLED"]), 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.""")
|
|
625
|
+
@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.""")
|
|
626
|
+
@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.""")
|
|
627
|
+
@json_skeleton_utils.get_cli_json_input_option({'targets': {'module': 'jms_utils', 'class': 'list[JavaMigrationAnalysisTarget]'}, 'freeform-tags': {'module': 'jms_utils', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'jms_utils', 'class': 'dict(str, dict(str, object))'}})
|
|
628
|
+
@cli_util.help_option
|
|
629
|
+
@click.pass_context
|
|
630
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'targets': {'module': 'jms_utils', 'class': 'list[JavaMigrationAnalysisTarget]'}, 'freeform-tags': {'module': 'jms_utils', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'jms_utils', 'class': 'dict(str, dict(str, object))'}})
|
|
631
|
+
@cli_util.wrap_exceptions
|
|
632
|
+
def request_java_migration_analysis(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, targets, freeform_tags, defined_tags):
|
|
633
|
+
|
|
634
|
+
kwargs = {}
|
|
635
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
636
|
+
|
|
637
|
+
_details = {}
|
|
638
|
+
_details['compartmentId'] = compartment_id
|
|
639
|
+
_details['targets'] = cli_util.parse_json_parameter("targets", targets)
|
|
640
|
+
|
|
641
|
+
if freeform_tags is not None:
|
|
642
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
643
|
+
|
|
644
|
+
if defined_tags is not None:
|
|
645
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
646
|
+
|
|
647
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
648
|
+
result = client.request_java_migration_analysis(
|
|
649
|
+
request_java_migration_analysis_details=_details,
|
|
650
|
+
**kwargs
|
|
651
|
+
)
|
|
652
|
+
if wait_for_state:
|
|
653
|
+
|
|
654
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
655
|
+
try:
|
|
656
|
+
wait_period_kwargs = {}
|
|
657
|
+
if max_wait_seconds is not None:
|
|
658
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
659
|
+
if wait_interval_seconds is not None:
|
|
660
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
661
|
+
if 'opc-work-request-id' not in result.headers:
|
|
662
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
663
|
+
cli_util.render_response(result, ctx)
|
|
664
|
+
return
|
|
665
|
+
|
|
666
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
667
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
668
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
669
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
670
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
671
|
+
cli_util.render_response(result, ctx)
|
|
672
|
+
sys.exit(2)
|
|
673
|
+
except Exception:
|
|
674
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
675
|
+
cli_util.render_response(result, ctx)
|
|
676
|
+
raise
|
|
677
|
+
else:
|
|
678
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
679
|
+
cli_util.render_response(result, ctx)
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
@performance_tuning_analysis_group.command(name=cli_util.override('jms_utils.request_performance_tuning_analysis.command_name', 'request'), help=u"""Requests Performance Tuning Analysis. \n[Command Reference](requestPerformanceTuningAnalysis)""")
|
|
683
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment where the Performance Tuning Analysis will be created.""")
|
|
684
|
+
@cli_util.option('--targets', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of targets for the Performance Tuning Analysis.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
685
|
+
@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].
|
|
686
|
+
|
|
687
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
688
|
+
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
|
|
689
|
+
|
|
690
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
691
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELLING", "CANCELLED"]), 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.""")
|
|
692
|
+
@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.""")
|
|
693
|
+
@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.""")
|
|
694
|
+
@json_skeleton_utils.get_cli_json_input_option({'targets': {'module': 'jms_utils', 'class': 'list[PerformanceTuningAnalysisTarget]'}, 'freeform-tags': {'module': 'jms_utils', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'jms_utils', 'class': 'dict(str, dict(str, object))'}})
|
|
695
|
+
@cli_util.help_option
|
|
696
|
+
@click.pass_context
|
|
697
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'targets': {'module': 'jms_utils', 'class': 'list[PerformanceTuningAnalysisTarget]'}, 'freeform-tags': {'module': 'jms_utils', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'jms_utils', 'class': 'dict(str, dict(str, object))'}})
|
|
698
|
+
@cli_util.wrap_exceptions
|
|
699
|
+
def request_performance_tuning_analysis(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, targets, freeform_tags, defined_tags):
|
|
700
|
+
|
|
701
|
+
kwargs = {}
|
|
702
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
703
|
+
|
|
704
|
+
_details = {}
|
|
705
|
+
_details['compartmentId'] = compartment_id
|
|
706
|
+
_details['targets'] = cli_util.parse_json_parameter("targets", targets)
|
|
707
|
+
|
|
708
|
+
if freeform_tags is not None:
|
|
709
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
710
|
+
|
|
711
|
+
if defined_tags is not None:
|
|
712
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
713
|
+
|
|
714
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
715
|
+
result = client.request_performance_tuning_analysis(
|
|
716
|
+
request_performance_tuning_analysis_details=_details,
|
|
717
|
+
**kwargs
|
|
718
|
+
)
|
|
719
|
+
if wait_for_state:
|
|
720
|
+
|
|
721
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
722
|
+
try:
|
|
723
|
+
wait_period_kwargs = {}
|
|
724
|
+
if max_wait_seconds is not None:
|
|
725
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
726
|
+
if wait_interval_seconds is not None:
|
|
727
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
728
|
+
if 'opc-work-request-id' not in result.headers:
|
|
729
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
730
|
+
cli_util.render_response(result, ctx)
|
|
731
|
+
return
|
|
732
|
+
|
|
733
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
734
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
735
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
736
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
737
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
738
|
+
cli_util.render_response(result, ctx)
|
|
739
|
+
sys.exit(2)
|
|
740
|
+
except Exception:
|
|
741
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
742
|
+
cli_util.render_response(result, ctx)
|
|
743
|
+
raise
|
|
744
|
+
else:
|
|
745
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
746
|
+
cli_util.render_response(result, ctx)
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
@analyze_applications_configuration_group.command(name=cli_util.override('jms_utils.update_analyze_applications_configuration.command_name', 'update'), help=u"""Updates the configuration for analyze application. \n[Command Reference](updateAnalyzeApplicationsConfiguration)""")
|
|
750
|
+
@cli_util.option('--namespace-name', help=u"""The Object Storage namespace used for analyzing applications.""")
|
|
751
|
+
@cli_util.option('--bucket-name', help=u"""The name of the bucket used for analyzing applications.""")
|
|
752
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
753
|
+
@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.""")
|
|
754
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
755
|
+
@cli_util.help_option
|
|
756
|
+
@click.pass_context
|
|
757
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'AnalyzeApplicationsConfiguration'})
|
|
758
|
+
@cli_util.wrap_exceptions
|
|
759
|
+
def update_analyze_applications_configuration(ctx, from_json, namespace_name, bucket_name, compartment_id, if_match):
|
|
760
|
+
|
|
761
|
+
kwargs = {}
|
|
762
|
+
if compartment_id is not None:
|
|
763
|
+
kwargs['compartment_id'] = compartment_id
|
|
764
|
+
if if_match is not None:
|
|
765
|
+
kwargs['if_match'] = if_match
|
|
766
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
767
|
+
|
|
768
|
+
_details = {}
|
|
769
|
+
|
|
770
|
+
if namespace_name is not None:
|
|
771
|
+
_details['namespaceName'] = namespace_name
|
|
772
|
+
|
|
773
|
+
if bucket_name is not None:
|
|
774
|
+
_details['bucketName'] = bucket_name
|
|
775
|
+
|
|
776
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
777
|
+
result = client.update_analyze_applications_configuration(
|
|
778
|
+
update_analyze_applications_configuration_details=_details,
|
|
779
|
+
**kwargs
|
|
780
|
+
)
|
|
781
|
+
cli_util.render_response(result, ctx)
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
@subscription_acknowledgment_configuration_group.command(name=cli_util.override('jms_utils.update_subscription_acknowledgment_configuration.command_name', 'update'), help=u"""Updates the configuration for subscription acknowledgment. \n[Command Reference](updateSubscriptionAcknowledgmentConfiguration)""")
|
|
785
|
+
@cli_util.option('--is-acknowledged', type=click.BOOL, help=u"""Flag to determine whether the subscription was acknowledged or not.""")
|
|
786
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
787
|
+
@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.""")
|
|
788
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
789
|
+
@cli_util.help_option
|
|
790
|
+
@click.pass_context
|
|
791
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'jms_utils', 'class': 'SubscriptionAcknowledgmentConfiguration'})
|
|
792
|
+
@cli_util.wrap_exceptions
|
|
793
|
+
def update_subscription_acknowledgment_configuration(ctx, from_json, is_acknowledged, compartment_id, if_match):
|
|
794
|
+
|
|
795
|
+
kwargs = {}
|
|
796
|
+
if compartment_id is not None:
|
|
797
|
+
kwargs['compartment_id'] = compartment_id
|
|
798
|
+
if if_match is not None:
|
|
799
|
+
kwargs['if_match'] = if_match
|
|
800
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
801
|
+
|
|
802
|
+
_details = {}
|
|
803
|
+
|
|
804
|
+
if is_acknowledged is not None:
|
|
805
|
+
_details['isAcknowledged'] = is_acknowledged
|
|
806
|
+
|
|
807
|
+
client = cli_util.build_client('jms_utils', 'jms_utils', ctx)
|
|
808
|
+
result = client.update_subscription_acknowledgment_configuration(
|
|
809
|
+
update_subscription_acknowledgment_configuration_details=_details,
|
|
810
|
+
**kwargs
|
|
811
|
+
)
|
|
812
|
+
cli_util.render_response(result, ctx)
|