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
|
@@ -102,6 +102,8 @@ def exadata_infrastructure_group():
|
|
|
102
102
|
|
|
103
103
|
@click.command(cli_util.override('db.db_system_shape_group.command_name', 'db-system-shape'), cls=CommandGroupWithAlias, help="""The shape of the DB system. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
|
|
104
104
|
|
|
105
|
+
For Exadata fixed and flexible shapes, detailed specifications can be found in https://docs.oracle.com/en/engineered-systems/exadata-cloud-service/ecscm/exa-service-desc.html#GUID-9E090174-5C57-4EB1-9243-B470F9F10D6B
|
|
106
|
+
|
|
105
107
|
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies].""")
|
|
106
108
|
@cli_util.help_option_group
|
|
107
109
|
def db_system_shape_group():
|
|
@@ -3960,6 +3962,63 @@ def configure_autonomous_database_vault_key(ctx, from_json, wait_for_state, max_
|
|
|
3960
3962
|
cli_util.render_response(result, ctx)
|
|
3961
3963
|
|
|
3962
3964
|
|
|
3965
|
+
@cloud_exadata_infrastructure_group.command(name=cli_util.override('db.configure_exascale_cloud_exadata_infrastructure.command_name', 'configure-exascale'), help=u"""Configures Exascale on Cloud exadata infrastructure resource. Applies to Exadata Cloud Service instances only. \n[Command Reference](configureExascaleCloudExadataInfrastructure)""")
|
|
3966
|
+
@cli_util.option('--cloud-exadata-infrastructure-id', required=True, help=u"""The cloud Exadata infrastructure [OCID].""")
|
|
3967
|
+
@cli_util.option('--total-storage-in-gbs', required=True, type=click.INT, help=u"""Storage size needed for Exascale in GBs.""")
|
|
3968
|
+
@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.""")
|
|
3969
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
3970
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
3971
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
3972
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
3973
|
+
@cli_util.help_option
|
|
3974
|
+
@click.pass_context
|
|
3975
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'CloudExadataInfrastructure'})
|
|
3976
|
+
@cli_util.wrap_exceptions
|
|
3977
|
+
def configure_exascale_cloud_exadata_infrastructure(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, cloud_exadata_infrastructure_id, total_storage_in_gbs, if_match):
|
|
3978
|
+
|
|
3979
|
+
if isinstance(cloud_exadata_infrastructure_id, six.string_types) and len(cloud_exadata_infrastructure_id.strip()) == 0:
|
|
3980
|
+
raise click.UsageError('Parameter --cloud-exadata-infrastructure-id cannot be whitespace or empty string')
|
|
3981
|
+
|
|
3982
|
+
kwargs = {}
|
|
3983
|
+
if if_match is not None:
|
|
3984
|
+
kwargs['if_match'] = if_match
|
|
3985
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
3986
|
+
|
|
3987
|
+
_details = {}
|
|
3988
|
+
_details['totalStorageInGBs'] = total_storage_in_gbs
|
|
3989
|
+
|
|
3990
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
3991
|
+
result = client.configure_exascale_cloud_exadata_infrastructure(
|
|
3992
|
+
cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id,
|
|
3993
|
+
configure_exascale_cloud_exadata_infrastructure_details=_details,
|
|
3994
|
+
**kwargs
|
|
3995
|
+
)
|
|
3996
|
+
if wait_for_state:
|
|
3997
|
+
|
|
3998
|
+
if hasattr(client, 'get_cloud_exadata_infrastructure') and callable(getattr(client, 'get_cloud_exadata_infrastructure')):
|
|
3999
|
+
try:
|
|
4000
|
+
wait_period_kwargs = {}
|
|
4001
|
+
if max_wait_seconds is not None:
|
|
4002
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
4003
|
+
if wait_interval_seconds is not None:
|
|
4004
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
4005
|
+
|
|
4006
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
4007
|
+
result = oci.wait_until(client, client.get_cloud_exadata_infrastructure(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
4008
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
4009
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
4010
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
4011
|
+
cli_util.render_response(result, ctx)
|
|
4012
|
+
sys.exit(2)
|
|
4013
|
+
except Exception:
|
|
4014
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
4015
|
+
cli_util.render_response(result, ctx)
|
|
4016
|
+
raise
|
|
4017
|
+
else:
|
|
4018
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
4019
|
+
cli_util.render_response(result, ctx)
|
|
4020
|
+
|
|
4021
|
+
|
|
3963
4022
|
@exadata_infrastructure_group.command(name=cli_util.override('db.configure_exascale_exadata_infrastructure.command_name', 'configure-exascale'), help=u"""Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. \n[Command Reference](configureExascaleExadataInfrastructure)""")
|
|
3964
4023
|
@cli_util.option('--exadata-infrastructure-id', required=True, help=u"""The Exadata infrastructure [OCID].""")
|
|
3965
4024
|
@cli_util.option('--total-storage-in-gbs', required=True, type=click.INT, help=u"""Storage size needed for Exascale in GBs.""")
|
|
@@ -9916,6 +9975,341 @@ def create_autonomous_database_oci_key_details(ctx, from_json, wait_for_state, m
|
|
|
9916
9975
|
cli_util.render_response(result, ctx)
|
|
9917
9976
|
|
|
9918
9977
|
|
|
9978
|
+
@autonomous_database_group.command(name=cli_util.override('db.create_autonomous_database_gcp_key_details.command_name', 'create-autonomous-database-gcp-key-details'), help=u"""Creates a new Autonomous Database. \n[Command Reference](createAutonomousDatabase)""")
|
|
9979
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment of the Autonomous Database.""")
|
|
9980
|
+
@cli_util.option('--encryption-key-key-name', required=True, help=u"""GCP key name""")
|
|
9981
|
+
@cli_util.option('--encryption-key-project', required=True, help=u"""GCP project name""")
|
|
9982
|
+
@cli_util.option('--encryption-key-location', required=True, help=u"""GCP key ring location""")
|
|
9983
|
+
@cli_util.option('--encryption-key-key-ring', required=True, help=u"""GCP key ring""")
|
|
9984
|
+
@cli_util.option('--subscription-id', help=u"""The [OCID] of the subscription with which resource needs to be associated with.""")
|
|
9985
|
+
@cli_util.option('--character-set', help=u"""The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database Serverless instance as as returned by [List Autonomous Database Character Sets]
|
|
9986
|
+
|
|
9987
|
+
For an Autonomous Database on dedicated infrastructure, the allowed values are:
|
|
9988
|
+
|
|
9989
|
+
AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS""")
|
|
9990
|
+
@cli_util.option('--ncharacter-set', help=u"""The character set for the Autonomous Database. The default is AL32UTF8. Use [List Autonomous Database Character Sets] to list the allowed values for an Autonomous Database Serverless instance. For an Autonomous Database on dedicated Exadata infrastructure, the allowed values are: AL16UTF16 or UTF8.""")
|
|
9991
|
+
@cli_util.option('--db-name', help=u"""The database name. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy. It is required in all cases except when creating a cross-region Autonomous Data Guard standby instance or a cross-region disaster recovery standby instance.""")
|
|
9992
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes] for shape details.
|
|
9993
|
+
|
|
9994
|
+
**Note:** This parameter cannot be used with the `ocpuCount` parameter.""")
|
|
9995
|
+
@cli_util.option('--backup-retention-period-in-days', type=click.INT, help=u"""Retention period, in days, for long-term backups""")
|
|
9996
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model of the Autonomous Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.""")
|
|
9997
|
+
@cli_util.option('--compute-count', type=click.FLOAT, help=u"""The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU.""")
|
|
9998
|
+
@cli_util.option('--ocpu-count', type=click.FLOAT, help=u"""The number of OCPU cores to be made available to the database.
|
|
9999
|
+
|
|
10000
|
+
The following points apply: - For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.) - To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. - For Autonomous Database Serverless instances, this parameter is not used.
|
|
10001
|
+
|
|
10002
|
+
For Autonomous Databases on Dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes] for shape details.
|
|
10003
|
+
|
|
10004
|
+
**Note:** This parameter cannot be used with the `cpuCoreCount` parameter.""")
|
|
10005
|
+
@cli_util.option('--db-workload', type=custom_types.CliCaseInsensitiveChoice(["OLTP", "DW", "AJD", "APEX"]), help=u"""The Autonomous Database workload type. The following values are valid:
|
|
10006
|
+
|
|
10007
|
+
- OLTP - indicates an Autonomous Transaction Processing database - DW - indicates an Autonomous Data Warehouse database - AJD - indicates an Autonomous JSON Database - APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
|
|
10008
|
+
|
|
10009
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""")
|
|
10010
|
+
@cli_util.option('--data-storage-size-in-tbs', type=click.INT, help=u"""The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes] for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
|
|
10011
|
+
|
|
10012
|
+
**Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.""")
|
|
10013
|
+
@cli_util.option('--data-storage-size-in-gbs', type=click.INT, help=u"""The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes] for shape details.
|
|
10014
|
+
|
|
10015
|
+
**Notes** - This parameter is only supported for dedicated Exadata infrastructure. - This parameter cannot be used with the `dataStorageSizeInTBs` parameter.""")
|
|
10016
|
+
@cli_util.option('--is-free-tier', type=click.BOOL, help=u"""Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled.
|
|
10017
|
+
|
|
10018
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isLocalDataGuardEnabled""")
|
|
10019
|
+
@cli_util.option('--kms-key-id', help=u"""The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.""")
|
|
10020
|
+
@cli_util.option('--vault-id', help=u"""The [OCID] of the Oracle Cloud Infrastructure [vault]. This parameter and `secretId` are required for Customer Managed Keys.""")
|
|
10021
|
+
@cli_util.option('--admin-password', help=u"""**Important** The `adminPassword` or `secretId` must be specified for all Autonomous Databases except for refreshable clones. The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (\") or the username \"admin\", regardless of casing.
|
|
10022
|
+
|
|
10023
|
+
This cannot be used in conjunction with with OCI vault secrets (secretId).""")
|
|
10024
|
+
@cli_util.option('--display-name', help=u"""The user-friendly name for the Autonomous Database. The name does not have to be unique.""")
|
|
10025
|
+
@cli_util.option('--license-model', type=custom_types.CliCaseInsensitiveChoice(["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]), help=u"""The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Oracle Database service. Note that when provisioning an [Autonomous Database on dedicated Exadata infrastructure], this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous Database Serverless] database, if a value is not specified, the system defaults the value to `BRING_YOUR_OWN_LICENSE`. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter.
|
|
10026
|
+
|
|
10027
|
+
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
10028
|
+
@cli_util.option('--byol-compute-count-limit', type=click.FLOAT, help=u"""The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed.""")
|
|
10029
|
+
@cli_util.option('--is-preview-version-with-service-terms-accepted', type=click.BOOL, help=u"""If set to `TRUE`, indicates that an Autonomous Database preview version is being provisioned, and that the preview version's terms of service have been accepted. Note that preview version software is only available for Autonomous Database Serverless instances (https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/).""")
|
|
10030
|
+
@cli_util.option('--is-auto-scaling-enabled', type=click.BOOL, help=u"""Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is `TRUE`.""")
|
|
10031
|
+
@cli_util.option('--is-dev-tier', type=click.BOOL, help=u"""Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.""")
|
|
10032
|
+
@cli_util.option('--is-dedicated', type=click.BOOL, help=u"""True if the database is on [dedicated Exadata infrastructure].""")
|
|
10033
|
+
@cli_util.option('--autonomous-container-database-id', help=u"""The Autonomous Container Database [OCID]. Used only by Autonomous Database on Dedicated Exadata Infrastructure.""")
|
|
10034
|
+
@cli_util.option('--in-memory-percentage', type=click.INT, help=u"""The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform.""")
|
|
10035
|
+
@cli_util.option('--is-access-control-enabled', type=click.BOOL, help=u"""Indicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the `whitelistedIps` property. While specifying `whitelistedIps` rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the `UpdateAutonomousDatabase` API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.
|
|
10036
|
+
|
|
10037
|
+
This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, `whitelistedIps` is used.""")
|
|
10038
|
+
@cli_util.option('--whitelisted-ips', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`.
|
|
10039
|
+
|
|
10040
|
+
For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it\u2019s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"ocid1.vcn.oc1.sea.<unique_id>\",\"ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1\",\"ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16\"]` For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"1.1.2.25\"]`
|
|
10041
|
+
|
|
10042
|
+
For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.
|
|
10043
|
+
|
|
10044
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10045
|
+
@cli_util.option('--are-primary-whitelisted-ips-used', type=click.BOOL, help=u"""This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be `TRUE` if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be `FALSE` if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.""")
|
|
10046
|
+
@cli_util.option('--standby-whitelisted-ips', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`.
|
|
10047
|
+
|
|
10048
|
+
For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it\u2019s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"ocid1.vcn.oc1.sea.<unique_id>\",\"ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1\",\"ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16\"]` For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"1.1.2.25\"]`
|
|
10049
|
+
|
|
10050
|
+
For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.
|
|
10051
|
+
|
|
10052
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10053
|
+
@cli_util.option('--is-data-guard-enabled', type=click.BOOL, help=u"""**Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.""")
|
|
10054
|
+
@cli_util.option('--is-local-data-guard-enabled', type=click.BOOL, help=u"""Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.""")
|
|
10055
|
+
@cli_util.option('--subnet-id', help=u"""The [OCID] of the subnet the resource is associated with.
|
|
10056
|
+
|
|
10057
|
+
**Subnet Restrictions:** - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. - For Autonomous Database, setting this will disable public secure access to the database.
|
|
10058
|
+
|
|
10059
|
+
These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.""")
|
|
10060
|
+
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of [OCIDs] for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules]. **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10061
|
+
@cli_util.option('--private-endpoint-label', help=u"""The resource's private endpoint label. - Setting the endpoint label to a non-empty string creates a private endpoint database. - Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database. - Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
|
|
10062
|
+
|
|
10063
|
+
This setting cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
10064
|
+
@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].
|
|
10065
|
+
|
|
10066
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10067
|
+
@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].""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10068
|
+
@cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10069
|
+
@cli_util.option('--private-endpoint-ip', help=u"""The private endpoint Ip address for the resource.""")
|
|
10070
|
+
@cli_util.option('--db-version', help=u"""A valid Oracle Database version for Autonomous Database.""")
|
|
10071
|
+
@cli_util.option('--customer-contacts', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Customer Contacts.
|
|
10072
|
+
|
|
10073
|
+
This option is a JSON list with items of type CustomerContact. For documentation on CustomerContact please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/CustomerContact.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10074
|
+
@cli_util.option('--is-mtls-connection-required', type=click.BOOL, help=u"""Specifies if the Autonomous Database requires mTLS connections.
|
|
10075
|
+
|
|
10076
|
+
This may not be updated in parallel with any of the following: licenseModel, databaseEdition, cpuCoreCount, computeCount, dataStorageSizeInTBs, whitelistedIps, openMode, permissionLevel, db-workload, privateEndpointLabel, nsgIds, customerContacts, dbVersion, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
|
|
10077
|
+
|
|
10078
|
+
Service Change: The default value of the isMTLSConnectionRequired attribute will change from true to false on July 1, 2023 in the following APIs: - CreateAutonomousDatabase - GetAutonomousDatabase - UpdateAutonomousDatabase Details: Prior to the July 1, 2023 change, the isMTLSConnectionRequired attribute default value was true. This applies to Autonomous Database Serverless. Does this impact me? If you use or maintain custom scripts or Terraform scripts referencing the CreateAutonomousDatabase, GetAutonomousDatabase, or UpdateAutonomousDatabase APIs, you want to check, and possibly modify, the scripts for the changed default value of the attribute. Should you choose not to leave your scripts unchanged, the API calls containing this attribute will continue to work, but the default value will switch from true to false. How do I make this change? Using either OCI SDKs or command line tools, update your custom scripts to explicitly set the isMTLSConnectionRequired attribute to true.""")
|
|
10079
|
+
@cli_util.option('--resource-pool-leader-id', help=u"""The unique identifier for leader autonomous database OCID [OCID].""")
|
|
10080
|
+
@cli_util.option('--resource-pool-summary', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10081
|
+
@cli_util.option('--autonomous-maintenance-schedule-type', type=custom_types.CliCaseInsensitiveChoice(["EARLY", "REGULAR"]), help=u"""The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle""")
|
|
10082
|
+
@cli_util.option('--scheduled-operations', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.
|
|
10083
|
+
|
|
10084
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
|
|
10085
|
+
|
|
10086
|
+
This option is a JSON list with items of type ScheduledOperationDetails. For documentation on ScheduledOperationDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/ScheduledOperationDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10087
|
+
@cli_util.option('--is-auto-scaling-for-storage-enabled', type=click.BOOL, help=u"""Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is `FALSE`.""")
|
|
10088
|
+
@cli_util.option('--database-edition', help=u"""The Oracle Database Edition that applies to the Autonomous databases. This parameter accepts options `STANDARD_EDITION` and `ENTERPRISE_EDITION`.""")
|
|
10089
|
+
@cli_util.option('--db-tools-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of database tools details.
|
|
10090
|
+
|
|
10091
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.
|
|
10092
|
+
|
|
10093
|
+
This option is a JSON list with items of type DatabaseTool. For documentation on DatabaseTool please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/DatabaseTool.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
10094
|
+
@cli_util.option('--is-backup-retention-locked', type=click.BOOL, help=u"""True if the Autonomous Database is backup retention locked.""")
|
|
10095
|
+
@cli_util.option('--secret-id', help=u"""The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID.
|
|
10096
|
+
|
|
10097
|
+
This cannot be used in conjunction with adminPassword.""")
|
|
10098
|
+
@cli_util.option('--secret-version-number', type=click.INT, help=u"""The version of the vault secret. If no version is specified, the latest version will be used.""")
|
|
10099
|
+
@cli_util.option('--opc-dry-run', type=click.BOOL, help=u"""Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually creating or updating a resource and is used only to perform validation on the submitted data.""")
|
|
10100
|
+
@cli_util.option('--encryption-key-kms-rest-endpoint', help=u"""GCP kms REST API endpoint""")
|
|
10101
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
10102
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
10103
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
10104
|
+
@json_skeleton_utils.get_cli_json_input_option({'whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'standby-whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'customer-contacts': {'module': 'database', 'class': 'list[CustomerContact]'}, 'resource-pool-summary': {'module': 'database', 'class': 'ResourcePoolSummary'}, 'scheduled-operations': {'module': 'database', 'class': 'list[ScheduledOperationDetails]'}, 'db-tools-details': {'module': 'database', 'class': 'list[DatabaseTool]'}})
|
|
10105
|
+
@cli_util.help_option
|
|
10106
|
+
@click.pass_context
|
|
10107
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'standby-whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'customer-contacts': {'module': 'database', 'class': 'list[CustomerContact]'}, 'resource-pool-summary': {'module': 'database', 'class': 'ResourcePoolSummary'}, 'scheduled-operations': {'module': 'database', 'class': 'list[ScheduledOperationDetails]'}, 'db-tools-details': {'module': 'database', 'class': 'list[DatabaseTool]'}}, output_type={'module': 'database', 'class': 'AutonomousDatabase'})
|
|
10108
|
+
@cli_util.wrap_exceptions
|
|
10109
|
+
def create_autonomous_database_gcp_key_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, encryption_key_key_name, encryption_key_project, encryption_key_location, encryption_key_key_ring, subscription_id, character_set, ncharacter_set, db_name, cpu_core_count, backup_retention_period_in_days, compute_model, compute_count, ocpu_count, db_workload, data_storage_size_in_tbs, data_storage_size_in_gbs, is_free_tier, kms_key_id, vault_id, admin_password, display_name, license_model, byol_compute_count_limit, is_preview_version_with_service_terms_accepted, is_auto_scaling_enabled, is_dev_tier, is_dedicated, autonomous_container_database_id, in_memory_percentage, is_access_control_enabled, whitelisted_ips, are_primary_whitelisted_ips_used, standby_whitelisted_ips, is_data_guard_enabled, is_local_data_guard_enabled, subnet_id, nsg_ids, private_endpoint_label, freeform_tags, defined_tags, security_attributes, private_endpoint_ip, db_version, customer_contacts, is_mtls_connection_required, resource_pool_leader_id, resource_pool_summary, autonomous_maintenance_schedule_type, scheduled_operations, is_auto_scaling_for_storage_enabled, database_edition, db_tools_details, is_backup_retention_locked, secret_id, secret_version_number, opc_dry_run, encryption_key_kms_rest_endpoint):
|
|
10110
|
+
|
|
10111
|
+
kwargs = {}
|
|
10112
|
+
if opc_dry_run is not None:
|
|
10113
|
+
kwargs['opc_dry_run'] = opc_dry_run
|
|
10114
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
10115
|
+
|
|
10116
|
+
_details = {}
|
|
10117
|
+
_details['encryptionKey'] = {}
|
|
10118
|
+
_details['compartmentId'] = compartment_id
|
|
10119
|
+
_details['encryptionKey']['keyName'] = encryption_key_key_name
|
|
10120
|
+
_details['encryptionKey']['project'] = encryption_key_project
|
|
10121
|
+
_details['encryptionKey']['location'] = encryption_key_location
|
|
10122
|
+
_details['encryptionKey']['keyRing'] = encryption_key_key_ring
|
|
10123
|
+
|
|
10124
|
+
if subscription_id is not None:
|
|
10125
|
+
_details['subscriptionId'] = subscription_id
|
|
10126
|
+
|
|
10127
|
+
if character_set is not None:
|
|
10128
|
+
_details['characterSet'] = character_set
|
|
10129
|
+
|
|
10130
|
+
if ncharacter_set is not None:
|
|
10131
|
+
_details['ncharacterSet'] = ncharacter_set
|
|
10132
|
+
|
|
10133
|
+
if db_name is not None:
|
|
10134
|
+
_details['dbName'] = db_name
|
|
10135
|
+
|
|
10136
|
+
if cpu_core_count is not None:
|
|
10137
|
+
_details['cpuCoreCount'] = cpu_core_count
|
|
10138
|
+
|
|
10139
|
+
if backup_retention_period_in_days is not None:
|
|
10140
|
+
_details['backupRetentionPeriodInDays'] = backup_retention_period_in_days
|
|
10141
|
+
|
|
10142
|
+
if compute_model is not None:
|
|
10143
|
+
_details['computeModel'] = compute_model
|
|
10144
|
+
|
|
10145
|
+
if compute_count is not None:
|
|
10146
|
+
_details['computeCount'] = compute_count
|
|
10147
|
+
|
|
10148
|
+
if ocpu_count is not None:
|
|
10149
|
+
_details['ocpuCount'] = ocpu_count
|
|
10150
|
+
|
|
10151
|
+
if db_workload is not None:
|
|
10152
|
+
_details['dbWorkload'] = db_workload
|
|
10153
|
+
|
|
10154
|
+
if data_storage_size_in_tbs is not None:
|
|
10155
|
+
_details['dataStorageSizeInTBs'] = data_storage_size_in_tbs
|
|
10156
|
+
|
|
10157
|
+
if data_storage_size_in_gbs is not None:
|
|
10158
|
+
_details['dataStorageSizeInGBs'] = data_storage_size_in_gbs
|
|
10159
|
+
|
|
10160
|
+
if is_free_tier is not None:
|
|
10161
|
+
_details['isFreeTier'] = is_free_tier
|
|
10162
|
+
|
|
10163
|
+
if kms_key_id is not None:
|
|
10164
|
+
_details['kmsKeyId'] = kms_key_id
|
|
10165
|
+
|
|
10166
|
+
if vault_id is not None:
|
|
10167
|
+
_details['vaultId'] = vault_id
|
|
10168
|
+
|
|
10169
|
+
if admin_password is not None:
|
|
10170
|
+
_details['adminPassword'] = admin_password
|
|
10171
|
+
|
|
10172
|
+
if display_name is not None:
|
|
10173
|
+
_details['displayName'] = display_name
|
|
10174
|
+
|
|
10175
|
+
if license_model is not None:
|
|
10176
|
+
_details['licenseModel'] = license_model
|
|
10177
|
+
|
|
10178
|
+
if byol_compute_count_limit is not None:
|
|
10179
|
+
_details['byolComputeCountLimit'] = byol_compute_count_limit
|
|
10180
|
+
|
|
10181
|
+
if is_preview_version_with_service_terms_accepted is not None:
|
|
10182
|
+
_details['isPreviewVersionWithServiceTermsAccepted'] = is_preview_version_with_service_terms_accepted
|
|
10183
|
+
|
|
10184
|
+
if is_auto_scaling_enabled is not None:
|
|
10185
|
+
_details['isAutoScalingEnabled'] = is_auto_scaling_enabled
|
|
10186
|
+
|
|
10187
|
+
if is_dev_tier is not None:
|
|
10188
|
+
_details['isDevTier'] = is_dev_tier
|
|
10189
|
+
|
|
10190
|
+
if is_dedicated is not None:
|
|
10191
|
+
_details['isDedicated'] = is_dedicated
|
|
10192
|
+
|
|
10193
|
+
if autonomous_container_database_id is not None:
|
|
10194
|
+
_details['autonomousContainerDatabaseId'] = autonomous_container_database_id
|
|
10195
|
+
|
|
10196
|
+
if in_memory_percentage is not None:
|
|
10197
|
+
_details['inMemoryPercentage'] = in_memory_percentage
|
|
10198
|
+
|
|
10199
|
+
if is_access_control_enabled is not None:
|
|
10200
|
+
_details['isAccessControlEnabled'] = is_access_control_enabled
|
|
10201
|
+
|
|
10202
|
+
if whitelisted_ips is not None:
|
|
10203
|
+
_details['whitelistedIps'] = cli_util.parse_json_parameter("whitelisted_ips", whitelisted_ips)
|
|
10204
|
+
|
|
10205
|
+
if are_primary_whitelisted_ips_used is not None:
|
|
10206
|
+
_details['arePrimaryWhitelistedIpsUsed'] = are_primary_whitelisted_ips_used
|
|
10207
|
+
|
|
10208
|
+
if standby_whitelisted_ips is not None:
|
|
10209
|
+
_details['standbyWhitelistedIps'] = cli_util.parse_json_parameter("standby_whitelisted_ips", standby_whitelisted_ips)
|
|
10210
|
+
|
|
10211
|
+
if is_data_guard_enabled is not None:
|
|
10212
|
+
_details['isDataGuardEnabled'] = is_data_guard_enabled
|
|
10213
|
+
|
|
10214
|
+
if is_local_data_guard_enabled is not None:
|
|
10215
|
+
_details['isLocalDataGuardEnabled'] = is_local_data_guard_enabled
|
|
10216
|
+
|
|
10217
|
+
if subnet_id is not None:
|
|
10218
|
+
_details['subnetId'] = subnet_id
|
|
10219
|
+
|
|
10220
|
+
if nsg_ids is not None:
|
|
10221
|
+
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
|
|
10222
|
+
|
|
10223
|
+
if private_endpoint_label is not None:
|
|
10224
|
+
_details['privateEndpointLabel'] = private_endpoint_label
|
|
10225
|
+
|
|
10226
|
+
if freeform_tags is not None:
|
|
10227
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
10228
|
+
|
|
10229
|
+
if defined_tags is not None:
|
|
10230
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
10231
|
+
|
|
10232
|
+
if security_attributes is not None:
|
|
10233
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
10234
|
+
|
|
10235
|
+
if private_endpoint_ip is not None:
|
|
10236
|
+
_details['privateEndpointIp'] = private_endpoint_ip
|
|
10237
|
+
|
|
10238
|
+
if db_version is not None:
|
|
10239
|
+
_details['dbVersion'] = db_version
|
|
10240
|
+
|
|
10241
|
+
if customer_contacts is not None:
|
|
10242
|
+
_details['customerContacts'] = cli_util.parse_json_parameter("customer_contacts", customer_contacts)
|
|
10243
|
+
|
|
10244
|
+
if is_mtls_connection_required is not None:
|
|
10245
|
+
_details['isMtlsConnectionRequired'] = is_mtls_connection_required
|
|
10246
|
+
|
|
10247
|
+
if resource_pool_leader_id is not None:
|
|
10248
|
+
_details['resourcePoolLeaderId'] = resource_pool_leader_id
|
|
10249
|
+
|
|
10250
|
+
if resource_pool_summary is not None:
|
|
10251
|
+
_details['resourcePoolSummary'] = cli_util.parse_json_parameter("resource_pool_summary", resource_pool_summary)
|
|
10252
|
+
|
|
10253
|
+
if autonomous_maintenance_schedule_type is not None:
|
|
10254
|
+
_details['autonomousMaintenanceScheduleType'] = autonomous_maintenance_schedule_type
|
|
10255
|
+
|
|
10256
|
+
if scheduled_operations is not None:
|
|
10257
|
+
_details['scheduledOperations'] = cli_util.parse_json_parameter("scheduled_operations", scheduled_operations)
|
|
10258
|
+
|
|
10259
|
+
if is_auto_scaling_for_storage_enabled is not None:
|
|
10260
|
+
_details['isAutoScalingForStorageEnabled'] = is_auto_scaling_for_storage_enabled
|
|
10261
|
+
|
|
10262
|
+
if database_edition is not None:
|
|
10263
|
+
_details['databaseEdition'] = database_edition
|
|
10264
|
+
|
|
10265
|
+
if db_tools_details is not None:
|
|
10266
|
+
_details['dbToolsDetails'] = cli_util.parse_json_parameter("db_tools_details", db_tools_details)
|
|
10267
|
+
|
|
10268
|
+
if is_backup_retention_locked is not None:
|
|
10269
|
+
_details['isBackupRetentionLocked'] = is_backup_retention_locked
|
|
10270
|
+
|
|
10271
|
+
if secret_id is not None:
|
|
10272
|
+
_details['secretId'] = secret_id
|
|
10273
|
+
|
|
10274
|
+
if secret_version_number is not None:
|
|
10275
|
+
_details['secretVersionNumber'] = secret_version_number
|
|
10276
|
+
|
|
10277
|
+
if encryption_key_kms_rest_endpoint is not None:
|
|
10278
|
+
_details['encryptionKey']['kmsRestEndpoint'] = encryption_key_kms_rest_endpoint
|
|
10279
|
+
|
|
10280
|
+
_details['encryptionKey']['provider'] = 'GCP'
|
|
10281
|
+
|
|
10282
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
10283
|
+
result = client.create_autonomous_database(
|
|
10284
|
+
create_autonomous_database_details=_details,
|
|
10285
|
+
**kwargs
|
|
10286
|
+
)
|
|
10287
|
+
if wait_for_state:
|
|
10288
|
+
|
|
10289
|
+
if hasattr(client, 'get_autonomous_database') and callable(getattr(client, 'get_autonomous_database')):
|
|
10290
|
+
try:
|
|
10291
|
+
wait_period_kwargs = {}
|
|
10292
|
+
if max_wait_seconds is not None:
|
|
10293
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
10294
|
+
if wait_interval_seconds is not None:
|
|
10295
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
10296
|
+
|
|
10297
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
10298
|
+
result = oci.wait_until(client, client.get_autonomous_database(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
10299
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
10300
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
10301
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
10302
|
+
cli_util.render_response(result, ctx)
|
|
10303
|
+
sys.exit(2)
|
|
10304
|
+
except Exception:
|
|
10305
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
10306
|
+
cli_util.render_response(result, ctx)
|
|
10307
|
+
raise
|
|
10308
|
+
else:
|
|
10309
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
10310
|
+
cli_util.render_response(result, ctx)
|
|
10311
|
+
|
|
10312
|
+
|
|
9919
10313
|
@autonomous_database_group.command(name=cli_util.override('db.create_autonomous_database_oracle_managed_key_details.command_name', 'create-autonomous-database-oracle-managed-key-details'), help=u"""Creates a new Autonomous Database. \n[Command Reference](createAutonomousDatabase)""")
|
|
9920
10314
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment of the Autonomous Database.""")
|
|
9921
10315
|
@cli_util.option('--subscription-id', help=u"""The [OCID] of the subscription with which resource needs to be associated with.""")
|
|
@@ -10988,9 +11382,21 @@ def create_cloud_exadata_infrastructure(ctx, from_json, wait_for_state, max_wait
|
|
|
10988
11382
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
|
|
10989
11383
|
@cli_util.option('--subnet-id', required=True, help=u"""The [OCID] of the subnet associated with the cloud VM cluster.""")
|
|
10990
11384
|
@cli_util.option('--backup-subnet-id', required=True, help=u"""The [OCID] of the backup network subnet associated with the cloud VM cluster.""")
|
|
10991
|
-
@cli_util.option('--cpu-core-count', required=True, type=click.INT, help=u"""
|
|
11385
|
+
@cli_util.option('--cpu-core-count', required=True, type=click.INT, help=u"""For fixed shapes, this is the total number of OCPUs to enable across the VM cluster.
|
|
10992
11386
|
|
|
10993
|
-
- Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - Exadata.
|
|
11387
|
+
- Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - Exadata.Quarter3.100 - Specify a multiple of 2, from 0 to 100. - Exadata.Half3.200 - Specify a multiple of 4, from 0 to 200. - Exadata.Full3.400 - Specify a multiple of 8, from 0 to 400.
|
|
11388
|
+
|
|
11389
|
+
The API specification for fixed shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary
|
|
11390
|
+
|
|
11391
|
+
For flexible shapes X8M and X9M, this is the total number of OCPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
|
|
11392
|
+
|
|
11393
|
+
- Exadata.X8M - Specify a multiple of 2, from 2 to 50 per X8M database server. - Exadata.X9M - Specify a multiple of 2, from 2 to 126 per X9M database server.
|
|
11394
|
+
|
|
11395
|
+
For flexible shapes X11M and higher, this is the total number of ECPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
|
|
11396
|
+
|
|
11397
|
+
- Exadata.X11M - Specify a multiple of 8, from 8 to 760 per X11M database server.
|
|
11398
|
+
|
|
11399
|
+
The API specification for flexible shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/FlexComponentSummary""")
|
|
10994
11400
|
@cli_util.option('--display-name', required=True, help=u"""The user-friendly name for the cloud VM cluster. The name does not need to be unique.""")
|
|
10995
11401
|
@cli_util.option('--cloud-exadata-infrastructure-id', required=True, help=u"""The [OCID] of the cloud Exadata infrastructure resource.""")
|
|
10996
11402
|
@cli_util.option('--hostname', required=True, help=u"""The hostname for the cloud VM cluster. The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata systems.
|
|
@@ -11029,6 +11435,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
11029
11435
|
|
|
11030
11436
|
This option is a JSON list with items of type FileSystemConfigurationDetail. For documentation on FileSystemConfigurationDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/FileSystemConfigurationDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
11031
11437
|
@cli_util.option('--cloud-automation-update-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
11438
|
+
@cli_util.option('--exascale-db-storage-vault-id', help=u"""The [OCID] of the Exadata Database Storage Vault.""")
|
|
11032
11439
|
@cli_util.option('--vm-cluster-type', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "DEVELOPER"]), help=u"""The vmcluster type for the VM cluster/Cloud VM cluster.""")
|
|
11033
11440
|
@cli_util.option('--opc-dry-run', type=click.BOOL, help=u"""Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually creating or updating a resource and is used only to perform validation on the submitted data.""")
|
|
11034
11441
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
@@ -11039,7 +11446,7 @@ This option is a JSON list with items of type FileSystemConfigurationDetail. Fo
|
|
|
11039
11446
|
@click.pass_context
|
|
11040
11447
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'db-servers': {'module': 'database', 'class': 'list[string]'}, 'ssh-public-keys': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'data-collection-options': {'module': 'database', 'class': 'DataCollectionOptions'}, 'file-system-configuration-details': {'module': 'database', 'class': 'list[FileSystemConfigurationDetail]'}, 'cloud-automation-update-details': {'module': 'database', 'class': 'CloudAutomationUpdateDetails'}}, output_type={'module': 'database', 'class': 'CloudVmCluster'})
|
|
11041
11448
|
@cli_util.wrap_exceptions
|
|
11042
|
-
def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, subnet_id, backup_subnet_id, cpu_core_count, display_name, cloud_exadata_infrastructure_id, hostname, ssh_public_keys, gi_version, subscription_id, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, domain, license_model, is_sparse_diskgroup_enabled, is_local_backup_enabled, time_zone, scan_listener_port_tcp, scan_listener_port_tcp_ssl, private_zone_id, nsg_ids, backup_network_nsg_ids, freeform_tags, defined_tags, security_attributes, data_collection_options, system_version, file_system_configuration_details, cloud_automation_update_details, vm_cluster_type, opc_dry_run):
|
|
11449
|
+
def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, subnet_id, backup_subnet_id, cpu_core_count, display_name, cloud_exadata_infrastructure_id, hostname, ssh_public_keys, gi_version, subscription_id, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, domain, license_model, is_sparse_diskgroup_enabled, is_local_backup_enabled, time_zone, scan_listener_port_tcp, scan_listener_port_tcp_ssl, private_zone_id, nsg_ids, backup_network_nsg_ids, freeform_tags, defined_tags, security_attributes, data_collection_options, system_version, file_system_configuration_details, cloud_automation_update_details, exascale_db_storage_vault_id, vm_cluster_type, opc_dry_run):
|
|
11043
11450
|
|
|
11044
11451
|
kwargs = {}
|
|
11045
11452
|
if opc_dry_run is not None:
|
|
@@ -11132,6 +11539,9 @@ def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wa
|
|
|
11132
11539
|
if cloud_automation_update_details is not None:
|
|
11133
11540
|
_details['cloudAutomationUpdateDetails'] = cli_util.parse_json_parameter("cloud_automation_update_details", cloud_automation_update_details)
|
|
11134
11541
|
|
|
11542
|
+
if exascale_db_storage_vault_id is not None:
|
|
11543
|
+
_details['exascaleDbStorageVaultId'] = exascale_db_storage_vault_id
|
|
11544
|
+
|
|
11135
11545
|
if vm_cluster_type is not None:
|
|
11136
11546
|
_details['vmClusterType'] = vm_cluster_type
|
|
11137
11547
|
|
|
@@ -33078,6 +33488,408 @@ def update_autonomous_database_oci_key_details(ctx, from_json, force, wait_for_s
|
|
|
33078
33488
|
cli_util.render_response(result, ctx)
|
|
33079
33489
|
|
|
33080
33490
|
|
|
33491
|
+
@autonomous_database_group.command(name=cli_util.override('db.update_autonomous_database_gcp_key_details.command_name', 'update-autonomous-database-gcp-key-details'), help=u"""Updates one or more attributes of the specified Autonomous Database. See the UpdateAutonomousDatabaseDetails resource for a full list of attributes that can be updated. \n[Command Reference](updateAutonomousDatabase)""")
|
|
33492
|
+
@cli_util.option('--autonomous-database-id', required=True, help=u"""The database [OCID].""")
|
|
33493
|
+
@cli_util.option('--encryption-key-key-name', required=True, help=u"""GCP key name""")
|
|
33494
|
+
@cli_util.option('--encryption-key-project', required=True, help=u"""GCP project name""")
|
|
33495
|
+
@cli_util.option('--encryption-key-location', required=True, help=u"""GCP key ring location""")
|
|
33496
|
+
@cli_util.option('--encryption-key-key-ring', required=True, help=u"""GCP key ring""")
|
|
33497
|
+
@cli_util.option('--backup-retention-period-in-days', type=click.INT, help=u"""Retention period, in days, for long-term backups""")
|
|
33498
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model of the Autonomous Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.""")
|
|
33499
|
+
@cli_util.option('--in-memory-percentage', type=click.INT, help=u"""The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform.""")
|
|
33500
|
+
@cli_util.option('--local-adg-auto-failover-max-data-loss-limit', type=click.INT, help=u"""Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard""")
|
|
33501
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPUs to be made available to the Autonomous Database.<br> For Autonomous Databases on Dedicated Exadata Infrastructure: - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. - It is suggested to use 'computeCount' parameter if you want to use fractional value to provision less than 1 core.
|
|
33502
|
+
|
|
33503
|
+
**Note:** This parameter cannot be used with the `ocpuCount` or `computeCount` parameter.
|
|
33504
|
+
|
|
33505
|
+
This cannot be updated in parallel with any of the following: licenseModel, databaseEdition, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33506
|
+
@cli_util.option('--long-term-backup-schedule', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33507
|
+
@cli_util.option('--is-dev-tier', type=click.BOOL, help=u"""Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.""")
|
|
33508
|
+
@cli_util.option('--compute-count', type=click.FLOAT, help=u"""The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU.
|
|
33509
|
+
|
|
33510
|
+
This cannot be updated in parallel with any of the following: licenseModel, databaseEdition, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33511
|
+
@cli_util.option('--ocpu-count', type=click.FLOAT, help=u"""The number of OCPU cores to be made available to the Autonomous Database.
|
|
33512
|
+
|
|
33513
|
+
For Autonomous Databases on Dedicated Exadata Infrastructure, you can specify a fractional value for this parameter. Fractional values are not supported for Autonomous Database Serverless instances. For Autonomous Database Serverless instances, this parameter is not used.
|
|
33514
|
+
|
|
33515
|
+
To provision less than 1 core, enter a fractional value in an increment of 0.1. To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available to the infrastructure shape. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. Likewise, you can provision 2 cores or 3 cores, but not 2.5 cores. The maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes] for shape details.
|
|
33516
|
+
|
|
33517
|
+
**Note:** This parameter cannot be used with the `cpuCoreCount` parameter.""")
|
|
33518
|
+
@cli_util.option('--data-storage-size-in-tbs', type=click.INT, help=u"""The size, in terabytes, of the data volume that will be created and attached to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes] for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
|
|
33519
|
+
|
|
33520
|
+
**Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
|
|
33521
|
+
|
|
33522
|
+
This cannot be updated in parallel with any of the following: licenseModel, databaseEdition, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33523
|
+
@cli_util.option('--data-storage-size-in-gbs', type=click.INT, help=u"""Applies to dedicated Exadata infrastructure only.
|
|
33524
|
+
|
|
33525
|
+
The size, in gigabytes, of the data volume that will be created and attached to the database. The maximum storage value depends on the system shape. See [Characteristics of Infrastructure Shapes] for shape details.
|
|
33526
|
+
|
|
33527
|
+
**Note:** This parameter cannot be used with the `dataStorageSizeInTBs` parameter.""")
|
|
33528
|
+
@cli_util.option('--display-name', help=u"""The user-friendly name for the Autonomous Database. The name does not have to be unique. The display name can only be updated for Autonomous Databases using dedicated Exadata Infrastructure. This parameter may not be updated in parallel with dbVersion.""")
|
|
33529
|
+
@cli_util.option('--is-free-tier', type=click.BOOL, help=u"""Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled.
|
|
33530
|
+
|
|
33531
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isLocalDataGuardEnabled""")
|
|
33532
|
+
@cli_util.option('--admin-password', help=u"""The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (\") or the username \"admin\", regardless of casing. It must be different from the last four passwords and it must not be a password used within the last 24 hours.
|
|
33533
|
+
|
|
33534
|
+
This cannot be used in conjunction with with OCI vault secrets (secretId).
|
|
33535
|
+
|
|
33536
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, whitelistedIps, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, or isFreeTier.""")
|
|
33537
|
+
@cli_util.option('--db-name', help=u"""New name for this Autonomous Database. For Autonomous Databases on Dedicated Exadata Infrastructure, the name must begin with an alphabetic character, and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. For Autonomous Database Serverless instances, the name must begin with an alphabetic character, and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy.
|
|
33538
|
+
|
|
33539
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails.""")
|
|
33540
|
+
@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].
|
|
33541
|
+
|
|
33542
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33543
|
+
@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].""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33544
|
+
@cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33545
|
+
@cli_util.option('--db-workload', type=custom_types.CliCaseInsensitiveChoice(["OLTP", "DW", "AJD", "APEX"]), help=u"""The Autonomous Database workload type. The following values are valid:
|
|
33546
|
+
|
|
33547
|
+
- OLTP - indicates an Autonomous Transaction Processing database - DW - indicates an Autonomous Data Warehouse database - AJD - indicates an Autonomous JSON Database - APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
|
|
33548
|
+
|
|
33549
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""")
|
|
33550
|
+
@cli_util.option('--license-model', type=custom_types.CliCaseInsensitiveChoice(["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]), help=u"""The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Oracle Database service. Note that when provisioning an [Autonomous Database on dedicated Exadata infrastructure], this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous Database Serverless] database, if a value is not specified, the system defaults the value to `BRING_YOUR_OWN_LICENSE`. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter.
|
|
33551
|
+
|
|
33552
|
+
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33553
|
+
@cli_util.option('--byol-compute-count-limit', type=click.FLOAT, help=u"""The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed.""")
|
|
33554
|
+
@cli_util.option('--is-access-control-enabled', type=click.BOOL, help=u"""Indicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the `whitelistedIps` property. While specifying `whitelistedIps` rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the `UpdateAutonomousDatabase` API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.
|
|
33555
|
+
|
|
33556
|
+
This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, `whitelistedIps` is used.""")
|
|
33557
|
+
@cli_util.option('--whitelisted-ips', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`.
|
|
33558
|
+
|
|
33559
|
+
For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it\u2019s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"ocid1.vcn.oc1.sea.<unique_id>\",\"ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1\",\"ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16\"]` For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"1.1.2.25\"]`
|
|
33560
|
+
|
|
33561
|
+
For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.
|
|
33562
|
+
|
|
33563
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33564
|
+
@cli_util.option('--are-primary-whitelisted-ips-used', type=click.BOOL, help=u"""This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. `TRUE` if the Autonomous Database has Data Guard and Access Control enabled, and the Autonomous Database uses the primary's IP access control list (ACL) for standby. `FALSE` if the Autonomous Database has Data Guard and Access Control enabled, and the Autonomous Database uses a different IP access control list (ACL) for standby compared to primary.""")
|
|
33565
|
+
@cli_util.option('--standby-whitelisted-ips', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`.
|
|
33566
|
+
|
|
33567
|
+
For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it\u2019s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"ocid1.vcn.oc1.sea.<unique_id>\",\"ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1\",\"ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16\"]` For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: `[\"1.1.1.1\",\"1.1.1.0/24\",\"1.1.2.25\"]`
|
|
33568
|
+
|
|
33569
|
+
For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.
|
|
33570
|
+
|
|
33571
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33572
|
+
@cli_util.option('--is-auto-scaling-enabled', type=click.BOOL, help=u"""Indicates whether auto scaling is enabled for the Autonomous Database CPU core count. Setting to `TRUE` enables auto scaling. Setting to `FALSE` disables auto scaling. The default value is `TRUE`. Auto scaling is only available for [Autonomous Database Serverless instances].""")
|
|
33573
|
+
@cli_util.option('--is-refreshable-clone', type=click.BOOL, help=u"""Indicates if the Autonomous Database is a refreshable clone.
|
|
33574
|
+
|
|
33575
|
+
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""")
|
|
33576
|
+
@cli_util.option('--refreshable-mode', type=custom_types.CliCaseInsensitiveChoice(["AUTOMATIC", "MANUAL"]), help=u"""The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.""")
|
|
33577
|
+
@cli_util.option('--is-local-data-guard-enabled', type=click.BOOL, help=u"""Indicates whether the Autonomous Database has a local (in-region) standby database. Not applicable when creating a cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
|
|
33578
|
+
|
|
33579
|
+
To create a local standby, set to `TRUE`. To delete a local standby, set to `FALSE`. For more information on using Autonomous Data Guard on an Autonomous Database Serverless instance (local and cross-region) , see [About Standby Databases]
|
|
33580
|
+
|
|
33581
|
+
To enable cross-region Autonomous Data Guard on an Autonomous Database Serverless instance, see [Enable Autonomous Data Guard].
|
|
33582
|
+
|
|
33583
|
+
This cannot be updated in parallel with any of the following: isMTLSRequired, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33584
|
+
@cli_util.option('--is-data-guard-enabled', type=click.BOOL, help=u"""** Deprecated. ** Indicates whether the Autonomous Database has a local (in-region) standby database. Not applicable when creating a cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
|
|
33585
|
+
|
|
33586
|
+
To create a local standby, set to `TRUE`. To delete a local standby, set to `FALSE`. For more information on using Autonomous Data Guard on an Autonomous Database Serverless instance (local and cross-region) , see [About Standby Databases]
|
|
33587
|
+
|
|
33588
|
+
To enable cross-region Autonomous Data Guard on an Autonomous Database Serverless instance, see [Enable Autonomous Data Guard].
|
|
33589
|
+
|
|
33590
|
+
To delete a cross-region standby database, provide the `peerDbId` for the standby database in a remote region, and set `isDataGuardEnabled` to `FALSE`.""")
|
|
33591
|
+
@cli_util.option('--peer-db-id', help=u"""The database OCID(/Content/General/Concepts/identifiers.htm) of the Disaster Recovery peer (source Primary) database, which is located in a different (remote) region from the current peer database.
|
|
33592
|
+
|
|
33593
|
+
To create or delete a local (in-region) standby, see the `isDataGuardEnabled` parameter.""")
|
|
33594
|
+
@cli_util.option('--db-version', help=u"""A valid Oracle Database version for Autonomous Database.""")
|
|
33595
|
+
@cli_util.option('--open-mode', type=custom_types.CliCaseInsensitiveChoice(["READ_ONLY", "READ_WRITE"]), help=u"""Indicates the Autonomous Database mode. The database can be opened in `READ_ONLY` or `READ_WRITE` mode.
|
|
33596
|
+
|
|
33597
|
+
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33598
|
+
@cli_util.option('--permission-level', type=custom_types.CliCaseInsensitiveChoice(["RESTRICTED", "UNRESTRICTED"]), help=u"""The Autonomous Database permission level. Restricted mode allows access only by admin users.
|
|
33599
|
+
|
|
33600
|
+
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33601
|
+
@cli_util.option('--subnet-id', help=u"""The [OCID] of the subnet the resource is associated with.
|
|
33602
|
+
|
|
33603
|
+
**Subnet Restrictions:** - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. - For Autonomous Database, setting this will disable public secure access to the database.
|
|
33604
|
+
|
|
33605
|
+
These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.""")
|
|
33606
|
+
@cli_util.option('--private-endpoint-label', help=u"""The resource's private endpoint label. - Setting the endpoint label to a non-empty string creates a private endpoint database. - Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database. - Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
|
|
33607
|
+
|
|
33608
|
+
This setting cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33609
|
+
@cli_util.option('--private-endpoint-ip', help=u"""The private endpoint Ip address for the resource.""")
|
|
33610
|
+
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of [OCIDs] for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules]. **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33611
|
+
@cli_util.option('--auto-refresh-frequency-in-seconds', type=click.INT, help=u"""The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the `timeOfAutoRefreshStart` parameter.""")
|
|
33612
|
+
@cli_util.option('--auto-refresh-point-lag-in-seconds', type=click.INT, help=u"""The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.""")
|
|
33613
|
+
@cli_util.option('--time-of-auto-refresh-start', type=custom_types.CLI_DATETIME, help=u"""The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the `autoRefreshFrequencyInSeconds` parameter.""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
33614
|
+
@cli_util.option('--customer-contacts', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Customer Contacts. Setting this to an empty list removes all customer contacts of an Oracle
|
|
33615
|
+
|
|
33616
|
+
This cannot be updated in parallel with any of the following: isMTLSConnectionRequired, scheduledOperations, or dbToolsDetails.
|
|
33617
|
+
|
|
33618
|
+
This option is a JSON list with items of type CustomerContact. For documentation on CustomerContact please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/CustomerContact.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33619
|
+
@cli_util.option('--is-mtls-connection-required', type=click.BOOL, help=u"""Specifies if the Autonomous Database requires mTLS connections.
|
|
33620
|
+
|
|
33621
|
+
This may not be updated in parallel with any of the following: licenseModel, databaseEdition, cpuCoreCount, computeCount, dataStorageSizeInTBs, whitelistedIps, openMode, permissionLevel, db-workload, privateEndpointLabel, nsgIds, customerContacts, dbVersion, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
|
|
33622
|
+
|
|
33623
|
+
Service Change: The default value of the isMTLSConnectionRequired attribute will change from true to false on July 1, 2023 in the following APIs: - CreateAutonomousDatabase - GetAutonomousDatabase - UpdateAutonomousDatabase Details: Prior to the July 1, 2023 change, the isMTLSConnectionRequired attribute default value was true. This applies to Autonomous Database Serverless. Does this impact me? If you use or maintain custom scripts or Terraform scripts referencing the CreateAutonomousDatabase, GetAutonomousDatabase, or UpdateAutonomousDatabase APIs, you want to check, and possibly modify, the scripts for the changed default value of the attribute. Should you choose not to leave your scripts unchanged, the API calls containing this attribute will continue to work, but the default value will switch from true to false. How do I make this change? Using either OCI SDKs or command line tools, update your custom scripts to explicitly set the isMTLSConnectionRequired attribute to true.""")
|
|
33624
|
+
@cli_util.option('--resource-pool-leader-id', help=u"""The unique identifier for leader autonomous database OCID [OCID].""")
|
|
33625
|
+
@cli_util.option('--resource-pool-summary', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33626
|
+
@cli_util.option('--autonomous-maintenance-schedule-type', type=custom_types.CliCaseInsensitiveChoice(["EARLY", "REGULAR"]), help=u"""The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle""")
|
|
33627
|
+
@cli_util.option('--is-backup-retention-locked', type=click.BOOL, help=u"""True if the Autonomous Database is backup retention locked.""")
|
|
33628
|
+
@cli_util.option('--time-scheduled-db-version-upgrade', type=custom_types.CLI_DATETIME, help=u"""The date and time the Autonomous Database scheduled to upgrade to 23ai.""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
33629
|
+
@cli_util.option('--is-disable-db-version-upgrade-schedule', type=click.BOOL, help=u"""True if user wants to disable Autonomous Database scheduled upgrade to 23ai.""")
|
|
33630
|
+
@cli_util.option('--is-schedule-db-version-upgrade-to-earliest', type=click.BOOL, help=u"""True if user wants to schedule Autonomous Database upgrade to the earliest available time.""")
|
|
33631
|
+
@cli_util.option('--scheduled-operations', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.
|
|
33632
|
+
|
|
33633
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
|
|
33634
|
+
|
|
33635
|
+
This option is a JSON list with items of type ScheduledOperationDetails. For documentation on ScheduledOperationDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/ScheduledOperationDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33636
|
+
@cli_util.option('--is-auto-scaling-for-storage-enabled', type=click.BOOL, help=u"""Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is `FALSE`.""")
|
|
33637
|
+
@cli_util.option('--database-edition', help=u"""The Oracle Database Edition that applies to the Autonomous databases. This parameter accepts options `STANDARD_EDITION` and `ENTERPRISE_EDITION`.
|
|
33638
|
+
|
|
33639
|
+
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.""")
|
|
33640
|
+
@cli_util.option('--db-tools-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of database tools details.
|
|
33641
|
+
|
|
33642
|
+
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.
|
|
33643
|
+
|
|
33644
|
+
This option is a JSON list with items of type DatabaseTool. For documentation on DatabaseTool please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/DatabaseTool.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
33645
|
+
@cli_util.option('--secret-id', help=u"""The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID. This cannot be used in conjunction with adminPassword.""")
|
|
33646
|
+
@cli_util.option('--secret-version-number', type=click.INT, help=u"""The version of the vault secret. If no version is specified, the latest version will be used.""")
|
|
33647
|
+
@cli_util.option('--is-disconnect-peer', type=click.BOOL, help=u"""If true, this will disconnect the Autonomous Database from its peer and the Autonomous Database can work permanently as a standalone database.
|
|
33648
|
+
|
|
33649
|
+
To disconnect a cross region standby, please also provide the OCID of the standby database in the `peerDbId` parameter.""")
|
|
33650
|
+
@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.""")
|
|
33651
|
+
@cli_util.option('--opc-dry-run', type=click.BOOL, help=u"""Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually creating or updating a resource and is used only to perform validation on the submitted data.""")
|
|
33652
|
+
@cli_util.option('--encryption-key-kms-rest-endpoint', help=u"""GCP kms REST API endpoint""")
|
|
33653
|
+
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
33654
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
33655
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
33656
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
33657
|
+
@json_skeleton_utils.get_cli_json_input_option({'long-term-backup-schedule': {'module': 'database', 'class': 'LongTermBackUpScheduleDetails'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'standby-whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'customer-contacts': {'module': 'database', 'class': 'list[CustomerContact]'}, 'resource-pool-summary': {'module': 'database', 'class': 'ResourcePoolSummary'}, 'scheduled-operations': {'module': 'database', 'class': 'list[ScheduledOperationDetails]'}, 'db-tools-details': {'module': 'database', 'class': 'list[DatabaseTool]'}})
|
|
33658
|
+
@cli_util.help_option
|
|
33659
|
+
@click.pass_context
|
|
33660
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'long-term-backup-schedule': {'module': 'database', 'class': 'LongTermBackUpScheduleDetails'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'standby-whitelisted-ips': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'customer-contacts': {'module': 'database', 'class': 'list[CustomerContact]'}, 'resource-pool-summary': {'module': 'database', 'class': 'ResourcePoolSummary'}, 'scheduled-operations': {'module': 'database', 'class': 'list[ScheduledOperationDetails]'}, 'db-tools-details': {'module': 'database', 'class': 'list[DatabaseTool]'}}, output_type={'module': 'database', 'class': 'AutonomousDatabase'})
|
|
33661
|
+
@cli_util.wrap_exceptions
|
|
33662
|
+
def update_autonomous_database_gcp_key_details(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, autonomous_database_id, encryption_key_key_name, encryption_key_project, encryption_key_location, encryption_key_key_ring, backup_retention_period_in_days, compute_model, in_memory_percentage, local_adg_auto_failover_max_data_loss_limit, cpu_core_count, long_term_backup_schedule, is_dev_tier, compute_count, ocpu_count, data_storage_size_in_tbs, data_storage_size_in_gbs, display_name, is_free_tier, admin_password, db_name, freeform_tags, defined_tags, security_attributes, db_workload, license_model, byol_compute_count_limit, is_access_control_enabled, whitelisted_ips, are_primary_whitelisted_ips_used, standby_whitelisted_ips, is_auto_scaling_enabled, is_refreshable_clone, refreshable_mode, is_local_data_guard_enabled, is_data_guard_enabled, peer_db_id, db_version, open_mode, permission_level, subnet_id, private_endpoint_label, private_endpoint_ip, nsg_ids, auto_refresh_frequency_in_seconds, auto_refresh_point_lag_in_seconds, time_of_auto_refresh_start, customer_contacts, is_mtls_connection_required, resource_pool_leader_id, resource_pool_summary, autonomous_maintenance_schedule_type, is_backup_retention_locked, time_scheduled_db_version_upgrade, is_disable_db_version_upgrade_schedule, is_schedule_db_version_upgrade_to_earliest, scheduled_operations, is_auto_scaling_for_storage_enabled, database_edition, db_tools_details, secret_id, secret_version_number, is_disconnect_peer, if_match, opc_dry_run, encryption_key_kms_rest_endpoint):
|
|
33663
|
+
|
|
33664
|
+
if isinstance(autonomous_database_id, six.string_types) and len(autonomous_database_id.strip()) == 0:
|
|
33665
|
+
raise click.UsageError('Parameter --autonomous-database-id cannot be whitespace or empty string')
|
|
33666
|
+
if not force:
|
|
33667
|
+
if long_term_backup_schedule or freeform_tags or defined_tags or security_attributes or whitelisted_ips or standby_whitelisted_ips or nsg_ids or customer_contacts or resource_pool_summary or scheduled_operations or db_tools_details:
|
|
33668
|
+
if not click.confirm("WARNING: Updates to long-term-backup-schedule and freeform-tags and defined-tags and security-attributes and whitelisted-ips and standby-whitelisted-ips and nsg-ids and customer-contacts and resource-pool-summary and scheduled-operations and db-tools-details will replace any existing values. Are you sure you want to continue?"):
|
|
33669
|
+
ctx.abort()
|
|
33670
|
+
|
|
33671
|
+
kwargs = {}
|
|
33672
|
+
if if_match is not None:
|
|
33673
|
+
kwargs['if_match'] = if_match
|
|
33674
|
+
if opc_dry_run is not None:
|
|
33675
|
+
kwargs['opc_dry_run'] = opc_dry_run
|
|
33676
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
33677
|
+
|
|
33678
|
+
_details = {}
|
|
33679
|
+
_details['encryptionKey'] = {}
|
|
33680
|
+
_details['encryptionKey']['keyName'] = encryption_key_key_name
|
|
33681
|
+
_details['encryptionKey']['project'] = encryption_key_project
|
|
33682
|
+
_details['encryptionKey']['location'] = encryption_key_location
|
|
33683
|
+
_details['encryptionKey']['keyRing'] = encryption_key_key_ring
|
|
33684
|
+
|
|
33685
|
+
if backup_retention_period_in_days is not None:
|
|
33686
|
+
_details['backupRetentionPeriodInDays'] = backup_retention_period_in_days
|
|
33687
|
+
|
|
33688
|
+
if compute_model is not None:
|
|
33689
|
+
_details['computeModel'] = compute_model
|
|
33690
|
+
|
|
33691
|
+
if in_memory_percentage is not None:
|
|
33692
|
+
_details['inMemoryPercentage'] = in_memory_percentage
|
|
33693
|
+
|
|
33694
|
+
if local_adg_auto_failover_max_data_loss_limit is not None:
|
|
33695
|
+
_details['localAdgAutoFailoverMaxDataLossLimit'] = local_adg_auto_failover_max_data_loss_limit
|
|
33696
|
+
|
|
33697
|
+
if cpu_core_count is not None:
|
|
33698
|
+
_details['cpuCoreCount'] = cpu_core_count
|
|
33699
|
+
|
|
33700
|
+
if long_term_backup_schedule is not None:
|
|
33701
|
+
_details['longTermBackupSchedule'] = cli_util.parse_json_parameter("long_term_backup_schedule", long_term_backup_schedule)
|
|
33702
|
+
|
|
33703
|
+
if is_dev_tier is not None:
|
|
33704
|
+
_details['isDevTier'] = is_dev_tier
|
|
33705
|
+
|
|
33706
|
+
if compute_count is not None:
|
|
33707
|
+
_details['computeCount'] = compute_count
|
|
33708
|
+
|
|
33709
|
+
if ocpu_count is not None:
|
|
33710
|
+
_details['ocpuCount'] = ocpu_count
|
|
33711
|
+
|
|
33712
|
+
if data_storage_size_in_tbs is not None:
|
|
33713
|
+
_details['dataStorageSizeInTBs'] = data_storage_size_in_tbs
|
|
33714
|
+
|
|
33715
|
+
if data_storage_size_in_gbs is not None:
|
|
33716
|
+
_details['dataStorageSizeInGBs'] = data_storage_size_in_gbs
|
|
33717
|
+
|
|
33718
|
+
if display_name is not None:
|
|
33719
|
+
_details['displayName'] = display_name
|
|
33720
|
+
|
|
33721
|
+
if is_free_tier is not None:
|
|
33722
|
+
_details['isFreeTier'] = is_free_tier
|
|
33723
|
+
|
|
33724
|
+
if admin_password is not None:
|
|
33725
|
+
_details['adminPassword'] = admin_password
|
|
33726
|
+
|
|
33727
|
+
if db_name is not None:
|
|
33728
|
+
_details['dbName'] = db_name
|
|
33729
|
+
|
|
33730
|
+
if freeform_tags is not None:
|
|
33731
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
33732
|
+
|
|
33733
|
+
if defined_tags is not None:
|
|
33734
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
33735
|
+
|
|
33736
|
+
if security_attributes is not None:
|
|
33737
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
33738
|
+
|
|
33739
|
+
if db_workload is not None:
|
|
33740
|
+
_details['dbWorkload'] = db_workload
|
|
33741
|
+
|
|
33742
|
+
if license_model is not None:
|
|
33743
|
+
_details['licenseModel'] = license_model
|
|
33744
|
+
|
|
33745
|
+
if byol_compute_count_limit is not None:
|
|
33746
|
+
_details['byolComputeCountLimit'] = byol_compute_count_limit
|
|
33747
|
+
|
|
33748
|
+
if is_access_control_enabled is not None:
|
|
33749
|
+
_details['isAccessControlEnabled'] = is_access_control_enabled
|
|
33750
|
+
|
|
33751
|
+
if whitelisted_ips is not None:
|
|
33752
|
+
_details['whitelistedIps'] = cli_util.parse_json_parameter("whitelisted_ips", whitelisted_ips)
|
|
33753
|
+
|
|
33754
|
+
if are_primary_whitelisted_ips_used is not None:
|
|
33755
|
+
_details['arePrimaryWhitelistedIpsUsed'] = are_primary_whitelisted_ips_used
|
|
33756
|
+
|
|
33757
|
+
if standby_whitelisted_ips is not None:
|
|
33758
|
+
_details['standbyWhitelistedIps'] = cli_util.parse_json_parameter("standby_whitelisted_ips", standby_whitelisted_ips)
|
|
33759
|
+
|
|
33760
|
+
if is_auto_scaling_enabled is not None:
|
|
33761
|
+
_details['isAutoScalingEnabled'] = is_auto_scaling_enabled
|
|
33762
|
+
|
|
33763
|
+
if is_refreshable_clone is not None:
|
|
33764
|
+
_details['isRefreshableClone'] = is_refreshable_clone
|
|
33765
|
+
|
|
33766
|
+
if refreshable_mode is not None:
|
|
33767
|
+
_details['refreshableMode'] = refreshable_mode
|
|
33768
|
+
|
|
33769
|
+
if is_local_data_guard_enabled is not None:
|
|
33770
|
+
_details['isLocalDataGuardEnabled'] = is_local_data_guard_enabled
|
|
33771
|
+
|
|
33772
|
+
if is_data_guard_enabled is not None:
|
|
33773
|
+
_details['isDataGuardEnabled'] = is_data_guard_enabled
|
|
33774
|
+
|
|
33775
|
+
if peer_db_id is not None:
|
|
33776
|
+
_details['peerDbId'] = peer_db_id
|
|
33777
|
+
|
|
33778
|
+
if db_version is not None:
|
|
33779
|
+
_details['dbVersion'] = db_version
|
|
33780
|
+
|
|
33781
|
+
if open_mode is not None:
|
|
33782
|
+
_details['openMode'] = open_mode
|
|
33783
|
+
|
|
33784
|
+
if permission_level is not None:
|
|
33785
|
+
_details['permissionLevel'] = permission_level
|
|
33786
|
+
|
|
33787
|
+
if subnet_id is not None:
|
|
33788
|
+
_details['subnetId'] = subnet_id
|
|
33789
|
+
|
|
33790
|
+
if private_endpoint_label is not None:
|
|
33791
|
+
_details['privateEndpointLabel'] = private_endpoint_label
|
|
33792
|
+
|
|
33793
|
+
if private_endpoint_ip is not None:
|
|
33794
|
+
_details['privateEndpointIp'] = private_endpoint_ip
|
|
33795
|
+
|
|
33796
|
+
if nsg_ids is not None:
|
|
33797
|
+
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
|
|
33798
|
+
|
|
33799
|
+
if auto_refresh_frequency_in_seconds is not None:
|
|
33800
|
+
_details['autoRefreshFrequencyInSeconds'] = auto_refresh_frequency_in_seconds
|
|
33801
|
+
|
|
33802
|
+
if auto_refresh_point_lag_in_seconds is not None:
|
|
33803
|
+
_details['autoRefreshPointLagInSeconds'] = auto_refresh_point_lag_in_seconds
|
|
33804
|
+
|
|
33805
|
+
if time_of_auto_refresh_start is not None:
|
|
33806
|
+
_details['timeOfAutoRefreshStart'] = time_of_auto_refresh_start
|
|
33807
|
+
|
|
33808
|
+
if customer_contacts is not None:
|
|
33809
|
+
_details['customerContacts'] = cli_util.parse_json_parameter("customer_contacts", customer_contacts)
|
|
33810
|
+
|
|
33811
|
+
if is_mtls_connection_required is not None:
|
|
33812
|
+
_details['isMtlsConnectionRequired'] = is_mtls_connection_required
|
|
33813
|
+
|
|
33814
|
+
if resource_pool_leader_id is not None:
|
|
33815
|
+
_details['resourcePoolLeaderId'] = resource_pool_leader_id
|
|
33816
|
+
|
|
33817
|
+
if resource_pool_summary is not None:
|
|
33818
|
+
_details['resourcePoolSummary'] = cli_util.parse_json_parameter("resource_pool_summary", resource_pool_summary)
|
|
33819
|
+
|
|
33820
|
+
if autonomous_maintenance_schedule_type is not None:
|
|
33821
|
+
_details['autonomousMaintenanceScheduleType'] = autonomous_maintenance_schedule_type
|
|
33822
|
+
|
|
33823
|
+
if is_backup_retention_locked is not None:
|
|
33824
|
+
_details['isBackupRetentionLocked'] = is_backup_retention_locked
|
|
33825
|
+
|
|
33826
|
+
if time_scheduled_db_version_upgrade is not None:
|
|
33827
|
+
_details['timeScheduledDbVersionUpgrade'] = time_scheduled_db_version_upgrade
|
|
33828
|
+
|
|
33829
|
+
if is_disable_db_version_upgrade_schedule is not None:
|
|
33830
|
+
_details['isDisableDbVersionUpgradeSchedule'] = is_disable_db_version_upgrade_schedule
|
|
33831
|
+
|
|
33832
|
+
if is_schedule_db_version_upgrade_to_earliest is not None:
|
|
33833
|
+
_details['isScheduleDbVersionUpgradeToEarliest'] = is_schedule_db_version_upgrade_to_earliest
|
|
33834
|
+
|
|
33835
|
+
if scheduled_operations is not None:
|
|
33836
|
+
_details['scheduledOperations'] = cli_util.parse_json_parameter("scheduled_operations", scheduled_operations)
|
|
33837
|
+
|
|
33838
|
+
if is_auto_scaling_for_storage_enabled is not None:
|
|
33839
|
+
_details['isAutoScalingForStorageEnabled'] = is_auto_scaling_for_storage_enabled
|
|
33840
|
+
|
|
33841
|
+
if database_edition is not None:
|
|
33842
|
+
_details['databaseEdition'] = database_edition
|
|
33843
|
+
|
|
33844
|
+
if db_tools_details is not None:
|
|
33845
|
+
_details['dbToolsDetails'] = cli_util.parse_json_parameter("db_tools_details", db_tools_details)
|
|
33846
|
+
|
|
33847
|
+
if secret_id is not None:
|
|
33848
|
+
_details['secretId'] = secret_id
|
|
33849
|
+
|
|
33850
|
+
if secret_version_number is not None:
|
|
33851
|
+
_details['secretVersionNumber'] = secret_version_number
|
|
33852
|
+
|
|
33853
|
+
if is_disconnect_peer is not None:
|
|
33854
|
+
_details['isDisconnectPeer'] = is_disconnect_peer
|
|
33855
|
+
|
|
33856
|
+
if encryption_key_kms_rest_endpoint is not None:
|
|
33857
|
+
_details['encryptionKey']['kmsRestEndpoint'] = encryption_key_kms_rest_endpoint
|
|
33858
|
+
|
|
33859
|
+
_details['encryptionKey']['provider'] = 'GCP'
|
|
33860
|
+
|
|
33861
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
33862
|
+
result = client.update_autonomous_database(
|
|
33863
|
+
autonomous_database_id=autonomous_database_id,
|
|
33864
|
+
update_autonomous_database_details=_details,
|
|
33865
|
+
**kwargs
|
|
33866
|
+
)
|
|
33867
|
+
if wait_for_state:
|
|
33868
|
+
|
|
33869
|
+
if hasattr(client, 'get_autonomous_database') and callable(getattr(client, 'get_autonomous_database')):
|
|
33870
|
+
try:
|
|
33871
|
+
wait_period_kwargs = {}
|
|
33872
|
+
if max_wait_seconds is not None:
|
|
33873
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
33874
|
+
if wait_interval_seconds is not None:
|
|
33875
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
33876
|
+
|
|
33877
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
33878
|
+
result = oci.wait_until(client, client.get_autonomous_database(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
33879
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
33880
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
33881
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
33882
|
+
cli_util.render_response(result, ctx)
|
|
33883
|
+
sys.exit(2)
|
|
33884
|
+
except Exception:
|
|
33885
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
33886
|
+
cli_util.render_response(result, ctx)
|
|
33887
|
+
raise
|
|
33888
|
+
else:
|
|
33889
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
33890
|
+
cli_util.render_response(result, ctx)
|
|
33891
|
+
|
|
33892
|
+
|
|
33081
33893
|
@autonomous_database_group.command(name=cli_util.override('db.update_autonomous_database_oracle_managed_key_details.command_name', 'update-autonomous-database-oracle-managed-key-details'), help=u"""Updates one or more attributes of the specified Autonomous Database. See the UpdateAutonomousDatabaseDetails resource for a full list of attributes that can be updated. \n[Command Reference](updateAutonomousDatabase)""")
|
|
33082
33894
|
@cli_util.option('--autonomous-database-id', required=True, help=u"""The database [OCID].""")
|
|
33083
33895
|
@cli_util.option('--backup-retention-period-in-days', type=click.INT, help=u"""Retention period, in days, for long-term backups""")
|
|
@@ -34279,7 +35091,21 @@ def update_cloud_exadata_infrastructure(ctx, from_json, force, wait_for_state, m
|
|
|
34279
35091
|
@cloud_vm_cluster_group.command(name=cli_util.override('db.update_cloud_vm_cluster.command_name', 'update'), help=u"""Updates the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only. \n[Command Reference](updateCloudVmCluster)""")
|
|
34280
35092
|
@cli_util.option('--cloud-vm-cluster-id', required=True, help=u"""The cloud VM cluster [OCID].""")
|
|
34281
35093
|
@cli_util.option('--display-name', help=u"""The user-friendly name for the cloud VM cluster. The name does not need to be unique.""")
|
|
34282
|
-
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""
|
|
35094
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""For fixed shapes, this is the total number of OCPUs to enable across the VM cluster.
|
|
35095
|
+
|
|
35096
|
+
- Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84. - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168. - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336. - Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92. - Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184. - Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368. - Exadata.Quarter3.100 - Specify a multiple of 2, from 0 to 100. - Exadata.Half3.200 - Specify a multiple of 4, from 0 to 200. - Exadata.Full3.400 - Specify a multiple of 8, from 0 to 400.
|
|
35097
|
+
|
|
35098
|
+
The API specification for fixed shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary
|
|
35099
|
+
|
|
35100
|
+
For flexible shapes X8M and X9M, this is the total number of OCPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
|
|
35101
|
+
|
|
35102
|
+
- Exadata.X8M - Specify a multiple of 2, from 2 to 50 per X8M database server. - Exadata.X9M - Specify a multiple of 2, from 2 to 126 per X9M database server.
|
|
35103
|
+
|
|
35104
|
+
For flexible shapes X11M and higher, this is the total number of ECPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
|
|
35105
|
+
|
|
35106
|
+
- Exadata.X11M - Specify a multiple of 8, from 8 to 760 per X11M database server.
|
|
35107
|
+
|
|
35108
|
+
The API specification for flexible shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/FlexComponentSummary""")
|
|
34283
35109
|
@cli_util.option('--ocpu-count', type=click.FLOAT, help=u"""The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed for the fractional part.""")
|
|
34284
35110
|
@cli_util.option('--memory-size-in-gbs', type=click.INT, help=u"""The memory to be allocated in GBs.""")
|
|
34285
35111
|
@cli_util.option('--db-node-storage-size-in-gbs', type=click.INT, help=u"""The local node storage to be allocated in GBs.""")
|