oci-cli 3.67.0__py3-none-any.whl → 3.68.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.
- common_util/ignored_commands.py +1 -0
- oci_cli/bin/devops.psm1 +12 -1
- oci_cli/bin/integration.psm1 +2 -2
- oci_cli/bin/iot.psm1 +121 -0
- oci_cli/bin/mysql.psm1 +4 -4
- oci_cli/bin/opensearch.psm1 +5 -5
- oci_cli/bin/redis.psm1 +2 -2
- oci_cli/bin/streaming.psm1 +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/ce/addon-option/list.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/create.txt +8 -7
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/delete.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get-virtual-node.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/list-virtual-nodes.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/update.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline/create.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline/update.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline-run/create.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/convert-standby-database-type.txt +169 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry.txt → work-request-log.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-deploy-pipeline-deployment-details.txt +174 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-deploy-pipeline-redeployment-details.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-single-deploy-stage-deployment-details.txt +179 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-single-deploy-stage-redeployment-details.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run.txt +116 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-db.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-gi.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-db.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-gi.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fn/application/create.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fn/application/update.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/change-subscription.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-kinesis-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-redshift-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-s3-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-azure-data-lake-storage-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-azure-synapse-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-databricks-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-db2-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-elasticsearch-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-generic-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-goldengate-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-big-query-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-cloud-storage-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-pub-sub-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-hdfs-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-iceberg-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-jms-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-kafka-connection.txt +44 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-kafka-schema-registry-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-microsoft-fabric-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-microsoft-sqlserver-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-mongo-db-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-mysql-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-object-storage-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-ai-data-platform-connection.txt +308 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-nosql-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-postgresql-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-redis-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-snowflake-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-kinesis-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-redshift-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-s3-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-azure-data-lake-storage-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-azure-synapse-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-databricks-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-db2-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-elasticsearch-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-generic-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-goldengate-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-google-big-query-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-google-cloud-storage-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-google-pub-sub-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-hdfs-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-iceberg-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-jms-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-kafka-connection.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-kafka-schema-registry-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-microsoft-fabric-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-microsoft-sqlserver-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-mongo-db-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-mysql-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-object-storage-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-ai-data-platform-connection.txt +287 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-nosql-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-postgresql-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-redis-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-snowflake-connection.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/change-subscription.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate.txt +8 -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.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/create.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/update.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/create.txt +199 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/delete.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/get.txt +93 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/list.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/update.txt +206 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/create.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/delete.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/get-content.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/get.txt +93 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/invoke-raw-binary-command.txt +119 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/invoke-raw-json-command.txt +125 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/invoke-raw-text-command.txt +118 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/list.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/update.txt +194 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance.txt +36 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/create.txt +182 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/get-spec.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/list.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/update.txt +185 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model.txt +32 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/create.txt +192 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/get.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/list.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/update.txt +193 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/change-compartment.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/change-data-retention-period.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/configure-apex-data-access.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/configure-direct-data-access.txt +143 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/configure-ords-data-access.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/create.txt +168 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/delete.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/list.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/update.txt +175 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/change-compartment.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/configure-data-access.txt +143 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/create.txt +163 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/delete.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/list.txt +149 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/update.txt +176 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain.txt +40 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/list-errors.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/list-logs.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/list.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request.txt +24 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/clone.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/create.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/import.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/update.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/create.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/shapes-details/list.txt +13 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/update.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/upgrade.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/create.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/update.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/associated-resource-summary/list-job-associated-resources.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/associated-resource-summary/list-stack-associated-resources.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-bitbucket-cloud-username-app-password-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-bitbucket-server-access-token-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-github-access-token-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-gitlab-access-token-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/delete.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/get.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/list.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-bitbucket-cloud-username-app-password-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-bitbucket-server-access-token-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-github-access-token-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-gitlab-access-token-provider.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/cancel.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-apply-job.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-apply-rollback-job.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-destroy-job.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-import-tf-state-job.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-plan-job.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-plan-rollback-job.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-detailed-log-content.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-logs-content.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-logs.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-tf-config.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-tf-plan.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-tf-state.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/list.txt +1 -4
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/update.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job-output-summary/list-job-outputs.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/change-compartment.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/create.txt +36 -16
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/delete.txt +15 -14
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/get-reachable-ip.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/list.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/update.txt +36 -16
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/change-compartment.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/code.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-bitbucket-cloud.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-bitbucket-server.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-compartment.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-git-provider.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-object-storage.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-template.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-stack-create-dev-ops-config-source-details.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/delete.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/detect-drift.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/get-stack-tf-config.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/get-stack-tf-state.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list-resource-discovery-services.txt +1 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list-resource-drift-details.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list-terraform-versions.txt +1 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list.txt +4 -6
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-from-bitbucket-cloud.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-from-git-provider.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-from-object-storage.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-stack-update-dev-ops-config-source-details.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/change-compartment.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/create.txt +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/delete.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/get-template-logo.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/get-template-tf-config.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/list-template-categories.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/list.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/update.txt +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/list-work-request-errors.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/list-work-request-logs.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/streaming/admin/stream-pool/create.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/streaming/admin/stream-pool/update.txt +18 -0
- oci_cli/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.1.dist-info}/METADATA +7 -3
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.1.dist-info}/RECORD +295 -221
- services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +7 -6
- services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +139 -49
- services/database/src/oci_cli_database/generated/database_cli.py +71 -0
- services/devops/src/oci_cli_devops/generated/devops_cli.py +226 -0
- services/fleet_software_update/src/oci_cli_fleet_software_update/generated/fleetsoftwareupdate_cli.py +4 -4
- services/functions/src/oci_cli_functions_management/generated/functionsmanagement_cli.py +20 -8
- services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +1298 -248
- services/golden_gate/src/oci_cli_golden_gate/golden_gate_cli_extended.py +59 -14
- services/integration/src/oci_cli_integration_instance/generated/integrationinstance_cli.py +29 -11
- services/iot/__init__.py +4 -0
- services/iot/src/__init__.py +4 -0
- services/iot/src/oci_cli_iot/__init__.py +4 -0
- services/iot/src/oci_cli_iot/generated/__init__.py +4 -0
- services/iot/src/oci_cli_iot/generated/client_mappings.py +14 -0
- services/iot/src/oci_cli_iot/generated/iot_cli.py +2913 -0
- services/iot/src/oci_cli_iot/iot_cli_extended.py +74 -0
- services/iot/tests/__init__.py +4 -0
- services/mysql/src/oci_cli_db_system/generated/dbsystem_cli.py +44 -20
- services/opensearch/src/oci_cli_opensearch_cluster/generated/opensearchcluster_cli.py +44 -12
- services/redis/src/oci_cli_redis_cluster/generated/rediscluster_cli.py +20 -8
- services/resource_manager/src/oci_cli_resource_manager/generated/resourcemanager_cli.py +201 -193
- services/streaming/src/oci_cli_stream_admin/generated/streamadmin_cli.py +20 -8
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.1.dist-info}/top_level.txt +0 -0
|
@@ -241,22 +241,27 @@ def configure_outbound_cluster(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
241
241
|
@cli_util.option('--security-master-user-password-hash', help=u"""The password hash of the master user that are used to manage security config""")
|
|
242
242
|
@cli_util.option('--security-saml-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
243
243
|
@cli_util.option('--backup-policy', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
244
|
+
@cli_util.option('--nsg-id', help=u"""The OCID of the NSG where the private endpoint vnic will be attached.""")
|
|
244
245
|
@cli_util.option('--reverse-connection-endpoint-customer-ips', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The customer IP addresses of the endpoint in customer VCN""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
245
246
|
@cli_util.option('--inbound-cluster-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""List of inbound clusters that will be queried using cross cluster search""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
246
247
|
@cli_util.option('--outbound-cluster-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
247
248
|
@cli_util.option('--maintenance-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
249
|
+
@cli_util.option('--certificate-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
248
250
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
249
251
|
@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. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
250
252
|
@cli_util.option('--system-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
253
|
+
@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].
|
|
254
|
+
|
|
255
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
251
256
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
252
257
|
@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.""")
|
|
253
258
|
@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.""")
|
|
254
|
-
@json_skeleton_utils.get_cli_json_input_option({'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'inbound-cluster-ids': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'CreateMaintenanceDetails'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
259
|
+
@json_skeleton_utils.get_cli_json_input_option({'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'inbound-cluster-ids': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'CreateMaintenanceDetails'}, 'certificate-config': {'module': 'opensearch', 'class': 'CertificateConfig'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
255
260
|
@cli_util.help_option
|
|
256
261
|
@click.pass_context
|
|
257
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'inbound-cluster-ids': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'CreateMaintenanceDetails'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
262
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'inbound-cluster-ids': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'CreateMaintenanceDetails'}, 'certificate-config': {'module': 'opensearch', 'class': 'CertificateConfig'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
258
263
|
@cli_util.wrap_exceptions
|
|
259
|
-
def create_opensearch_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, software_version, master_node_count, master_node_host_type, master_node_host_ocpu_count, master_node_host_memory_gb, data_node_count, data_node_host_type, data_node_host_ocpu_count, data_node_host_memory_gb, data_node_storage_gb, opendashboard_node_count, opendashboard_node_host_ocpu_count, opendashboard_node_host_memory_gb, vcn_id, subnet_id, vcn_compartment_id, subnet_compartment_id, master_node_host_bare_metal_shape, master_node_host_shape, data_node_host_bare_metal_shape, data_node_host_shape, opendashboard_node_host_shape, search_node_count, search_node_host_type, search_node_host_shape, search_node_host_ocpu_count, search_node_host_memory_gb, search_node_storage_gb, security_mode, security_master_user_name, security_master_user_password_hash, security_saml_config, backup_policy, reverse_connection_endpoint_customer_ips, inbound_cluster_ids, outbound_cluster_config, maintenance_details, freeform_tags, defined_tags, system_tags):
|
|
264
|
+
def create_opensearch_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, software_version, master_node_count, master_node_host_type, master_node_host_ocpu_count, master_node_host_memory_gb, data_node_count, data_node_host_type, data_node_host_ocpu_count, data_node_host_memory_gb, data_node_storage_gb, opendashboard_node_count, opendashboard_node_host_ocpu_count, opendashboard_node_host_memory_gb, vcn_id, subnet_id, vcn_compartment_id, subnet_compartment_id, master_node_host_bare_metal_shape, master_node_host_shape, data_node_host_bare_metal_shape, data_node_host_shape, opendashboard_node_host_shape, search_node_count, search_node_host_type, search_node_host_shape, search_node_host_ocpu_count, search_node_host_memory_gb, search_node_storage_gb, security_mode, security_master_user_name, security_master_user_password_hash, security_saml_config, backup_policy, nsg_id, reverse_connection_endpoint_customer_ips, inbound_cluster_ids, outbound_cluster_config, maintenance_details, certificate_config, freeform_tags, defined_tags, system_tags, security_attributes):
|
|
260
265
|
|
|
261
266
|
kwargs = {}
|
|
262
267
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -330,6 +335,9 @@ def create_opensearch_cluster(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
330
335
|
if backup_policy is not None:
|
|
331
336
|
_details['backupPolicy'] = cli_util.parse_json_parameter("backup_policy", backup_policy)
|
|
332
337
|
|
|
338
|
+
if nsg_id is not None:
|
|
339
|
+
_details['nsgId'] = nsg_id
|
|
340
|
+
|
|
333
341
|
if reverse_connection_endpoint_customer_ips is not None:
|
|
334
342
|
_details['reverseConnectionEndpointCustomerIps'] = cli_util.parse_json_parameter("reverse_connection_endpoint_customer_ips", reverse_connection_endpoint_customer_ips)
|
|
335
343
|
|
|
@@ -342,6 +350,9 @@ def create_opensearch_cluster(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
342
350
|
if maintenance_details is not None:
|
|
343
351
|
_details['maintenanceDetails'] = cli_util.parse_json_parameter("maintenance_details", maintenance_details)
|
|
344
352
|
|
|
353
|
+
if certificate_config is not None:
|
|
354
|
+
_details['certificateConfig'] = cli_util.parse_json_parameter("certificate_config", certificate_config)
|
|
355
|
+
|
|
345
356
|
if freeform_tags is not None:
|
|
346
357
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
347
358
|
|
|
@@ -351,6 +362,9 @@ def create_opensearch_cluster(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
351
362
|
if system_tags is not None:
|
|
352
363
|
_details['systemTags'] = cli_util.parse_json_parameter("system_tags", system_tags)
|
|
353
364
|
|
|
365
|
+
if security_attributes is not None:
|
|
366
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
367
|
+
|
|
354
368
|
client = cli_util.build_client('opensearch', 'opensearch_cluster', ctx)
|
|
355
369
|
result = client.create_opensearch_cluster(
|
|
356
370
|
create_opensearch_cluster_details=_details,
|
|
@@ -487,17 +501,19 @@ def get_work_request(ctx, from_json, work_request_id):
|
|
|
487
501
|
|
|
488
502
|
|
|
489
503
|
@shapes_details_group.command(name=cli_util.override('opensearch_cluster.list_opensearch_cluster_shapes.command_name', 'list-opensearch-cluster-shapes'), help=u"""Retrieves available OpenSearch Cluster node shapes. \n[Command Reference](listOpensearchClusterShapes)""")
|
|
504
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
490
505
|
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
|
|
491
506
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
492
507
|
@cli_util.help_option
|
|
493
508
|
@click.pass_context
|
|
494
509
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'opensearch', 'class': 'ShapesDetails'})
|
|
495
510
|
@cli_util.wrap_exceptions
|
|
496
|
-
def list_opensearch_cluster_shapes(ctx, from_json, all_pages, ):
|
|
511
|
+
def list_opensearch_cluster_shapes(ctx, from_json, all_pages, compartment_id):
|
|
497
512
|
|
|
498
513
|
kwargs = {}
|
|
499
514
|
client = cli_util.build_client('opensearch', 'opensearch_cluster', ctx)
|
|
500
515
|
result = client.list_opensearch_cluster_shapes(
|
|
516
|
+
compartment_id=compartment_id,
|
|
501
517
|
**kwargs
|
|
502
518
|
)
|
|
503
519
|
cli_util.render_response(result, ctx)
|
|
@@ -1054,25 +1070,29 @@ def resize_opensearch_cluster_vertical(ctx, from_json, wait_for_state, max_wait_
|
|
|
1054
1070
|
@cli_util.option('--reverse-connection-endpoint-customer-ips', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The customer IP addresses of the endpoint in customer VCN""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1055
1071
|
@cli_util.option('--outbound-cluster-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1056
1072
|
@cli_util.option('--maintenance-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1073
|
+
@cli_util.option('--certificate-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1057
1074
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1058
1075
|
@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. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1076
|
+
@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].
|
|
1077
|
+
|
|
1078
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1059
1079
|
@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.""")
|
|
1060
1080
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
1061
1081
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
1062
1082
|
@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.""")
|
|
1063
1083
|
@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.""")
|
|
1064
|
-
@json_skeleton_utils.get_cli_json_input_option({'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'UpdateMaintenanceDetails'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1084
|
+
@json_skeleton_utils.get_cli_json_input_option({'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'UpdateMaintenanceDetails'}, 'certificate-config': {'module': 'opensearch', 'class': 'CertificateConfig'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1065
1085
|
@cli_util.help_option
|
|
1066
1086
|
@click.pass_context
|
|
1067
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'UpdateMaintenanceDetails'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1087
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'security-saml-config': {'module': 'opensearch', 'class': 'SecuritySamlConfig'}, 'backup-policy': {'module': 'opensearch', 'class': 'BackupPolicy'}, 'reverse-connection-endpoint-customer-ips': {'module': 'opensearch', 'class': 'list[string]'}, 'outbound-cluster-config': {'module': 'opensearch', 'class': 'OutboundClusterConfig'}, 'maintenance-details': {'module': 'opensearch', 'class': 'UpdateMaintenanceDetails'}, 'certificate-config': {'module': 'opensearch', 'class': 'CertificateConfig'}, 'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1068
1088
|
@cli_util.wrap_exceptions
|
|
1069
|
-
def update_opensearch_cluster(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, opensearch_cluster_id, display_name, software_version, security_mode, security_master_user_name, security_master_user_password_hash, security_saml_config, backup_policy, reverse_connection_endpoint_customer_ips, outbound_cluster_config, maintenance_details, freeform_tags, defined_tags, if_match):
|
|
1089
|
+
def update_opensearch_cluster(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, opensearch_cluster_id, display_name, software_version, security_mode, security_master_user_name, security_master_user_password_hash, security_saml_config, backup_policy, reverse_connection_endpoint_customer_ips, outbound_cluster_config, maintenance_details, certificate_config, freeform_tags, defined_tags, security_attributes, if_match):
|
|
1070
1090
|
|
|
1071
1091
|
if isinstance(opensearch_cluster_id, six.string_types) and len(opensearch_cluster_id.strip()) == 0:
|
|
1072
1092
|
raise click.UsageError('Parameter --opensearch-cluster-id cannot be whitespace or empty string')
|
|
1073
1093
|
if not force:
|
|
1074
|
-
if security_saml_config or backup_policy or reverse_connection_endpoint_customer_ips or outbound_cluster_config or maintenance_details or freeform_tags or defined_tags:
|
|
1075
|
-
if not click.confirm("WARNING: Updates to security-saml-config and backup-policy and reverse-connection-endpoint-customer-ips and outbound-cluster-config and maintenance-details and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
1094
|
+
if security_saml_config or backup_policy or reverse_connection_endpoint_customer_ips or outbound_cluster_config or maintenance_details or certificate_config or freeform_tags or defined_tags or security_attributes:
|
|
1095
|
+
if not click.confirm("WARNING: Updates to security-saml-config and backup-policy and reverse-connection-endpoint-customer-ips and outbound-cluster-config and maintenance-details and certificate-config and freeform-tags and defined-tags and security-attributes will replace any existing values. Are you sure you want to continue?"):
|
|
1076
1096
|
ctx.abort()
|
|
1077
1097
|
|
|
1078
1098
|
kwargs = {}
|
|
@@ -1110,12 +1130,18 @@ def update_opensearch_cluster(ctx, from_json, force, wait_for_state, max_wait_se
|
|
|
1110
1130
|
if maintenance_details is not None:
|
|
1111
1131
|
_details['maintenanceDetails'] = cli_util.parse_json_parameter("maintenance_details", maintenance_details)
|
|
1112
1132
|
|
|
1133
|
+
if certificate_config is not None:
|
|
1134
|
+
_details['certificateConfig'] = cli_util.parse_json_parameter("certificate_config", certificate_config)
|
|
1135
|
+
|
|
1113
1136
|
if freeform_tags is not None:
|
|
1114
1137
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
1115
1138
|
|
|
1116
1139
|
if defined_tags is not None:
|
|
1117
1140
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
1118
1141
|
|
|
1142
|
+
if security_attributes is not None:
|
|
1143
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
1144
|
+
|
|
1119
1145
|
client = cli_util.build_client('opensearch', 'opensearch_cluster', ctx)
|
|
1120
1146
|
result = client.update_opensearch_cluster(
|
|
1121
1147
|
opensearch_cluster_id=opensearch_cluster_id,
|
|
@@ -1161,16 +1187,19 @@ def update_opensearch_cluster(ctx, from_json, force, wait_for_state, max_wait_se
|
|
|
1161
1187
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1162
1188
|
@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. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1163
1189
|
@cli_util.option('--system-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1190
|
+
@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].
|
|
1191
|
+
|
|
1192
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1164
1193
|
@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.""")
|
|
1165
1194
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
1166
1195
|
@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.""")
|
|
1167
1196
|
@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.""")
|
|
1168
|
-
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1197
|
+
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1169
1198
|
@cli_util.help_option
|
|
1170
1199
|
@click.pass_context
|
|
1171
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1200
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'opensearch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'opensearch', 'class': 'dict(str, dict(str, object))'}})
|
|
1172
1201
|
@cli_util.wrap_exceptions
|
|
1173
|
-
def upgrade_open_search_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, opensearch_cluster_id, original_cluster_display_name, desired_software_version, upgrade_type, is_clone, freeform_tags, defined_tags, system_tags, if_match):
|
|
1202
|
+
def upgrade_open_search_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, opensearch_cluster_id, original_cluster_display_name, desired_software_version, upgrade_type, is_clone, freeform_tags, defined_tags, system_tags, security_attributes, if_match):
|
|
1174
1203
|
|
|
1175
1204
|
if isinstance(opensearch_cluster_id, six.string_types) and len(opensearch_cluster_id.strip()) == 0:
|
|
1176
1205
|
raise click.UsageError('Parameter --opensearch-cluster-id cannot be whitespace or empty string')
|
|
@@ -1197,6 +1226,9 @@ def upgrade_open_search_cluster(ctx, from_json, wait_for_state, max_wait_seconds
|
|
|
1197
1226
|
if system_tags is not None:
|
|
1198
1227
|
_details['systemTags'] = cli_util.parse_json_parameter("system_tags", system_tags)
|
|
1199
1228
|
|
|
1229
|
+
if security_attributes is not None:
|
|
1230
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
1231
|
+
|
|
1200
1232
|
client = cli_util.build_client('opensearch', 'opensearch_cluster', ctx)
|
|
1201
1233
|
result = client.upgrade_open_search_cluster(
|
|
1202
1234
|
opensearch_cluster_id=opensearch_cluster_id,
|
|
@@ -233,17 +233,20 @@ def change_redis_cluster_compartment(ctx, from_json, wait_for_state, max_wait_se
|
|
|
233
233
|
@cli_util.option('--cluster-mode', help=u"""Specifies whether the cluster is sharded or non-sharded.""")
|
|
234
234
|
@cli_util.option('--shard-count', type=click.INT, help=u"""The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.""")
|
|
235
235
|
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of Network Security Group (NSG) [OCIDs] associated with this cluster. For more information, see [Using an NSG for Clusters].""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
236
|
+
@cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
|
|
237
|
+
|
|
238
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
236
239
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
237
240
|
@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. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
238
241
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
239
242
|
@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.""")
|
|
240
243
|
@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.""")
|
|
241
|
-
@json_skeleton_utils.get_cli_json_input_option({'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}})
|
|
244
|
+
@json_skeleton_utils.get_cli_json_input_option({'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'security-attributes': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}})
|
|
242
245
|
@cli_util.help_option
|
|
243
246
|
@click.pass_context
|
|
244
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'redis', 'class': 'RedisCluster'})
|
|
247
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'security-attributes': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'redis', 'class': 'RedisCluster'})
|
|
245
248
|
@cli_util.wrap_exceptions
|
|
246
|
-
def create_redis_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, node_count, software_version, node_memory_in_gbs, subnet_id, oci_cache_config_set_id, cluster_mode, shard_count, nsg_ids, freeform_tags, defined_tags):
|
|
249
|
+
def create_redis_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, node_count, software_version, node_memory_in_gbs, subnet_id, oci_cache_config_set_id, cluster_mode, shard_count, nsg_ids, security_attributes, freeform_tags, defined_tags):
|
|
247
250
|
|
|
248
251
|
kwargs = {}
|
|
249
252
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -268,6 +271,9 @@ def create_redis_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_
|
|
|
268
271
|
if nsg_ids is not None:
|
|
269
272
|
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
|
|
270
273
|
|
|
274
|
+
if security_attributes is not None:
|
|
275
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
276
|
+
|
|
271
277
|
if freeform_tags is not None:
|
|
272
278
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
273
279
|
|
|
@@ -840,6 +846,9 @@ def list_work_requests(ctx, from_json, all_pages, page_size, compartment_id, wor
|
|
|
840
846
|
@cli_util.option('--node-memory-in-gbs', type=click.FLOAT, help=u"""The amount of memory allocated to the cluster's nodes, in gigabytes.""")
|
|
841
847
|
@cli_util.option('--software-version', help=u"""The OCI Cache engine version that the cluster is running.""")
|
|
842
848
|
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of Network Security Group (NSG) [OCIDs] associated with this cluster. For more information, see [Using an NSG for Clusters].""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
849
|
+
@cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
|
|
850
|
+
|
|
851
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
843
852
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
844
853
|
@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. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
845
854
|
@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.""")
|
|
@@ -847,18 +856,18 @@ def list_work_requests(ctx, from_json, all_pages, page_size, compartment_id, wor
|
|
|
847
856
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
848
857
|
@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.""")
|
|
849
858
|
@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.""")
|
|
850
|
-
@json_skeleton_utils.get_cli_json_input_option({'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}})
|
|
859
|
+
@json_skeleton_utils.get_cli_json_input_option({'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'security-attributes': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}})
|
|
851
860
|
@cli_util.help_option
|
|
852
861
|
@click.pass_context
|
|
853
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}})
|
|
862
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'nsg-ids': {'module': 'redis', 'class': 'list[string]'}, 'security-attributes': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'redis', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'redis', 'class': 'dict(str, dict(str, object))'}})
|
|
854
863
|
@cli_util.wrap_exceptions
|
|
855
|
-
def update_redis_cluster(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, redis_cluster_id, oci_cache_config_set_id, shard_count, display_name, node_count, node_memory_in_gbs, software_version, nsg_ids, freeform_tags, defined_tags, if_match):
|
|
864
|
+
def update_redis_cluster(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, redis_cluster_id, oci_cache_config_set_id, shard_count, display_name, node_count, node_memory_in_gbs, software_version, nsg_ids, security_attributes, freeform_tags, defined_tags, if_match):
|
|
856
865
|
|
|
857
866
|
if isinstance(redis_cluster_id, six.string_types) and len(redis_cluster_id.strip()) == 0:
|
|
858
867
|
raise click.UsageError('Parameter --redis-cluster-id cannot be whitespace or empty string')
|
|
859
868
|
if not force:
|
|
860
|
-
if nsg_ids or freeform_tags or defined_tags:
|
|
861
|
-
if not click.confirm("WARNING: Updates to nsg-ids and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
869
|
+
if nsg_ids or security_attributes or freeform_tags or defined_tags:
|
|
870
|
+
if not click.confirm("WARNING: Updates to nsg-ids and security-attributes and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
862
871
|
ctx.abort()
|
|
863
872
|
|
|
864
873
|
kwargs = {}
|
|
@@ -889,6 +898,9 @@ def update_redis_cluster(ctx, from_json, force, wait_for_state, max_wait_seconds
|
|
|
889
898
|
if nsg_ids is not None:
|
|
890
899
|
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
|
|
891
900
|
|
|
901
|
+
if security_attributes is not None:
|
|
902
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
903
|
+
|
|
892
904
|
if freeform_tags is not None:
|
|
893
905
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
894
906
|
|