oci-cli 3.64.1__py3-none-any.whl → 3.65.1__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.
- oci_cli/bin/dbmulticloud.psm1 +39 -4
- oci_cli/bin/mysql.psm1 +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/condition-metadata-type/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/detector-recipe/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/create.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem-aggregation/request-summarized-problems.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource-type-summary/list-resource-types.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/register-cloud-vm-cluster-pkcs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/unregister-cloud-vm-cluster-pkcs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create-data-guard-association-google-cloud-provider-encryption-key-details.txt +206 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association.txt +3 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/access-policy/delete.txt → db/database/change-encryption-key-location-google-cloud-provider-encryption-key-details.txt} +19 -24
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-create-stand-by-database-details.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-from-backup.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +3 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/update.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.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/dbmulticloud/multi-cloud-resource-discovery/change-compartment.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/create.txt +24 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/delete.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/list.txt +14 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/update.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/create.txt +6 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/update.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/create.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/delete.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/list.txt +7 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/update.txt +8 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/change-compartment.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/create.txt +11 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/delete.txt +2 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/get.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/list.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/patch.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/update.txt +12 -13
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/list.txt +7 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/create.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/get.txt +5 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/list.txt +8 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/refresh.txt +6 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/update.txt +17 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/cascading-delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/create.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/update.txt +9 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/change-compartment.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/ingress-gateway → dbmulticloud/oracle-db-gcp-identity-connector}/create.txt +54 -69
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-identity-connector}/delete.txt +8 -18
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance → dbmulticloud/oracle-db-gcp-identity-connector}/get.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → dbmulticloud/oracle-db-gcp-identity-connector}/list.txt +15 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-updates.txt → dbmulticloud/oracle-db-gcp-identity-connector/refresh.txt} +17 -17
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-identity-connector}/update.txt +57 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request → dbmulticloud/oracle-db-gcp-key}/get.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-key}/list.txt +18 -15
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → dbmulticloud/oracle-db-gcp-key-ring}/change-compartment.txt +15 -21
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/update.txt → dbmulticloud/oracle-db-gcp-key-ring/create.txt} +54 -47
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → dbmulticloud/oracle-db-gcp-key-ring}/delete.txt +9 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/list.txt → dbmulticloud/oracle-db-gcp-key-ring/get.txt} +13 -44
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → dbmulticloud/oracle-db-gcp-key-ring}/list.txt +21 -14
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → dbmulticloud/oracle-db-gcp-key-ring/refresh.txt} +15 -20
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-key-ring}/update.txt +31 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group.txt → dbmulticloud/oracle-db-gcp-key-ring.txt} +4 -8
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request.txt → dbmulticloud/oracle-db-gcp-key.txt} +3 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/work-request.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud.txt +95 -12
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint-collection/list-endpoints.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.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-logs.txt → list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe/delete.txt → kafka/cluster/change-compartment.txt} +16 -21
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-windows-updates.txt → kafka/cluster/disable-superuser.txt} +17 -17
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe/change-compartment.txt → kafka/cluster/enable-superuser.txt} +18 -19
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster}/list.txt +36 -23
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/update.txt +62 -58
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
- oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster-config-version}/list.txt +25 -23
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request/list-work-request-errors.txt → kafka/work-request-error/list.txt} +16 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request → kafka/work-request-log-entry}/list-work-request-logs.txt +14 -11
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-log-entry.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/list.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/validate.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +2 -0
- 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 +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +3 -9
- oci_cli/service_mapping.py +6 -21
- oci_cli/version.py +1 -1
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/METADATA +2 -2
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/RECORD +198 -556
- services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
- services/cloud_guard/src/oci_cli_cloud_guard/generated/cloudguard_cli.py +18 -10
- services/database/src/oci_cli_database/database_cli_extended.py +67 -3
- services/database/src/oci_cli_database/generated/database_cli.py +367 -70
- services/{ai_anomaly_detection → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/__init__.py +1 -1
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/dbmulticloudgcpprovider_cli_extended.py +18 -0
- services/{ai_anomaly_detection/src → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated}/__init__.py +1 -1
- services/{dts/src/oci_cli_transfer_appliance_entitlement → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/generated/client_mappings.py +6 -6
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/dbmulticloudgcpprovider_cli.py +1057 -0
- services/dbmulticloud/src/oci_cli_dbmulticloud/generated/dbmulticloud_service_cli.py +27 -8
- services/dbmulticloud/src/oci_cli_multi_cloud_resource_discovery/generated/multicloudresourcediscovery_cli.py +63 -37
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_container/generated/oracledbazureblobcontainer_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_mount/generated/oracledbazureblobmount_cli.py +49 -30
- services/dbmulticloud/src/oci_cli_oracle_db_azure_connector/generated/oracledbazureconnector_cli.py +113 -39
- services/dbmulticloud/src/oci_cli_oracle_db_azure_key/generated/oracledbazurekey_cli.py +34 -15
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault/generated/oracledbazurevault_cli.py +69 -42
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault_association/generated/oracledbazurevaultassociation_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_work_request/generated/workrequest_cli.py +27 -8
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +5 -2
- services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +7 -3
- services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka}/__init__.py +1 -1
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection/generated → managed_kafka/src}/__init__.py +1 -1
- services/managed_kafka/src/oci_cli_kafka_cluster/__init__.py +4 -0
- services/managed_kafka/src/oci_cli_kafka_cluster/generated/__init__.py +4 -0
- services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
- services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
- services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
- services/managed_kafka/tests/__init__.py +4 -0
- services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -1
- oci_cli/bin/dts.psm1 +0 -147
- oci_cli/bin/os-management.psm1 +0 -140
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-list-input-details.txt +0 -173
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-store-output-details.txt +0 -175
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/create.txt +0 -152
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
- oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/get.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
- oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
- services/ai_anomaly_detection/tests/__init__.py +0 -4
- services/dts/__init__.py +0 -4
- services/dts/src/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
- services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
- services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
- services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
- services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
- services/dts/src/oci_cli_dts/__init__.py +0 -4
- services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
- services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
- services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
- services/dts/src/oci_cli_dts/appliance_config.py +0 -34
- services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
- services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
- services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
- services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
- services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
- services/dts/src/oci_cli_dts/base_client.py +0 -102
- services/dts/src/oci_cli_dts/cli_utils.py +0 -131
- services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
- services/dts/src/oci_cli_dts/dts_transform.py +0 -31
- services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
- services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
- services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
- services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
- services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
- services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
- services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
- services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
- services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
- services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
- services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
- services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
- services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
- services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
- services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
- services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
- services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
- services/dts/tests/__init__.py +0 -4
- services/os_management/__init__.py +0 -4
- services/os_management/src/__init__.py +0 -4
- services/os_management/src/oci_cli_event/__init__.py +0 -4
- services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
- services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
- services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
- services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
- services/os_management/src/oci_cli_os_management/__init__.py +0 -4
- services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
- services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
- services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
- services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
- services/os_management/tests/__init__.py +0 -4
- services/service_mesh/__init__.py +0 -4
- services/service_mesh/src/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
- services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
- services/service_mesh/tests/__init__.py +0 -4
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/top_level.txt +0 -0
|
@@ -2428,7 +2428,7 @@ def change_disaster_recovery_configuration(ctx, from_json, wait_for_state, max_w
|
|
|
2428
2428
|
|
|
2429
2429
|
@database_group.command(name=cli_util.override('db.change_encryption_key_location.command_name', 'change-encryption-key-location'), help=u"""Update the encryption key management location for the database \n[Command Reference](changeEncryptionKeyLocation)""")
|
|
2430
2430
|
@cli_util.option('--database-id', required=True, help=u"""The database [OCID].""")
|
|
2431
|
-
@cli_util.option('--provider-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["EXTERNAL", "AZURE"]), help=u"""Use 'EXTERNAL' for creating a new database or migrating a database key to an External HSM. Use 'AZURE' for creating a new database or migrating a database key to Azure.""")
|
|
2431
|
+
@cli_util.option('--provider-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["EXTERNAL", "AZURE", "GCP"]), help=u"""Use 'EXTERNAL' for creating a new database or migrating a database key to an External HSM. Use 'AZURE' for creating a new database or migrating a database key to Azure. Use 'GCP' for creating a new database or migrating a database key to Google Cloud Provider.""")
|
|
2432
2432
|
@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.""")
|
|
2433
2433
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
|
|
2434
2434
|
@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.""")
|
|
@@ -2566,6 +2566,77 @@ def change_encryption_key_location_external_hsm_encryption_details(ctx, from_jso
|
|
|
2566
2566
|
cli_util.render_response(result, ctx)
|
|
2567
2567
|
|
|
2568
2568
|
|
|
2569
|
+
@database_group.command(name=cli_util.override('db.change_encryption_key_location_google_cloud_provider_encryption_key_details.command_name', 'change-encryption-key-location-google-cloud-provider-encryption-key-details'), help=u"""Update the encryption key management location for the database \n[Command Reference](changeEncryptionKeyLocation)""")
|
|
2570
|
+
@cli_util.option('--database-id', required=True, help=u"""The database [OCID].""")
|
|
2571
|
+
@cli_util.option('--google-cloud-provider-encryption-key-id', required=True, help=u"""Provide the key OCID of a registered Google Cloud Provider key.""")
|
|
2572
|
+
@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.""")
|
|
2573
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
|
|
2574
|
+
@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.""")
|
|
2575
|
+
@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.""")
|
|
2576
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2577
|
+
@cli_util.help_option
|
|
2578
|
+
@click.pass_context
|
|
2579
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
2580
|
+
@cli_util.wrap_exceptions
|
|
2581
|
+
def change_encryption_key_location_google_cloud_provider_encryption_key_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, database_id, google_cloud_provider_encryption_key_id, if_match):
|
|
2582
|
+
|
|
2583
|
+
if isinstance(database_id, six.string_types) and len(database_id.strip()) == 0:
|
|
2584
|
+
raise click.UsageError('Parameter --database-id cannot be whitespace or empty string')
|
|
2585
|
+
|
|
2586
|
+
kwargs = {}
|
|
2587
|
+
if if_match is not None:
|
|
2588
|
+
kwargs['if_match'] = if_match
|
|
2589
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
2590
|
+
|
|
2591
|
+
_details = {}
|
|
2592
|
+
_details['googleCloudProviderEncryptionKeyId'] = google_cloud_provider_encryption_key_id
|
|
2593
|
+
|
|
2594
|
+
_details['providerType'] = 'GCP'
|
|
2595
|
+
|
|
2596
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
2597
|
+
result = client.change_encryption_key_location(
|
|
2598
|
+
database_id=database_id,
|
|
2599
|
+
encryption_key_location_details=_details,
|
|
2600
|
+
**kwargs
|
|
2601
|
+
)
|
|
2602
|
+
work_request_client = cli_util.build_client('work_requests', 'work_request', ctx)
|
|
2603
|
+
if wait_for_state:
|
|
2604
|
+
|
|
2605
|
+
if hasattr(work_request_client, 'get_work_request') and callable(getattr(work_request_client, 'get_work_request')):
|
|
2606
|
+
try:
|
|
2607
|
+
wait_period_kwargs = {}
|
|
2608
|
+
if max_wait_seconds is not None:
|
|
2609
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
2610
|
+
if wait_interval_seconds is not None:
|
|
2611
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
2612
|
+
if 'opc-work-request-id' not in result.headers:
|
|
2613
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
2614
|
+
cli_util.render_response(result, ctx)
|
|
2615
|
+
return
|
|
2616
|
+
|
|
2617
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
2618
|
+
result = oci.wait_until(work_request_client, work_request_client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
2619
|
+
if hasattr(result, "data") and hasattr(result.data, "resources") and len(result.data.resources) == 1:
|
|
2620
|
+
entity_type = result.data.resources[0].entity_type
|
|
2621
|
+
identifier = result.data.resources[0].identifier
|
|
2622
|
+
get_operation = 'get_' + entity_type
|
|
2623
|
+
if hasattr(client, get_operation) and callable(getattr(client, get_operation)):
|
|
2624
|
+
result = getattr(client, get_operation)(identifier)
|
|
2625
|
+
|
|
2626
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
2627
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
2628
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
2629
|
+
cli_util.render_response(result, ctx)
|
|
2630
|
+
sys.exit(2)
|
|
2631
|
+
except Exception:
|
|
2632
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
2633
|
+
cli_util.render_response(result, ctx)
|
|
2634
|
+
raise
|
|
2635
|
+
else:
|
|
2636
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
2637
|
+
cli_util.render_response(result, ctx)
|
|
2638
|
+
|
|
2639
|
+
|
|
2569
2640
|
@database_group.command(name=cli_util.override('db.change_encryption_key_location_azure_encryption_key_details.command_name', 'change-encryption-key-location-azure-encryption-key-details'), help=u"""Update the encryption key management location for the database \n[Command Reference](changeEncryptionKeyLocation)""")
|
|
2570
2641
|
@cli_util.option('--database-id', required=True, help=u"""The database [OCID].""")
|
|
2571
2642
|
@cli_util.option('--azure-encryption-key-id', required=True, help=u"""Provide the key OCID of a registered Azure key.""")
|
|
@@ -4422,7 +4493,7 @@ def create_application_vip(ctx, from_json, wait_for_state, max_wait_seconds, wai
|
|
|
4422
4493
|
|
|
4423
4494
|
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)
|
|
4424
4495
|
@cli_util.option('--okv-end-point-group-name', help=u"""The OKV End Point Group name for the Autonomous Container Database.""")
|
|
4425
|
-
@cli_util.option('--source', type=custom_types.CliCaseInsensitiveChoice(["NONE", "BACKUP_FROM_ID"]), help=u"""The source of the database
|
|
4496
|
+
@cli_util.option('--source', type=custom_types.CliCaseInsensitiveChoice(["NONE", "BACKUP_FROM_ID"]), help=u"""The source of the database. Use `NONE` to create a new Autonomous Container Database (ACD). Use `BACKUP_FROM_ID` to create a new ACD from a specified backup.""")
|
|
4426
4497
|
@cli_util.option('--db-unique-name', help=u"""**Deprecated.** The `DB_UNIQUE_NAME` value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail.""")
|
|
4427
4498
|
@cli_util.option('--db-name', help=u"""The Database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.""")
|
|
4428
4499
|
@cli_util.option('--service-level-agreement-type', type=custom_types.CliCaseInsensitiveChoice(["STANDARD", "AUTONOMOUS_DATAGUARD"]), help=u"""The service level agreement type of the Autonomous Container Database. The default is STANDARD. For an autonomous dataguard Autonomous Container Database, the specified Autonomous Exadata Infrastructure must be associated with a remote Autonomous Exadata Infrastructure.""")
|
|
@@ -4820,7 +4891,7 @@ def create_autonomous_container_database_create_autonomous_container_database_de
|
|
|
4820
4891
|
@autonomous_container_database_group.command(name=cli_util.override('db.create_autonomous_container_database_create_autonomous_container_database_from_backup_details.command_name', 'create-autonomous-container-database-create-autonomous-container-database-from-backup-details'), help=u"""Creates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure. \n[Command Reference](createAutonomousContainerDatabase)""")
|
|
4821
4892
|
@cli_util.option('--display-name', required=True, help=u"""The display name for the Autonomous Container Database.""")
|
|
4822
4893
|
@cli_util.option('--patch-model', required=True, type=custom_types.CliCaseInsensitiveChoice(["RELEASE_UPDATES", "RELEASE_UPDATE_REVISIONS"]), help=u"""Database Patch model preference.""")
|
|
4823
|
-
@cli_util.option('--autonomous-container-database-backup-id', required=True, help=u"""The [OCID] of the source
|
|
4894
|
+
@cli_util.option('--autonomous-container-database-backup-id', required=True, help=u"""The [OCID] of the source ACD backup that you will clone to create a new ACD.""")
|
|
4824
4895
|
@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.
|
|
4825
4896
|
|
|
4826
4897
|
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)
|
|
@@ -11283,6 +11354,8 @@ For more information, see [Redo Transport Services] in the Oracle Data Guard doc
|
|
|
11283
11354
|
To get a list of all shapes, use the [ListDbSystemShapes] operation.""")
|
|
11284
11355
|
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPU cores available for AMD-based virtual machine DB systems.""")
|
|
11285
11356
|
@cli_util.option('--storage-volume-performance-mode', type=custom_types.CliCaseInsensitiveChoice(["BALANCED", "HIGH_PERFORMANCE"]), help=u"""The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance] for more information.""")
|
|
11357
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.""")
|
|
11358
|
+
@cli_util.option('--compute-count', type=click.INT, help=u"""The number of compute servers for the DB system.""")
|
|
11286
11359
|
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system.""")
|
|
11287
11360
|
@cli_util.option('--subnet-id', help=u"""The OCID of the subnet the DB system is associated with. **Subnet Restrictions:** - For 1- and 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.16.16/28
|
|
11288
11361
|
|
|
@@ -11322,7 +11395,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
11322
11395
|
@click.pass_context
|
|
11323
11396
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'source-encryption-key-location-details': {'module': 'database', 'class': 'EncryptionKeyLocationDetails'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'fault-domains': {'module': 'database', 'class': 'list[string]'}, 'db-system-freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'db-system-defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'db-system-security-attributes': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'database-freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'database-defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'data-collection-options': {'module': 'database', 'class': 'DataCollectionOptions'}}, output_type={'module': 'database', 'class': 'DataGuardAssociation'})
|
|
11324
11397
|
@cli_util.wrap_exceptions
|
|
11325
|
-
def create_data_guard_association_create_data_guard_association_with_new_db_system_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, database_id, database_admin_password, protection_mode, transport_type, database_software_image_id, source_encryption_key_location_details, is_active_data_guard_enabled, peer_db_unique_name, peer_sid_prefix, display_name, availability_domain, shape, cpu_core_count, storage_volume_performance_mode, node_count, subnet_id, nsg_ids, backup_network_nsg_ids, hostname, domain, time_zone, fault_domains, private_ip, private_ip_v6, license_model, db_system_freeform_tags, db_system_defined_tags, db_system_security_attributes, database_freeform_tags, database_defined_tags, data_collection_options):
|
|
11398
|
+
def create_data_guard_association_create_data_guard_association_with_new_db_system_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, database_id, database_admin_password, protection_mode, transport_type, database_software_image_id, source_encryption_key_location_details, is_active_data_guard_enabled, peer_db_unique_name, peer_sid_prefix, display_name, availability_domain, shape, cpu_core_count, storage_volume_performance_mode, compute_model, compute_count, node_count, subnet_id, nsg_ids, backup_network_nsg_ids, hostname, domain, time_zone, fault_domains, private_ip, private_ip_v6, license_model, db_system_freeform_tags, db_system_defined_tags, db_system_security_attributes, database_freeform_tags, database_defined_tags, data_collection_options):
|
|
11326
11399
|
|
|
11327
11400
|
if isinstance(database_id, six.string_types) and len(database_id.strip()) == 0:
|
|
11328
11401
|
raise click.UsageError('Parameter --database-id cannot be whitespace or empty string')
|
|
@@ -11364,6 +11437,12 @@ def create_data_guard_association_create_data_guard_association_with_new_db_syst
|
|
|
11364
11437
|
if storage_volume_performance_mode is not None:
|
|
11365
11438
|
_details['storageVolumePerformanceMode'] = storage_volume_performance_mode
|
|
11366
11439
|
|
|
11440
|
+
if compute_model is not None:
|
|
11441
|
+
_details['computeModel'] = compute_model
|
|
11442
|
+
|
|
11443
|
+
if compute_count is not None:
|
|
11444
|
+
_details['computeCount'] = compute_count
|
|
11445
|
+
|
|
11367
11446
|
if node_count is not None:
|
|
11368
11447
|
_details['nodeCount'] = node_count
|
|
11369
11448
|
|
|
@@ -11767,6 +11846,106 @@ def create_data_guard_association_external_hsm_encryption_details(ctx, from_json
|
|
|
11767
11846
|
cli_util.render_response(result, ctx)
|
|
11768
11847
|
|
|
11769
11848
|
|
|
11849
|
+
@data_guard_association_group.command(name=cli_util.override('db.create_data_guard_association_google_cloud_provider_encryption_key_details.command_name', 'create-data-guard-association-google-cloud-provider-encryption-key-details'), help=u"""Creates a new Data Guard association. A Data Guard association represents the replication relationship between the specified database and a peer database. For more information, see [Using Oracle Data Guard].
|
|
11850
|
+
|
|
11851
|
+
All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see [Resource Identifiers]. \n[Command Reference](createDataGuardAssociation)""")
|
|
11852
|
+
@cli_util.option('--database-id', required=True, help=u"""The database [OCID].""")
|
|
11853
|
+
@cli_util.option('--database-admin-password', required=True, help=u"""A strong password for the `SYS`, `SYSTEM`, and `PDB Admin` users to apply during standby creation.
|
|
11854
|
+
|
|
11855
|
+
The password must contain no fewer than nine characters and include:
|
|
11856
|
+
|
|
11857
|
+
* At least two uppercase characters.
|
|
11858
|
+
|
|
11859
|
+
* At least two lowercase characters.
|
|
11860
|
+
|
|
11861
|
+
* At least two numeric characters.
|
|
11862
|
+
|
|
11863
|
+
* At least two special characters. Valid special characters include \"_\", \"#\", and \"-\" only.
|
|
11864
|
+
|
|
11865
|
+
**The password MUST be the same as the primary admin password.**""")
|
|
11866
|
+
@cli_util.option('--protection-mode', required=True, type=custom_types.CliCaseInsensitiveChoice(["MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"]), help=u"""The protection mode to set up between the primary and standby databases. For more information, see [Oracle Data Guard Protection Modes] in the Oracle Data Guard documentation.
|
|
11867
|
+
|
|
11868
|
+
**IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE.""")
|
|
11869
|
+
@cli_util.option('--transport-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["SYNC", "ASYNC", "FASTSYNC"]), help=u"""The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
|
|
11870
|
+
|
|
11871
|
+
* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION - SYNC
|
|
11872
|
+
|
|
11873
|
+
For more information, see [Redo Transport Services] in the Oracle Data Guard documentation.
|
|
11874
|
+
|
|
11875
|
+
**IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.""")
|
|
11876
|
+
@cli_util.option('--source-encryption-key-location-details-google-cloud-provider-encryption-key-id', required=True, help=u"""Provide the key OCID of a registered Google Cloud Provider key.""")
|
|
11877
|
+
@cli_util.option('--database-software-image-id', help=u"""The database software image [OCID]""")
|
|
11878
|
+
@cli_util.option('--is-active-data-guard-enabled', type=click.BOOL, help=u"""True if active Data Guard is enabled.""")
|
|
11879
|
+
@cli_util.option('--peer-db-unique-name', help=u"""Specifies the `DB_UNIQUE_NAME` of the peer database to be created.""")
|
|
11880
|
+
@cli_util.option('--peer-sid-prefix', help=u"""Specifies a prefix for the `Oracle SID` of the database to be created.""")
|
|
11881
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "UPGRADING"]), 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.""")
|
|
11882
|
+
@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.""")
|
|
11883
|
+
@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.""")
|
|
11884
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
11885
|
+
@cli_util.help_option
|
|
11886
|
+
@click.pass_context
|
|
11887
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'DataGuardAssociation'})
|
|
11888
|
+
@cli_util.wrap_exceptions
|
|
11889
|
+
def create_data_guard_association_google_cloud_provider_encryption_key_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, database_id, database_admin_password, protection_mode, transport_type, source_encryption_key_location_details_google_cloud_provider_encryption_key_id, database_software_image_id, is_active_data_guard_enabled, peer_db_unique_name, peer_sid_prefix):
|
|
11890
|
+
|
|
11891
|
+
if isinstance(database_id, six.string_types) and len(database_id.strip()) == 0:
|
|
11892
|
+
raise click.UsageError('Parameter --database-id cannot be whitespace or empty string')
|
|
11893
|
+
|
|
11894
|
+
kwargs = {}
|
|
11895
|
+
|
|
11896
|
+
_details = {}
|
|
11897
|
+
_details['sourceEncryptionKeyLocationDetails'] = {}
|
|
11898
|
+
_details['databaseAdminPassword'] = database_admin_password
|
|
11899
|
+
_details['protectionMode'] = protection_mode
|
|
11900
|
+
_details['transportType'] = transport_type
|
|
11901
|
+
_details['sourceEncryptionKeyLocationDetails']['googleCloudProviderEncryptionKeyId'] = source_encryption_key_location_details_google_cloud_provider_encryption_key_id
|
|
11902
|
+
|
|
11903
|
+
if database_software_image_id is not None:
|
|
11904
|
+
_details['databaseSoftwareImageId'] = database_software_image_id
|
|
11905
|
+
|
|
11906
|
+
if is_active_data_guard_enabled is not None:
|
|
11907
|
+
_details['isActiveDataGuardEnabled'] = is_active_data_guard_enabled
|
|
11908
|
+
|
|
11909
|
+
if peer_db_unique_name is not None:
|
|
11910
|
+
_details['peerDbUniqueName'] = peer_db_unique_name
|
|
11911
|
+
|
|
11912
|
+
if peer_sid_prefix is not None:
|
|
11913
|
+
_details['peerSidPrefix'] = peer_sid_prefix
|
|
11914
|
+
|
|
11915
|
+
_details['sourceEncryptionKeyLocationDetails']['providerType'] = 'GCP'
|
|
11916
|
+
|
|
11917
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
11918
|
+
result = client.create_data_guard_association(
|
|
11919
|
+
database_id=database_id,
|
|
11920
|
+
create_data_guard_association_details=_details,
|
|
11921
|
+
**kwargs
|
|
11922
|
+
)
|
|
11923
|
+
if wait_for_state:
|
|
11924
|
+
|
|
11925
|
+
if hasattr(client, 'get_data_guard_association') and callable(getattr(client, 'get_data_guard_association')):
|
|
11926
|
+
try:
|
|
11927
|
+
wait_period_kwargs = {}
|
|
11928
|
+
if max_wait_seconds is not None:
|
|
11929
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
11930
|
+
if wait_interval_seconds is not None:
|
|
11931
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
11932
|
+
|
|
11933
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
11934
|
+
result = oci.wait_until(client, client.get_data_guard_association(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
11935
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
11936
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
11937
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
11938
|
+
cli_util.render_response(result, ctx)
|
|
11939
|
+
sys.exit(2)
|
|
11940
|
+
except Exception:
|
|
11941
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
11942
|
+
cli_util.render_response(result, ctx)
|
|
11943
|
+
raise
|
|
11944
|
+
else:
|
|
11945
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
11946
|
+
cli_util.render_response(result, ctx)
|
|
11947
|
+
|
|
11948
|
+
|
|
11770
11949
|
@data_guard_association_group.command(name=cli_util.override('db.create_data_guard_association_azure_encryption_key_details.command_name', 'create-data-guard-association-azure-encryption-key-details'), help=u"""Creates a new Data Guard association. A Data Guard association represents the replication relationship between the specified database and a peer database. For more information, see [Using Oracle Data Guard].
|
|
11771
11950
|
|
|
11772
11951
|
All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see [Resource Identifiers]. \n[Command Reference](createDataGuardAssociation)""")
|
|
@@ -11875,6 +12054,7 @@ def create_data_guard_association_azure_encryption_key_details(ctx, from_json, w
|
|
|
11875
12054
|
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""")
|
|
11876
12055
|
@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.""")
|
|
11877
12056
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
12057
|
+
@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.""")
|
|
11878
12058
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED"]), 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.""")
|
|
11879
12059
|
@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.""")
|
|
11880
12060
|
@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.""")
|
|
@@ -11883,9 +12063,11 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd
|
|
|
11883
12063
|
@click.pass_context
|
|
11884
12064
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'Database'})
|
|
11885
12065
|
@cli_util.wrap_exceptions
|
|
11886
|
-
def create_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, source, db_version, kms_key_id, kms_key_version_id):
|
|
12066
|
+
def create_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, source, db_version, kms_key_id, kms_key_version_id, opc_dry_run):
|
|
11887
12067
|
|
|
11888
12068
|
kwargs = {}
|
|
12069
|
+
if opc_dry_run is not None:
|
|
12070
|
+
kwargs['opc_dry_run'] = opc_dry_run
|
|
11889
12071
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
11890
12072
|
|
|
11891
12073
|
_details = {}
|
|
@@ -11940,6 +12122,7 @@ def create_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
|
|
|
11940
12122
|
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""")
|
|
11941
12123
|
@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.""")
|
|
11942
12124
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
12125
|
+
@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.""")
|
|
11943
12126
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED"]), 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.""")
|
|
11944
12127
|
@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.""")
|
|
11945
12128
|
@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.""")
|
|
@@ -11948,9 +12131,11 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd
|
|
|
11948
12131
|
@click.pass_context
|
|
11949
12132
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'database': {'module': 'database', 'class': 'CreateDatabaseDetails'}}, output_type={'module': 'database', 'class': 'Database'})
|
|
11950
12133
|
@cli_util.wrap_exceptions
|
|
11951
|
-
def create_database_create_new_database_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, database, db_version, kms_key_id, kms_key_version_id):
|
|
12134
|
+
def create_database_create_new_database_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, database, db_version, kms_key_id, kms_key_version_id, opc_dry_run):
|
|
11952
12135
|
|
|
11953
12136
|
kwargs = {}
|
|
12137
|
+
if opc_dry_run is not None:
|
|
12138
|
+
kwargs['opc_dry_run'] = opc_dry_run
|
|
11954
12139
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
11955
12140
|
|
|
11956
12141
|
_details = {}
|
|
@@ -12007,6 +12192,7 @@ def create_database_create_new_database_details(ctx, from_json, wait_for_state,
|
|
|
12007
12192
|
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""")
|
|
12008
12193
|
@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.""")
|
|
12009
12194
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
12195
|
+
@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.""")
|
|
12010
12196
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED"]), 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.""")
|
|
12011
12197
|
@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.""")
|
|
12012
12198
|
@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.""")
|
|
@@ -12015,9 +12201,11 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd
|
|
|
12015
12201
|
@click.pass_context
|
|
12016
12202
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'database': {'module': 'database', 'class': 'CreateStandbyDetails'}}, output_type={'module': 'database', 'class': 'Database'})
|
|
12017
12203
|
@cli_util.wrap_exceptions
|
|
12018
|
-
def create_database_create_stand_by_database_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, database, db_version, kms_key_id, kms_key_version_id):
|
|
12204
|
+
def create_database_create_stand_by_database_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, database, db_version, kms_key_id, kms_key_version_id, opc_dry_run):
|
|
12019
12205
|
|
|
12020
12206
|
kwargs = {}
|
|
12207
|
+
if opc_dry_run is not None:
|
|
12208
|
+
kwargs['opc_dry_run'] = opc_dry_run
|
|
12021
12209
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
12022
12210
|
|
|
12023
12211
|
_details = {}
|
|
@@ -12074,6 +12262,7 @@ def create_database_create_stand_by_database_details(ctx, from_json, wait_for_st
|
|
|
12074
12262
|
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.""")
|
|
12075
12263
|
@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.""")
|
|
12076
12264
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
12265
|
+
@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.""")
|
|
12077
12266
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED"]), 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.""")
|
|
12078
12267
|
@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.""")
|
|
12079
12268
|
@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.""")
|
|
@@ -12082,9 +12271,11 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd
|
|
|
12082
12271
|
@click.pass_context
|
|
12083
12272
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'database': {'module': 'database', 'class': 'CreateDatabaseFromBackupDetails'}}, output_type={'module': 'database', 'class': 'Database'})
|
|
12084
12273
|
@cli_util.wrap_exceptions
|
|
12085
|
-
def create_database_create_database_from_backup(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, database, db_version, kms_key_id, kms_key_version_id):
|
|
12274
|
+
def create_database_create_database_from_backup(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, db_home_id, database, db_version, kms_key_id, kms_key_version_id, opc_dry_run):
|
|
12086
12275
|
|
|
12087
12276
|
kwargs = {}
|
|
12277
|
+
if opc_dry_run is not None:
|
|
12278
|
+
kwargs['opc_dry_run'] = opc_dry_run
|
|
12088
12279
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
12089
12280
|
|
|
12090
12281
|
_details = {}
|
|
@@ -12916,6 +13107,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
12916
13107
|
@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)
|
|
12917
13108
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
12918
13109
|
@cli_util.option('--subscription-id', help=u"""The [OCID] of the subscription with which resource needs to be associated with.""")
|
|
13110
|
+
@cli_util.option('--shape-attribute', type=custom_types.CliCaseInsensitiveChoice(["SMART_STORAGE", "BLOCK_STORAGE"]), help=u"""The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later""")
|
|
12919
13111
|
@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.""")
|
|
12920
13112
|
@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.""")
|
|
12921
13113
|
@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.""")
|
|
@@ -12924,7 +13116,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
12924
13116
|
@click.pass_context
|
|
12925
13117
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'ssh-public-keys': {'module': 'database', 'class': 'list[string]'}, 'vm-file-system-storage': {'module': 'database', 'class': 'ExadbVmClusterStorageDetails'}, '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'}}, output_type={'module': 'database', 'class': 'ExadbVmCluster'})
|
|
12926
13118
|
@cli_util.wrap_exceptions
|
|
12927
|
-
def create_exadb_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, backup_subnet_id, display_name, hostname, ssh_public_keys, shape, node_count, total_e_cpu_count, enabled_e_cpu_count, vm_file_system_storage, exascale_db_storage_vault_id, grid_image_id, cluster_name, domain, license_model, time_zone, scan_listener_port_tcp, scan_listener_port_tcp_ssl, private_zone_id, nsg_ids, backup_network_nsg_ids, system_version, freeform_tags, defined_tags, security_attributes, data_collection_options, subscription_id):
|
|
13119
|
+
def create_exadb_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, backup_subnet_id, display_name, hostname, ssh_public_keys, shape, node_count, total_e_cpu_count, enabled_e_cpu_count, vm_file_system_storage, exascale_db_storage_vault_id, grid_image_id, cluster_name, domain, license_model, time_zone, scan_listener_port_tcp, scan_listener_port_tcp_ssl, private_zone_id, nsg_ids, backup_network_nsg_ids, system_version, freeform_tags, defined_tags, security_attributes, data_collection_options, subscription_id, shape_attribute):
|
|
12928
13120
|
|
|
12929
13121
|
kwargs = {}
|
|
12930
13122
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -12990,6 +13182,9 @@ def create_exadb_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wa
|
|
|
12990
13182
|
if subscription_id is not None:
|
|
12991
13183
|
_details['subscriptionId'] = subscription_id
|
|
12992
13184
|
|
|
13185
|
+
if shape_attribute is not None:
|
|
13186
|
+
_details['shapeAttribute'] = shape_attribute
|
|
13187
|
+
|
|
12993
13188
|
client = cli_util.build_client('database', 'database', ctx)
|
|
12994
13189
|
result = client.create_exadb_vm_cluster(
|
|
12995
13190
|
create_exadb_vm_cluster_details=_details,
|
|
@@ -13036,6 +13231,8 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
13036
13231
|
@cli_util.option('--exadata-infrastructure-id', help=u"""The [OCID] of the Exadata infrastructure.""")
|
|
13037
13232
|
@cli_util.option('--cluster-placement-group-id', help=u"""The [OCID] of the cluster placement group of the Exadata Infrastructure.""")
|
|
13038
13233
|
@cli_util.option('--subscription-id', help=u"""The [OCID] of the subscription with which resource needs to be associated with.""")
|
|
13234
|
+
@cli_util.option('--is-autoscale-enabled', type=click.BOOL, help=u"""Indicates if autoscale feature is enabled for the Database Storage Vault. The default value is `FALSE`.""")
|
|
13235
|
+
@cli_util.option('--autoscale-limit-in-gbs', type=click.INT, help=u"""Maximum limit storage size in gigabytes, that is applicable for the Database Storage Vault.""")
|
|
13039
13236
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"]), 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.""")
|
|
13040
13237
|
@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.""")
|
|
13041
13238
|
@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.""")
|
|
@@ -13044,7 +13241,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
13044
13241
|
@click.pass_context
|
|
13045
13242
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'high-capacity-database-storage': {'module': 'database', 'class': 'ExascaleDbStorageInputDetails'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'ExascaleDbStorageVault'})
|
|
13046
13243
|
@cli_util.wrap_exceptions
|
|
13047
|
-
def create_exascale_db_storage_vault(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, availability_domain, high_capacity_database_storage, description, time_zone, additional_flash_cache_in_percent, freeform_tags, defined_tags, exadata_infrastructure_id, cluster_placement_group_id, subscription_id):
|
|
13244
|
+
def create_exascale_db_storage_vault(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, availability_domain, high_capacity_database_storage, description, time_zone, additional_flash_cache_in_percent, freeform_tags, defined_tags, exadata_infrastructure_id, cluster_placement_group_id, subscription_id, is_autoscale_enabled, autoscale_limit_in_gbs):
|
|
13048
13245
|
|
|
13049
13246
|
kwargs = {}
|
|
13050
13247
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -13079,6 +13276,12 @@ def create_exascale_db_storage_vault(ctx, from_json, wait_for_state, max_wait_se
|
|
|
13079
13276
|
if subscription_id is not None:
|
|
13080
13277
|
_details['subscriptionId'] = subscription_id
|
|
13081
13278
|
|
|
13279
|
+
if is_autoscale_enabled is not None:
|
|
13280
|
+
_details['isAutoscaleEnabled'] = is_autoscale_enabled
|
|
13281
|
+
|
|
13282
|
+
if autoscale_limit_in_gbs is not None:
|
|
13283
|
+
_details['autoscaleLimitInGBs'] = autoscale_limit_in_gbs
|
|
13284
|
+
|
|
13082
13285
|
client = cli_util.build_client('database', 'database', ctx)
|
|
13083
13286
|
result = client.create_exascale_db_storage_vault(
|
|
13084
13287
|
create_exascale_db_storage_vault_details=_details,
|
|
@@ -21059,11 +21262,6 @@ To get a list of shapes, use the [ListDbSystemShapes] operation.""")
|
|
|
21059
21262
|
The maximum length of the combined hostname and domain is 63 characters.
|
|
21060
21263
|
|
|
21061
21264
|
**Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.""")
|
|
21062
|
-
@cli_util.option('--cpu-core-count', required=True, type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21063
|
-
|
|
21064
|
-
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21065
|
-
|
|
21066
|
-
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21067
21265
|
@cli_util.option('--fault-domains', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A Fault Domain is a grouping of hardware and infrastructure within an availability domain. Fault Domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains.
|
|
21068
21266
|
|
|
21069
21267
|
If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain.
|
|
@@ -21084,12 +21282,17 @@ Example: `FAULT-DOMAIN-1`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
|
21084
21282
|
@cli_util.option('--storage-volume-performance-mode', type=custom_types.CliCaseInsensitiveChoice(["BALANCED", "HIGH_PERFORMANCE"]), help=u"""The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance] for more information.""")
|
|
21085
21283
|
@cli_util.option('--sparse-diskgroup', type=click.BOOL, help=u"""If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured.""")
|
|
21086
21284
|
@cli_util.option('--domain', help=u"""A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.""")
|
|
21285
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21286
|
+
|
|
21287
|
+
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21288
|
+
|
|
21289
|
+
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21087
21290
|
@cli_util.option('--cluster-name', help=u"""The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.""")
|
|
21088
21291
|
@cli_util.option('--data-storage-percentage', type=click.INT, help=u"""The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.""")
|
|
21089
|
-
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume.""")
|
|
21292
|
+
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256.""")
|
|
21090
21293
|
@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.""")
|
|
21091
21294
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
21092
|
-
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a
|
|
21295
|
+
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.""")
|
|
21093
21296
|
@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].
|
|
21094
21297
|
|
|
21095
21298
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -21099,6 +21302,8 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21099
21302
|
@cli_util.option('--private-ip', help=u"""A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.""")
|
|
21100
21303
|
@cli_util.option('--private-ip-v6', help=u"""A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.""")
|
|
21101
21304
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21305
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.""")
|
|
21306
|
+
@cli_util.option('--compute-count', type=click.INT, help=u"""The number of compute servers for the DB system.""")
|
|
21102
21307
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MIGRATED", "MAINTENANCE_IN_PROGRESS", "NEEDS_ATTENTION", "UPGRADING"]), 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.""")
|
|
21103
21308
|
@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.""")
|
|
21104
21309
|
@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.""")
|
|
@@ -21107,7 +21312,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21107
21312
|
@click.pass_context
|
|
21108
21313
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'fault-domains': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'db-system-options': {'module': 'database', 'class': 'DbSystemOptions'}, 'ssh-public-keys': {'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'}}, output_type={'module': 'database', 'class': 'DbSystem'})
|
|
21109
21314
|
@cli_util.wrap_exceptions
|
|
21110
|
-
def launch_db_system(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname,
|
|
21315
|
+
def launch_db_system(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname, fault_domains, display_name, backup_subnet_id, nsg_ids, backup_network_nsg_ids, time_zone, db_system_options, storage_volume_performance_mode, sparse_diskgroup, domain, cpu_core_count, cluster_name, data_storage_percentage, initial_data_storage_size_in_gb, kms_key_id, kms_key_version_id, node_count, freeform_tags, defined_tags, security_attributes, source, private_ip, private_ip_v6, data_collection_options, compute_model, compute_count):
|
|
21111
21316
|
|
|
21112
21317
|
kwargs = {}
|
|
21113
21318
|
|
|
@@ -21118,7 +21323,6 @@ def launch_db_system(ctx, from_json, wait_for_state, max_wait_seconds, wait_inte
|
|
|
21118
21323
|
_details['shape'] = shape
|
|
21119
21324
|
_details['sshPublicKeys'] = cli_util.parse_json_parameter("ssh_public_keys", ssh_public_keys)
|
|
21120
21325
|
_details['hostname'] = hostname
|
|
21121
|
-
_details['cpuCoreCount'] = cpu_core_count
|
|
21122
21326
|
|
|
21123
21327
|
if fault_domains is not None:
|
|
21124
21328
|
_details['faultDomains'] = cli_util.parse_json_parameter("fault_domains", fault_domains)
|
|
@@ -21150,6 +21354,9 @@ def launch_db_system(ctx, from_json, wait_for_state, max_wait_seconds, wait_inte
|
|
|
21150
21354
|
if domain is not None:
|
|
21151
21355
|
_details['domain'] = domain
|
|
21152
21356
|
|
|
21357
|
+
if cpu_core_count is not None:
|
|
21358
|
+
_details['cpuCoreCount'] = cpu_core_count
|
|
21359
|
+
|
|
21153
21360
|
if cluster_name is not None:
|
|
21154
21361
|
_details['clusterName'] = cluster_name
|
|
21155
21362
|
|
|
@@ -21189,6 +21396,12 @@ def launch_db_system(ctx, from_json, wait_for_state, max_wait_seconds, wait_inte
|
|
|
21189
21396
|
if data_collection_options is not None:
|
|
21190
21397
|
_details['dataCollectionOptions'] = cli_util.parse_json_parameter("data_collection_options", data_collection_options)
|
|
21191
21398
|
|
|
21399
|
+
if compute_model is not None:
|
|
21400
|
+
_details['computeModel'] = compute_model
|
|
21401
|
+
|
|
21402
|
+
if compute_count is not None:
|
|
21403
|
+
_details['computeCount'] = compute_count
|
|
21404
|
+
|
|
21192
21405
|
client = cli_util.build_client('database', 'database', ctx)
|
|
21193
21406
|
result = client.launch_db_system(
|
|
21194
21407
|
launch_db_system_details=_details,
|
|
@@ -21245,11 +21458,6 @@ To get a list of shapes, use the [ListDbSystemShapes] operation.""")
|
|
|
21245
21458
|
The maximum length of the combined hostname and domain is 63 characters.
|
|
21246
21459
|
|
|
21247
21460
|
**Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.""")
|
|
21248
|
-
@cli_util.option('--cpu-core-count', required=True, type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21249
|
-
|
|
21250
|
-
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21251
|
-
|
|
21252
|
-
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21253
21461
|
@cli_util.option('--db-home', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21254
21462
|
@cli_util.option('--database-edition', required=True, type=custom_types.CliCaseInsensitiveChoice(["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"]), help=u"""The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.""")
|
|
21255
21463
|
@cli_util.option('--fault-domains', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A Fault Domain is a grouping of hardware and infrastructure within an availability domain. Fault Domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains.
|
|
@@ -21272,12 +21480,17 @@ Example: `FAULT-DOMAIN-1`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
|
21272
21480
|
@cli_util.option('--storage-volume-performance-mode', type=custom_types.CliCaseInsensitiveChoice(["BALANCED", "HIGH_PERFORMANCE"]), help=u"""The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance] for more information.""")
|
|
21273
21481
|
@cli_util.option('--sparse-diskgroup', type=click.BOOL, help=u"""If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured.""")
|
|
21274
21482
|
@cli_util.option('--domain', help=u"""A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.""")
|
|
21483
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21484
|
+
|
|
21485
|
+
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21486
|
+
|
|
21487
|
+
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21275
21488
|
@cli_util.option('--cluster-name', help=u"""The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.""")
|
|
21276
21489
|
@cli_util.option('--data-storage-percentage', type=click.INT, help=u"""The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.""")
|
|
21277
|
-
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume.""")
|
|
21490
|
+
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256.""")
|
|
21278
21491
|
@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.""")
|
|
21279
21492
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
21280
|
-
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a
|
|
21493
|
+
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.""")
|
|
21281
21494
|
@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].
|
|
21282
21495
|
|
|
21283
21496
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -21286,6 +21499,8 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21286
21499
|
@cli_util.option('--private-ip', help=u"""A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.""")
|
|
21287
21500
|
@cli_util.option('--private-ip-v6', help=u"""A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.""")
|
|
21288
21501
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21502
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.""")
|
|
21503
|
+
@cli_util.option('--compute-count', type=click.INT, help=u"""The number of compute servers for the DB system.""")
|
|
21289
21504
|
@cli_util.option('--disk-redundancy', type=custom_types.CliCaseInsensitiveChoice(["HIGH", "NORMAL"]), help=u"""The type of redundancy configured for the DB system. Normal is 2-way redundancy, recommended for test and development systems. High is 3-way redundancy, recommended for production systems.""")
|
|
21290
21505
|
@cli_util.option('--license-model', type=custom_types.CliCaseInsensitiveChoice(["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]), help=u"""The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.""")
|
|
21291
21506
|
@cli_util.option('--maintenance-window-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -21297,7 +21512,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21297
21512
|
@click.pass_context
|
|
21298
21513
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'fault-domains': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'db-system-options': {'module': 'database', 'class': 'DbSystemOptions'}, 'ssh-public-keys': {'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'}, 'db-home': {'module': 'database', 'class': 'CreateDbHomeDetails'}, 'maintenance-window-details': {'module': 'database', 'class': 'MaintenanceWindow'}}, output_type={'module': 'database', 'class': 'DbSystem'})
|
|
21299
21514
|
@cli_util.wrap_exceptions
|
|
21300
|
-
def launch_db_system_launch_db_system_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname,
|
|
21515
|
+
def launch_db_system_launch_db_system_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname, db_home, database_edition, fault_domains, display_name, backup_subnet_id, nsg_ids, backup_network_nsg_ids, time_zone, db_system_options, storage_volume_performance_mode, sparse_diskgroup, domain, cpu_core_count, cluster_name, data_storage_percentage, initial_data_storage_size_in_gb, kms_key_id, kms_key_version_id, node_count, freeform_tags, defined_tags, security_attributes, private_ip, private_ip_v6, data_collection_options, compute_model, compute_count, disk_redundancy, license_model, maintenance_window_details):
|
|
21301
21516
|
|
|
21302
21517
|
kwargs = {}
|
|
21303
21518
|
|
|
@@ -21308,7 +21523,6 @@ def launch_db_system_launch_db_system_details(ctx, from_json, wait_for_state, ma
|
|
|
21308
21523
|
_details['shape'] = shape
|
|
21309
21524
|
_details['sshPublicKeys'] = cli_util.parse_json_parameter("ssh_public_keys", ssh_public_keys)
|
|
21310
21525
|
_details['hostname'] = hostname
|
|
21311
|
-
_details['cpuCoreCount'] = cpu_core_count
|
|
21312
21526
|
_details['dbHome'] = cli_util.parse_json_parameter("db_home", db_home)
|
|
21313
21527
|
_details['databaseEdition'] = database_edition
|
|
21314
21528
|
|
|
@@ -21342,6 +21556,9 @@ def launch_db_system_launch_db_system_details(ctx, from_json, wait_for_state, ma
|
|
|
21342
21556
|
if domain is not None:
|
|
21343
21557
|
_details['domain'] = domain
|
|
21344
21558
|
|
|
21559
|
+
if cpu_core_count is not None:
|
|
21560
|
+
_details['cpuCoreCount'] = cpu_core_count
|
|
21561
|
+
|
|
21345
21562
|
if cluster_name is not None:
|
|
21346
21563
|
_details['clusterName'] = cluster_name
|
|
21347
21564
|
|
|
@@ -21378,6 +21595,12 @@ def launch_db_system_launch_db_system_details(ctx, from_json, wait_for_state, ma
|
|
|
21378
21595
|
if data_collection_options is not None:
|
|
21379
21596
|
_details['dataCollectionOptions'] = cli_util.parse_json_parameter("data_collection_options", data_collection_options)
|
|
21380
21597
|
|
|
21598
|
+
if compute_model is not None:
|
|
21599
|
+
_details['computeModel'] = compute_model
|
|
21600
|
+
|
|
21601
|
+
if compute_count is not None:
|
|
21602
|
+
_details['computeCount'] = compute_count
|
|
21603
|
+
|
|
21381
21604
|
if disk_redundancy is not None:
|
|
21382
21605
|
_details['diskRedundancy'] = disk_redundancy
|
|
21383
21606
|
|
|
@@ -21445,11 +21668,6 @@ To get a list of shapes, use the [ListDbSystemShapes] operation.""")
|
|
|
21445
21668
|
The maximum length of the combined hostname and domain is 63 characters.
|
|
21446
21669
|
|
|
21447
21670
|
**Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.""")
|
|
21448
|
-
@cli_util.option('--cpu-core-count', required=True, type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21449
|
-
|
|
21450
|
-
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21451
|
-
|
|
21452
|
-
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21453
21671
|
@cli_util.option('--source-db-system-id', required=True, help=u"""The [OCID] of the DB system.""")
|
|
21454
21672
|
@cli_util.option('--db-home', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21455
21673
|
@cli_util.option('--fault-domains', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A Fault Domain is a grouping of hardware and infrastructure within an availability domain. Fault Domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains.
|
|
@@ -21472,12 +21690,17 @@ Example: `FAULT-DOMAIN-1`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
|
21472
21690
|
@cli_util.option('--storage-volume-performance-mode', type=custom_types.CliCaseInsensitiveChoice(["BALANCED", "HIGH_PERFORMANCE"]), help=u"""The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance] for more information.""")
|
|
21473
21691
|
@cli_util.option('--sparse-diskgroup', type=click.BOOL, help=u"""If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured.""")
|
|
21474
21692
|
@cli_util.option('--domain', help=u"""A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.""")
|
|
21693
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21694
|
+
|
|
21695
|
+
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21696
|
+
|
|
21697
|
+
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21475
21698
|
@cli_util.option('--cluster-name', help=u"""The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.""")
|
|
21476
21699
|
@cli_util.option('--data-storage-percentage', type=click.INT, help=u"""The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.""")
|
|
21477
|
-
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume.""")
|
|
21700
|
+
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256.""")
|
|
21478
21701
|
@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.""")
|
|
21479
21702
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
21480
|
-
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a
|
|
21703
|
+
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.""")
|
|
21481
21704
|
@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].
|
|
21482
21705
|
|
|
21483
21706
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -21486,6 +21709,8 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21486
21709
|
@cli_util.option('--private-ip', help=u"""A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.""")
|
|
21487
21710
|
@cli_util.option('--private-ip-v6', help=u"""A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.""")
|
|
21488
21711
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21712
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.""")
|
|
21713
|
+
@cli_util.option('--compute-count', type=click.INT, help=u"""The number of compute servers for the DB system.""")
|
|
21489
21714
|
@cli_util.option('--license-model', type=custom_types.CliCaseInsensitiveChoice(["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]), help=u"""The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.""")
|
|
21490
21715
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MIGRATED", "MAINTENANCE_IN_PROGRESS", "NEEDS_ATTENTION", "UPGRADING"]), 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.""")
|
|
21491
21716
|
@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.""")
|
|
@@ -21495,7 +21720,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21495
21720
|
@click.pass_context
|
|
21496
21721
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'fault-domains': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'db-system-options': {'module': 'database', 'class': 'DbSystemOptions'}, 'ssh-public-keys': {'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'}, 'db-home': {'module': 'database', 'class': 'CreateDbHomeFromDbSystemDetails'}}, output_type={'module': 'database', 'class': 'DbSystem'})
|
|
21497
21722
|
@cli_util.wrap_exceptions
|
|
21498
|
-
def launch_db_system_launch_db_system_from_db_system_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname,
|
|
21723
|
+
def launch_db_system_launch_db_system_from_db_system_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname, source_db_system_id, db_home, fault_domains, display_name, backup_subnet_id, nsg_ids, backup_network_nsg_ids, time_zone, db_system_options, storage_volume_performance_mode, sparse_diskgroup, domain, cpu_core_count, cluster_name, data_storage_percentage, initial_data_storage_size_in_gb, kms_key_id, kms_key_version_id, node_count, freeform_tags, defined_tags, security_attributes, private_ip, private_ip_v6, data_collection_options, compute_model, compute_count, license_model):
|
|
21499
21724
|
|
|
21500
21725
|
kwargs = {}
|
|
21501
21726
|
|
|
@@ -21506,7 +21731,6 @@ def launch_db_system_launch_db_system_from_db_system_details(ctx, from_json, wai
|
|
|
21506
21731
|
_details['shape'] = shape
|
|
21507
21732
|
_details['sshPublicKeys'] = cli_util.parse_json_parameter("ssh_public_keys", ssh_public_keys)
|
|
21508
21733
|
_details['hostname'] = hostname
|
|
21509
|
-
_details['cpuCoreCount'] = cpu_core_count
|
|
21510
21734
|
_details['sourceDbSystemId'] = source_db_system_id
|
|
21511
21735
|
_details['dbHome'] = cli_util.parse_json_parameter("db_home", db_home)
|
|
21512
21736
|
|
|
@@ -21540,6 +21764,9 @@ def launch_db_system_launch_db_system_from_db_system_details(ctx, from_json, wai
|
|
|
21540
21764
|
if domain is not None:
|
|
21541
21765
|
_details['domain'] = domain
|
|
21542
21766
|
|
|
21767
|
+
if cpu_core_count is not None:
|
|
21768
|
+
_details['cpuCoreCount'] = cpu_core_count
|
|
21769
|
+
|
|
21543
21770
|
if cluster_name is not None:
|
|
21544
21771
|
_details['clusterName'] = cluster_name
|
|
21545
21772
|
|
|
@@ -21576,6 +21803,12 @@ def launch_db_system_launch_db_system_from_db_system_details(ctx, from_json, wai
|
|
|
21576
21803
|
if data_collection_options is not None:
|
|
21577
21804
|
_details['dataCollectionOptions'] = cli_util.parse_json_parameter("data_collection_options", data_collection_options)
|
|
21578
21805
|
|
|
21806
|
+
if compute_model is not None:
|
|
21807
|
+
_details['computeModel'] = compute_model
|
|
21808
|
+
|
|
21809
|
+
if compute_count is not None:
|
|
21810
|
+
_details['computeCount'] = compute_count
|
|
21811
|
+
|
|
21579
21812
|
if license_model is not None:
|
|
21580
21813
|
_details['licenseModel'] = license_model
|
|
21581
21814
|
|
|
@@ -21637,11 +21870,6 @@ To get a list of shapes, use the [ListDbSystemShapes] operation.""")
|
|
|
21637
21870
|
The maximum length of the combined hostname and domain is 63 characters.
|
|
21638
21871
|
|
|
21639
21872
|
**Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.""")
|
|
21640
|
-
@cli_util.option('--cpu-core-count', required=True, type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21641
|
-
|
|
21642
|
-
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21643
|
-
|
|
21644
|
-
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21645
21873
|
@cli_util.option('--db-home', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21646
21874
|
@cli_util.option('--database-edition', required=True, type=custom_types.CliCaseInsensitiveChoice(["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"]), help=u"""The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.""")
|
|
21647
21875
|
@cli_util.option('--fault-domains', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A Fault Domain is a grouping of hardware and infrastructure within an availability domain. Fault Domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains.
|
|
@@ -21664,12 +21892,17 @@ Example: `FAULT-DOMAIN-1`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
|
21664
21892
|
@cli_util.option('--storage-volume-performance-mode', type=custom_types.CliCaseInsensitiveChoice(["BALANCED", "HIGH_PERFORMANCE"]), help=u"""The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance] for more information.""")
|
|
21665
21893
|
@cli_util.option('--sparse-diskgroup', type=click.BOOL, help=u"""If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured.""")
|
|
21666
21894
|
@cli_util.option('--domain', help=u"""A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.""")
|
|
21895
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21896
|
+
|
|
21897
|
+
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21898
|
+
|
|
21899
|
+
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21667
21900
|
@cli_util.option('--cluster-name', help=u"""The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.""")
|
|
21668
21901
|
@cli_util.option('--data-storage-percentage', type=click.INT, help=u"""The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.""")
|
|
21669
|
-
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume.""")
|
|
21902
|
+
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256.""")
|
|
21670
21903
|
@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.""")
|
|
21671
21904
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
21672
|
-
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a
|
|
21905
|
+
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.""")
|
|
21673
21906
|
@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].
|
|
21674
21907
|
|
|
21675
21908
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -21678,6 +21911,8 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21678
21911
|
@cli_util.option('--private-ip', help=u"""A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.""")
|
|
21679
21912
|
@cli_util.option('--private-ip-v6', help=u"""A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.""")
|
|
21680
21913
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21914
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.""")
|
|
21915
|
+
@cli_util.option('--compute-count', type=click.INT, help=u"""The number of compute servers for the DB system.""")
|
|
21681
21916
|
@cli_util.option('--disk-redundancy', type=custom_types.CliCaseInsensitiveChoice(["HIGH", "NORMAL"]), help=u"""The type of redundancy configured for the DB system. NORMAL 2-way redundancy, recommended for test and development systems. HIGH is 3-way redundancy, recommended for production systems.""")
|
|
21682
21917
|
@cli_util.option('--license-model', type=custom_types.CliCaseInsensitiveChoice(["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]), help=u"""The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.""")
|
|
21683
21918
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MIGRATED", "MAINTENANCE_IN_PROGRESS", "NEEDS_ATTENTION", "UPGRADING"]), 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.""")
|
|
@@ -21688,7 +21923,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21688
21923
|
@click.pass_context
|
|
21689
21924
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'fault-domains': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'db-system-options': {'module': 'database', 'class': 'DbSystemOptions'}, 'ssh-public-keys': {'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'}, 'db-home': {'module': 'database', 'class': 'CreateDbHomeFromDatabaseDetails'}}, output_type={'module': 'database', 'class': 'DbSystem'})
|
|
21690
21925
|
@cli_util.wrap_exceptions
|
|
21691
|
-
def launch_db_system_launch_db_system_from_database_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname,
|
|
21926
|
+
def launch_db_system_launch_db_system_from_database_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname, db_home, database_edition, fault_domains, display_name, backup_subnet_id, nsg_ids, backup_network_nsg_ids, time_zone, db_system_options, storage_volume_performance_mode, sparse_diskgroup, domain, cpu_core_count, cluster_name, data_storage_percentage, initial_data_storage_size_in_gb, kms_key_id, kms_key_version_id, node_count, freeform_tags, defined_tags, security_attributes, private_ip, private_ip_v6, data_collection_options, compute_model, compute_count, disk_redundancy, license_model):
|
|
21692
21927
|
|
|
21693
21928
|
kwargs = {}
|
|
21694
21929
|
|
|
@@ -21699,7 +21934,6 @@ def launch_db_system_launch_db_system_from_database_details(ctx, from_json, wait
|
|
|
21699
21934
|
_details['shape'] = shape
|
|
21700
21935
|
_details['sshPublicKeys'] = cli_util.parse_json_parameter("ssh_public_keys", ssh_public_keys)
|
|
21701
21936
|
_details['hostname'] = hostname
|
|
21702
|
-
_details['cpuCoreCount'] = cpu_core_count
|
|
21703
21937
|
_details['dbHome'] = cli_util.parse_json_parameter("db_home", db_home)
|
|
21704
21938
|
_details['databaseEdition'] = database_edition
|
|
21705
21939
|
|
|
@@ -21733,6 +21967,9 @@ def launch_db_system_launch_db_system_from_database_details(ctx, from_json, wait
|
|
|
21733
21967
|
if domain is not None:
|
|
21734
21968
|
_details['domain'] = domain
|
|
21735
21969
|
|
|
21970
|
+
if cpu_core_count is not None:
|
|
21971
|
+
_details['cpuCoreCount'] = cpu_core_count
|
|
21972
|
+
|
|
21736
21973
|
if cluster_name is not None:
|
|
21737
21974
|
_details['clusterName'] = cluster_name
|
|
21738
21975
|
|
|
@@ -21769,6 +22006,12 @@ def launch_db_system_launch_db_system_from_database_details(ctx, from_json, wait
|
|
|
21769
22006
|
if data_collection_options is not None:
|
|
21770
22007
|
_details['dataCollectionOptions'] = cli_util.parse_json_parameter("data_collection_options", data_collection_options)
|
|
21771
22008
|
|
|
22009
|
+
if compute_model is not None:
|
|
22010
|
+
_details['computeModel'] = compute_model
|
|
22011
|
+
|
|
22012
|
+
if compute_count is not None:
|
|
22013
|
+
_details['computeCount'] = compute_count
|
|
22014
|
+
|
|
21772
22015
|
if disk_redundancy is not None:
|
|
21773
22016
|
_details['diskRedundancy'] = disk_redundancy
|
|
21774
22017
|
|
|
@@ -21833,11 +22076,6 @@ To get a list of shapes, use the [ListDbSystemShapes] operation.""")
|
|
|
21833
22076
|
The maximum length of the combined hostname and domain is 63 characters.
|
|
21834
22077
|
|
|
21835
22078
|
**Note:** The hostname must be unique within the subnet. If it is not unique, the DB system will fail to provision.""")
|
|
21836
|
-
@cli_util.option('--cpu-core-count', required=True, type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
21837
|
-
|
|
21838
|
-
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
21839
|
-
|
|
21840
|
-
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21841
22079
|
@cli_util.option('--db-home', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
21842
22080
|
@cli_util.option('--database-edition', required=True, type=custom_types.CliCaseInsensitiveChoice(["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"]), help=u"""The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.""")
|
|
21843
22081
|
@cli_util.option('--fault-domains', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A Fault Domain is a grouping of hardware and infrastructure within an availability domain. Fault Domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains.
|
|
@@ -21860,12 +22098,17 @@ Example: `FAULT-DOMAIN-1`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
|
21860
22098
|
@cli_util.option('--storage-volume-performance-mode', type=custom_types.CliCaseInsensitiveChoice(["BALANCED", "HIGH_PERFORMANCE"]), help=u"""The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See [Block Volume Performance] for more information.""")
|
|
21861
22099
|
@cli_util.option('--sparse-diskgroup', type=click.BOOL, help=u"""If true, Sparse Diskgroup is configured for Exadata dbsystem. If False, Sparse diskgroup is not configured.""")
|
|
21862
22100
|
@cli_util.option('--domain', help=u"""A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.""")
|
|
22101
|
+
@cli_util.option('--cpu-core-count', type=click.INT, help=u"""The number of CPU cores to enable for a bare metal or Exadata DB system or AMD VMDB Systems. The valid values depend on the specified shape:
|
|
22102
|
+
|
|
22103
|
+
- BM.DenseIO1.36 - Specify a multiple of 2, from 2 to 36. - BM.DenseIO2.52 - Specify a multiple of 2, from 2 to 52. - 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. - VM.Standard.E4.Flex - Specify any thing from 1 to 64.
|
|
22104
|
+
|
|
22105
|
+
This parameter is not used for INTEL virtual machine DB systems because virtual machine DB systems have a set number of cores for each shape. For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems]""")
|
|
21863
22106
|
@cli_util.option('--cluster-name', help=u"""The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.""")
|
|
21864
22107
|
@cli_util.option('--data-storage-percentage', type=click.INT, help=u"""The percentage assigned to DATA storage (user data and database files). The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Specify 80 or 40. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.""")
|
|
21865
|
-
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume.""")
|
|
22108
|
+
@cli_util.option('--initial-data-storage-size-in-gb', type=click.INT, help=u"""Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256.""")
|
|
21866
22109
|
@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.""")
|
|
21867
22110
|
@cli_util.option('--kms-key-version-id', help=u"""The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.""")
|
|
21868
|
-
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a
|
|
22111
|
+
@cli_util.option('--node-count', type=click.INT, help=u"""The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1.""")
|
|
21869
22112
|
@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].
|
|
21870
22113
|
|
|
21871
22114
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -21874,6 +22117,8 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21874
22117
|
@cli_util.option('--private-ip', help=u"""A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.""")
|
|
21875
22118
|
@cli_util.option('--private-ip-v6', help=u"""A private IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value and the subnet is dual stack, Oracle automatically assigns a private IPv6 address from the subnet.""")
|
|
21876
22119
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
22120
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.""")
|
|
22121
|
+
@cli_util.option('--compute-count', type=click.INT, help=u"""The number of compute servers for the DB system.""")
|
|
21877
22122
|
@cli_util.option('--disk-redundancy', type=custom_types.CliCaseInsensitiveChoice(["HIGH", "NORMAL"]), help=u"""The type of redundancy configured for the DB system. NORMAL 2-way redundancy, recommended for test and development systems. HIGH is 3-way redundancy, recommended for production systems.""")
|
|
21878
22123
|
@cli_util.option('--license-model', type=custom_types.CliCaseInsensitiveChoice(["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]), help=u"""The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.""")
|
|
21879
22124
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MIGRATED", "MAINTENANCE_IN_PROGRESS", "NEEDS_ATTENTION", "UPGRADING"]), 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.""")
|
|
@@ -21884,7 +22129,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
21884
22129
|
@click.pass_context
|
|
21885
22130
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'fault-domains': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'db-system-options': {'module': 'database', 'class': 'DbSystemOptions'}, 'ssh-public-keys': {'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'}, 'db-home': {'module': 'database', 'class': 'CreateDbHomeFromBackupDetails'}}, output_type={'module': 'database', 'class': 'DbSystem'})
|
|
21886
22131
|
@cli_util.wrap_exceptions
|
|
21887
|
-
def launch_db_system_launch_db_system_from_backup_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname,
|
|
22132
|
+
def launch_db_system_launch_db_system_from_backup_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, availability_domain, subnet_id, shape, ssh_public_keys, hostname, db_home, database_edition, fault_domains, display_name, backup_subnet_id, nsg_ids, backup_network_nsg_ids, time_zone, db_system_options, storage_volume_performance_mode, sparse_diskgroup, domain, cpu_core_count, cluster_name, data_storage_percentage, initial_data_storage_size_in_gb, kms_key_id, kms_key_version_id, node_count, freeform_tags, defined_tags, security_attributes, private_ip, private_ip_v6, data_collection_options, compute_model, compute_count, disk_redundancy, license_model):
|
|
21888
22133
|
|
|
21889
22134
|
kwargs = {}
|
|
21890
22135
|
|
|
@@ -21895,7 +22140,6 @@ def launch_db_system_launch_db_system_from_backup_details(ctx, from_json, wait_f
|
|
|
21895
22140
|
_details['shape'] = shape
|
|
21896
22141
|
_details['sshPublicKeys'] = cli_util.parse_json_parameter("ssh_public_keys", ssh_public_keys)
|
|
21897
22142
|
_details['hostname'] = hostname
|
|
21898
|
-
_details['cpuCoreCount'] = cpu_core_count
|
|
21899
22143
|
_details['dbHome'] = cli_util.parse_json_parameter("db_home", db_home)
|
|
21900
22144
|
_details['databaseEdition'] = database_edition
|
|
21901
22145
|
|
|
@@ -21929,6 +22173,9 @@ def launch_db_system_launch_db_system_from_backup_details(ctx, from_json, wait_f
|
|
|
21929
22173
|
if domain is not None:
|
|
21930
22174
|
_details['domain'] = domain
|
|
21931
22175
|
|
|
22176
|
+
if cpu_core_count is not None:
|
|
22177
|
+
_details['cpuCoreCount'] = cpu_core_count
|
|
22178
|
+
|
|
21932
22179
|
if cluster_name is not None:
|
|
21933
22180
|
_details['clusterName'] = cluster_name
|
|
21934
22181
|
|
|
@@ -21965,6 +22212,12 @@ def launch_db_system_launch_db_system_from_backup_details(ctx, from_json, wait_f
|
|
|
21965
22212
|
if data_collection_options is not None:
|
|
21966
22213
|
_details['dataCollectionOptions'] = cli_util.parse_json_parameter("data_collection_options", data_collection_options)
|
|
21967
22214
|
|
|
22215
|
+
if compute_model is not None:
|
|
22216
|
+
_details['computeModel'] = compute_model
|
|
22217
|
+
|
|
22218
|
+
if compute_count is not None:
|
|
22219
|
+
_details['computeCount'] = compute_count
|
|
22220
|
+
|
|
21968
22221
|
if disk_redundancy is not None:
|
|
21969
22222
|
_details['diskRedundancy'] = disk_redundancy
|
|
21970
22223
|
|
|
@@ -22071,7 +22324,7 @@ def list_application_vips(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
22071
22324
|
@cli_util.option('--is-remote', type=click.BOOL, help=u"""call for all remote backups""")
|
|
22072
22325
|
@cli_util.option('--infrastructure-type', type=custom_types.CliCaseInsensitiveChoice(["CLOUD", "CLOUD_AT_CUSTOMER"]), help=u"""A filter to return only resources that match the given Infrastructure Type.""")
|
|
22073
22326
|
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources that match the given lifecycle state exactly.""")
|
|
22074
|
-
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIMECREATED", "DISPLAYNAME"]), help=u"""The field to sort by.
|
|
22327
|
+
@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.
|
|
22075
22328
|
|
|
22076
22329
|
**Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.""")
|
|
22077
22330
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return per page.""")
|
|
@@ -24495,6 +24748,7 @@ def list_db_system_patches(ctx, from_json, all_pages, page_size, db_system_id, l
|
|
|
24495
24748
|
@cli_util.option('--availability-domain', help=u"""The name of the Availability Domain.""")
|
|
24496
24749
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return per page.""")
|
|
24497
24750
|
@cli_util.option('--page', help=u"""The pagination token to continue listing from.""")
|
|
24751
|
+
@cli_util.option('--shape-attribute', help=u"""If provided and applicable, return DB System shape parameters based on the shapeAttribute provided""")
|
|
24498
24752
|
@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.""")
|
|
24499
24753
|
@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.""")
|
|
24500
24754
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -24502,7 +24756,7 @@ def list_db_system_patches(ctx, from_json, all_pages, page_size, db_system_id, l
|
|
|
24502
24756
|
@click.pass_context
|
|
24503
24757
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[DbSystemShapeSummary]'})
|
|
24504
24758
|
@cli_util.wrap_exceptions
|
|
24505
|
-
def list_db_system_shapes(ctx, from_json, all_pages, page_size, compartment_id, availability_domain, limit, page):
|
|
24759
|
+
def list_db_system_shapes(ctx, from_json, all_pages, page_size, compartment_id, availability_domain, limit, page, shape_attribute):
|
|
24506
24760
|
|
|
24507
24761
|
if all_pages and limit:
|
|
24508
24762
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -24514,6 +24768,8 @@ def list_db_system_shapes(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
24514
24768
|
kwargs['limit'] = limit
|
|
24515
24769
|
if page is not None:
|
|
24516
24770
|
kwargs['page'] = page
|
|
24771
|
+
if shape_attribute is not None:
|
|
24772
|
+
kwargs['shape_attribute'] = shape_attribute
|
|
24517
24773
|
client = cli_util.build_client('database', 'database', ctx)
|
|
24518
24774
|
if all_pages:
|
|
24519
24775
|
if page_size:
|
|
@@ -24544,19 +24800,22 @@ def list_db_system_shapes(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
24544
24800
|
@cli_util.option('--storage-management', required=True, type=custom_types.CliCaseInsensitiveChoice(["ASM", "LVM"]), help=u"""The DB system storage management option. Used to list database versions available for that storage manager. Valid values are `ASM` and `LVM`. * ASM specifies Oracle Automatic Storage Management * LVM specifies logical volume manager, sometimes called logical disk manager.""")
|
|
24545
24801
|
@cli_util.option('--shape-type', help=u"""Optional. Filters the performance results by shape type.""")
|
|
24546
24802
|
@cli_util.option('--database-edition', type=custom_types.CliCaseInsensitiveChoice(["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME", "ENTERPRISE_EDITION_DEVELOPER"]), help=u"""The database edition of quota (STANDARD_EDITION/ENTERPRISE_EDITION/ENTERPRISE_EDITION_HIGH_PERFORMANCE/ENTERPRISE_EDITION_EXTREME/ENTERPRISE_EDITION_DEVELOPER)""")
|
|
24803
|
+
@cli_util.option('--compartment-id', help=u"""The compartment [OCID].""")
|
|
24547
24804
|
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
|
|
24548
24805
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
24549
24806
|
@cli_util.help_option
|
|
24550
24807
|
@click.pass_context
|
|
24551
24808
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[DbSystemStoragePerformanceSummary]'})
|
|
24552
24809
|
@cli_util.wrap_exceptions
|
|
24553
|
-
def list_db_system_storage_performances(ctx, from_json, all_pages, storage_management, shape_type, database_edition):
|
|
24810
|
+
def list_db_system_storage_performances(ctx, from_json, all_pages, storage_management, shape_type, database_edition, compartment_id):
|
|
24554
24811
|
|
|
24555
24812
|
kwargs = {}
|
|
24556
24813
|
if shape_type is not None:
|
|
24557
24814
|
kwargs['shape_type'] = shape_type
|
|
24558
24815
|
if database_edition is not None:
|
|
24559
24816
|
kwargs['database_edition'] = database_edition
|
|
24817
|
+
if compartment_id is not None:
|
|
24818
|
+
kwargs['compartment_id'] = compartment_id
|
|
24560
24819
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
24561
24820
|
client = cli_util.build_client('database', 'database', ctx)
|
|
24562
24821
|
result = client.list_db_system_storage_performances(
|
|
@@ -24759,6 +25018,7 @@ def list_db_systems(ctx, from_json, all_pages, page_size, compartment_id, limit,
|
|
|
24759
25018
|
@cli_util.option('--db-system-shape', help=u"""If provided, filters the results to the set of database versions which are supported for the given shape.""")
|
|
24760
25019
|
@cli_util.option('--db-system-id', help=u"""The DB system [OCID]. If provided, filters the results to the set of database versions which are supported for the DB system.""")
|
|
24761
25020
|
@cli_util.option('--storage-management', type=custom_types.CliCaseInsensitiveChoice(["ASM", "LVM"]), help=u"""The DB system storage management option. Used to list database versions available for that storage manager. Valid values are `ASM` and `LVM`. * ASM specifies Oracle Automatic Storage Management * LVM specifies logical volume manager, sometimes called logical disk manager.""")
|
|
25021
|
+
@cli_util.option('--shape-attribute', help=u"""If provided and applicable, return DB System shape parameters based on the shapeAttribute provided""")
|
|
24762
25022
|
@cli_util.option('--is-upgrade-supported', type=click.BOOL, help=u"""If provided, filters the results to the set of database versions which are supported for Upgrade.""")
|
|
24763
25023
|
@cli_util.option('--is-database-software-image-supported', type=click.BOOL, help=u"""If true, filters the results to the set of Oracle Database versions that are supported for OCI database software images.""")
|
|
24764
25024
|
@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.""")
|
|
@@ -24768,7 +25028,7 @@ def list_db_systems(ctx, from_json, all_pages, page_size, compartment_id, limit,
|
|
|
24768
25028
|
@click.pass_context
|
|
24769
25029
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[DbVersionSummary]'})
|
|
24770
25030
|
@cli_util.wrap_exceptions
|
|
24771
|
-
def list_db_versions(ctx, from_json, all_pages, page_size, compartment_id, limit, page, db_system_shape, db_system_id, storage_management, is_upgrade_supported, is_database_software_image_supported):
|
|
25031
|
+
def list_db_versions(ctx, from_json, all_pages, page_size, compartment_id, limit, page, db_system_shape, db_system_id, storage_management, shape_attribute, is_upgrade_supported, is_database_software_image_supported):
|
|
24772
25032
|
|
|
24773
25033
|
if all_pages and limit:
|
|
24774
25034
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -24784,6 +25044,8 @@ def list_db_versions(ctx, from_json, all_pages, page_size, compartment_id, limit
|
|
|
24784
25044
|
kwargs['db_system_id'] = db_system_id
|
|
24785
25045
|
if storage_management is not None:
|
|
24786
25046
|
kwargs['storage_management'] = storage_management
|
|
25047
|
+
if shape_attribute is not None:
|
|
25048
|
+
kwargs['shape_attribute'] = shape_attribute
|
|
24787
25049
|
if is_upgrade_supported is not None:
|
|
24788
25050
|
kwargs['is_upgrade_supported'] = is_upgrade_supported
|
|
24789
25051
|
if is_database_software_image_supported is not None:
|
|
@@ -25062,6 +25324,10 @@ def list_exadb_vm_clusters(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
25062
25324
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
25063
25325
|
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"]), help=u"""A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.""")
|
|
25064
25326
|
@cli_util.option('--cluster-placement-group-id', help=u"""A filter to return only resources that match the given cluster placement group ID exactly.""")
|
|
25327
|
+
@cli_util.option('--attached-shape-attributes-not-equal-to', help=u"""A filter to return only Exadata Database Storage Vaults which do not match the given attachedShapeAttributes""")
|
|
25328
|
+
@cli_util.option('--attached-shape-attributes', help=u"""A filter to return only Exadata Database Storage Vaults which match the given attachedShapeAttributes or has null attachedShapeAttributes""")
|
|
25329
|
+
@cli_util.option('--vm-cluster-count-less-than-or-equal-to', type=click.INT, help=u"""A filter to return only Exadata Database Storage Vaults with associated Exadata VM Clusters less than or equal to the given count""")
|
|
25330
|
+
@cli_util.option('--vm-cluster-count-greater-than-or-equal-to', type=click.INT, help=u"""A filter to return only Exadata Database Storage Vaults with associated Exadata VM Clusters greater than or equal to the given count""")
|
|
25065
25331
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given. The match is not case sensitive.""")
|
|
25066
25332
|
@cli_util.option('--exadata-infrastructure-id', help=u"""A filter to return only list of Vaults that are linked to the exadata infrastructure Id.""")
|
|
25067
25333
|
@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.""")
|
|
@@ -25071,7 +25337,7 @@ def list_exadb_vm_clusters(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
25071
25337
|
@click.pass_context
|
|
25072
25338
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[ExascaleDbStorageVaultSummary]'})
|
|
25073
25339
|
@cli_util.wrap_exceptions
|
|
25074
|
-
def list_exascale_db_storage_vaults(ctx, from_json, all_pages, page_size, compartment_id, limit, page, sort_by, sort_order, lifecycle_state, cluster_placement_group_id, display_name, exadata_infrastructure_id):
|
|
25340
|
+
def list_exascale_db_storage_vaults(ctx, from_json, all_pages, page_size, compartment_id, limit, page, sort_by, sort_order, lifecycle_state, cluster_placement_group_id, attached_shape_attributes_not_equal_to, attached_shape_attributes, vm_cluster_count_less_than_or_equal_to, vm_cluster_count_greater_than_or_equal_to, display_name, exadata_infrastructure_id):
|
|
25075
25341
|
|
|
25076
25342
|
if all_pages and limit:
|
|
25077
25343
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -25089,6 +25355,14 @@ def list_exascale_db_storage_vaults(ctx, from_json, all_pages, page_size, compar
|
|
|
25089
25355
|
kwargs['lifecycle_state'] = lifecycle_state
|
|
25090
25356
|
if cluster_placement_group_id is not None:
|
|
25091
25357
|
kwargs['cluster_placement_group_id'] = cluster_placement_group_id
|
|
25358
|
+
if attached_shape_attributes_not_equal_to is not None:
|
|
25359
|
+
kwargs['attached_shape_attributes_not_equal_to'] = attached_shape_attributes_not_equal_to
|
|
25360
|
+
if attached_shape_attributes is not None:
|
|
25361
|
+
kwargs['attached_shape_attributes'] = attached_shape_attributes
|
|
25362
|
+
if vm_cluster_count_less_than_or_equal_to is not None:
|
|
25363
|
+
kwargs['vm_cluster_count_less_than_or_equal_to'] = vm_cluster_count_less_than_or_equal_to
|
|
25364
|
+
if vm_cluster_count_greater_than_or_equal_to is not None:
|
|
25365
|
+
kwargs['vm_cluster_count_greater_than_or_equal_to'] = vm_cluster_count_greater_than_or_equal_to
|
|
25092
25366
|
if display_name is not None:
|
|
25093
25367
|
kwargs['display_name'] = display_name
|
|
25094
25368
|
if exadata_infrastructure_id is not None:
|
|
@@ -25634,6 +25908,7 @@ def list_gi_version_minor_versions(ctx, from_json, all_pages, page_size, version
|
|
|
25634
25908
|
@cli_util.option('--shape', help=u"""If provided, filters the results for the given shape.""")
|
|
25635
25909
|
@cli_util.option('--availability-domain', help=u"""The target availability domain. Only passed if the limit is AD-specific.""")
|
|
25636
25910
|
@cli_util.option('--resource-id', help=u"""If provided, filters the results for the specified resource Id.""")
|
|
25911
|
+
@cli_util.option('--shape-attribute', help=u"""If provided and applicable, return DB System shape parameters based on the shapeAttribute provided""")
|
|
25637
25912
|
@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.""")
|
|
25638
25913
|
@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.""")
|
|
25639
25914
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -25641,7 +25916,7 @@ def list_gi_version_minor_versions(ctx, from_json, all_pages, page_size, version
|
|
|
25641
25916
|
@click.pass_context
|
|
25642
25917
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[GiVersionSummary]'})
|
|
25643
25918
|
@cli_util.wrap_exceptions
|
|
25644
|
-
def list_gi_versions(ctx, from_json, all_pages, page_size, compartment_id, limit, page, sort_order, shape, availability_domain, resource_id):
|
|
25919
|
+
def list_gi_versions(ctx, from_json, all_pages, page_size, compartment_id, limit, page, sort_order, shape, availability_domain, resource_id, shape_attribute):
|
|
25645
25920
|
|
|
25646
25921
|
if all_pages and limit:
|
|
25647
25922
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -25659,6 +25934,8 @@ def list_gi_versions(ctx, from_json, all_pages, page_size, compartment_id, limit
|
|
|
25659
25934
|
kwargs['availability_domain'] = availability_domain
|
|
25660
25935
|
if resource_id is not None:
|
|
25661
25936
|
kwargs['resource_id'] = resource_id
|
|
25937
|
+
if shape_attribute is not None:
|
|
25938
|
+
kwargs['shape_attribute'] = shape_attribute
|
|
25662
25939
|
client = cli_util.build_client('database', 'database', ctx)
|
|
25663
25940
|
if all_pages:
|
|
25664
25941
|
if page_size:
|
|
@@ -27689,7 +27966,7 @@ def register_autonomous_database_data_safe(ctx, from_json, wait_for_state, max_w
|
|
|
27689
27966
|
|
|
27690
27967
|
@cloud_vm_cluster_group.command(name=cli_util.override('db.register_cloud_vm_cluster_pkcs.command_name', 'register-cloud-vm-cluster-pkcs'), help=u"""Install the PKCS11 driver for given keystore type \n[Command Reference](registerCloudVmClusterPkcs)""")
|
|
27691
27968
|
@cli_util.option('--cloud-vm-cluster-id', required=True, help=u"""The cloud VM cluster [OCID].""")
|
|
27692
|
-
@cli_util.option('--tde-key-store-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["AZURE", "OCI"]), help=u"""TDE keystore type""")
|
|
27969
|
+
@cli_util.option('--tde-key-store-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["AZURE", "OCI", "GCP"]), help=u"""TDE keystore type""")
|
|
27693
27970
|
@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.""")
|
|
27694
27971
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
|
|
27695
27972
|
@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.""")
|
|
@@ -30418,7 +30695,7 @@ def terminate_db_system(ctx, from_json, wait_for_state, max_wait_seconds, wait_i
|
|
|
30418
30695
|
|
|
30419
30696
|
@cloud_vm_cluster_group.command(name=cli_util.override('db.unregister_cloud_vm_cluster_pkcs.command_name', 'unregister-cloud-vm-cluster-pkcs'), help=u"""Uninstall the PKCS11 driver for given keystore type \n[Command Reference](unregisterCloudVmClusterPkcs)""")
|
|
30420
30697
|
@cli_util.option('--cloud-vm-cluster-id', required=True, help=u"""The cloud VM cluster [OCID].""")
|
|
30421
|
-
@cli_util.option('--tde-key-store-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["AZURE", "OCI"]), help=u"""TDE keystore type""")
|
|
30698
|
+
@cli_util.option('--tde-key-store-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["AZURE", "OCI", "GCP"]), help=u"""TDE keystore type""")
|
|
30422
30699
|
@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.""")
|
|
30423
30700
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
|
|
30424
30701
|
@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.""")
|
|
@@ -34359,6 +34636,7 @@ def update_data_guard_association(ctx, from_json, wait_for_state, max_wait_secon
|
|
|
34359
34636
|
@cli_util.option('--new-admin-password', help=u"""A new strong password for SYS, SYSTEM, and the plugbable database ADMIN user. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, \\#, or -.""")
|
|
34360
34637
|
@cli_util.option('--old-tde-wallet-password', help=u"""The existing TDE wallet password. You must provide the existing password in order to set a new TDE wallet password.""")
|
|
34361
34638
|
@cli_util.option('--new-tde-wallet-password', help=u"""The new password to open the TDE wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, \\#, or -.""")
|
|
34639
|
+
@cli_util.option('--storage-size-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
34362
34640
|
@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].
|
|
34363
34641
|
|
|
34364
34642
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -34368,18 +34646,18 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
34368
34646
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED"]), 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.""")
|
|
34369
34647
|
@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.""")
|
|
34370
34648
|
@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.""")
|
|
34371
|
-
@json_skeleton_utils.get_cli_json_input_option({'db-backup-config': {'module': 'database', 'class': 'DbBackupConfig'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}})
|
|
34649
|
+
@json_skeleton_utils.get_cli_json_input_option({'db-backup-config': {'module': 'database', 'class': 'DbBackupConfig'}, 'storage-size-details': {'module': 'database', 'class': 'DatabaseStorageSizeDetails'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}})
|
|
34372
34650
|
@cli_util.help_option
|
|
34373
34651
|
@click.pass_context
|
|
34374
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'db-backup-config': {'module': 'database', 'class': 'DbBackupConfig'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'Database'})
|
|
34652
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'db-backup-config': {'module': 'database', 'class': 'DbBackupConfig'}, 'storage-size-details': {'module': 'database', 'class': 'DatabaseStorageSizeDetails'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'Database'})
|
|
34375
34653
|
@cli_util.wrap_exceptions
|
|
34376
|
-
def update_database(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, database_id, db_backup_config, db_home_id, new_admin_password, old_tde_wallet_password, new_tde_wallet_password, freeform_tags, defined_tags, if_match):
|
|
34654
|
+
def update_database(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, database_id, db_backup_config, db_home_id, new_admin_password, old_tde_wallet_password, new_tde_wallet_password, storage_size_details, freeform_tags, defined_tags, if_match):
|
|
34377
34655
|
|
|
34378
34656
|
if isinstance(database_id, six.string_types) and len(database_id.strip()) == 0:
|
|
34379
34657
|
raise click.UsageError('Parameter --database-id cannot be whitespace or empty string')
|
|
34380
34658
|
if not force:
|
|
34381
|
-
if db_backup_config or freeform_tags or defined_tags:
|
|
34382
|
-
if not click.confirm("WARNING: Updates to db-backup-config and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
34659
|
+
if db_backup_config or storage_size_details or freeform_tags or defined_tags:
|
|
34660
|
+
if not click.confirm("WARNING: Updates to db-backup-config and storage-size-details and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
34383
34661
|
ctx.abort()
|
|
34384
34662
|
|
|
34385
34663
|
kwargs = {}
|
|
@@ -34403,6 +34681,9 @@ def update_database(ctx, from_json, force, wait_for_state, max_wait_seconds, wai
|
|
|
34403
34681
|
if new_tde_wallet_password is not None:
|
|
34404
34682
|
_details['newTdeWalletPassword'] = new_tde_wallet_password
|
|
34405
34683
|
|
|
34684
|
+
if storage_size_details is not None:
|
|
34685
|
+
_details['storageSizeDetails'] = cli_util.parse_json_parameter("storage_size_details", storage_size_details)
|
|
34686
|
+
|
|
34406
34687
|
if freeform_tags is not None:
|
|
34407
34688
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
34408
34689
|
|
|
@@ -34685,6 +34966,8 @@ To get a list of shapes, use the [ListDbSystemShapes] operation.""")
|
|
|
34685
34966
|
@cli_util.option('--license-model', type=custom_types.CliCaseInsensitiveChoice(["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]), help=u"""The Oracle Database license model that applies to all databases on the DB system. The default is LICENSE_INCLUDED.""")
|
|
34686
34967
|
@cli_util.option('--maintenance-window-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
34687
34968
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
34969
|
+
@cli_util.option('--compute-model', type=custom_types.CliCaseInsensitiveChoice(["ECPU", "OCPU"]), help=u"""The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.""")
|
|
34970
|
+
@cli_util.option('--compute-count', type=click.INT, help=u"""The number of compute servers for the DB system.""")
|
|
34688
34971
|
@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.""")
|
|
34689
34972
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
34690
34973
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MIGRATED", "MAINTENANCE_IN_PROGRESS", "NEEDS_ATTENTION", "UPGRADING"]), 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.""")
|
|
@@ -34695,7 +34978,7 @@ To get a list of shapes, use the [ListDbSystemShapes] operation.""")
|
|
|
34695
34978
|
@click.pass_context
|
|
34696
34979
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'version-parameterconflict': {'module': 'database', 'class': 'PatchDetails'}, 'ssh-public-keys': {'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))'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'maintenance-window-details': {'module': 'database', 'class': 'MaintenanceWindow'}, 'data-collection-options': {'module': 'database', 'class': 'DataCollectionOptions'}}, output_type={'module': 'database', 'class': 'DbSystem'})
|
|
34697
34980
|
@cli_util.wrap_exceptions
|
|
34698
|
-
def update_db_system(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, db_system_id, cpu_core_count, version_parameterconflict, ssh_public_keys, data_storage_size_in_gbs, reco_storage_size_in_gbs, freeform_tags, defined_tags, security_attributes, shape, nsg_ids, backup_network_nsg_ids, license_model, maintenance_window_details, data_collection_options, if_match):
|
|
34981
|
+
def update_db_system(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, db_system_id, cpu_core_count, version_parameterconflict, ssh_public_keys, data_storage_size_in_gbs, reco_storage_size_in_gbs, freeform_tags, defined_tags, security_attributes, shape, nsg_ids, backup_network_nsg_ids, license_model, maintenance_window_details, data_collection_options, compute_model, compute_count, if_match):
|
|
34699
34982
|
|
|
34700
34983
|
if isinstance(db_system_id, six.string_types) and len(db_system_id.strip()) == 0:
|
|
34701
34984
|
raise click.UsageError('Parameter --db-system-id cannot be whitespace or empty string')
|
|
@@ -34752,6 +35035,12 @@ def update_db_system(ctx, from_json, force, wait_for_state, max_wait_seconds, wa
|
|
|
34752
35035
|
if data_collection_options is not None:
|
|
34753
35036
|
_details['dataCollectionOptions'] = cli_util.parse_json_parameter("data_collection_options", data_collection_options)
|
|
34754
35037
|
|
|
35038
|
+
if compute_model is not None:
|
|
35039
|
+
_details['computeModel'] = compute_model
|
|
35040
|
+
|
|
35041
|
+
if compute_count is not None:
|
|
35042
|
+
_details['computeCount'] = compute_count
|
|
35043
|
+
|
|
34755
35044
|
client = cli_util.build_client('database', 'database', ctx)
|
|
34756
35045
|
result = client.update_db_system(
|
|
34757
35046
|
db_system_id=db_system_id,
|
|
@@ -35146,6 +35435,8 @@ def update_exadb_vm_cluster(ctx, from_json, force, wait_for_state, max_wait_seco
|
|
|
35146
35435
|
|
|
35147
35436
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
35148
35437
|
@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)
|
|
35438
|
+
@cli_util.option('--is-autoscale-enabled', type=click.BOOL, help=u"""Indicates if autoscale feature is enabled for the Database Storage Vault. The default value is `FALSE`.""")
|
|
35439
|
+
@cli_util.option('--autoscale-limit-in-gbs', type=click.INT, help=u"""Maximum limit storage size in gigabytes, that is applicable for the Database Storage Vault.""")
|
|
35149
35440
|
@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.""")
|
|
35150
35441
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
35151
35442
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"]), 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.""")
|
|
@@ -35156,7 +35447,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
35156
35447
|
@click.pass_context
|
|
35157
35448
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'high-capacity-database-storage': {'module': 'database', 'class': 'ExascaleDbStorageInputDetails'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'ExascaleDbStorageVault'})
|
|
35158
35449
|
@cli_util.wrap_exceptions
|
|
35159
|
-
def update_exascale_db_storage_vault(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, exascale_db_storage_vault_id, display_name, description, high_capacity_database_storage, additional_flash_cache_in_percent, freeform_tags, defined_tags, if_match):
|
|
35450
|
+
def update_exascale_db_storage_vault(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, exascale_db_storage_vault_id, display_name, description, high_capacity_database_storage, additional_flash_cache_in_percent, freeform_tags, defined_tags, is_autoscale_enabled, autoscale_limit_in_gbs, if_match):
|
|
35160
35451
|
|
|
35161
35452
|
if isinstance(exascale_db_storage_vault_id, six.string_types) and len(exascale_db_storage_vault_id.strip()) == 0:
|
|
35162
35453
|
raise click.UsageError('Parameter --exascale-db-storage-vault-id cannot be whitespace or empty string')
|
|
@@ -35190,6 +35481,12 @@ def update_exascale_db_storage_vault(ctx, from_json, force, wait_for_state, max_
|
|
|
35190
35481
|
if defined_tags is not None:
|
|
35191
35482
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
35192
35483
|
|
|
35484
|
+
if is_autoscale_enabled is not None:
|
|
35485
|
+
_details['isAutoscaleEnabled'] = is_autoscale_enabled
|
|
35486
|
+
|
|
35487
|
+
if autoscale_limit_in_gbs is not None:
|
|
35488
|
+
_details['autoscaleLimitInGBs'] = autoscale_limit_in_gbs
|
|
35489
|
+
|
|
35193
35490
|
client = cli_util.build_client('database', 'database', ctx)
|
|
35194
35491
|
result = client.update_exascale_db_storage_vault(
|
|
35195
35492
|
exascale_db_storage_vault_id=exascale_db_storage_vault_id,
|