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,40 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
|
|
5
|
+
import click # noqa: F401
|
|
6
|
+
import json # noqa: F401
|
|
7
|
+
from services.fusion_apps.src.oci_cli_fusion_applications.generated import fusionapplications_cli
|
|
8
|
+
from oci_cli import cli_util # noqa: F401
|
|
9
|
+
from oci_cli import custom_types # noqa: F401
|
|
10
|
+
from oci_cli import json_skeleton_utils # noqa: F401
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@cli_util.copy_params_from_generated_command(fusionapplications_cli.create_fusion_environment, params_to_exclude=['is_i_pv6_dual_stack_enabled'])
|
|
14
|
+
@fusionapplications_cli.fusion_environment_group.command(name=fusionapplications_cli.create_fusion_environment.name, help=fusionapplications_cli.create_fusion_environment.help)
|
|
15
|
+
@cli_util.option('--ipv6-dual-stack-enabled', type=click.BOOL, help=u"""Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. Default value will be false if not set""")
|
|
16
|
+
@click.pass_context
|
|
17
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'maintenance-policy': {'module': 'fusion_apps', 'class': 'MaintenancePolicy'}, 'additional-language-packs': {'module': 'fusion_apps', 'class': 'list[string]'}, 'rules': {'module': 'fusion_apps', 'class': 'list[Rule]'}, 'create-fusion-environment-admin-user-details': {'module': 'fusion_apps', 'class': 'CreateFusionEnvironmentAdminUserDetails'}, 'freeform-tags': {'module': 'fusion_apps', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fusion_apps', 'class': 'dict(str, dict(str, object))'}})
|
|
18
|
+
@cli_util.wrap_exceptions
|
|
19
|
+
def create_fusion_environment_extended(ctx, **kwargs):
|
|
20
|
+
|
|
21
|
+
if 'ipv6_dual_stack_enabled' in kwargs:
|
|
22
|
+
kwargs['is_i_pv6_dual_stack_enabled'] = kwargs['ipv6_dual_stack_enabled']
|
|
23
|
+
kwargs.pop('ipv6_dual_stack_enabled')
|
|
24
|
+
|
|
25
|
+
ctx.invoke(fusionapplications_cli.create_fusion_environment, **kwargs)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@cli_util.copy_params_from_generated_command(fusionapplications_cli.update_fusion_environment, params_to_exclude=['is_i_pv6_dual_stack_enabled'])
|
|
29
|
+
@fusionapplications_cli.fusion_environment_group.command(name=fusionapplications_cli.update_fusion_environment.name, help=fusionapplications_cli.update_fusion_environment.help)
|
|
30
|
+
@cli_util.option('--ipv6-dual-stack-enabled', type=click.BOOL, help=u"""Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address.""")
|
|
31
|
+
@click.pass_context
|
|
32
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'maintenance-policy': {'module': 'fusion_apps', 'class': 'MaintenancePolicy'}, 'additional-language-packs': {'module': 'fusion_apps', 'class': 'list[string]'}, 'rules': {'module': 'fusion_apps', 'class': 'list[Rule]'}, 'freeform-tags': {'module': 'fusion_apps', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fusion_apps', 'class': 'dict(str, dict(str, object))'}})
|
|
33
|
+
@cli_util.wrap_exceptions
|
|
34
|
+
def update_fusion_environment_extended(ctx, **kwargs):
|
|
35
|
+
|
|
36
|
+
if 'ipv6_dual_stack_enabled' in kwargs:
|
|
37
|
+
kwargs['is_i_pv6_dual_stack_enabled'] = kwargs['ipv6_dual_stack_enabled']
|
|
38
|
+
kwargs.pop('ipv6_dual_stack_enabled')
|
|
39
|
+
|
|
40
|
+
ctx.invoke(fusionapplications_cli.update_fusion_environment, **kwargs)
|
|
@@ -314,6 +314,7 @@ def create_data_masking_activity(ctx, from_json, wait_for_state, max_wait_second
|
|
|
314
314
|
@cli_util.option('--kms-key-id', help=u"""byok kms keyId""")
|
|
315
315
|
@cli_util.option('--dns-prefix', help=u"""DNS prefix.""")
|
|
316
316
|
@cli_util.option('--additional-language-packs', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Language packs.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
317
|
+
@cli_util.option('--is-i-pv6-dual-stack-enabled', type=click.BOOL, help=u"""Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. Default value will be false if not set""")
|
|
317
318
|
@cli_util.option('--rules', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Rules.
|
|
318
319
|
|
|
319
320
|
This option is a JSON list with items of type Rule. For documentation on Rule please see our API reference: https://docs.cloud.oracle.com/api/#/en/fusionapplications/20211201/datatypes/Rule.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -327,7 +328,7 @@ This option is a JSON list with items of type Rule. For documentation on Rule p
|
|
|
327
328
|
@click.pass_context
|
|
328
329
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'maintenance-policy': {'module': 'fusion_apps', 'class': 'MaintenancePolicy'}, 'additional-language-packs': {'module': 'fusion_apps', 'class': 'list[string]'}, 'rules': {'module': 'fusion_apps', 'class': 'list[Rule]'}, 'create-fusion-environment-admin-user-details': {'module': 'fusion_apps', 'class': 'CreateFusionEnvironmentAdminUserDetails'}, 'freeform-tags': {'module': 'fusion_apps', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fusion_apps', 'class': 'dict(str, dict(str, object))'}})
|
|
329
330
|
@cli_util.wrap_exceptions
|
|
330
|
-
def create_fusion_environment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, fusion_environment_family_id, fusion_environment_type, create_fusion_environment_admin_user_details, maintenance_policy, kms_key_id, dns_prefix, additional_language_packs, rules, freeform_tags, defined_tags):
|
|
331
|
+
def create_fusion_environment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, fusion_environment_family_id, fusion_environment_type, create_fusion_environment_admin_user_details, maintenance_policy, kms_key_id, dns_prefix, additional_language_packs, is_i_pv6_dual_stack_enabled, rules, freeform_tags, defined_tags):
|
|
331
332
|
|
|
332
333
|
kwargs = {}
|
|
333
334
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -351,6 +352,9 @@ def create_fusion_environment(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
351
352
|
if additional_language_packs is not None:
|
|
352
353
|
_details['additionalLanguagePacks'] = cli_util.parse_json_parameter("additional_language_packs", additional_language_packs)
|
|
353
354
|
|
|
355
|
+
if is_i_pv6_dual_stack_enabled is not None:
|
|
356
|
+
_details['isIPv6DualStackEnabled'] = is_i_pv6_dual_stack_enabled
|
|
357
|
+
|
|
354
358
|
if rules is not None:
|
|
355
359
|
_details['rules'] = cli_util.parse_json_parameter("rules", rules)
|
|
356
360
|
|
|
@@ -1992,6 +1996,7 @@ def reset_fusion_environment_password(ctx, from_json, wait_for_state, max_wait_s
|
|
|
1992
1996
|
@cli_util.option('--kms-key-id', help=u"""byok kms keyId""")
|
|
1993
1997
|
@cli_util.option('--maintenance-policy', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1994
1998
|
@cli_util.option('--additional-language-packs', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Language packs""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1999
|
+
@cli_util.option('--is-i-pv6-dual-stack-enabled', type=click.BOOL, help=u"""Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address.""")
|
|
1995
2000
|
@cli_util.option('--rules', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Network access control rules to limit internet traffic that can access the environment. For more information, see [AllowRule Reference].
|
|
1996
2001
|
|
|
1997
2002
|
This option is a JSON list with items of type Rule. For documentation on Rule please see our API reference: https://docs.cloud.oracle.com/api/#/en/fusionapplications/20211201/datatypes/Rule.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -2007,7 +2012,7 @@ This option is a JSON list with items of type Rule. For documentation on Rule p
|
|
|
2007
2012
|
@click.pass_context
|
|
2008
2013
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'maintenance-policy': {'module': 'fusion_apps', 'class': 'MaintenancePolicy'}, 'additional-language-packs': {'module': 'fusion_apps', 'class': 'list[string]'}, 'rules': {'module': 'fusion_apps', 'class': 'list[Rule]'}, 'freeform-tags': {'module': 'fusion_apps', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fusion_apps', 'class': 'dict(str, dict(str, object))'}})
|
|
2009
2014
|
@cli_util.wrap_exceptions
|
|
2010
|
-
def update_fusion_environment(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fusion_environment_id, display_name, kms_key_id, maintenance_policy, additional_language_packs, rules, freeform_tags, defined_tags, if_match):
|
|
2015
|
+
def update_fusion_environment(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fusion_environment_id, display_name, kms_key_id, maintenance_policy, additional_language_packs, is_i_pv6_dual_stack_enabled, rules, freeform_tags, defined_tags, if_match):
|
|
2011
2016
|
|
|
2012
2017
|
if isinstance(fusion_environment_id, six.string_types) and len(fusion_environment_id.strip()) == 0:
|
|
2013
2018
|
raise click.UsageError('Parameter --fusion-environment-id cannot be whitespace or empty string')
|
|
@@ -2035,6 +2040,9 @@ def update_fusion_environment(ctx, from_json, force, wait_for_state, max_wait_se
|
|
|
2035
2040
|
if additional_language_packs is not None:
|
|
2036
2041
|
_details['additionalLanguagePacks'] = cli_util.parse_json_parameter("additional_language_packs", additional_language_packs)
|
|
2037
2042
|
|
|
2043
|
+
if is_i_pv6_dual_stack_enabled is not None:
|
|
2044
|
+
_details['isIPv6DualStackEnabled'] = is_i_pv6_dual_stack_enabled
|
|
2045
|
+
|
|
2038
2046
|
if rules is not None:
|
|
2039
2047
|
_details['rules'] = cli_util.parse_json_parameter("rules", rules)
|
|
2040
2048
|
|
|
@@ -84,12 +84,24 @@ def work_request_group():
|
|
|
84
84
|
pass
|
|
85
85
|
|
|
86
86
|
|
|
87
|
+
@click.command(cli_util.override('generative_ai.generative_ai_private_endpoint_collection_group.command_name', 'generative-ai-private-endpoint-collection'), cls=CommandGroupWithAlias, help="""Collection of GenerativeAiPrivateEndpointSummary""")
|
|
88
|
+
@cli_util.help_option_group
|
|
89
|
+
def generative_ai_private_endpoint_collection_group():
|
|
90
|
+
pass
|
|
91
|
+
|
|
92
|
+
|
|
87
93
|
@click.command(cli_util.override('generative_ai.model_collection_group.command_name', 'model-collection'), cls=CommandGroupWithAlias, help="""Results of a model search. Contains ModelSummary items and other information such as metadata.""")
|
|
88
94
|
@cli_util.help_option_group
|
|
89
95
|
def model_collection_group():
|
|
90
96
|
pass
|
|
91
97
|
|
|
92
98
|
|
|
99
|
+
@click.command(cli_util.override('generative_ai.generative_ai_private_endpoint_group.command_name', 'generative-ai-private-endpoint'), cls=CommandGroupWithAlias, help="""Generative AI private endpoint.""")
|
|
100
|
+
@cli_util.help_option_group
|
|
101
|
+
def generative_ai_private_endpoint_group():
|
|
102
|
+
pass
|
|
103
|
+
|
|
104
|
+
|
|
93
105
|
generative_ai_root_group.add_command(endpoint_group)
|
|
94
106
|
generative_ai_root_group.add_command(endpoint_collection_group)
|
|
95
107
|
generative_ai_root_group.add_command(work_request_error_group)
|
|
@@ -98,7 +110,9 @@ generative_ai_root_group.add_command(work_request_log_entry_group)
|
|
|
98
110
|
generative_ai_root_group.add_command(dedicated_ai_cluster_collection_group)
|
|
99
111
|
generative_ai_root_group.add_command(dedicated_ai_cluster_group)
|
|
100
112
|
generative_ai_root_group.add_command(work_request_group)
|
|
113
|
+
generative_ai_root_group.add_command(generative_ai_private_endpoint_collection_group)
|
|
101
114
|
generative_ai_root_group.add_command(model_collection_group)
|
|
115
|
+
generative_ai_root_group.add_command(generative_ai_private_endpoint_group)
|
|
102
116
|
|
|
103
117
|
|
|
104
118
|
@dedicated_ai_cluster_group.command(name=cli_util.override('generative_ai.change_dedicated_ai_cluster_compartment.command_name', 'change-compartment'), help=u"""Moves a dedicated AI cluster into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment]. \n[Command Reference](changeDedicatedAiClusterCompartment)""")
|
|
@@ -163,6 +177,67 @@ def change_endpoint_compartment(ctx, from_json, endpoint_id, compartment_id, if_
|
|
|
163
177
|
cli_util.render_response(result, ctx)
|
|
164
178
|
|
|
165
179
|
|
|
180
|
+
@generative_ai_private_endpoint_group.command(name=cli_util.override('generative_ai.change_generative_ai_private_endpoint_compartment.command_name', 'change-compartment'), help=u"""Moves a Generative AI private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource. \n[Command Reference](changeGenerativeAiPrivateEndpointCompartment)""")
|
|
181
|
+
@cli_util.option('--generative-ai-private-endpoint-id', required=True, help=u"""The unique id for a Generative AI private endpoint.""")
|
|
182
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the target compartment where the private endpoint is moved.""")
|
|
183
|
+
@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.""")
|
|
184
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "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.""")
|
|
185
|
+
@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.""")
|
|
186
|
+
@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.""")
|
|
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={})
|
|
191
|
+
@cli_util.wrap_exceptions
|
|
192
|
+
def change_generative_ai_private_endpoint_compartment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, generative_ai_private_endpoint_id, compartment_id, if_match):
|
|
193
|
+
|
|
194
|
+
if isinstance(generative_ai_private_endpoint_id, six.string_types) and len(generative_ai_private_endpoint_id.strip()) == 0:
|
|
195
|
+
raise click.UsageError('Parameter --generative-ai-private-endpoint-id cannot be whitespace or empty string')
|
|
196
|
+
|
|
197
|
+
kwargs = {}
|
|
198
|
+
if if_match is not None:
|
|
199
|
+
kwargs['if_match'] = if_match
|
|
200
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
201
|
+
|
|
202
|
+
_details = {}
|
|
203
|
+
_details['compartmentId'] = compartment_id
|
|
204
|
+
|
|
205
|
+
client = cli_util.build_client('generative_ai', 'generative_ai', ctx)
|
|
206
|
+
result = client.change_generative_ai_private_endpoint_compartment(
|
|
207
|
+
generative_ai_private_endpoint_id=generative_ai_private_endpoint_id,
|
|
208
|
+
change_generative_ai_private_endpoint_compartment_details=_details,
|
|
209
|
+
**kwargs
|
|
210
|
+
)
|
|
211
|
+
if wait_for_state:
|
|
212
|
+
|
|
213
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
214
|
+
try:
|
|
215
|
+
wait_period_kwargs = {}
|
|
216
|
+
if max_wait_seconds is not None:
|
|
217
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
218
|
+
if wait_interval_seconds is not None:
|
|
219
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
220
|
+
if 'opc-work-request-id' not in result.headers:
|
|
221
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
222
|
+
cli_util.render_response(result, ctx)
|
|
223
|
+
return
|
|
224
|
+
|
|
225
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
226
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
227
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
228
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
229
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
230
|
+
cli_util.render_response(result, ctx)
|
|
231
|
+
sys.exit(2)
|
|
232
|
+
except Exception:
|
|
233
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
234
|
+
cli_util.render_response(result, ctx)
|
|
235
|
+
raise
|
|
236
|
+
else:
|
|
237
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
238
|
+
cli_util.render_response(result, ctx)
|
|
239
|
+
|
|
240
|
+
|
|
166
241
|
@model_group.command(name=cli_util.override('generative_ai.change_model_compartment.command_name', 'change-compartment'), help=u"""Moves a custom model into a different compartment. For information about moving resources between compartments, see [Moving Resources to a Different Compartment]. \n[Command Reference](changeModelCompartment)""")
|
|
167
242
|
@cli_util.option('--model-id', required=True, help=u"""The model OCID""")
|
|
168
243
|
@cli_util.option('--compartment-id', required=True, help=u"""The compartment OCID to create the model in.""")
|
|
@@ -285,6 +360,7 @@ The header contains an opc-work-request-id, which is the id for the WorkRequest
|
|
|
285
360
|
@cli_util.option('--dedicated-ai-cluster-id', required=True, help=u"""The OCID of the dedicated AI cluster on which a model will be deployed to.""")
|
|
286
361
|
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable.""")
|
|
287
362
|
@cli_util.option('--description', help=u"""An optional description of the endpoint.""")
|
|
363
|
+
@cli_util.option('--generative-ai-private-endpoint-id', help=u"""The OCID of the Generative AI private endpoint to which this endpoint is attached to.""")
|
|
288
364
|
@cli_util.option('--content-moderation-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
289
365
|
@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].
|
|
290
366
|
|
|
@@ -300,7 +376,7 @@ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_comp
|
|
|
300
376
|
@click.pass_context
|
|
301
377
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'content-moderation-config': {'module': 'generative_ai', 'class': 'ContentModerationConfig'}, 'freeform-tags': {'module': 'generative_ai', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'generative_ai', 'class': 'Endpoint'})
|
|
302
378
|
@cli_util.wrap_exceptions
|
|
303
|
-
def create_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, model_id, dedicated_ai_cluster_id, display_name, description, content_moderation_config, freeform_tags, defined_tags):
|
|
379
|
+
def create_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, model_id, dedicated_ai_cluster_id, display_name, description, generative_ai_private_endpoint_id, content_moderation_config, freeform_tags, defined_tags):
|
|
304
380
|
|
|
305
381
|
kwargs = {}
|
|
306
382
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -316,6 +392,9 @@ def create_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
|
|
|
316
392
|
if description is not None:
|
|
317
393
|
_details['description'] = description
|
|
318
394
|
|
|
395
|
+
if generative_ai_private_endpoint_id is not None:
|
|
396
|
+
_details['generativeAiPrivateEndpointId'] = generative_ai_private_endpoint_id
|
|
397
|
+
|
|
319
398
|
if content_moderation_config is not None:
|
|
320
399
|
_details['contentModerationConfig'] = cli_util.parse_json_parameter("content_moderation_config", content_moderation_config)
|
|
321
400
|
|
|
@@ -360,6 +439,87 @@ def create_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
|
|
|
360
439
|
cli_util.render_response(result, ctx)
|
|
361
440
|
|
|
362
441
|
|
|
442
|
+
@generative_ai_private_endpoint_group.command(name=cli_util.override('generative_ai.create_generative_ai_private_endpoint.command_name', 'create'), help=u"""Creates a Generative AI private endpoint. \n[Command Reference](createGenerativeAiPrivateEndpoint)""")
|
|
443
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the compartment where the private endpoint is created.""")
|
|
444
|
+
@cli_util.option('--subnet-id', required=True, help=u"""The OCID of the customer's subnet where the private endpoint VNIC will reside.""")
|
|
445
|
+
@cli_util.option('--dns-prefix', required=True, help=u"""dnsPrefix of the private endpoint FQDN.""")
|
|
446
|
+
@cli_util.option('--description', help=u"""A description of this private endpoint.""")
|
|
447
|
+
@cli_util.option('--display-name', help=u"""A user friendly name. It doesn't have to be unique. Avoid entering confidential information.""")
|
|
448
|
+
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of the OCIDs of the network security groups (NSGs) to add the private endpoint's VNIC to.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
449
|
+
@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].
|
|
450
|
+
|
|
451
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
452
|
+
@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].
|
|
453
|
+
|
|
454
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
455
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "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.""")
|
|
456
|
+
@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.""")
|
|
457
|
+
@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.""")
|
|
458
|
+
@json_skeleton_utils.get_cli_json_input_option({'nsg-ids': {'module': 'generative_ai', 'class': 'list[string]'}, 'freeform-tags': {'module': 'generative_ai', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai', 'class': 'dict(str, dict(str, object))'}})
|
|
459
|
+
@cli_util.help_option
|
|
460
|
+
@click.pass_context
|
|
461
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'nsg-ids': {'module': 'generative_ai', 'class': 'list[string]'}, 'freeform-tags': {'module': 'generative_ai', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'generative_ai', 'class': 'GenerativeAiPrivateEndpoint'})
|
|
462
|
+
@cli_util.wrap_exceptions
|
|
463
|
+
def create_generative_ai_private_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, subnet_id, dns_prefix, description, display_name, nsg_ids, freeform_tags, defined_tags):
|
|
464
|
+
|
|
465
|
+
kwargs = {}
|
|
466
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
467
|
+
|
|
468
|
+
_details = {}
|
|
469
|
+
_details['compartmentId'] = compartment_id
|
|
470
|
+
_details['subnetId'] = subnet_id
|
|
471
|
+
_details['dnsPrefix'] = dns_prefix
|
|
472
|
+
|
|
473
|
+
if description is not None:
|
|
474
|
+
_details['description'] = description
|
|
475
|
+
|
|
476
|
+
if display_name is not None:
|
|
477
|
+
_details['displayName'] = display_name
|
|
478
|
+
|
|
479
|
+
if nsg_ids is not None:
|
|
480
|
+
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
|
|
481
|
+
|
|
482
|
+
if freeform_tags is not None:
|
|
483
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
484
|
+
|
|
485
|
+
if defined_tags is not None:
|
|
486
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
487
|
+
|
|
488
|
+
client = cli_util.build_client('generative_ai', 'generative_ai', ctx)
|
|
489
|
+
result = client.create_generative_ai_private_endpoint(
|
|
490
|
+
create_generative_ai_private_endpoint_details=_details,
|
|
491
|
+
**kwargs
|
|
492
|
+
)
|
|
493
|
+
if wait_for_state:
|
|
494
|
+
|
|
495
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
496
|
+
try:
|
|
497
|
+
wait_period_kwargs = {}
|
|
498
|
+
if max_wait_seconds is not None:
|
|
499
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
500
|
+
if wait_interval_seconds is not None:
|
|
501
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
502
|
+
if 'opc-work-request-id' not in result.headers:
|
|
503
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
504
|
+
cli_util.render_response(result, ctx)
|
|
505
|
+
return
|
|
506
|
+
|
|
507
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
508
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
509
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
510
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
511
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
512
|
+
cli_util.render_response(result, ctx)
|
|
513
|
+
sys.exit(2)
|
|
514
|
+
except Exception:
|
|
515
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
516
|
+
cli_util.render_response(result, ctx)
|
|
517
|
+
raise
|
|
518
|
+
else:
|
|
519
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
520
|
+
cli_util.render_response(result, ctx)
|
|
521
|
+
|
|
522
|
+
|
|
363
523
|
@model_group.command(name=cli_util.override('generative_ai.create_model.command_name', 'create'), help=u"""Creates a custom model by fine-tuning a base model with your own dataset. You can create a new custom models or create a new version of existing custom model..
|
|
364
524
|
|
|
365
525
|
The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the model creation progress. \n[Command Reference](createModel)""")
|
|
@@ -561,6 +721,62 @@ def delete_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
|
|
|
561
721
|
cli_util.render_response(result, ctx)
|
|
562
722
|
|
|
563
723
|
|
|
724
|
+
@generative_ai_private_endpoint_group.command(name=cli_util.override('generative_ai.delete_generative_ai_private_endpoint.command_name', 'delete'), help=u"""Deletes a Generative AI private endpoint using `privateEndpointId`. \n[Command Reference](deleteGenerativeAiPrivateEndpoint)""")
|
|
725
|
+
@cli_util.option('--generative-ai-private-endpoint-id', required=True, help=u"""The unique id for a Generative AI private endpoint.""")
|
|
726
|
+
@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.""")
|
|
727
|
+
@cli_util.confirm_delete_option
|
|
728
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "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.""")
|
|
729
|
+
@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.""")
|
|
730
|
+
@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.""")
|
|
731
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
732
|
+
@cli_util.help_option
|
|
733
|
+
@click.pass_context
|
|
734
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
735
|
+
@cli_util.wrap_exceptions
|
|
736
|
+
def delete_generative_ai_private_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, generative_ai_private_endpoint_id, if_match):
|
|
737
|
+
|
|
738
|
+
if isinstance(generative_ai_private_endpoint_id, six.string_types) and len(generative_ai_private_endpoint_id.strip()) == 0:
|
|
739
|
+
raise click.UsageError('Parameter --generative-ai-private-endpoint-id cannot be whitespace or empty string')
|
|
740
|
+
|
|
741
|
+
kwargs = {}
|
|
742
|
+
if if_match is not None:
|
|
743
|
+
kwargs['if_match'] = if_match
|
|
744
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
745
|
+
client = cli_util.build_client('generative_ai', 'generative_ai', ctx)
|
|
746
|
+
result = client.delete_generative_ai_private_endpoint(
|
|
747
|
+
generative_ai_private_endpoint_id=generative_ai_private_endpoint_id,
|
|
748
|
+
**kwargs
|
|
749
|
+
)
|
|
750
|
+
if wait_for_state:
|
|
751
|
+
|
|
752
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
753
|
+
try:
|
|
754
|
+
wait_period_kwargs = {}
|
|
755
|
+
if max_wait_seconds is not None:
|
|
756
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
757
|
+
if wait_interval_seconds is not None:
|
|
758
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
759
|
+
if 'opc-work-request-id' not in result.headers:
|
|
760
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
761
|
+
cli_util.render_response(result, ctx)
|
|
762
|
+
return
|
|
763
|
+
|
|
764
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
765
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
766
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
767
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
768
|
+
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)
|
|
769
|
+
cli_util.render_response(result, ctx)
|
|
770
|
+
sys.exit(2)
|
|
771
|
+
except Exception:
|
|
772
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
773
|
+
cli_util.render_response(result, ctx)
|
|
774
|
+
raise
|
|
775
|
+
else:
|
|
776
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
777
|
+
cli_util.render_response(result, ctx)
|
|
778
|
+
|
|
779
|
+
|
|
564
780
|
@model_group.command(name=cli_util.override('generative_ai.delete_model.command_name', 'delete'), help=u"""Deletes a custom model. A model shouldn't be deleted if there's one or more active endpoints associated with that model. \n[Command Reference](deleteModel)""")
|
|
565
781
|
@cli_util.option('--model-id', required=True, help=u"""The model OCID""")
|
|
566
782
|
@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.""")
|
|
@@ -661,6 +877,28 @@ def get_endpoint(ctx, from_json, endpoint_id):
|
|
|
661
877
|
cli_util.render_response(result, ctx)
|
|
662
878
|
|
|
663
879
|
|
|
880
|
+
@generative_ai_private_endpoint_group.command(name=cli_util.override('generative_ai.get_generative_ai_private_endpoint.command_name', 'get'), help=u"""Retrieves an Generative AI private endpoint using a `privateEndpointId`. \n[Command Reference](getGenerativeAiPrivateEndpoint)""")
|
|
881
|
+
@cli_util.option('--generative-ai-private-endpoint-id', required=True, help=u"""The unique id for a Generative AI private endpoint.""")
|
|
882
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
883
|
+
@cli_util.help_option
|
|
884
|
+
@click.pass_context
|
|
885
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'generative_ai', 'class': 'GenerativeAiPrivateEndpoint'})
|
|
886
|
+
@cli_util.wrap_exceptions
|
|
887
|
+
def get_generative_ai_private_endpoint(ctx, from_json, generative_ai_private_endpoint_id):
|
|
888
|
+
|
|
889
|
+
if isinstance(generative_ai_private_endpoint_id, six.string_types) and len(generative_ai_private_endpoint_id.strip()) == 0:
|
|
890
|
+
raise click.UsageError('Parameter --generative-ai-private-endpoint-id cannot be whitespace or empty string')
|
|
891
|
+
|
|
892
|
+
kwargs = {}
|
|
893
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
894
|
+
client = cli_util.build_client('generative_ai', 'generative_ai', ctx)
|
|
895
|
+
result = client.get_generative_ai_private_endpoint(
|
|
896
|
+
generative_ai_private_endpoint_id=generative_ai_private_endpoint_id,
|
|
897
|
+
**kwargs
|
|
898
|
+
)
|
|
899
|
+
cli_util.render_response(result, ctx)
|
|
900
|
+
|
|
901
|
+
|
|
664
902
|
@model_group.command(name=cli_util.override('generative_ai.get_model.command_name', 'get'), help=u"""Gets information about a custom model. \n[Command Reference](getModel)""")
|
|
665
903
|
@cli_util.option('--model-id', required=True, help=u"""The model OCID""")
|
|
666
904
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -834,6 +1072,69 @@ def list_endpoints(ctx, from_json, all_pages, page_size, compartment_id, lifecyc
|
|
|
834
1072
|
cli_util.render_response(result, ctx)
|
|
835
1073
|
|
|
836
1074
|
|
|
1075
|
+
@generative_ai_private_endpoint_collection_group.command(name=cli_util.override('generative_ai.list_generative_ai_private_endpoints.command_name', 'list-generative-ai-private-endpoints'), help=u"""Lists all Generative AI private endpoints in the specified compartment. \n[Command Reference](listGenerativeAiPrivateEndpoints)""")
|
|
1076
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
1077
|
+
@cli_util.option('--id', help=u"""The [OCID] of the private endpoint.""")
|
|
1078
|
+
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]), help=u"""The lifecycle state of Generative AI private endpoints.""")
|
|
1079
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated"]), help=u"""The field used to sort the results. Multiple fields aren't supported.""")
|
|
1080
|
+
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly.""")
|
|
1081
|
+
@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].""")
|
|
1082
|
+
@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].""")
|
|
1083
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
1084
|
+
@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.""")
|
|
1085
|
+
@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.""")
|
|
1086
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
1087
|
+
@cli_util.help_option
|
|
1088
|
+
@click.pass_context
|
|
1089
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'generative_ai', 'class': 'GenerativeAiPrivateEndpointCollection'})
|
|
1090
|
+
@cli_util.wrap_exceptions
|
|
1091
|
+
def list_generative_ai_private_endpoints(ctx, from_json, all_pages, page_size, compartment_id, id, lifecycle_state, sort_by, display_name, limit, page, sort_order):
|
|
1092
|
+
|
|
1093
|
+
if all_pages and limit:
|
|
1094
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
1095
|
+
|
|
1096
|
+
kwargs = {}
|
|
1097
|
+
if id is not None:
|
|
1098
|
+
kwargs['id'] = id
|
|
1099
|
+
if lifecycle_state is not None:
|
|
1100
|
+
kwargs['lifecycle_state'] = lifecycle_state
|
|
1101
|
+
if sort_by is not None:
|
|
1102
|
+
kwargs['sort_by'] = sort_by
|
|
1103
|
+
if display_name is not None:
|
|
1104
|
+
kwargs['display_name'] = display_name
|
|
1105
|
+
if limit is not None:
|
|
1106
|
+
kwargs['limit'] = limit
|
|
1107
|
+
if page is not None:
|
|
1108
|
+
kwargs['page'] = page
|
|
1109
|
+
if sort_order is not None:
|
|
1110
|
+
kwargs['sort_order'] = sort_order
|
|
1111
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1112
|
+
client = cli_util.build_client('generative_ai', 'generative_ai', ctx)
|
|
1113
|
+
if all_pages:
|
|
1114
|
+
if page_size:
|
|
1115
|
+
kwargs['limit'] = page_size
|
|
1116
|
+
|
|
1117
|
+
result = cli_util.list_call_get_all_results(
|
|
1118
|
+
client.list_generative_ai_private_endpoints,
|
|
1119
|
+
compartment_id=compartment_id,
|
|
1120
|
+
**kwargs
|
|
1121
|
+
)
|
|
1122
|
+
elif limit is not None:
|
|
1123
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
1124
|
+
client.list_generative_ai_private_endpoints,
|
|
1125
|
+
limit,
|
|
1126
|
+
page_size,
|
|
1127
|
+
compartment_id=compartment_id,
|
|
1128
|
+
**kwargs
|
|
1129
|
+
)
|
|
1130
|
+
else:
|
|
1131
|
+
result = client.list_generative_ai_private_endpoints(
|
|
1132
|
+
compartment_id=compartment_id,
|
|
1133
|
+
**kwargs
|
|
1134
|
+
)
|
|
1135
|
+
cli_util.render_response(result, ctx)
|
|
1136
|
+
|
|
1137
|
+
|
|
837
1138
|
@model_collection_group.command(name=cli_util.override('generative_ai.list_models.command_name', 'list-models'), help=u"""Lists the models in a specific compartment. Includes pretrained base models and fine-tuned custom models. \n[Command Reference](listModels)""")
|
|
838
1139
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
839
1140
|
@cli_util.option('--vendor', help=u"""A filter to return only resources that match the entire vendor given.""")
|
|
@@ -1172,6 +1473,7 @@ def update_dedicated_ai_cluster(ctx, from_json, force, wait_for_state, max_wait_
|
|
|
1172
1473
|
@cli_util.option('--endpoint-id', required=True, help=u"""The [OCID] of the endpoint.""")
|
|
1173
1474
|
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable.""")
|
|
1174
1475
|
@cli_util.option('--description', help=u"""An optional description of the endpoint.""")
|
|
1476
|
+
@cli_util.option('--generative-ai-private-endpoint-id', help=u"""The OCID of the Generative AI private endpoint to which this endpoint will be attached.""")
|
|
1175
1477
|
@cli_util.option('--content-moderation-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1176
1478
|
@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].
|
|
1177
1479
|
|
|
@@ -1189,7 +1491,7 @@ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_comp
|
|
|
1189
1491
|
@click.pass_context
|
|
1190
1492
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'content-moderation-config': {'module': 'generative_ai', 'class': 'ContentModerationConfig'}, 'freeform-tags': {'module': 'generative_ai', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'generative_ai', 'class': 'Endpoint'})
|
|
1191
1493
|
@cli_util.wrap_exceptions
|
|
1192
|
-
def update_endpoint(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, endpoint_id, display_name, description, content_moderation_config, freeform_tags, defined_tags, if_match):
|
|
1494
|
+
def update_endpoint(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, endpoint_id, display_name, description, generative_ai_private_endpoint_id, content_moderation_config, freeform_tags, defined_tags, if_match):
|
|
1193
1495
|
|
|
1194
1496
|
if isinstance(endpoint_id, six.string_types) and len(endpoint_id.strip()) == 0:
|
|
1195
1497
|
raise click.UsageError('Parameter --endpoint-id cannot be whitespace or empty string')
|
|
@@ -1211,6 +1513,9 @@ def update_endpoint(ctx, from_json, force, wait_for_state, max_wait_seconds, wai
|
|
|
1211
1513
|
if description is not None:
|
|
1212
1514
|
_details['description'] = description
|
|
1213
1515
|
|
|
1516
|
+
if generative_ai_private_endpoint_id is not None:
|
|
1517
|
+
_details['generativeAiPrivateEndpointId'] = generative_ai_private_endpoint_id
|
|
1518
|
+
|
|
1214
1519
|
if content_moderation_config is not None:
|
|
1215
1520
|
_details['contentModerationConfig'] = cli_util.parse_json_parameter("content_moderation_config", content_moderation_config)
|
|
1216
1521
|
|
|
@@ -1256,6 +1561,98 @@ def update_endpoint(ctx, from_json, force, wait_for_state, max_wait_seconds, wai
|
|
|
1256
1561
|
cli_util.render_response(result, ctx)
|
|
1257
1562
|
|
|
1258
1563
|
|
|
1564
|
+
@generative_ai_private_endpoint_group.command(name=cli_util.override('generative_ai.update_generative_ai_private_endpoint.command_name', 'update'), help=u"""Updates a Generative AI private endpoint using a `privateEndpointId`. \n[Command Reference](updateGenerativeAiPrivateEndpoint)""")
|
|
1565
|
+
@cli_util.option('--generative-ai-private-endpoint-id', required=True, help=u"""The unique id for a Generative AI private endpoint.""")
|
|
1566
|
+
@cli_util.option('--description', help=u"""A user friendly description. Avoid entering confidential information.""")
|
|
1567
|
+
@cli_util.option('--display-name', help=u"""A user friendly name. It doesn't have to be unique. Avoid entering confidential information.""")
|
|
1568
|
+
@cli_util.option('--dns-prefix', help=u"""dnsPrefix of the private endpoint FQDN.""")
|
|
1569
|
+
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of the OCIDs of the network security groups (NSGs) to add the private endpoint's VNIC to.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1570
|
+
@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].
|
|
1571
|
+
|
|
1572
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1573
|
+
@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].
|
|
1574
|
+
|
|
1575
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1576
|
+
@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.""")
|
|
1577
|
+
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
1578
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "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.""")
|
|
1579
|
+
@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.""")
|
|
1580
|
+
@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.""")
|
|
1581
|
+
@json_skeleton_utils.get_cli_json_input_option({'nsg-ids': {'module': 'generative_ai', 'class': 'list[string]'}, 'freeform-tags': {'module': 'generative_ai', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai', 'class': 'dict(str, dict(str, object))'}})
|
|
1582
|
+
@cli_util.help_option
|
|
1583
|
+
@click.pass_context
|
|
1584
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'nsg-ids': {'module': 'generative_ai', 'class': 'list[string]'}, 'freeform-tags': {'module': 'generative_ai', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'generative_ai', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'generative_ai', 'class': 'GenerativeAiPrivateEndpoint'})
|
|
1585
|
+
@cli_util.wrap_exceptions
|
|
1586
|
+
def update_generative_ai_private_endpoint(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, generative_ai_private_endpoint_id, description, display_name, dns_prefix, nsg_ids, freeform_tags, defined_tags, if_match):
|
|
1587
|
+
|
|
1588
|
+
if isinstance(generative_ai_private_endpoint_id, six.string_types) and len(generative_ai_private_endpoint_id.strip()) == 0:
|
|
1589
|
+
raise click.UsageError('Parameter --generative-ai-private-endpoint-id cannot be whitespace or empty string')
|
|
1590
|
+
if not force:
|
|
1591
|
+
if nsg_ids or freeform_tags or defined_tags:
|
|
1592
|
+
if not click.confirm("WARNING: Updates to nsg-ids and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
1593
|
+
ctx.abort()
|
|
1594
|
+
|
|
1595
|
+
kwargs = {}
|
|
1596
|
+
if if_match is not None:
|
|
1597
|
+
kwargs['if_match'] = if_match
|
|
1598
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1599
|
+
|
|
1600
|
+
_details = {}
|
|
1601
|
+
|
|
1602
|
+
if description is not None:
|
|
1603
|
+
_details['description'] = description
|
|
1604
|
+
|
|
1605
|
+
if display_name is not None:
|
|
1606
|
+
_details['displayName'] = display_name
|
|
1607
|
+
|
|
1608
|
+
if dns_prefix is not None:
|
|
1609
|
+
_details['dnsPrefix'] = dns_prefix
|
|
1610
|
+
|
|
1611
|
+
if nsg_ids is not None:
|
|
1612
|
+
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
|
|
1613
|
+
|
|
1614
|
+
if freeform_tags is not None:
|
|
1615
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
1616
|
+
|
|
1617
|
+
if defined_tags is not None:
|
|
1618
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
1619
|
+
|
|
1620
|
+
client = cli_util.build_client('generative_ai', 'generative_ai', ctx)
|
|
1621
|
+
result = client.update_generative_ai_private_endpoint(
|
|
1622
|
+
generative_ai_private_endpoint_id=generative_ai_private_endpoint_id,
|
|
1623
|
+
update_generative_ai_private_endpoint_details=_details,
|
|
1624
|
+
**kwargs
|
|
1625
|
+
)
|
|
1626
|
+
if wait_for_state:
|
|
1627
|
+
|
|
1628
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
1629
|
+
try:
|
|
1630
|
+
wait_period_kwargs = {}
|
|
1631
|
+
if max_wait_seconds is not None:
|
|
1632
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
1633
|
+
if wait_interval_seconds is not None:
|
|
1634
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
1635
|
+
if 'opc-work-request-id' not in result.headers:
|
|
1636
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
1637
|
+
cli_util.render_response(result, ctx)
|
|
1638
|
+
return
|
|
1639
|
+
|
|
1640
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
1641
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
1642
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
1643
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
1644
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1645
|
+
cli_util.render_response(result, ctx)
|
|
1646
|
+
sys.exit(2)
|
|
1647
|
+
except Exception:
|
|
1648
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1649
|
+
cli_util.render_response(result, ctx)
|
|
1650
|
+
raise
|
|
1651
|
+
else:
|
|
1652
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
1653
|
+
cli_util.render_response(result, ctx)
|
|
1654
|
+
|
|
1655
|
+
|
|
1259
1656
|
@model_group.command(name=cli_util.override('generative_ai.update_model.command_name', 'update'), help=u"""Updates the properties of a custom model such as name, description, version, freeform tags, and defined tags. \n[Command Reference](updateModel)""")
|
|
1260
1657
|
@cli_util.option('--model-id', required=True, help=u"""The model OCID""")
|
|
1261
1658
|
@cli_util.option('--display-name', help=u"""A user-friendly name.""")
|