oci-cli 3.66.1__py3-none-any.whl → 3.67.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- common_util/ignored_commands.py +3 -1
- oci_cli/bin/jms.psm1 +74 -6
- oci_cli/bin/marketplace.psm1 +7 -1
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-gpu-memory-fabric/update.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/create.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/delete.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/image-capability-schema/update.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-compute-bare-metal-host-placement-constraint-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-host-group-placement-constraint-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-amd-vm-update-instance-platform-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-intel-vm-update-instance-platform-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-boot-volume-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-image-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/discovery-job/list-discovery-job-results.txt +13 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-error-summary/list-masking-errors.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/list-masking-reports.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/mask-data.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-column/list.txt +22 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/service/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-gcp-key-details.txt +779 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update-autonomous-database-gcp-key-details.txt +1079 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/configure-exascale.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/create.txt +35 -9
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/update.txt +38 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +23 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-db.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-exadb-stack.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-gi.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-guest-os.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create.txt +7 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection-summary/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/clone.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create-fsu-cycle-create-upgrade-fsu-cycle.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create-patch.txt +14 -12
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/create.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/update-fsu-cycle-exadb-stack-fsu-goal-version-details.txt +230 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle/update-patch.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle-summary/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-cycle.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-exadb-stack.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-guest-os.txt +185 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fn/function/create.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fn/function/update.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fusion-apps/fusion-environment/create.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fusion-apps/fusion-environment/update.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/create.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/update.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/create.txt +186 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/update.txt +195 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint-collection/list-generative-ai-private-endpoints.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/agent-installer-summary/generate-agent-installer-configuration.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary/list-containers.txt +338 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/export-setting/update.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/fleet-agent-configuration/update.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/installation-usage/summarize.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/create.txt +12 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary/list-library-application-usage.txt +332 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory/summarize.txt +284 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary/list-library-managed-instance-usage.txt +332 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/scan.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/summarize.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/managed-instance-usage/summarize.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-add-installation-site-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-crypto-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-deployed-application-migration-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-java-migration-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-jfr-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-performance-tuning-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-remove-installation-site-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-java-server-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-library-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/delete.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/get.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/list.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-add-installation-site-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-crypto-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-deployed-application-migration-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-java-migration-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-jfr-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-performance-tuning-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-remove-installation-site-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-java-server-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-library-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule.txt +58 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary/list-uncorrelated-package-application-usage.txt +324 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-managed-instance-usage-summary/list-uncorrelated-package-managed-instance-usage.txt +324 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-managed-instance-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary/list-uncorrelated-package-usage.txt +323 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads.txt +1 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/get.txt +83 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/update.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/delete.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/list.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/request.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/delete.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/list.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/request.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/get.txt +83 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/update.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary/list-work-items.txt +110 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error/list.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-log-entry/list-work-request-logs.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane/work-request → jms-utils}/work-request-log-entry.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils.txt +65 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms.txt +76 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details/create-marketplace-external-attested-metadata.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary/list-marketplace-metadata-public-keys.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/cluster/cluster/create.txt +12 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/cluster/cluster/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/add-block-volume.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/change-compartment.txt +114 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/create.txt +190 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/delete.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/get.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/list.txt +163 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore/update.txt +185 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/add-datastore.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/attach-to-cluster.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/attach-to-esxi-host.txt +155 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/change-compartment.txt +110 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/create.txt +188 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/detach-from-cluster.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/detach-from-esxi-host.txt +155 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/list.txt +163 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/remove-datastore.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster/update.txt +182 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore-cluster.txt +37 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/datastore.txt +27 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/esxi-host/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/esxi-host/update.txt +6 -2
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +43 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/create.txt +127 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/change-compartment.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/create.txt +204 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/disable-oac.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/enable-oac.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/list.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/update.txt +179 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance.txt +34 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/create.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/update.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics.txt +68 -0
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +6 -2
- oci_cli/service_mapping.py +11 -1
- oci_cli/version.py +1 -1
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/METADATA +2 -2
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/RECORD +290 -116
- services/core/src/oci_cli_compute/generated/compute_cli.py +194 -28
- services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +28 -9
- services/database/src/oci_cli_database/database_cli_extended.py +43 -2
- services/database/src/oci_cli_database/generated/database_cli.py +830 -4
- services/fleet_software_update/src/oci_cli_fleet_software_update/fleetsoftwareupdate_cli_extended.py +16 -0
- services/fleet_software_update/src/oci_cli_fleet_software_update/generated/fleetsoftwareupdate_cli.py +421 -32
- services/functions/src/oci_cli_functions_management/functionsmanagement_cli_extended.py +87 -5
- services/functions/src/oci_cli_functions_management/generated/functionsmanagement_cli.py +2361 -469
- services/fusion_apps/src/oci_cli_fusion_applications/fusionapplications_cli_extended.py +40 -0
- services/fusion_apps/src/oci_cli_fusion_applications/generated/fusionapplications_cli.py +10 -2
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +399 -2
- services/jms/src/oci_cli_java_management_service/generated/javamanagementservice_cli.py +4359 -2378
- services/jms_java_downloads/src/oci_cli_java_download/generated/javadownload_cli.py +5 -5
- services/jms_utils/__init__.py +4 -0
- services/jms_utils/src/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/client_mappings.py +14 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/jmsutils_cli.py +812 -0
- services/jms_utils/tests/__init__.py +4 -0
- services/marketplace/src/oci_cli_marketplace/generated/marketplace_cli.py +94 -0
- services/ocvp/src/oci_cli_cluster/generated/cluster_cli.py +9 -5
- services/ocvp/src/oci_cli_datastore/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore/datastore_cli_extended.py +25 -0
- services/ocvp/src/oci_cli_datastore/generated/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore/generated/client_mappings.py +14 -0
- services/ocvp/src/oci_cli_datastore/generated/datastore_cli.py +434 -0
- services/ocvp/src/oci_cli_datastore_cluster/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore_cluster/datastorecluster_cli_extended.py +50 -0
- services/ocvp/src/oci_cli_datastore_cluster/generated/__init__.py +4 -0
- services/ocvp/src/oci_cli_datastore_cluster/generated/client_mappings.py +14 -0
- services/ocvp/src/oci_cli_datastore_cluster/generated/datastorecluster_cli.py +737 -0
- services/ocvp/src/oci_cli_esxi_host/generated/esxihost_cli.py +5 -3
- services/resource_analytics/__init__.py +4 -0
- services/resource_analytics/src/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/monitoredregion_cli.py +233 -0
- services/resource_analytics/src/oci_cli_monitored_region/monitored_region_cli_extended.py +39 -0
- services/resource_analytics/src/oci_cli_resource_analytics/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics/generated/resource_analytics_service_cli.py +14 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/resourceanalyticsinstance_cli.py +968 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/resource_analytics_instance_cli_extended.py +40 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/tenancyattachment_cli.py +298 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/tenancy_attachment_cli_extended.py +39 -0
- services/resource_analytics/tests/__init__.py +4 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.67.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
|
5
|
+
|
|
6
|
+
from __future__ import print_function
|
|
7
|
+
import click
|
|
8
|
+
import oci # noqa: F401
|
|
9
|
+
import six # noqa: F401
|
|
10
|
+
import sys # noqa: F401
|
|
11
|
+
from oci_cli import cli_constants # noqa: F401
|
|
12
|
+
from oci_cli import cli_util
|
|
13
|
+
from oci_cli import json_skeleton_utils
|
|
14
|
+
from oci_cli import custom_types # noqa: F401
|
|
15
|
+
from oci_cli.aliasing import CommandGroupWithAlias
|
|
16
|
+
from services.ocvp.src.oci_cli_ocvp.generated import ocvs_service_cli
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@click.command(cli_util.override('datastore.datastore_root_group.command_name', 'datastore'), cls=CommandGroupWithAlias, help=cli_util.override('datastore.datastore_root_group.help', """Use the Oracle Cloud VMware API to create SDDCs and manage ESXi hosts and software.
|
|
20
|
+
For more information, see [Oracle Cloud VMware Solution]."""), short_help=cli_util.override('datastore.datastore_root_group.short_help', """Oracle Cloud VMware Solution API"""))
|
|
21
|
+
@cli_util.help_option_group
|
|
22
|
+
def datastore_root_group():
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
@click.command(cli_util.override('datastore.datastore_group.command_name', 'datastore'), cls=CommandGroupWithAlias, help="""An [Oracle Cloud VMware Solution] Datastore for software-defined data center.""")
|
|
27
|
+
@cli_util.help_option_group
|
|
28
|
+
def datastore_group():
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
ocvs_service_cli.ocvs_service_group.add_command(datastore_root_group)
|
|
33
|
+
datastore_root_group.add_command(datastore_group)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
@datastore_group.command(name=cli_util.override('datastore.add_block_volume_to_datastore.command_name', 'add'), help=u"""Add the specified Block Volume to the provided Datastore.
|
|
37
|
+
|
|
38
|
+
Use the [WorkRequest] operations to track the addition of the block volume to the Datastore. \n[Command Reference](addBlockVolumeToDatastore)""")
|
|
39
|
+
@cli_util.option('--datastore-id', required=True, help=u"""The [OCID] of the Datastore.""")
|
|
40
|
+
@cli_util.option('--block-volume-id', required=True, help=u"""The [OCID] of the Block Volume to be added to the Datastore.""")
|
|
41
|
+
@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.""")
|
|
42
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
43
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
44
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
45
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
46
|
+
@cli_util.help_option
|
|
47
|
+
@click.pass_context
|
|
48
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
49
|
+
@cli_util.wrap_exceptions
|
|
50
|
+
def add_block_volume_to_datastore(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, datastore_id, block_volume_id, if_match):
|
|
51
|
+
|
|
52
|
+
if isinstance(datastore_id, six.string_types) and len(datastore_id.strip()) == 0:
|
|
53
|
+
raise click.UsageError('Parameter --datastore-id cannot be whitespace or empty string')
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
if if_match is not None:
|
|
57
|
+
kwargs['if_match'] = if_match
|
|
58
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
59
|
+
|
|
60
|
+
_details = {}
|
|
61
|
+
_details['blockVolumeId'] = block_volume_id
|
|
62
|
+
|
|
63
|
+
client = cli_util.build_client('ocvp', 'datastore', ctx)
|
|
64
|
+
result = client.add_block_volume_to_datastore(
|
|
65
|
+
datastore_id=datastore_id,
|
|
66
|
+
add_block_volume_to_datastore_details=_details,
|
|
67
|
+
**kwargs
|
|
68
|
+
)
|
|
69
|
+
if wait_for_state:
|
|
70
|
+
|
|
71
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
72
|
+
try:
|
|
73
|
+
wait_period_kwargs = {}
|
|
74
|
+
if max_wait_seconds is not None:
|
|
75
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
76
|
+
if wait_interval_seconds is not None:
|
|
77
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
78
|
+
if 'opc-work-request-id' not in result.headers:
|
|
79
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
80
|
+
cli_util.render_response(result, ctx)
|
|
81
|
+
return
|
|
82
|
+
|
|
83
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
84
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
85
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
86
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
87
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
88
|
+
cli_util.render_response(result, ctx)
|
|
89
|
+
sys.exit(2)
|
|
90
|
+
except Exception:
|
|
91
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
92
|
+
cli_util.render_response(result, ctx)
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
96
|
+
cli_util.render_response(result, ctx)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
@datastore_group.command(name=cli_util.override('datastore.change_datastore_compartment.command_name', 'change-compartment'), help=u"""Moves an Datastore into a different compartment within the same tenancy. For information about moving resources between compartments, see [Moving Resources to a Different Compartment]. \n[Command Reference](changeDatastoreCompartment)""")
|
|
100
|
+
@cli_util.option('--datastore-id', required=True, help=u"""The [OCID] of the Datastore.""")
|
|
101
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to move the Datastore to.""")
|
|
102
|
+
@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.""")
|
|
103
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
104
|
+
@cli_util.help_option
|
|
105
|
+
@click.pass_context
|
|
106
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
107
|
+
@cli_util.wrap_exceptions
|
|
108
|
+
def change_datastore_compartment(ctx, from_json, datastore_id, compartment_id, if_match):
|
|
109
|
+
|
|
110
|
+
if isinstance(datastore_id, six.string_types) and len(datastore_id.strip()) == 0:
|
|
111
|
+
raise click.UsageError('Parameter --datastore-id cannot be whitespace or empty string')
|
|
112
|
+
|
|
113
|
+
kwargs = {}
|
|
114
|
+
if if_match is not None:
|
|
115
|
+
kwargs['if_match'] = if_match
|
|
116
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
117
|
+
|
|
118
|
+
_details = {}
|
|
119
|
+
_details['compartmentId'] = compartment_id
|
|
120
|
+
|
|
121
|
+
client = cli_util.build_client('ocvp', 'datastore', ctx)
|
|
122
|
+
result = client.change_datastore_compartment(
|
|
123
|
+
datastore_id=datastore_id,
|
|
124
|
+
change_datastore_compartment_details=_details,
|
|
125
|
+
**kwargs
|
|
126
|
+
)
|
|
127
|
+
cli_util.render_response(result, ctx)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
@datastore_group.command(name=cli_util.override('datastore.create_datastore.command_name', 'create'), help=u"""Creates a Oracle Cloud VMware Solution Datastore.
|
|
131
|
+
|
|
132
|
+
Use the [WorkRequest] operations to track the creation of the Datastore. \n[Command Reference](createDatastore)""")
|
|
133
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to contain the Datastore.""")
|
|
134
|
+
@cli_util.option('--block-volume-ids', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The List of Block volume [OCID]s that belong to the Datastore.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
135
|
+
@cli_util.option('--display-name', required=True, help=u"""A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.""")
|
|
136
|
+
@cli_util.option('--availability-domain', required=True, help=u"""The availability domain to create the Datastore in.""")
|
|
137
|
+
@cli_util.option('--datastore-cluster-id', help=u"""The [OCID] of the datastore cluster that Datastore belongs to.""")
|
|
138
|
+
@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].
|
|
139
|
+
|
|
140
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
141
|
+
@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].
|
|
142
|
+
|
|
143
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
144
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
145
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
146
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
147
|
+
@json_skeleton_utils.get_cli_json_input_option({'block-volume-ids': {'module': 'ocvp', 'class': 'list[string]'}, 'freeform-tags': {'module': 'ocvp', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'ocvp', 'class': 'dict(str, dict(str, object))'}})
|
|
148
|
+
@cli_util.help_option
|
|
149
|
+
@click.pass_context
|
|
150
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'block-volume-ids': {'module': 'ocvp', 'class': 'list[string]'}, 'freeform-tags': {'module': 'ocvp', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'ocvp', 'class': 'dict(str, dict(str, object))'}})
|
|
151
|
+
@cli_util.wrap_exceptions
|
|
152
|
+
def create_datastore(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, block_volume_ids, display_name, availability_domain, datastore_cluster_id, freeform_tags, defined_tags):
|
|
153
|
+
|
|
154
|
+
kwargs = {}
|
|
155
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
156
|
+
|
|
157
|
+
_details = {}
|
|
158
|
+
_details['compartmentId'] = compartment_id
|
|
159
|
+
_details['blockVolumeIds'] = cli_util.parse_json_parameter("block_volume_ids", block_volume_ids)
|
|
160
|
+
_details['displayName'] = display_name
|
|
161
|
+
_details['availabilityDomain'] = availability_domain
|
|
162
|
+
|
|
163
|
+
if datastore_cluster_id is not None:
|
|
164
|
+
_details['datastoreClusterId'] = datastore_cluster_id
|
|
165
|
+
|
|
166
|
+
if freeform_tags is not None:
|
|
167
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
168
|
+
|
|
169
|
+
if defined_tags is not None:
|
|
170
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
171
|
+
|
|
172
|
+
client = cli_util.build_client('ocvp', 'datastore', ctx)
|
|
173
|
+
result = client.create_datastore(
|
|
174
|
+
create_datastore_details=_details,
|
|
175
|
+
**kwargs
|
|
176
|
+
)
|
|
177
|
+
if wait_for_state:
|
|
178
|
+
|
|
179
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
180
|
+
try:
|
|
181
|
+
wait_period_kwargs = {}
|
|
182
|
+
if max_wait_seconds is not None:
|
|
183
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
184
|
+
if wait_interval_seconds is not None:
|
|
185
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
186
|
+
if 'opc-work-request-id' not in result.headers:
|
|
187
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
188
|
+
cli_util.render_response(result, ctx)
|
|
189
|
+
return
|
|
190
|
+
|
|
191
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
192
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
193
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
194
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
195
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
196
|
+
cli_util.render_response(result, ctx)
|
|
197
|
+
sys.exit(2)
|
|
198
|
+
except Exception:
|
|
199
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
200
|
+
cli_util.render_response(result, ctx)
|
|
201
|
+
raise
|
|
202
|
+
else:
|
|
203
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
204
|
+
cli_util.render_response(result, ctx)
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
@datastore_group.command(name=cli_util.override('datastore.delete_datastore.command_name', 'delete'), help=u"""Deletes the specified Datastore.
|
|
208
|
+
|
|
209
|
+
Use the [WorkRequest] operations to track the deletion of the Datastore. \n[Command Reference](deleteDatastore)""")
|
|
210
|
+
@cli_util.option('--datastore-id', required=True, help=u"""The [OCID] of the Datastore.""")
|
|
211
|
+
@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.""")
|
|
212
|
+
@cli_util.confirm_delete_option
|
|
213
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
214
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
215
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
216
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
217
|
+
@cli_util.help_option
|
|
218
|
+
@click.pass_context
|
|
219
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
220
|
+
@cli_util.wrap_exceptions
|
|
221
|
+
def delete_datastore(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, datastore_id, if_match):
|
|
222
|
+
|
|
223
|
+
if isinstance(datastore_id, six.string_types) and len(datastore_id.strip()) == 0:
|
|
224
|
+
raise click.UsageError('Parameter --datastore-id cannot be whitespace or empty string')
|
|
225
|
+
|
|
226
|
+
kwargs = {}
|
|
227
|
+
if if_match is not None:
|
|
228
|
+
kwargs['if_match'] = if_match
|
|
229
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
230
|
+
client = cli_util.build_client('ocvp', 'datastore', ctx)
|
|
231
|
+
result = client.delete_datastore(
|
|
232
|
+
datastore_id=datastore_id,
|
|
233
|
+
**kwargs
|
|
234
|
+
)
|
|
235
|
+
if wait_for_state:
|
|
236
|
+
|
|
237
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
238
|
+
try:
|
|
239
|
+
wait_period_kwargs = {}
|
|
240
|
+
if max_wait_seconds is not None:
|
|
241
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
242
|
+
if wait_interval_seconds is not None:
|
|
243
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
244
|
+
if 'opc-work-request-id' not in result.headers:
|
|
245
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
246
|
+
cli_util.render_response(result, ctx)
|
|
247
|
+
return
|
|
248
|
+
|
|
249
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
250
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
251
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
252
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
253
|
+
click.echo('Failed to wait until the work request entered the specified state. Please retrieve the work request to find its current state', file=sys.stderr)
|
|
254
|
+
cli_util.render_response(result, ctx)
|
|
255
|
+
sys.exit(2)
|
|
256
|
+
except Exception:
|
|
257
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
258
|
+
cli_util.render_response(result, ctx)
|
|
259
|
+
raise
|
|
260
|
+
else:
|
|
261
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
262
|
+
cli_util.render_response(result, ctx)
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
@datastore_group.command(name=cli_util.override('datastore.get_datastore.command_name', 'get'), help=u"""Get the specified Datastore's information. \n[Command Reference](getDatastore)""")
|
|
266
|
+
@cli_util.option('--datastore-id', required=True, help=u"""The [OCID] of the Datastore.""")
|
|
267
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
268
|
+
@cli_util.help_option
|
|
269
|
+
@click.pass_context
|
|
270
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'ocvp', 'class': 'Datastore'})
|
|
271
|
+
@cli_util.wrap_exceptions
|
|
272
|
+
def get_datastore(ctx, from_json, datastore_id):
|
|
273
|
+
|
|
274
|
+
if isinstance(datastore_id, six.string_types) and len(datastore_id.strip()) == 0:
|
|
275
|
+
raise click.UsageError('Parameter --datastore-id cannot be whitespace or empty string')
|
|
276
|
+
|
|
277
|
+
kwargs = {}
|
|
278
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
279
|
+
client = cli_util.build_client('ocvp', 'datastore', ctx)
|
|
280
|
+
result = client.get_datastore(
|
|
281
|
+
datastore_id=datastore_id,
|
|
282
|
+
**kwargs
|
|
283
|
+
)
|
|
284
|
+
cli_util.render_response(result, ctx)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
@datastore_group.command(name=cli_util.override('datastore.list_datastores.command_name', 'list'), help=u"""List the Datastores in the specified compartment. The list can be filtered by compartment, datastore id, display name and lifecycle state. \n[Command Reference](listDatastores)""")
|
|
288
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
|
|
289
|
+
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly.""")
|
|
290
|
+
@cli_util.option('--cluster-id', help=u"""The [OCID] of the SDDC Cluster.""")
|
|
291
|
+
@cli_util.option('--datastore-id', help=u"""The [OCID] of the Datastore.""")
|
|
292
|
+
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
293
|
+
@cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
294
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive.""")
|
|
295
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
|
|
296
|
+
|
|
297
|
+
**Note:** In general, some \"List\" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these \"List\" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted.""")
|
|
298
|
+
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""The lifecycle state of the resource.""")
|
|
299
|
+
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
|
|
300
|
+
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
|
|
301
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
302
|
+
@cli_util.help_option
|
|
303
|
+
@click.pass_context
|
|
304
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'ocvp', 'class': 'DatastoreCollection'})
|
|
305
|
+
@cli_util.wrap_exceptions
|
|
306
|
+
def list_datastores(ctx, from_json, all_pages, page_size, compartment_id, display_name, cluster_id, datastore_id, limit, page, sort_order, sort_by, lifecycle_state):
|
|
307
|
+
|
|
308
|
+
if all_pages and limit:
|
|
309
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
310
|
+
|
|
311
|
+
kwargs = {}
|
|
312
|
+
if display_name is not None:
|
|
313
|
+
kwargs['display_name'] = display_name
|
|
314
|
+
if cluster_id is not None:
|
|
315
|
+
kwargs['cluster_id'] = cluster_id
|
|
316
|
+
if datastore_id is not None:
|
|
317
|
+
kwargs['datastore_id'] = datastore_id
|
|
318
|
+
if limit is not None:
|
|
319
|
+
kwargs['limit'] = limit
|
|
320
|
+
if page is not None:
|
|
321
|
+
kwargs['page'] = page
|
|
322
|
+
if sort_order is not None:
|
|
323
|
+
kwargs['sort_order'] = sort_order
|
|
324
|
+
if sort_by is not None:
|
|
325
|
+
kwargs['sort_by'] = sort_by
|
|
326
|
+
if lifecycle_state is not None:
|
|
327
|
+
kwargs['lifecycle_state'] = lifecycle_state
|
|
328
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
329
|
+
client = cli_util.build_client('ocvp', 'datastore', ctx)
|
|
330
|
+
if all_pages:
|
|
331
|
+
if page_size:
|
|
332
|
+
kwargs['limit'] = page_size
|
|
333
|
+
|
|
334
|
+
result = cli_util.list_call_get_all_results(
|
|
335
|
+
client.list_datastores,
|
|
336
|
+
compartment_id=compartment_id,
|
|
337
|
+
**kwargs
|
|
338
|
+
)
|
|
339
|
+
elif limit is not None:
|
|
340
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
341
|
+
client.list_datastores,
|
|
342
|
+
limit,
|
|
343
|
+
page_size,
|
|
344
|
+
compartment_id=compartment_id,
|
|
345
|
+
**kwargs
|
|
346
|
+
)
|
|
347
|
+
else:
|
|
348
|
+
result = client.list_datastores(
|
|
349
|
+
compartment_id=compartment_id,
|
|
350
|
+
**kwargs
|
|
351
|
+
)
|
|
352
|
+
cli_util.render_response(result, ctx)
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
@datastore_group.command(name=cli_util.override('datastore.update_datastore.command_name', 'update'), help=u"""Updates the specified Datastore.
|
|
356
|
+
|
|
357
|
+
**Important:** Updating a Datastore affects only certain attributes in the `Datastore` object and does not affect the VMware environment currently running. \n[Command Reference](updateDatastore)""")
|
|
358
|
+
@cli_util.option('--datastore-id', required=True, help=u"""The [OCID] of the Datastore.""")
|
|
359
|
+
@cli_util.option('--display-name', help=u"""A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.""")
|
|
360
|
+
@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].
|
|
361
|
+
|
|
362
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
363
|
+
@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].
|
|
364
|
+
|
|
365
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
366
|
+
@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.""")
|
|
367
|
+
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
368
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
369
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
370
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
371
|
+
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'ocvp', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'ocvp', 'class': 'dict(str, dict(str, object))'}})
|
|
372
|
+
@cli_util.help_option
|
|
373
|
+
@click.pass_context
|
|
374
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'ocvp', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'ocvp', 'class': 'dict(str, dict(str, object))'}})
|
|
375
|
+
@cli_util.wrap_exceptions
|
|
376
|
+
def update_datastore(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, datastore_id, display_name, freeform_tags, defined_tags, if_match):
|
|
377
|
+
|
|
378
|
+
if isinstance(datastore_id, six.string_types) and len(datastore_id.strip()) == 0:
|
|
379
|
+
raise click.UsageError('Parameter --datastore-id cannot be whitespace or empty string')
|
|
380
|
+
if not force:
|
|
381
|
+
if freeform_tags or defined_tags:
|
|
382
|
+
if not click.confirm("WARNING: Updates to freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
383
|
+
ctx.abort()
|
|
384
|
+
|
|
385
|
+
kwargs = {}
|
|
386
|
+
if if_match is not None:
|
|
387
|
+
kwargs['if_match'] = if_match
|
|
388
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
389
|
+
|
|
390
|
+
_details = {}
|
|
391
|
+
|
|
392
|
+
if display_name is not None:
|
|
393
|
+
_details['displayName'] = display_name
|
|
394
|
+
|
|
395
|
+
if freeform_tags is not None:
|
|
396
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
397
|
+
|
|
398
|
+
if defined_tags is not None:
|
|
399
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
400
|
+
|
|
401
|
+
client = cli_util.build_client('ocvp', 'datastore', ctx)
|
|
402
|
+
result = client.update_datastore(
|
|
403
|
+
datastore_id=datastore_id,
|
|
404
|
+
update_datastore_details=_details,
|
|
405
|
+
**kwargs
|
|
406
|
+
)
|
|
407
|
+
if wait_for_state:
|
|
408
|
+
|
|
409
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
410
|
+
try:
|
|
411
|
+
wait_period_kwargs = {}
|
|
412
|
+
if max_wait_seconds is not None:
|
|
413
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
414
|
+
if wait_interval_seconds is not None:
|
|
415
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
416
|
+
if 'opc-work-request-id' not in result.headers:
|
|
417
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
418
|
+
cli_util.render_response(result, ctx)
|
|
419
|
+
return
|
|
420
|
+
|
|
421
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
422
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
423
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
424
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
425
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
426
|
+
cli_util.render_response(result, ctx)
|
|
427
|
+
sys.exit(2)
|
|
428
|
+
except Exception:
|
|
429
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
430
|
+
cli_util.render_response(result, ctx)
|
|
431
|
+
raise
|
|
432
|
+
else:
|
|
433
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
434
|
+
cli_util.render_response(result, ctx)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
|
|
5
|
+
import click # noqa: F401
|
|
6
|
+
import json # noqa: F401
|
|
7
|
+
from services.ocvp.src.oci_cli_datastore_cluster.generated import datastorecluster_cli
|
|
8
|
+
from oci_cli import cli_util # noqa: F401
|
|
9
|
+
from oci_cli import custom_types # noqa: F401
|
|
10
|
+
from oci_cli import json_skeleton_utils # noqa: F401
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# oci ocvs datastore-cluster datastore-cluster attach -> oci ocvs datastore-cluster datastore-cluster attach-to-esxi-host
|
|
14
|
+
cli_util.rename_command(datastorecluster_cli, datastorecluster_cli.datastore_cluster_group, datastorecluster_cli.attach_datastore_cluster_to_esxi_host, "attach-to-esxi-host")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# oci ocvs datastore-cluster datastore-cluster detach -> oci ocvs datastore-cluster datastore-cluster detach-from-esxi-host
|
|
18
|
+
cli_util.rename_command(datastorecluster_cli, datastorecluster_cli.datastore_cluster_group, datastorecluster_cli.detach_datastore_cluster_from_esxi_host, "detach-from-esxi-host")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# oci ocvs datastore-cluster datastore-cluster attach -> oci ocvs datastore-cluster datastore-cluster attach-to-cluster
|
|
22
|
+
cli_util.rename_command(datastorecluster_cli, datastorecluster_cli.datastore_cluster_group, datastorecluster_cli.attach_datastore_cluster_to_cluster, "attach-to-cluster")
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# oci ocvs datastore-cluster datastore-cluster detach -> oci ocvs datastore-cluster datastore-cluster detach-from-cluster
|
|
26
|
+
cli_util.rename_command(datastorecluster_cli, datastorecluster_cli.datastore_cluster_group, datastorecluster_cli.detach_datastore_cluster_from_cluster, "detach-from-cluster")
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# oci ocvs datastore-cluster datastore-cluster add -> oci ocvs datastore-cluster datastore-cluster add-datastore
|
|
30
|
+
cli_util.rename_command(datastorecluster_cli, datastorecluster_cli.datastore_cluster_group, datastorecluster_cli.add_datastore_to_datastore_cluster, "add-datastore")
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# oci ocvs datastore-cluster datastore-cluster remove -> oci ocvs datastore-cluster datastore-cluster remove-datastore
|
|
34
|
+
cli_util.rename_command(datastorecluster_cli, datastorecluster_cli.datastore_cluster_group, datastorecluster_cli.remove_datastore_from_datastore_cluster, "remove-datastore")
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# Move commands under 'oci ocvs datastore-cluster datastore-cluster' -> 'oci ocvs datastore-cluster'
|
|
38
|
+
datastorecluster_cli.datastore_cluster_root_group.commands.pop(datastorecluster_cli.datastore_cluster_group.name)
|
|
39
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.add_datastore_to_datastore_cluster)
|
|
40
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.attach_datastore_cluster_to_cluster)
|
|
41
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.attach_datastore_cluster_to_esxi_host)
|
|
42
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.change_datastore_cluster_compartment)
|
|
43
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.create_datastore_cluster)
|
|
44
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.delete_datastore_cluster)
|
|
45
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.detach_datastore_cluster_from_cluster)
|
|
46
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.detach_datastore_cluster_from_esxi_host)
|
|
47
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.get_datastore_cluster)
|
|
48
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.list_datastore_clusters)
|
|
49
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.remove_datastore_from_datastore_cluster)
|
|
50
|
+
datastorecluster_cli.datastore_cluster_root_group.add_command(datastorecluster_cli.update_datastore_cluster)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
|
5
|
+
|
|
6
|
+
import oci
|
|
7
|
+
from oci_cli.cli_clients import CLIENT_MAP
|
|
8
|
+
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
|
|
9
|
+
from oci.ocvp import DatastoreClusterClient
|
|
10
|
+
|
|
11
|
+
MODULE_TO_TYPE_MAPPINGS["ocvp"] = oci.ocvp.models.ocvp_type_mapping
|
|
12
|
+
if CLIENT_MAP.get("ocvp") is None:
|
|
13
|
+
CLIENT_MAP["ocvp"] = {}
|
|
14
|
+
CLIENT_MAP["ocvp"]["datastore_cluster"] = DatastoreClusterClient
|