oci-cli 3.67.0__py3-none-any.whl → 3.68.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- common_util/ignored_commands.py +1 -0
- 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/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/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/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-log/{list.txt → list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log.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/support/incident/create.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +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.0.dist-info}/METADATA +2 -2
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/RECORD +277 -209
- services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +7 -6
- services/database/src/oci_cli_database/generated/database_cli.py +71 -0
- 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 +1370 -320
- 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
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/top_level.txt +0 -0
|
@@ -43,7 +43,7 @@ def template_category_summary_group():
|
|
|
43
43
|
pass
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
@click.command(cli_util.override('resource_manager.private_endpoint_group.command_name', 'private-endpoint'), cls=CommandGroupWithAlias, help="""A private endpoint allowing Resource Manager to access nonpublic cloud resources. For more information about private endpoints, see [Private
|
|
46
|
+
@click.command(cli_util.override('resource_manager.private_endpoint_group.command_name', 'private-endpoint'), cls=CommandGroupWithAlias, help="""A private endpoint allowing Resource Manager to access nonpublic cloud resources. For more information about private endpoints, see [Managing Private Endpoints].""")
|
|
47
47
|
@cli_util.help_option_group
|
|
48
48
|
def private_endpoint_group():
|
|
49
49
|
pass
|
|
@@ -118,7 +118,7 @@ resource_manager_root_group.add_command(job_group)
|
|
|
118
118
|
resource_manager_root_group.add_command(job_output_summary_group)
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
@job_group.command(name=cli_util.override('resource_manager.cancel_job.command_name', 'cancel'), help=u"""Indicates the intention to cancel the specified job. Cancellation of the job is not immediate, and may be delayed, or may not happen at all. You can optionally choose forced cancellation by setting `isForced` to true. A forced cancellation can result in an incorrect state file. For example, the state file might not reflect the exact state of the provisioned resources. \n[Command Reference](cancelJob)""")
|
|
121
|
+
@job_group.command(name=cli_util.override('resource_manager.cancel_job.command_name', 'cancel'), help=u"""Indicates the intention to cancel the specified job. Cancellation of the job is not immediate, and may be delayed, or may not happen at all. You can optionally choose forced cancellation by setting `isForced` to true. A forced cancellation can result in an incorrect state file. For example, the state file might not reflect the exact state of the provisioned resources. For more information, see [Canceling a Job]. \n[Command Reference](cancelJob)""")
|
|
122
122
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
123
123
|
@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.""")
|
|
124
124
|
@cli_util.option('--is-forced', type=click.BOOL, help=u"""Indicates whether a forced cancellation is requested for the job while it was running. A forced cancellation can result in an incorrect state file. For example, the state file might not reflect the exact state of the provisioned resources.""")
|
|
@@ -185,7 +185,7 @@ def cancel_job(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_s
|
|
|
185
185
|
cli_util.render_response(result, ctx)
|
|
186
186
|
|
|
187
187
|
|
|
188
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.change_configuration_source_provider_compartment.command_name', 'change-compartment'), help=u"""Moves a configuration source provider into a different compartment within the same tenancy. For information
|
|
188
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.change_configuration_source_provider_compartment.command_name', 'change-compartment'), help=u"""Moves a configuration source provider into a different compartment within the same tenancy. For more information, see [Moving a Configuration Source Provider]. \n[Command Reference](changeConfigurationSourceProviderCompartment)""")
|
|
189
189
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
190
190
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to move the configuration source provider to.""")
|
|
191
191
|
@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.""")
|
|
@@ -216,7 +216,7 @@ def change_configuration_source_provider_compartment(ctx, from_json, configurati
|
|
|
216
216
|
cli_util.render_response(result, ctx)
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
@private_endpoint_group.command(name=cli_util.override('resource_manager.change_private_endpoint_compartment.command_name', 'change-compartment'), help=u"""Moves a private endpoint to a different compartment within the same tenancy. For information
|
|
219
|
+
@private_endpoint_group.command(name=cli_util.override('resource_manager.change_private_endpoint_compartment.command_name', 'change-compartment'), help=u"""Moves a private endpoint to a different compartment within the same tenancy. For more information, see [Moving a Private Endpoint]. \n[Command Reference](changePrivateEndpointCompartment)""")
|
|
220
220
|
@cli_util.option('--private-endpoint-id', required=True, help=u"""The [OCID] of the private endpoint.""")
|
|
221
221
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to move the private endpoint to.""")
|
|
222
222
|
@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.""")
|
|
@@ -247,7 +247,7 @@ def change_private_endpoint_compartment(ctx, from_json, private_endpoint_id, com
|
|
|
247
247
|
cli_util.render_response(result, ctx)
|
|
248
248
|
|
|
249
249
|
|
|
250
|
-
@stack_group.command(name=cli_util.override('resource_manager.change_stack_compartment.command_name', 'change-compartment'), help=u"""Moves a stack (and its associated jobs) into a different compartment within the same tenancy. For information
|
|
250
|
+
@stack_group.command(name=cli_util.override('resource_manager.change_stack_compartment.command_name', 'change-compartment'), help=u"""Moves a stack (and its associated jobs) into a different compartment within the same tenancy. For more information, see [Moving a Stack]. \n[Command Reference](changeStackCompartment)""")
|
|
251
251
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
252
252
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment into which the Stack should be moved.""")
|
|
253
253
|
@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.""")
|
|
@@ -308,7 +308,7 @@ def change_stack_compartment(ctx, from_json, wait_for_state, max_wait_seconds, w
|
|
|
308
308
|
cli_util.render_response(result, ctx)
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
@template_group.command(name=cli_util.override('resource_manager.change_template_compartment.command_name', 'change-compartment'), help=u"""Moves a template into a different compartment within the same tenancy. For information
|
|
311
|
+
@template_group.command(name=cli_util.override('resource_manager.change_template_compartment.command_name', 'change-compartment'), help=u"""Moves a template into a different compartment within the same tenancy. For more information, see [Moving a Private Template]. \n[Command Reference](changeTemplateCompartment)""")
|
|
312
312
|
@cli_util.option('--template-id', required=True, help=u"""The [OCID] of the template.""")
|
|
313
313
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to move the configuration source provider to.""")
|
|
314
314
|
@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.""")
|
|
@@ -339,10 +339,10 @@ def change_template_compartment(ctx, from_json, template_id, compartment_id, if_
|
|
|
339
339
|
cli_util.render_response(result, ctx)
|
|
340
340
|
|
|
341
341
|
|
|
342
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider.command_name', 'create'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [
|
|
342
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider.command_name', 'create'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [Creating a Configuration Source Provider]. \n[Command Reference](createConfigurationSourceProvider)""")
|
|
343
343
|
@cli_util.option('--config-source-provider-type', required=True, help=u"""The type of configuration source provider. The `GITLAB_ACCESS_TOKEN` type corresponds to GitLab. The `GITHUB_ACCESS_TOKEN` type corresponds to GitHub. The `BITBUCKET_CLOUD_USERNAME_APPPASSWORD` type corresponds to Bitbucket Cloud. The `BITBUCKET_SERVER_ACCESS_TOKEN` type corresponds to Bitbucket Server.""")
|
|
344
344
|
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment where you want to create the configuration source provider.""")
|
|
345
|
-
@cli_util.option('--display-name', help=u"""
|
|
345
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
346
346
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
347
347
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
348
348
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -412,11 +412,11 @@ def create_configuration_source_provider(ctx, from_json, wait_for_state, max_wai
|
|
|
412
412
|
cli_util.render_response(result, ctx)
|
|
413
413
|
|
|
414
414
|
|
|
415
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_gitlab_access_token_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-gitlab-access-token-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [
|
|
415
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_gitlab_access_token_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-gitlab-access-token-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [Creating a Configuration Source Provider]. \n[Command Reference](createConfigurationSourceProvider)""")
|
|
416
416
|
@cli_util.option('--api-endpoint', required=True, help=u"""The Git service endpoint. Example: `https://gitlab.com`""")
|
|
417
417
|
@cli_util.option('--access-token', required=True, help=u"""The personal access token to be configured on the GitLab repository. Avoid entering confidential information.""")
|
|
418
418
|
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment where you want to create the configuration source provider.""")
|
|
419
|
-
@cli_util.option('--display-name', help=u"""
|
|
419
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
420
420
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
421
421
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
422
422
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -489,12 +489,12 @@ def create_configuration_source_provider_create_gitlab_access_token_configuratio
|
|
|
489
489
|
cli_util.render_response(result, ctx)
|
|
490
490
|
|
|
491
491
|
|
|
492
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_bitbucket_cloud_username_app_password_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-bitbucket-cloud-username-app-password-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [
|
|
492
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_bitbucket_cloud_username_app_password_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-bitbucket-cloud-username-app-password-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [Creating a Configuration Source Provider]. \n[Command Reference](createConfigurationSourceProvider)""")
|
|
493
493
|
@cli_util.option('--api-endpoint', required=True, help=u"""The Bitbucket cloud service endpoint. Example: `https://bitbucket.org/`""")
|
|
494
494
|
@cli_util.option('--username', required=True, help=u"""The username for the user of the Bitbucket cloud repository.""")
|
|
495
495
|
@cli_util.option('--secret-id', required=True, help=u"""The secret ocid which is used to authorize the user.""")
|
|
496
496
|
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment where you want to create the configuration source provider.""")
|
|
497
|
-
@cli_util.option('--display-name', help=u"""
|
|
497
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
498
498
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
499
499
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
500
500
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -568,11 +568,11 @@ def create_configuration_source_provider_create_bitbucket_cloud_username_app_pas
|
|
|
568
568
|
cli_util.render_response(result, ctx)
|
|
569
569
|
|
|
570
570
|
|
|
571
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_github_access_token_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-github-access-token-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [
|
|
571
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_github_access_token_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-github-access-token-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [Creating a Configuration Source Provider]. \n[Command Reference](createConfigurationSourceProvider)""")
|
|
572
572
|
@cli_util.option('--api-endpoint', required=True, help=u"""The GitHub service endpoint. Example: `https://github.com/`""")
|
|
573
573
|
@cli_util.option('--access-token', required=True, help=u"""The personal access token to be configured on the GitHub repository. Avoid entering confidential information.""")
|
|
574
574
|
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment where you want to create the configuration source provider.""")
|
|
575
|
-
@cli_util.option('--display-name', help=u"""
|
|
575
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
576
576
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
577
577
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
578
578
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -645,11 +645,11 @@ def create_configuration_source_provider_create_github_access_token_configuratio
|
|
|
645
645
|
cli_util.render_response(result, ctx)
|
|
646
646
|
|
|
647
647
|
|
|
648
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_bitbucket_server_access_token_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-bitbucket-server-access-token-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [
|
|
648
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.create_configuration_source_provider_create_bitbucket_server_access_token_configuration_source_provider_details.command_name', 'create-configuration-source-provider-create-bitbucket-server-access-token-configuration-source-provider-details'), help=u"""Creates a configuration source provider in the specified compartment. For more information, see [Creating a Configuration Source Provider]. \n[Command Reference](createConfigurationSourceProvider)""")
|
|
649
649
|
@cli_util.option('--secret-id', required=True, help=u"""The secret ocid which is used to authorize the user.""")
|
|
650
650
|
@cli_util.option('--api-endpoint', required=True, help=u"""The Bitbucket Server service endpoint Example: `https://bitbucket.org/`""")
|
|
651
651
|
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment where you want to create the configuration source provider.""")
|
|
652
|
-
@cli_util.option('--display-name', help=u"""
|
|
652
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
653
653
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
654
654
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
655
655
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -722,9 +722,9 @@ def create_configuration_source_provider_create_bitbucket_server_access_token_co
|
|
|
722
722
|
cli_util.render_response(result, ctx)
|
|
723
723
|
|
|
724
724
|
|
|
725
|
-
@job_group.command(name=cli_util.override('resource_manager.create_job.command_name', 'create'), help=u"""Creates a job. \n[Command Reference](createJob)""")
|
|
725
|
+
@job_group.command(name=cli_util.override('resource_manager.create_job.command_name', 'create'), help=u"""Creates a job. For more information, see [Creating a Job]. \n[Command Reference](createJob)""")
|
|
726
726
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack that is associated with the current job.""")
|
|
727
|
-
@cli_util.option('--display-name', help=u"""
|
|
727
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
728
728
|
@cli_util.option('--operation', help=u"""Terraform-specific operation to execute.""")
|
|
729
729
|
@cli_util.option('--job-operation-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
730
730
|
@cli_util.option('--apply-job-plan-resolution', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -795,10 +795,10 @@ def create_job(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_s
|
|
|
795
795
|
cli_util.render_response(result, ctx)
|
|
796
796
|
|
|
797
797
|
|
|
798
|
-
@job_group.command(name=cli_util.override('resource_manager.create_job_create_import_tf_state_job_operation_details.command_name', 'create-job-create-import-tf-state-job-operation-details'), help=u"""Creates a job. \n[Command Reference](createJob)""")
|
|
798
|
+
@job_group.command(name=cli_util.override('resource_manager.create_job_create_import_tf_state_job_operation_details.command_name', 'create-job-create-import-tf-state-job-operation-details'), help=u"""Creates a job. For more information, see [Creating a Job]. \n[Command Reference](createJob)""")
|
|
799
799
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack that is associated with the current job.""")
|
|
800
800
|
@cli_util.option('--job-operation-details-tf-state-base64-encoded', required=True, help=u"""Base64-encoded state file""")
|
|
801
|
-
@cli_util.option('--display-name', help=u"""
|
|
801
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
802
802
|
@cli_util.option('--operation', help=u"""Terraform-specific operation to execute.""")
|
|
803
803
|
@cli_util.option('--apply-job-plan-resolution', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
804
804
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -873,10 +873,10 @@ def create_job_create_import_tf_state_job_operation_details(ctx, from_json, wait
|
|
|
873
873
|
cli_util.render_response(result, ctx)
|
|
874
874
|
|
|
875
875
|
|
|
876
|
-
@job_group.command(name=cli_util.override('resource_manager.create_job_create_plan_rollback_job_operation_details.command_name', 'create-job-create-plan-rollback-job-operation-details'), help=u"""Creates a job. \n[Command Reference](createJob)""")
|
|
876
|
+
@job_group.command(name=cli_util.override('resource_manager.create_job_create_plan_rollback_job_operation_details.command_name', 'create-job-create-plan-rollback-job-operation-details'), help=u"""Creates a job. For more information, see [Creating a Job]. \n[Command Reference](createJob)""")
|
|
877
877
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack that is associated with the current job.""")
|
|
878
878
|
@cli_util.option('--job-operation-details-target-rollback-job-id', required=True, help=u"""The [OCID] of a successful apply job to use for the plan rollback job.""")
|
|
879
|
-
@cli_util.option('--display-name', help=u"""
|
|
879
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
880
880
|
@cli_util.option('--operation', help=u"""Terraform-specific operation to execute.""")
|
|
881
881
|
@cli_util.option('--apply-job-plan-resolution', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
882
882
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -955,10 +955,10 @@ def create_job_create_plan_rollback_job_operation_details(ctx, from_json, wait_f
|
|
|
955
955
|
cli_util.render_response(result, ctx)
|
|
956
956
|
|
|
957
957
|
|
|
958
|
-
@job_group.command(name=cli_util.override('resource_manager.create_job_create_apply_rollback_job_operation_details.command_name', 'create-job-create-apply-rollback-job-operation-details'), help=u"""Creates a job. \n[Command Reference](createJob)""")
|
|
958
|
+
@job_group.command(name=cli_util.override('resource_manager.create_job_create_apply_rollback_job_operation_details.command_name', 'create-job-create-apply-rollback-job-operation-details'), help=u"""Creates a job. For more information, see [Creating a Job]. \n[Command Reference](createJob)""")
|
|
959
959
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack that is associated with the current job.""")
|
|
960
960
|
@cli_util.option('--job-operation-details-execution-plan-rollback-strategy', required=True, help=u"""Specifies the source of the execution plan for rollback to apply. Use `AUTO_APPROVED` to run the job without an execution plan for rollback job.""")
|
|
961
|
-
@cli_util.option('--display-name', help=u"""
|
|
961
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
962
962
|
@cli_util.option('--operation', help=u"""Terraform-specific operation to execute.""")
|
|
963
963
|
@cli_util.option('--apply-job-plan-resolution', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
964
964
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -1045,9 +1045,9 @@ def create_job_create_apply_rollback_job_operation_details(ctx, from_json, wait_
|
|
|
1045
1045
|
cli_util.render_response(result, ctx)
|
|
1046
1046
|
|
|
1047
1047
|
|
|
1048
|
-
@job_group.command(name=cli_util.override('resource_manager.create_job_create_apply_job_operation_details.command_name', 'create-job-create-apply-job-operation-details'), help=u"""Creates a job. \n[Command Reference](createJob)""")
|
|
1048
|
+
@job_group.command(name=cli_util.override('resource_manager.create_job_create_apply_job_operation_details.command_name', 'create-job-create-apply-job-operation-details'), help=u"""Creates a job. For more information, see [Creating a Job]. \n[Command Reference](createJob)""")
|
|
1049
1049
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack that is associated with the current job.""")
|
|
1050
|
-
@cli_util.option('--display-name', help=u"""
|
|
1050
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1051
1051
|
@cli_util.option('--operation', help=u"""Terraform-specific operation to execute.""")
|
|
1052
1052
|
@cli_util.option('--apply-job-plan-resolution', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1053
1053
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -1133,9 +1133,9 @@ def create_job_create_apply_job_operation_details(ctx, from_json, wait_for_state
|
|
|
1133
1133
|
cli_util.render_response(result, ctx)
|
|
1134
1134
|
|
|
1135
1135
|
|
|
1136
|
-
@job_group.command(name=cli_util.override('resource_manager.create_job_create_plan_job_operation_details.command_name', 'create-job-create-plan-job-operation-details'), help=u"""Creates a job. \n[Command Reference](createJob)""")
|
|
1136
|
+
@job_group.command(name=cli_util.override('resource_manager.create_job_create_plan_job_operation_details.command_name', 'create-job-create-plan-job-operation-details'), help=u"""Creates a job. For more information, see [Creating a Job]. \n[Command Reference](createJob)""")
|
|
1137
1137
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack that is associated with the current job.""")
|
|
1138
|
-
@cli_util.option('--display-name', help=u"""
|
|
1138
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1139
1139
|
@cli_util.option('--operation', help=u"""Terraform-specific operation to execute.""")
|
|
1140
1140
|
@cli_util.option('--apply-job-plan-resolution', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1141
1141
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -1213,10 +1213,10 @@ def create_job_create_plan_job_operation_details(ctx, from_json, wait_for_state,
|
|
|
1213
1213
|
cli_util.render_response(result, ctx)
|
|
1214
1214
|
|
|
1215
1215
|
|
|
1216
|
-
@job_group.command(name=cli_util.override('resource_manager.create_job_create_destroy_job_operation_details.command_name', 'create-job-create-destroy-job-operation-details'), help=u"""Creates a job. \n[Command Reference](createJob)""")
|
|
1216
|
+
@job_group.command(name=cli_util.override('resource_manager.create_job_create_destroy_job_operation_details.command_name', 'create-job-create-destroy-job-operation-details'), help=u"""Creates a job. For more information, see [Creating a Job]. \n[Command Reference](createJob)""")
|
|
1217
1217
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack that is associated with the current job.""")
|
|
1218
1218
|
@cli_util.option('--job-operation-details-execution-plan-strategy', required=True, help=u"""Specifies the source of the execution plan to apply. Currently, only `AUTO_APPROVED` is allowed, which indicates that the job will be run without an execution plan.""")
|
|
1219
|
-
@cli_util.option('--display-name', help=u"""
|
|
1219
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1220
1220
|
@cli_util.option('--operation', help=u"""Terraform-specific operation to execute.""")
|
|
1221
1221
|
@cli_util.option('--apply-job-plan-resolution', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1222
1222
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -1295,9 +1295,9 @@ def create_job_create_destroy_job_operation_details(ctx, from_json, wait_for_sta
|
|
|
1295
1295
|
cli_util.render_response(result, ctx)
|
|
1296
1296
|
|
|
1297
1297
|
|
|
1298
|
-
@private_endpoint_group.command(name=cli_util.override('resource_manager.create_private_endpoint.command_name', 'create'), help=u"""Creates a private endpoint in the specified compartment. \n[Command Reference](createPrivateEndpoint)""")
|
|
1298
|
+
@private_endpoint_group.command(name=cli_util.override('resource_manager.create_private_endpoint.command_name', 'create'), help=u"""Creates a private endpoint in the specified compartment. For more information, see [Creating a Private Endpoint]. \n[Command Reference](createPrivateEndpoint)""")
|
|
1299
1299
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment containing this private endpoint.""")
|
|
1300
|
-
@cli_util.option('--display-name', required=True, help=u"""
|
|
1300
|
+
@cli_util.option('--display-name', required=True, help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1301
1301
|
@cli_util.option('--vcn-id', required=True, help=u"""The [OCID] of the VCN for the private endpoint.""")
|
|
1302
1302
|
@cli_util.option('--subnet-id', required=True, help=u"""The [OCID] of the subnet within the VCN for the private endpoint.""")
|
|
1303
1303
|
@cli_util.option('--description', help=u"""Description of the private endpoint. Avoid entering confidential information.""")
|
|
@@ -1306,15 +1306,18 @@ def create_job_create_destroy_job_operation_details(ctx, from_json, wait_for_sta
|
|
|
1306
1306
|
@cli_util.option('--is-used-with-configuration-source-provider', type=click.BOOL, help=u"""When `true`, allows the private endpoint to be used with a configuration source provider.""")
|
|
1307
1307
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1308
1308
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1309
|
-
@cli_util.option('--
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
@
|
|
1309
|
+
@cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""[Security attributes] are labels for a resource that can be referenced in a [Zero Trust Packet Routing] (ZPR) policy to control access to ZPR-supported resources.
|
|
1310
|
+
|
|
1311
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1312
|
+
@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.""")
|
|
1313
|
+
@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.""")
|
|
1314
|
+
@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.""")
|
|
1315
|
+
@json_skeleton_utils.get_cli_json_input_option({'dns-zones': {'module': 'resource_manager', 'class': 'list[string]'}, 'nsg-id-list': {'module': 'resource_manager', 'class': 'list[string]'}, 'freeform-tags': {'module': 'resource_manager', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}})
|
|
1313
1316
|
@cli_util.help_option
|
|
1314
1317
|
@click.pass_context
|
|
1315
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'dns-zones': {'module': 'resource_manager', 'class': 'list[string]'}, 'nsg-id-list': {'module': 'resource_manager', 'class': 'list[string]'}, 'freeform-tags': {'module': 'resource_manager', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'resource_manager', 'class': 'PrivateEndpoint'})
|
|
1318
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'dns-zones': {'module': 'resource_manager', 'class': 'list[string]'}, 'nsg-id-list': {'module': 'resource_manager', 'class': 'list[string]'}, 'freeform-tags': {'module': 'resource_manager', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'resource_manager', 'class': 'PrivateEndpoint'})
|
|
1316
1319
|
@cli_util.wrap_exceptions
|
|
1317
|
-
def create_private_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, vcn_id, subnet_id, description, dns_zones, nsg_id_list, is_used_with_configuration_source_provider, freeform_tags, defined_tags):
|
|
1320
|
+
def create_private_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, vcn_id, subnet_id, description, dns_zones, nsg_id_list, is_used_with_configuration_source_provider, freeform_tags, defined_tags, security_attributes):
|
|
1318
1321
|
|
|
1319
1322
|
kwargs = {}
|
|
1320
1323
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -1343,6 +1346,9 @@ def create_private_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wa
|
|
|
1343
1346
|
if defined_tags is not None:
|
|
1344
1347
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
1345
1348
|
|
|
1349
|
+
if security_attributes is not None:
|
|
1350
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
1351
|
+
|
|
1346
1352
|
client = cli_util.build_client('resource_manager', 'resource_manager', ctx)
|
|
1347
1353
|
result = client.create_private_endpoint(
|
|
1348
1354
|
create_private_endpoint_details=_details,
|
|
@@ -1350,38 +1356,42 @@ def create_private_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wa
|
|
|
1350
1356
|
)
|
|
1351
1357
|
if wait_for_state:
|
|
1352
1358
|
|
|
1353
|
-
if hasattr(client, '
|
|
1359
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
1354
1360
|
try:
|
|
1355
1361
|
wait_period_kwargs = {}
|
|
1356
1362
|
if max_wait_seconds is not None:
|
|
1357
1363
|
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
1358
1364
|
if wait_interval_seconds is not None:
|
|
1359
1365
|
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
1366
|
+
if 'opc-work-request-id' not in result.headers:
|
|
1367
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
1368
|
+
cli_util.render_response(result, ctx)
|
|
1369
|
+
return
|
|
1360
1370
|
|
|
1361
|
-
click.echo('Action completed. Waiting until the
|
|
1362
|
-
result = oci.wait_until(client, client.
|
|
1371
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
1372
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
1363
1373
|
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
1364
1374
|
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
1365
|
-
click.echo('Failed to wait until the
|
|
1375
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1366
1376
|
cli_util.render_response(result, ctx)
|
|
1367
1377
|
sys.exit(2)
|
|
1368
1378
|
except Exception:
|
|
1369
|
-
click.echo('Encountered error while waiting for
|
|
1379
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1370
1380
|
cli_util.render_response(result, ctx)
|
|
1371
1381
|
raise
|
|
1372
1382
|
else:
|
|
1373
|
-
click.echo('Unable to wait for the
|
|
1383
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
1374
1384
|
cli_util.render_response(result, ctx)
|
|
1375
1385
|
|
|
1376
1386
|
|
|
1377
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack.command_name', 'create'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
1387
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack.command_name', 'create'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
1378
1388
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
1379
1389
|
@cli_util.option('--config-source', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1380
|
-
@cli_util.option('--display-name', help=u"""
|
|
1390
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1381
1391
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
1382
1392
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1383
1393
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1384
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
1394
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
1385
1395
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1386
1396
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1387
1397
|
@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.""")
|
|
@@ -1457,15 +1467,15 @@ def create_stack(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval
|
|
|
1457
1467
|
cli_util.render_response(result, ctx)
|
|
1458
1468
|
|
|
1459
1469
|
|
|
1460
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_dev_ops_config_source_details.command_name', 'create-stack-create-dev-ops-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
1470
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_dev_ops_config_source_details.command_name', 'create-stack-create-dev-ops-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
1461
1471
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
1462
1472
|
@cli_util.option('--config-source-project-id', required=True, help=u"""The [OCID] of the [DevOps project].""")
|
|
1463
1473
|
@cli_util.option('--config-source-repository-id', required=True, help=u"""The [OCID] of the [DevOps repository].""")
|
|
1464
|
-
@cli_util.option('--display-name', help=u"""
|
|
1474
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1465
1475
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
1466
1476
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1467
1477
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1468
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
1478
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
1469
1479
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1470
1480
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1471
1481
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -1553,16 +1563,16 @@ def create_stack_create_dev_ops_config_source_details(ctx, from_json, wait_for_s
|
|
|
1553
1563
|
cli_util.render_response(result, ctx)
|
|
1554
1564
|
|
|
1555
1565
|
|
|
1556
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_bitbucket_cloud_config_source_details.command_name', 'create-stack-create-bitbucket-cloud-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
1566
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_bitbucket_cloud_config_source_details.command_name', 'create-stack-create-bitbucket-cloud-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
1557
1567
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
1558
1568
|
@cli_util.option('--config-source-configuration-source-provider-id', required=True, help=u"""The [OCID] of the Bitbucket Cloud configuration source.""")
|
|
1559
1569
|
@cli_util.option('--config-source-repository-url', required=True, help=u"""The URL of the Bitbucket Cloud repository for the configuration source.""")
|
|
1560
1570
|
@cli_util.option('--config-source-workspace-id', required=True, help=u"""The id of the workspace in Bitbucket Cloud for the configuration source""")
|
|
1561
|
-
@cli_util.option('--display-name', help=u"""
|
|
1571
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1562
1572
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
1563
1573
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1564
1574
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1565
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
1575
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
1566
1576
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1567
1577
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1568
1578
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -1651,14 +1661,14 @@ def create_stack_create_bitbucket_cloud_config_source_details(ctx, from_json, wa
|
|
|
1651
1661
|
cli_util.render_response(result, ctx)
|
|
1652
1662
|
|
|
1653
1663
|
|
|
1654
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_zip_upload_config_source_details.command_name', 'create-stack-create-zip-upload-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
1664
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_zip_upload_config_source_details.command_name', 'create-stack-create-zip-upload-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
1655
1665
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
1656
1666
|
@cli_util.option('--config-source-zip-file-base64-encoded', required=True, help=u"""""")
|
|
1657
|
-
@cli_util.option('--display-name', help=u"""
|
|
1667
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1658
1668
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
1659
1669
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1660
1670
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1661
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
1671
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
1662
1672
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1663
1673
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1664
1674
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -1741,15 +1751,15 @@ def create_stack_create_zip_upload_config_source_details(ctx, from_json, wait_fo
|
|
|
1741
1751
|
cli_util.render_response(result, ctx)
|
|
1742
1752
|
|
|
1743
1753
|
|
|
1744
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_bitbucket_server_config_source_details.command_name', 'create-stack-create-bitbucket-server-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
1754
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_bitbucket_server_config_source_details.command_name', 'create-stack-create-bitbucket-server-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
1745
1755
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
1746
1756
|
@cli_util.option('--config-source-configuration-source-provider-id', required=True, help=u"""Unique identifier ([OCID]) for the Bitbucket Server configuration source.""")
|
|
1747
1757
|
@cli_util.option('--config-source-repository-url', required=True, help=u"""The URL of the Bitbucket Server repository.""")
|
|
1748
|
-
@cli_util.option('--display-name', help=u"""
|
|
1758
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1749
1759
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
1750
1760
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1751
1761
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1752
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
1762
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
1753
1763
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1754
1764
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1755
1765
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -1845,14 +1855,14 @@ def create_stack_create_bitbucket_server_config_source_details(ctx, from_json, w
|
|
|
1845
1855
|
cli_util.render_response(result, ctx)
|
|
1846
1856
|
|
|
1847
1857
|
|
|
1848
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_git_config_source_details.command_name', 'create-stack-create-git-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
1858
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_git_config_source_details.command_name', 'create-stack-create-git-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
1849
1859
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
1850
1860
|
@cli_util.option('--config-source-configuration-source-provider-id', required=True, help=u"""Unique identifier ([OCID]) for the Git configuration source.""")
|
|
1851
|
-
@cli_util.option('--display-name', help=u"""
|
|
1861
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1852
1862
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
1853
1863
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1854
1864
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1855
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
1865
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
1856
1866
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1857
1867
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1858
1868
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -1943,16 +1953,16 @@ def create_stack_create_git_config_source_details(ctx, from_json, wait_for_state
|
|
|
1943
1953
|
cli_util.render_response(result, ctx)
|
|
1944
1954
|
|
|
1945
1955
|
|
|
1946
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_object_storage_config_source_details.command_name', 'create-stack-create-object-storage-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
1956
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_object_storage_config_source_details.command_name', 'create-stack-create-object-storage-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
1947
1957
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
1948
1958
|
@cli_util.option('--config-source-region', required=True, help=u"""The name of the bucket's region. Example: `us-phoenix-1`""")
|
|
1949
1959
|
@cli_util.option('--config-source-namespace', required=True, help=u"""The Object Storage namespace that contains the bucket.""")
|
|
1950
1960
|
@cli_util.option('--config-source-bucket-name', required=True, help=u"""The name of the bucket that contains the Terraform configuration files.""")
|
|
1951
|
-
@cli_util.option('--display-name', help=u"""
|
|
1961
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
1952
1962
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
1953
1963
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1954
1964
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1955
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
1965
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
1956
1966
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1957
1967
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1958
1968
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -2037,15 +2047,15 @@ def create_stack_create_object_storage_config_source_details(ctx, from_json, wai
|
|
|
2037
2047
|
cli_util.render_response(result, ctx)
|
|
2038
2048
|
|
|
2039
2049
|
|
|
2040
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_compartment_config_source_details.command_name', 'create-stack-create-compartment-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
2050
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_compartment_config_source_details.command_name', 'create-stack-create-compartment-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
2041
2051
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
2042
2052
|
@cli_util.option('--config-source-compartment-id', required=True, help=u"""The [OCID] of the compartment to use for creating the stack. The new stack will include definitions for supported resource types in scope of the specified compartment OCID (tenancy level for root compartment, compartment level otherwise).""")
|
|
2043
2053
|
@cli_util.option('--config-source-region', required=True, help=u"""The region to use for creating the stack. The new stack will include definitions for supported resource types in this region.""")
|
|
2044
|
-
@cli_util.option('--display-name', help=u"""
|
|
2054
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
2045
2055
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
2046
2056
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2047
2057
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2048
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
2058
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
2049
2059
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2050
2060
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2051
2061
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -2133,14 +2143,14 @@ def create_stack_create_compartment_config_source_details(ctx, from_json, wait_f
|
|
|
2133
2143
|
cli_util.render_response(result, ctx)
|
|
2134
2144
|
|
|
2135
2145
|
|
|
2136
|
-
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_stack_template_config_source_details.command_name', 'create-stack-create-stack-template-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating
|
|
2146
|
+
@stack_group.command(name=cli_util.override('resource_manager.create_stack_create_stack_template_config_source_details.command_name', 'create-stack-create-stack-template-config-source-details'), help=u"""Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see [Creating a Stack]. \n[Command Reference](createStack)""")
|
|
2137
2147
|
@cli_util.option('--compartment-id', required=True, help=u"""Unique identifier ([OCID]) of the compartment in which the stack resides.""")
|
|
2138
2148
|
@cli_util.option('--config-source-template-id', required=True, help=u"""""")
|
|
2139
|
-
@cli_util.option('--display-name', help=u"""
|
|
2149
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
2140
2150
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
2141
2151
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2142
2152
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2143
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
2153
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
2144
2154
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2145
2155
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags associated with this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2146
2156
|
@cli_util.option('--config-source-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see [File Structure (Terraform Configurations for Resource Manager)].""")
|
|
@@ -2223,9 +2233,9 @@ def create_stack_create_stack_template_config_source_details(ctx, from_json, wai
|
|
|
2223
2233
|
cli_util.render_response(result, ctx)
|
|
2224
2234
|
|
|
2225
2235
|
|
|
2226
|
-
@template_group.command(name=cli_util.override('resource_manager.create_template.command_name', 'create'), help=u"""Creates a private template in the specified compartment. \n[Command Reference](createTemplate)""")
|
|
2236
|
+
@template_group.command(name=cli_util.override('resource_manager.create_template.command_name', 'create'), help=u"""Creates a private template in the specified compartment. For more information, see [Creating a Private Template]. \n[Command Reference](createTemplate)""")
|
|
2227
2237
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment containing this template.""")
|
|
2228
|
-
@cli_util.option('--display-name', required=True, help=u"""
|
|
2238
|
+
@cli_util.option('--display-name', required=True, help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
2229
2239
|
@cli_util.option('--description', required=True, help=u"""Description of the template. Avoid entering confidential information.""")
|
|
2230
2240
|
@cli_util.option('--template-config-source', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2231
2241
|
@cli_util.option('--long-description', help=u"""Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information.""")
|
|
@@ -2294,9 +2304,9 @@ def create_template(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
|
|
|
2294
2304
|
cli_util.render_response(result, ctx)
|
|
2295
2305
|
|
|
2296
2306
|
|
|
2297
|
-
@template_group.command(name=cli_util.override('resource_manager.create_template_create_template_zip_upload_config_source_details.command_name', 'create-template-create-template-zip-upload-config-source-details'), help=u"""Creates a private template in the specified compartment. \n[Command Reference](createTemplate)""")
|
|
2307
|
+
@template_group.command(name=cli_util.override('resource_manager.create_template_create_template_zip_upload_config_source_details.command_name', 'create-template-create-template-zip-upload-config-source-details'), help=u"""Creates a private template in the specified compartment. For more information, see [Creating a Private Template]. \n[Command Reference](createTemplate)""")
|
|
2298
2308
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment containing this template.""")
|
|
2299
|
-
@cli_util.option('--display-name', required=True, help=u"""
|
|
2309
|
+
@cli_util.option('--display-name', required=True, help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
2300
2310
|
@cli_util.option('--description', required=True, help=u"""Description of the template. Avoid entering confidential information.""")
|
|
2301
2311
|
@cli_util.option('--template-config-source-zip-file-base64-encoded', required=True, help=u"""""")
|
|
2302
2312
|
@cli_util.option('--long-description', help=u"""Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information.""")
|
|
@@ -2368,7 +2378,7 @@ def create_template_create_template_zip_upload_config_source_details(ctx, from_j
|
|
|
2368
2378
|
cli_util.render_response(result, ctx)
|
|
2369
2379
|
|
|
2370
2380
|
|
|
2371
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.delete_configuration_source_provider.command_name', 'delete'), help=u"""Deletes the specified configuration source provider. \n[Command Reference](deleteConfigurationSourceProvider)""")
|
|
2381
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.delete_configuration_source_provider.command_name', 'delete'), help=u"""Deletes the specified configuration source provider. For more information, see [Deleting a Configuration Source Provider]. \n[Command Reference](deleteConfigurationSourceProvider)""")
|
|
2372
2382
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
2373
2383
|
@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.""")
|
|
2374
2384
|
@cli_util.confirm_delete_option
|
|
@@ -2432,13 +2442,13 @@ def delete_configuration_source_provider(ctx, from_json, wait_for_state, max_wai
|
|
|
2432
2442
|
cli_util.render_response(result, ctx)
|
|
2433
2443
|
|
|
2434
2444
|
|
|
2435
|
-
@private_endpoint_group.command(name=cli_util.override('resource_manager.delete_private_endpoint.command_name', 'delete'), help=u"""Deletes the specified private endpoint. \n[Command Reference](deletePrivateEndpoint)""")
|
|
2445
|
+
@private_endpoint_group.command(name=cli_util.override('resource_manager.delete_private_endpoint.command_name', 'delete'), help=u"""Deletes the specified private endpoint. For more information, see [Deleting a Private Endpoint]. \n[Command Reference](deletePrivateEndpoint)""")
|
|
2436
2446
|
@cli_util.option('--private-endpoint-id', required=True, help=u"""The [OCID] of the private endpoint.""")
|
|
2437
2447
|
@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.""")
|
|
2438
2448
|
@cli_util.confirm_delete_option
|
|
2439
|
-
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["
|
|
2440
|
-
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the
|
|
2441
|
-
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the
|
|
2449
|
+
@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.""")
|
|
2450
|
+
@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.""")
|
|
2451
|
+
@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.""")
|
|
2442
2452
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2443
2453
|
@cli_util.help_option
|
|
2444
2454
|
@click.pass_context
|
|
@@ -2460,43 +2470,35 @@ def delete_private_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wa
|
|
|
2460
2470
|
)
|
|
2461
2471
|
if wait_for_state:
|
|
2462
2472
|
|
|
2463
|
-
if hasattr(client, '
|
|
2473
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
2464
2474
|
try:
|
|
2465
2475
|
wait_period_kwargs = {}
|
|
2466
2476
|
if max_wait_seconds is not None:
|
|
2467
2477
|
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
2468
2478
|
if wait_interval_seconds is not None:
|
|
2469
2479
|
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
2480
|
+
if 'opc-work-request-id' not in result.headers:
|
|
2481
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
2482
|
+
cli_util.render_response(result, ctx)
|
|
2483
|
+
return
|
|
2470
2484
|
|
|
2471
|
-
click.echo('Action completed. Waiting until the
|
|
2472
|
-
oci.wait_until(client, client.
|
|
2473
|
-
except oci.exceptions.ServiceError as e:
|
|
2474
|
-
# We make an initial service call so we can pass the result to oci.wait_until(), however if we are waiting on the
|
|
2475
|
-
# outcome of a delete operation it is possible that the resource is already gone and so the initial service call
|
|
2476
|
-
# will result in an exception that reflects a HTTP 404. In this case, we can exit with success (rather than raising
|
|
2477
|
-
# the exception) since this would have been the behaviour in the waiter anyway (as for delete we provide the argument
|
|
2478
|
-
# succeed_on_not_found=True to the waiter).
|
|
2479
|
-
#
|
|
2480
|
-
# Any non-404 should still result in the exception being thrown.
|
|
2481
|
-
if e.status == 404:
|
|
2482
|
-
pass
|
|
2483
|
-
else:
|
|
2484
|
-
raise
|
|
2485
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
2486
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
2485
2487
|
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
2486
2488
|
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
2487
|
-
click.echo('Failed to wait until the
|
|
2489
|
+
click.echo('Failed to wait until the work request entered the specified state. Please retrieve the work request to find its current state', file=sys.stderr)
|
|
2488
2490
|
cli_util.render_response(result, ctx)
|
|
2489
2491
|
sys.exit(2)
|
|
2490
2492
|
except Exception:
|
|
2491
|
-
click.echo('Encountered error while waiting for
|
|
2493
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
2492
2494
|
cli_util.render_response(result, ctx)
|
|
2493
2495
|
raise
|
|
2494
2496
|
else:
|
|
2495
|
-
click.echo('Unable to wait for the
|
|
2497
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
2496
2498
|
cli_util.render_response(result, ctx)
|
|
2497
2499
|
|
|
2498
2500
|
|
|
2499
|
-
@stack_group.command(name=cli_util.override('resource_manager.delete_stack.command_name', 'delete'), help=u"""Deletes the specified stack. \n[Command Reference](deleteStack)""")
|
|
2501
|
+
@stack_group.command(name=cli_util.override('resource_manager.delete_stack.command_name', 'delete'), help=u"""Deletes the specified stack. For more information, see [Deleting a Stack]. \n[Command Reference](deleteStack)""")
|
|
2500
2502
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
2501
2503
|
@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.""")
|
|
2502
2504
|
@cli_util.confirm_delete_option
|
|
@@ -2560,7 +2562,7 @@ def delete_stack(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval
|
|
|
2560
2562
|
cli_util.render_response(result, ctx)
|
|
2561
2563
|
|
|
2562
2564
|
|
|
2563
|
-
@template_group.command(name=cli_util.override('resource_manager.delete_template.command_name', 'delete'), help=u"""Deletes the specified template. \n[Command Reference](deleteTemplate)""")
|
|
2565
|
+
@template_group.command(name=cli_util.override('resource_manager.delete_template.command_name', 'delete'), help=u"""Deletes the specified template. For more information, see [Deleting a Private Template]. \n[Command Reference](deleteTemplate)""")
|
|
2564
2566
|
@cli_util.option('--template-id', required=True, help=u"""The [OCID] of the template.""")
|
|
2565
2567
|
@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.""")
|
|
2566
2568
|
@cli_util.confirm_delete_option
|
|
@@ -2624,7 +2626,7 @@ def delete_template(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
|
|
|
2624
2626
|
cli_util.render_response(result, ctx)
|
|
2625
2627
|
|
|
2626
2628
|
|
|
2627
|
-
@stack_group.command(name=cli_util.override('resource_manager.detect_stack_drift.command_name', 'detect-stack-drift'), help=u"""Checks drift status for the specified stack. \n[Command Reference](detectStackDrift)""")
|
|
2629
|
+
@stack_group.command(name=cli_util.override('resource_manager.detect_stack_drift.command_name', 'detect-stack-drift'), help=u"""Checks drift status for the specified stack. For more information, see [Detecting Drift]. \n[Command Reference](detectStackDrift)""")
|
|
2628
2630
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
2629
2631
|
@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.""")
|
|
2630
2632
|
@cli_util.option('--resource-addresses', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of resources in the specified stack to detect drift for. Each resource is identified by a resource address, which is a string derived from the resource type and name specified in the stack's Terraform configuration plus an optional index. For example, the resource address for the fourth Compute instance with the name \"test_instance\" is oci_core_instance.test_instance[3]. For more details and examples of resource addresses, see the Terraform documentation at [Resource spec].""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -2691,7 +2693,7 @@ def detect_stack_drift(ctx, from_json, wait_for_state, max_wait_seconds, wait_in
|
|
|
2691
2693
|
cli_util.render_response(result, ctx)
|
|
2692
2694
|
|
|
2693
2695
|
|
|
2694
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.get_configuration_source_provider.command_name', 'get'), help=u"""Gets the properties of the specified configuration source provider. \n[Command Reference](getConfigurationSourceProvider)""")
|
|
2696
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.get_configuration_source_provider.command_name', 'get'), help=u"""Gets the properties of the specified configuration source provider. For more information, see [Getting a Configuration Source Provider's Details]. \n[Command Reference](getConfigurationSourceProvider)""")
|
|
2695
2697
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
2696
2698
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2697
2699
|
@cli_util.help_option
|
|
@@ -2713,7 +2715,7 @@ def get_configuration_source_provider(ctx, from_json, configuration_source_provi
|
|
|
2713
2715
|
cli_util.render_response(result, ctx)
|
|
2714
2716
|
|
|
2715
2717
|
|
|
2716
|
-
@job_group.command(name=cli_util.override('resource_manager.get_job.command_name', 'get'), help=u"""Gets the properties of the specified job. \n[Command Reference](getJob)""")
|
|
2718
|
+
@job_group.command(name=cli_util.override('resource_manager.get_job.command_name', 'get'), help=u"""Gets the properties of the specified job. For more information, see [Getting a Job's Details]. \n[Command Reference](getJob)""")
|
|
2717
2719
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
2718
2720
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2719
2721
|
@cli_util.help_option
|
|
@@ -2735,7 +2737,7 @@ def get_job(ctx, from_json, job_id):
|
|
|
2735
2737
|
cli_util.render_response(result, ctx)
|
|
2736
2738
|
|
|
2737
2739
|
|
|
2738
|
-
@job_group.command(name=cli_util.override('resource_manager.get_job_detailed_log_content.command_name', 'get-job-detailed-log-content'), help=u"""Returns the Terraform detailed log content for the specified job in plain text. [Learn about Terraform detailed log.] \n[Command Reference](getJobDetailedLogContent)""")
|
|
2740
|
+
@job_group.command(name=cli_util.override('resource_manager.get_job_detailed_log_content.command_name', 'get-job-detailed-log-content'), help=u"""Returns the Terraform detailed log content for the specified job in plain text. [Learn about Terraform detailed log.] For more information, see [Getting Detailed Log Content for a Job]. \n[Command Reference](getJobDetailedLogContent)""")
|
|
2739
2741
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
2740
2742
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2741
2743
|
@cli_util.help_option
|
|
@@ -2757,7 +2759,7 @@ def get_job_detailed_log_content(ctx, from_json, job_id):
|
|
|
2757
2759
|
cli_util.render_response(result, ctx)
|
|
2758
2760
|
|
|
2759
2761
|
|
|
2760
|
-
@job_group.command(name=cli_util.override('resource_manager.get_job_logs.command_name', 'get-job-logs'), help=u"""Returns console log entries for the specified job in JSON format. \n[Command Reference](getJobLogs)""")
|
|
2762
|
+
@job_group.command(name=cli_util.override('resource_manager.get_job_logs.command_name', 'get-job-logs'), help=u"""Returns console log entries for the specified job in JSON format. For more information, see [Getting Logs for a Job]. \n[Command Reference](getJobLogs)""")
|
|
2761
2763
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
2762
2764
|
@cli_util.option('--type', type=custom_types.CliCaseInsensitiveChoice(["TERRAFORM_CONSOLE"]), multiple=True, help=u"""A filter that returns only logs of a specified type.""")
|
|
2763
2765
|
@cli_util.option('--level-greater-than-or-equal-to', type=custom_types.CliCaseInsensitiveChoice(["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"]), help=u"""A filter that returns only log entries that match a given severity level or greater.""")
|
|
@@ -2800,7 +2802,7 @@ def get_job_logs(ctx, from_json, job_id, type, level_greater_than_or_equal_to, s
|
|
|
2800
2802
|
cli_util.render_response(result, ctx)
|
|
2801
2803
|
|
|
2802
2804
|
|
|
2803
|
-
@job_group.command(name=cli_util.override('resource_manager.get_job_logs_content.command_name', 'get-job-logs-content'), help=u"""Returns the raw log file for the specified job in text format. The file includes a maximum of 100,000 log entries. \n[Command Reference](getJobLogsContent)""")
|
|
2805
|
+
@job_group.command(name=cli_util.override('resource_manager.get_job_logs_content.command_name', 'get-job-logs-content'), help=u"""Returns the raw log file for the specified job in text format. The file includes a maximum of 100,000 log entries. For more information, see [Getting Logs Content for a Job]. \n[Command Reference](getJobLogsContent)""")
|
|
2804
2806
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
2805
2807
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2806
2808
|
@cli_util.help_option
|
|
@@ -2822,7 +2824,7 @@ def get_job_logs_content(ctx, from_json, job_id):
|
|
|
2822
2824
|
cli_util.render_response(result, ctx)
|
|
2823
2825
|
|
|
2824
2826
|
|
|
2825
|
-
@job_group.command(name=cli_util.override('resource_manager.get_job_tf_config.command_name', 'get-job-tf-config'), help=u"""Returns the Terraform configuration for the specified job in zip format. If no zip file is found, returns an error. \n[Command Reference](getJobTfConfig)""")
|
|
2827
|
+
@job_group.command(name=cli_util.override('resource_manager.get_job_tf_config.command_name', 'get-job-tf-config'), help=u"""Returns the Terraform configuration for the specified job in zip format. If no zip file is found, returns an error. For more information, see [Getting a Job Terraform Configuration]. \n[Command Reference](getJobTfConfig)""")
|
|
2826
2828
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
2827
2829
|
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
2828
2830
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -2867,7 +2869,7 @@ def get_job_tf_config(ctx, from_json, file, job_id):
|
|
|
2867
2869
|
file.close()
|
|
2868
2870
|
|
|
2869
2871
|
|
|
2870
|
-
@job_group.command(name=cli_util.override('resource_manager.get_job_tf_plan.command_name', 'get-job-tf-plan'), help=u"""Returns the output of the specified Terraform plan job in binary or JSON format. For information
|
|
2872
|
+
@job_group.command(name=cli_util.override('resource_manager.get_job_tf_plan.command_name', 'get-job-tf-plan'), help=u"""Returns the output of the specified Terraform plan job in binary or JSON format. For more information, see [Getting the Terraform Output for a Plan Job]. \n[Command Reference](getJobTfPlan)""")
|
|
2871
2873
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
2872
2874
|
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
2873
2875
|
@cli_util.option('--tf-plan-format', type=custom_types.CliCaseInsensitiveChoice(["BINARY", "JSON"]), help=u"""The output format of the Terraform plan.""")
|
|
@@ -2915,7 +2917,7 @@ def get_job_tf_plan(ctx, from_json, file, job_id, tf_plan_format):
|
|
|
2915
2917
|
file.close()
|
|
2916
2918
|
|
|
2917
2919
|
|
|
2918
|
-
@job_group.command(name=cli_util.override('resource_manager.get_job_tf_state.command_name', 'get-job-tf-state'), help=u"""Returns the Terraform state for the specified job. \n[Command Reference](getJobTfState)""")
|
|
2920
|
+
@job_group.command(name=cli_util.override('resource_manager.get_job_tf_state.command_name', 'get-job-tf-state'), help=u"""Returns the Terraform state for the specified job. For more information, see [Getting a Job Terraform Configuration]. \n[Command Reference](getJobTfState)""")
|
|
2919
2921
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
2920
2922
|
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
2921
2923
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -2960,7 +2962,7 @@ def get_job_tf_state(ctx, from_json, file, job_id):
|
|
|
2960
2962
|
file.close()
|
|
2961
2963
|
|
|
2962
2964
|
|
|
2963
|
-
@private_endpoint_group.command(name=cli_util.override('resource_manager.get_private_endpoint.command_name', 'get'), help=u"""Gets the specified private endpoint. \n[Command Reference](getPrivateEndpoint)""")
|
|
2965
|
+
@private_endpoint_group.command(name=cli_util.override('resource_manager.get_private_endpoint.command_name', 'get'), help=u"""Gets the specified private endpoint. For more information, see [Getting a Private Endpoint's Details]. \n[Command Reference](getPrivateEndpoint)""")
|
|
2964
2966
|
@cli_util.option('--private-endpoint-id', required=True, help=u"""The [OCID] of the private endpoint.""")
|
|
2965
2967
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2966
2968
|
@cli_util.help_option
|
|
@@ -2982,7 +2984,7 @@ def get_private_endpoint(ctx, from_json, private_endpoint_id):
|
|
|
2982
2984
|
cli_util.render_response(result, ctx)
|
|
2983
2985
|
|
|
2984
2986
|
|
|
2985
|
-
@reachable_ip_group.command(name=cli_util.override('resource_manager.get_reachable_ip.command_name', 'get'), help=u"""Gets the reachable, or alternative, IP address for a nonpublic IP address that is associated with the private endpoint. Resource Manager uses this IP address to connect to nonpublic resources through the associated private endpoint. \n[Command Reference](getReachableIp)""")
|
|
2987
|
+
@reachable_ip_group.command(name=cli_util.override('resource_manager.get_reachable_ip.command_name', 'get'), help=u"""Gets the reachable, or alternative, IP address for a nonpublic IP address that is associated with the private endpoint. Resource Manager uses this IP address to connect to nonpublic resources through the associated private endpoint. For more information, see [Getting the Reachable IP Address for a Private Endpoint]. \n[Command Reference](getReachableIp)""")
|
|
2986
2988
|
@cli_util.option('--private-ip', required=True, help=u"""The IP address of the resource in the private subnet.""")
|
|
2987
2989
|
@cli_util.option('--private-endpoint-id', required=True, help=u"""The [OCID] of the private endpoint.""")
|
|
2988
2990
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -3006,7 +3008,7 @@ def get_reachable_ip(ctx, from_json, private_ip, private_endpoint_id):
|
|
|
3006
3008
|
cli_util.render_response(result, ctx)
|
|
3007
3009
|
|
|
3008
3010
|
|
|
3009
|
-
@stack_group.command(name=cli_util.override('resource_manager.get_stack.command_name', 'get'), help=u"""Gets the specified stack. \n[Command Reference](getStack)""")
|
|
3011
|
+
@stack_group.command(name=cli_util.override('resource_manager.get_stack.command_name', 'get'), help=u"""Gets the specified stack. For more information, see [Getting a Stack's Details]. \n[Command Reference](getStack)""")
|
|
3010
3012
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
3011
3013
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
3012
3014
|
@cli_util.help_option
|
|
@@ -3028,7 +3030,7 @@ def get_stack(ctx, from_json, stack_id):
|
|
|
3028
3030
|
cli_util.render_response(result, ctx)
|
|
3029
3031
|
|
|
3030
3032
|
|
|
3031
|
-
@stack_group.command(name=cli_util.override('resource_manager.get_stack_tf_config.command_name', 'get-stack-tf-config'), help=u"""Returns the Terraform configuration file for the specified stack in zip format. Returns an error if no zip file is found. \n[Command Reference](getStackTfConfig)""")
|
|
3033
|
+
@stack_group.command(name=cli_util.override('resource_manager.get_stack_tf_config.command_name', 'get-stack-tf-config'), help=u"""Returns the Terraform configuration file for the specified stack in zip format. Returns an error if no zip file is found. For more information, see [Getting a Stack Terraform Configuration]. \n[Command Reference](getStackTfConfig)""")
|
|
3032
3034
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
3033
3035
|
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
3034
3036
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -3073,7 +3075,7 @@ def get_stack_tf_config(ctx, from_json, file, stack_id):
|
|
|
3073
3075
|
file.close()
|
|
3074
3076
|
|
|
3075
3077
|
|
|
3076
|
-
@stack_group.command(name=cli_util.override('resource_manager.get_stack_tf_state.command_name', 'get-stack-tf-state'), help=u"""Returns the Terraform state for the specified stack. \n[Command Reference](getStackTfState)""")
|
|
3078
|
+
@stack_group.command(name=cli_util.override('resource_manager.get_stack_tf_state.command_name', 'get-stack-tf-state'), help=u"""Returns the Terraform state for the specified stack. For more information, see [Getting a Stack State File]. \n[Command Reference](getStackTfState)""")
|
|
3077
3079
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
3078
3080
|
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
3079
3081
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -3118,7 +3120,7 @@ def get_stack_tf_state(ctx, from_json, file, stack_id):
|
|
|
3118
3120
|
file.close()
|
|
3119
3121
|
|
|
3120
3122
|
|
|
3121
|
-
@template_group.command(name=cli_util.override('resource_manager.get_template.command_name', 'get'), help=u"""Gets the specified template. \n[Command Reference](getTemplate)""")
|
|
3123
|
+
@template_group.command(name=cli_util.override('resource_manager.get_template.command_name', 'get'), help=u"""Gets the specified template. For more information, see [Getting a Private Template's Details]. \n[Command Reference](getTemplate)""")
|
|
3122
3124
|
@cli_util.option('--template-id', required=True, help=u"""The [OCID] of the template.""")
|
|
3123
3125
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
3124
3126
|
@cli_util.help_option
|
|
@@ -3140,7 +3142,7 @@ def get_template(ctx, from_json, template_id):
|
|
|
3140
3142
|
cli_util.render_response(result, ctx)
|
|
3141
3143
|
|
|
3142
3144
|
|
|
3143
|
-
@template_group.command(name=cli_util.override('resource_manager.get_template_logo.command_name', 'get-template-logo'), help=u"""Returns the Terraform logo file in .logo format for the specified template. Returns an error if no logo file is found. \n[Command Reference](getTemplateLogo)""")
|
|
3145
|
+
@template_group.command(name=cli_util.override('resource_manager.get_template_logo.command_name', 'get-template-logo'), help=u"""Returns the Terraform logo file in .logo format for the specified template. Returns an error if no logo file is found. For more information, see [Getting a Private Template's Logo]. \n[Command Reference](getTemplateLogo)""")
|
|
3144
3146
|
@cli_util.option('--template-id', required=True, help=u"""The [OCID] of the template.""")
|
|
3145
3147
|
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
3146
3148
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -3185,7 +3187,7 @@ def get_template_logo(ctx, from_json, file, template_id):
|
|
|
3185
3187
|
file.close()
|
|
3186
3188
|
|
|
3187
3189
|
|
|
3188
|
-
@template_group.command(name=cli_util.override('resource_manager.get_template_tf_config.command_name', 'get-template-tf-config'), help=u"""Returns the Terraform configuration file in zip format for the specified template. Returns an error if no zip file is found. \n[Command Reference](getTemplateTfConfig)""")
|
|
3190
|
+
@template_group.command(name=cli_util.override('resource_manager.get_template_tf_config.command_name', 'get-template-tf-config'), help=u"""Returns the Terraform configuration file in zip format for the specified template. Returns an error if no zip file is found. For more information, see [Getting a Private Template's Terraform Configuration]. \n[Command Reference](getTemplateTfConfig)""")
|
|
3189
3191
|
@cli_util.option('--template-id', required=True, help=u"""The [OCID] of the template.""")
|
|
3190
3192
|
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
3191
3193
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -3230,7 +3232,7 @@ def get_template_tf_config(ctx, from_json, file, template_id):
|
|
|
3230
3232
|
file.close()
|
|
3231
3233
|
|
|
3232
3234
|
|
|
3233
|
-
@work_request_group.command(name=cli_util.override('resource_manager.get_work_request.command_name', 'get'), help=u"""Returns the specified work request. \n[Command Reference](getWorkRequest)""")
|
|
3235
|
+
@work_request_group.command(name=cli_util.override('resource_manager.get_work_request.command_name', 'get'), help=u"""Returns the specified work request. For more information, see [Getting a Work Request's Details]. \n[Command Reference](getWorkRequest)""")
|
|
3234
3236
|
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the work request.""")
|
|
3235
3237
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
3236
3238
|
@cli_util.help_option
|
|
@@ -3252,7 +3254,7 @@ def get_work_request(ctx, from_json, work_request_id):
|
|
|
3252
3254
|
cli_util.render_response(result, ctx)
|
|
3253
3255
|
|
|
3254
3256
|
|
|
3255
|
-
@configuration_source_provider_summary_group.command(name=cli_util.override('resource_manager.list_configuration_source_providers.command_name', 'list-configuration-source-providers'), help=u"""Lists configuration source providers according to the specified filter. - For `compartmentId`, lists all configuration source providers in the matching compartment. - For `configurationSourceProviderId`, lists the matching configuration source provider. \n[Command Reference](listConfigurationSourceProviders)""")
|
|
3257
|
+
@configuration_source_provider_summary_group.command(name=cli_util.override('resource_manager.list_configuration_source_providers.command_name', 'list-configuration-source-providers'), help=u"""Lists configuration source providers according to the specified filter. For more information, see [Listing Configuration Source Providers]. - For `compartmentId`, lists all configuration source providers in the matching compartment. - For `configurationSourceProviderId`, lists the matching configuration source provider. \n[Command Reference](listConfigurationSourceProviders)""")
|
|
3256
3258
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3257
3259
|
@cli_util.option('--configuration-source-provider-id', help=u"""A filter to return only configuration source providers that match the provided [OCID].""")
|
|
3258
3260
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly. Use this filter to list a resource by name. Requires `sortBy` set to `DISPLAYNAME`. Alternatively, when you know the resource OCID, use the related Get operation.""")
|
|
@@ -3314,7 +3316,7 @@ def list_configuration_source_providers(ctx, from_json, all_pages, page_size, co
|
|
|
3314
3316
|
cli_util.render_response(result, ctx)
|
|
3315
3317
|
|
|
3316
3318
|
|
|
3317
|
-
@associated_resource_summary_group.command(name=cli_util.override('resource_manager.list_job_associated_resources.command_name', 'list-job-associated-resources'), help=u"""Gets the list of resources associated with the specified job. \n[Command Reference](listJobAssociatedResources)""")
|
|
3319
|
+
@associated_resource_summary_group.command(name=cli_util.override('resource_manager.list_job_associated_resources.command_name', 'list-job-associated-resources'), help=u"""Gets the list of resources associated with the specified job. For more information, see [Listing Job Resources]. \n[Command Reference](listJobAssociatedResources)""")
|
|
3318
3320
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
3319
3321
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3320
3322
|
@cli_util.option('--terraform-resource-type', help=u"""A filter to return only specified resource types. For more information about resource types supported for the Oracle Cloud Infrastructure [OCI] provider, see [Oracle Cloud Infrastructure Provider].""")
|
|
@@ -3371,7 +3373,7 @@ def list_job_associated_resources(ctx, from_json, all_pages, page_size, job_id,
|
|
|
3371
3373
|
cli_util.render_response(result, ctx)
|
|
3372
3374
|
|
|
3373
3375
|
|
|
3374
|
-
@job_output_summary_group.command(name=cli_util.override('resource_manager.list_job_outputs.command_name', 'list-job-outputs'), help=u"""Gets the list of outputs associated with the specified job. \n[Command Reference](listJobOutputs)""")
|
|
3376
|
+
@job_output_summary_group.command(name=cli_util.override('resource_manager.list_job_outputs.command_name', 'list-job-outputs'), help=u"""Gets the list of outputs associated with the specified job. For more information, see [Listing Job Outputs]. \n[Command Reference](listJobOutputs)""")
|
|
3375
3377
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
3376
3378
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3377
3379
|
@cli_util.option('--limit', type=click.INT, help=u"""The number of items returned in a paginated `List` call. For information about pagination, see [List Pagination].""")
|
|
@@ -3425,15 +3427,13 @@ def list_job_outputs(ctx, from_json, all_pages, page_size, job_id, compartment_i
|
|
|
3425
3427
|
cli_util.render_response(result, ctx)
|
|
3426
3428
|
|
|
3427
3429
|
|
|
3428
|
-
@job_group.command(name=cli_util.override('resource_manager.list_jobs.command_name', 'list'), help=u"""Lists jobs according to the specified filter. By default, the list is ordered by time created.
|
|
3430
|
+
@job_group.command(name=cli_util.override('resource_manager.list_jobs.command_name', 'list'), help=u"""Lists jobs according to the specified filter. By default, the list is ordered by time created. For more information, see [Listing Jobs].
|
|
3429
3431
|
|
|
3430
3432
|
- To list all jobs in a stack, provide the stack [OCID]. - To list all jobs in a compartment, provide the compartment [OCID]. - To return a specific job, provide the job [OCID]. (Equivalent to [GetStack].) \n[Command Reference](listJobs)""")
|
|
3431
3433
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3432
3434
|
@cli_util.option('--stack-id', help=u"""The stack [OCID] on which to filter.""")
|
|
3433
3435
|
@cli_util.option('--id', help=u"""The [OCID] on which to query for jobs.""")
|
|
3434
|
-
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), help=u"""A filter that returns all resources that match the specified lifecycle state. The state value is case-insensitive.
|
|
3435
|
-
|
|
3436
|
-
Allowable values: - ACCEPTED - IN_PROGRESS - FAILED - SUCCEEDED - CANCELING - CANCELED""")
|
|
3436
|
+
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), help=u"""A filter that returns all resources that match the specified lifecycle state. The state value is case-insensitive.""")
|
|
3437
3437
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly. Use this filter to list a resource by name. Requires `sortBy` set to `DISPLAYNAME`. Alternatively, when you know the resource OCID, use the related Get operation.""")
|
|
3438
3438
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIMECREATED", "DISPLAYNAME"]), help=u"""The field to use when sorting returned resources. By default, `TIMECREATED` is ordered descending. By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field.""")
|
|
3439
3439
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`).""")
|
|
@@ -3494,7 +3494,7 @@ def list_jobs(ctx, from_json, all_pages, page_size, compartment_id, stack_id, id
|
|
|
3494
3494
|
cli_util.render_response(result, ctx)
|
|
3495
3495
|
|
|
3496
3496
|
|
|
3497
|
-
@private_endpoint_summary_group.command(name=cli_util.override('resource_manager.list_private_endpoints.command_name', 'list-private-endpoints'), help=u"""Lists private endpoints according to the specified filter. - For `compartmentId`, lists all private endpoints in the matching compartment. - For `privateEndpointId`, lists the matching private endpoint. \n[Command Reference](listPrivateEndpoints)""")
|
|
3497
|
+
@private_endpoint_summary_group.command(name=cli_util.override('resource_manager.list_private_endpoints.command_name', 'list-private-endpoints'), help=u"""Lists private endpoints according to the specified filter. For more information, see [Listing Private Endpoints]. - For `compartmentId`, lists all private endpoints in the matching compartment. - For `privateEndpointId`, lists the matching private endpoint. \n[Command Reference](listPrivateEndpoints)""")
|
|
3498
3498
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3499
3499
|
@cli_util.option('--private-endpoint-id', help=u"""The [OCID] of the private endpoint.""")
|
|
3500
3500
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly. Use this filter to list a resource by name. Requires `sortBy` set to `DISPLAYNAME`. Alternatively, when you know the resource OCID, use the related Get operation.""")
|
|
@@ -3556,7 +3556,7 @@ def list_private_endpoints(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
3556
3556
|
cli_util.render_response(result, ctx)
|
|
3557
3557
|
|
|
3558
3558
|
|
|
3559
|
-
@stack_group.command(name=cli_util.override('resource_manager.list_resource_discovery_services.command_name', 'list-resource-discovery-services'), help=u"""Returns a list of supported services for [Resource Discovery]. For reference on service names, see the [Terraform provider documentation]. \n[Command Reference](listResourceDiscoveryServices)""")
|
|
3559
|
+
@stack_group.command(name=cli_util.override('resource_manager.list_resource_discovery_services.command_name', 'list-resource-discovery-services'), help=u"""Returns a list of supported services for [Resource Discovery]. For reference on service names, see the [Terraform provider documentation]. For more information, see [Listing Resource Discovery Services]. \n[Command Reference](listResourceDiscoveryServices)""")
|
|
3560
3560
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3561
3561
|
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
|
|
3562
3562
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -3577,7 +3577,7 @@ def list_resource_discovery_services(ctx, from_json, all_pages, compartment_id):
|
|
|
3577
3577
|
cli_util.render_response(result, ctx)
|
|
3578
3578
|
|
|
3579
3579
|
|
|
3580
|
-
@associated_resource_summary_group.command(name=cli_util.override('resource_manager.list_stack_associated_resources.command_name', 'list-stack-associated-resources'), help=u"""Gets the list of resources associated with the specified stack. \n[Command Reference](listStackAssociatedResources)""")
|
|
3580
|
+
@associated_resource_summary_group.command(name=cli_util.override('resource_manager.list_stack_associated_resources.command_name', 'list-stack-associated-resources'), help=u"""Gets the list of resources associated with the specified stack. For more information, see [Listing Stack Resources]. \n[Command Reference](listStackAssociatedResources)""")
|
|
3581
3581
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
3582
3582
|
@cli_util.option('--terraform-resource-type', help=u"""A filter to return only specified resource types. For more information about resource types supported for the Oracle Cloud Infrastructure [OCI] provider, see [Oracle Cloud Infrastructure Provider].""")
|
|
3583
3583
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
@@ -3634,10 +3634,10 @@ def list_stack_associated_resources(ctx, from_json, all_pages, page_size, stack_
|
|
|
3634
3634
|
cli_util.render_response(result, ctx)
|
|
3635
3635
|
|
|
3636
3636
|
|
|
3637
|
-
@stack_resource_drift_summary_group.command(name=cli_util.override('resource_manager.list_stack_resource_drift_details.command_name', 'list-stack-resource-drift-details'), help=u"""Lists drift status details for each resource defined in the specified stack. The drift status details for a given resource indicate differences, if any, between the actual state and the expected (defined) state for that resource. The drift status details correspond to the specified work request (`workRequestId`). If no work request is specified, then the drift status details correspond to the latest completed work request for the stack. \n[Command Reference](listStackResourceDriftDetails)""")
|
|
3637
|
+
@stack_resource_drift_summary_group.command(name=cli_util.override('resource_manager.list_stack_resource_drift_details.command_name', 'list-stack-resource-drift-details'), help=u"""Lists drift status details for each resource defined in the specified stack. The drift status details for a given resource indicate differences, if any, between the actual state and the expected (defined) state for that resource. The drift status details correspond to the specified work request (`workRequestId`). If no work request is specified, then the drift status details correspond to the latest completed work request for the stack. For more information, see [Listing Drift Status]. \n[Command Reference](listStackResourceDriftDetails)""")
|
|
3638
3638
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
3639
3639
|
@cli_util.option('--work-request-id', help=u"""The [OCID] of the work request.""")
|
|
3640
|
-
@cli_util.option('--resource-drift-status', type=custom_types.CliCaseInsensitiveChoice(["NOT_CHECKED", "IN_SYNC", "MODIFIED", "DELETED"]), multiple=True, help=u"""A filter that returns only resources that match the given drift status. The value is case-insensitive.
|
|
3640
|
+
@cli_util.option('--resource-drift-status', type=custom_types.CliCaseInsensitiveChoice(["NOT_CHECKED", "IN_SYNC", "MODIFIED", "DELETED"]), multiple=True, help=u"""A filter that returns only resources that match the given drift status. The value is case-insensitive.""")
|
|
3641
3641
|
@cli_util.option('--limit', type=click.INT, help=u"""The number of items returned in a paginated `List` call. For information about pagination, see [List Pagination].""")
|
|
3642
3642
|
@cli_util.option('--page', help=u"""The value of the `opc-next-page` response header from the preceding `List` call. For information about pagination, see [List Pagination].""")
|
|
3643
3643
|
@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.""")
|
|
@@ -3691,12 +3691,10 @@ def list_stack_resource_drift_details(ctx, from_json, all_pages, page_size, stac
|
|
|
3691
3691
|
cli_util.render_response(result, ctx)
|
|
3692
3692
|
|
|
3693
3693
|
|
|
3694
|
-
@stack_group.command(name=cli_util.override('resource_manager.list_stacks.command_name', 'list'), help=u"""Lists stacks according to the specified filter. - If called using the compartment ID, returns all stacks in the specified compartment. - If called using the stack ID, returns the specified stack. (See also [GetStack].) \n[Command Reference](listStacks)""")
|
|
3694
|
+
@stack_group.command(name=cli_util.override('resource_manager.list_stacks.command_name', 'list'), help=u"""Lists stacks according to the specified filter. For more information, see [Listing Stacks]. - If called using the compartment ID, returns all stacks in the specified compartment. - If called using the stack ID, returns the specified stack. (See also [GetStack].) \n[Command Reference](listStacks)""")
|
|
3695
3695
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3696
3696
|
@cli_util.option('--id', help=u"""The [OCID] on which to query for a stack.""")
|
|
3697
|
-
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""A filter that returns only those resources that match the specified lifecycle state. The state value is case-insensitive. For more information about stack lifecycle states, see [Key Concepts].
|
|
3698
|
-
|
|
3699
|
-
Allowable values: - CREATING - ACTIVE - DELETING - DELETED - FAILED""")
|
|
3697
|
+
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""A filter that returns only those resources that match the specified lifecycle state. The state value is case-insensitive. For more information about stack lifecycle states, see [Key Concepts].""")
|
|
3700
3698
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly. Use this filter to list a resource by name. Requires `sortBy` set to `DISPLAYNAME`. Alternatively, when you know the resource OCID, use the related Get operation.""")
|
|
3701
3699
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIMECREATED", "DISPLAYNAME"]), help=u"""The field to use when sorting returned resources. By default, `TIMECREATED` is ordered descending. By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field.""")
|
|
3702
3700
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`).""")
|
|
@@ -3755,7 +3753,7 @@ def list_stacks(ctx, from_json, all_pages, page_size, compartment_id, id, lifecy
|
|
|
3755
3753
|
cli_util.render_response(result, ctx)
|
|
3756
3754
|
|
|
3757
3755
|
|
|
3758
|
-
@template_category_summary_group.command(name=cli_util.override('resource_manager.list_template_categories.command_name', 'list-template-categories'), help=u"""Lists template categories. \n[Command Reference](listTemplateCategories)""")
|
|
3756
|
+
@template_category_summary_group.command(name=cli_util.override('resource_manager.list_template_categories.command_name', 'list-template-categories'), help=u"""Lists template categories. For more information, see [Listing Template Categories]. \n[Command Reference](listTemplateCategories)""")
|
|
3759
3757
|
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
|
|
3760
3758
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
3761
3759
|
@cli_util.help_option
|
|
@@ -3773,7 +3771,7 @@ def list_template_categories(ctx, from_json, all_pages, ):
|
|
|
3773
3771
|
cli_util.render_response(result, ctx)
|
|
3774
3772
|
|
|
3775
3773
|
|
|
3776
|
-
@template_group.command(name=cli_util.override('resource_manager.list_templates.command_name', 'list'), help=u"""Lists templates according to the specified filter. The attributes `compartmentId` and `templateCategoryId` are required unless `templateId` is specified. \n[Command Reference](listTemplates)""")
|
|
3774
|
+
@template_group.command(name=cli_util.override('resource_manager.list_templates.command_name', 'list'), help=u"""Lists templates according to the specified filter. The attributes `compartmentId` and `templateCategoryId` are required unless `templateId` is specified. For more information, see [Listing Templates]. \n[Command Reference](listTemplates)""")
|
|
3777
3775
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3778
3776
|
@cli_util.option('--template-category-id', help=u"""Unique identifier for the template category. Possible values are `0` (Quickstarts), `1` (Service), `2` (Architecture), and `3` (Private). Template category labels are displayed in the Console page listing templates. Quickstarts, Service, and Architecture templates (categories 0, 1, and 2) are available in all compartments. Each private template (category 3) is available in the compartment where it was created.""")
|
|
3779
3777
|
@cli_util.option('--template-id', help=u"""The [OCID] of the template.""")
|
|
@@ -3835,7 +3833,7 @@ def list_templates(ctx, from_json, all_pages, page_size, compartment_id, templat
|
|
|
3835
3833
|
cli_util.render_response(result, ctx)
|
|
3836
3834
|
|
|
3837
3835
|
|
|
3838
|
-
@stack_group.command(name=cli_util.override('resource_manager.list_terraform_versions.command_name', 'list-terraform-versions'), help=u"""Returns a list of supported Terraform versions for use with stacks. \n[Command Reference](listTerraformVersions)""")
|
|
3836
|
+
@stack_group.command(name=cli_util.override('resource_manager.list_terraform_versions.command_name', 'list-terraform-versions'), help=u"""Returns a list of supported Terraform versions for use with stacks. For more information, see [Listing Terraform Versions]. \n[Command Reference](listTerraformVersions)""")
|
|
3839
3837
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3840
3838
|
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
|
|
3841
3839
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -3856,7 +3854,7 @@ def list_terraform_versions(ctx, from_json, all_pages, compartment_id):
|
|
|
3856
3854
|
cli_util.render_response(result, ctx)
|
|
3857
3855
|
|
|
3858
3856
|
|
|
3859
|
-
@work_request_group.command(name=cli_util.override('resource_manager.list_work_request_errors.command_name', 'list-work-request-errors'), help=u"""Returns a paginated list of errors for the specified work request. \n[Command Reference](listWorkRequestErrors)""")
|
|
3857
|
+
@work_request_group.command(name=cli_util.override('resource_manager.list_work_request_errors.command_name', 'list-work-request-errors'), help=u"""Returns a paginated list of errors for the specified work request. For more information, see [Listing Errors for a Work Request]. \n[Command Reference](listWorkRequestErrors)""")
|
|
3860
3858
|
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the work request.""")
|
|
3861
3859
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3862
3860
|
@cli_util.option('--limit', type=click.INT, help=u"""The number of items returned in a paginated `List` call. For information about pagination, see [List Pagination].""")
|
|
@@ -3913,7 +3911,7 @@ def list_work_request_errors(ctx, from_json, all_pages, page_size, work_request_
|
|
|
3913
3911
|
cli_util.render_response(result, ctx)
|
|
3914
3912
|
|
|
3915
3913
|
|
|
3916
|
-
@work_request_group.command(name=cli_util.override('resource_manager.list_work_request_logs.command_name', 'list-work-request-logs'), help=u"""Returns a paginated list of logs for the specified work request. \n[Command Reference](listWorkRequestLogs)""")
|
|
3914
|
+
@work_request_group.command(name=cli_util.override('resource_manager.list_work_request_logs.command_name', 'list-work-request-logs'), help=u"""Returns a paginated list of logs for the specified work request. For more information, see [Listing Logs for a Work Request]. \n[Command Reference](listWorkRequestLogs)""")
|
|
3917
3915
|
@cli_util.option('--work-request-id', required=True, help=u"""The [OCID] of the work request.""")
|
|
3918
3916
|
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3919
3917
|
@cli_util.option('--limit', type=click.INT, help=u"""The number of items returned in a paginated `List` call. For information about pagination, see [List Pagination].""")
|
|
@@ -3970,7 +3968,7 @@ def list_work_request_logs(ctx, from_json, all_pages, page_size, work_request_id
|
|
|
3970
3968
|
cli_util.render_response(result, ctx)
|
|
3971
3969
|
|
|
3972
3970
|
|
|
3973
|
-
@work_request_group.command(name=cli_util.override('resource_manager.list_work_requests.command_name', 'list'), help=u"""Lists the work requests in the specified compartment or for the specified resource. \n[Command Reference](listWorkRequests)""")
|
|
3971
|
+
@work_request_group.command(name=cli_util.override('resource_manager.list_work_requests.command_name', 'list'), help=u"""Lists the work requests in the specified compartment or for the specified resource. For more information, see [Listing Work Requests]. \n[Command Reference](listWorkRequests)""")
|
|
3974
3972
|
@cli_util.option('--compartment-id', required=True, help=u"""A filter to return only resources that exist in the compartment, identified by [OCID].""")
|
|
3975
3973
|
@cli_util.option('--resource-id', help=u"""The [OCID] of the resource.""")
|
|
3976
3974
|
@cli_util.option('--limit', type=click.INT, help=u"""The number of items returned in a paginated `List` call. For information about pagination, see [List Pagination].""")
|
|
@@ -4021,9 +4019,9 @@ def list_work_requests(ctx, from_json, all_pages, page_size, compartment_id, res
|
|
|
4021
4019
|
cli_util.render_response(result, ctx)
|
|
4022
4020
|
|
|
4023
4021
|
|
|
4024
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider.command_name', 'update'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [
|
|
4022
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider.command_name', 'update'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [Updating a Configuration Source Provider]. \n[Command Reference](updateConfigurationSourceProvider)""")
|
|
4025
4023
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
4026
|
-
@cli_util.option('--display-name', help=u"""
|
|
4024
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4027
4025
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
4028
4026
|
@cli_util.option('--config-source-provider-type', help=u"""The type of configuration source provider. The `BITBUCKET_CLOUD_USERNAME_APPPASSWORD` type corresponds to Bitbucket Cloud. The `BITBUCKET_SERVER_ACCESS_TOKEN` type corresponds to Bitbucket Server. The `GITLAB_ACCESS_TOKEN` type corresponds to GitLab. The `GITHUB_ACCESS_TOKEN` type corresponds to GitHub.""")
|
|
4029
4027
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -4105,9 +4103,9 @@ def update_configuration_source_provider(ctx, from_json, force, wait_for_state,
|
|
|
4105
4103
|
cli_util.render_response(result, ctx)
|
|
4106
4104
|
|
|
4107
4105
|
|
|
4108
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_bitbucket_cloud_username_app_password_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-bitbucket-cloud-username-app-password-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [
|
|
4106
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_bitbucket_cloud_username_app_password_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-bitbucket-cloud-username-app-password-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [Updating a Configuration Source Provider]. \n[Command Reference](updateConfigurationSourceProvider)""")
|
|
4109
4107
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
4110
|
-
@cli_util.option('--display-name', help=u"""
|
|
4108
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4111
4109
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
4112
4110
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4113
4111
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -4199,9 +4197,9 @@ def update_configuration_source_provider_update_bitbucket_cloud_username_app_pas
|
|
|
4199
4197
|
cli_util.render_response(result, ctx)
|
|
4200
4198
|
|
|
4201
4199
|
|
|
4202
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_bitbucket_server_access_token_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-bitbucket-server-access-token-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [
|
|
4200
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_bitbucket_server_access_token_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-bitbucket-server-access-token-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [Updating a Configuration Source Provider]. \n[Command Reference](updateConfigurationSourceProvider)""")
|
|
4203
4201
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
4204
|
-
@cli_util.option('--display-name', help=u"""
|
|
4202
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4205
4203
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
4206
4204
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4207
4205
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -4289,9 +4287,9 @@ def update_configuration_source_provider_update_bitbucket_server_access_token_co
|
|
|
4289
4287
|
cli_util.render_response(result, ctx)
|
|
4290
4288
|
|
|
4291
4289
|
|
|
4292
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_gitlab_access_token_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-gitlab-access-token-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [
|
|
4290
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_gitlab_access_token_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-gitlab-access-token-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [Updating a Configuration Source Provider]. \n[Command Reference](updateConfigurationSourceProvider)""")
|
|
4293
4291
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
4294
|
-
@cli_util.option('--display-name', help=u"""
|
|
4292
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4295
4293
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
4296
4294
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4297
4295
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -4379,9 +4377,9 @@ def update_configuration_source_provider_update_gitlab_access_token_configuratio
|
|
|
4379
4377
|
cli_util.render_response(result, ctx)
|
|
4380
4378
|
|
|
4381
4379
|
|
|
4382
|
-
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_github_access_token_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-github-access-token-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [
|
|
4380
|
+
@configuration_source_provider_group.command(name=cli_util.override('resource_manager.update_configuration_source_provider_update_github_access_token_configuration_source_provider_details.command_name', 'update-configuration-source-provider-update-github-access-token-configuration-source-provider-details'), help=u"""Updates the properties of the specified configuration source provider. For more information, see [Updating a Configuration Source Provider]. \n[Command Reference](updateConfigurationSourceProvider)""")
|
|
4383
4381
|
@cli_util.option('--configuration-source-provider-id', required=True, help=u"""The [OCID] of the configuration source provider.""")
|
|
4384
|
-
@cli_util.option('--display-name', help=u"""
|
|
4382
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4385
4383
|
@cli_util.option('--description', help=u"""Description of the configuration source provider. Avoid entering confidential information.""")
|
|
4386
4384
|
@cli_util.option('--private-server-config-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4387
4385
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -4469,9 +4467,9 @@ def update_configuration_source_provider_update_github_access_token_configuratio
|
|
|
4469
4467
|
cli_util.render_response(result, ctx)
|
|
4470
4468
|
|
|
4471
4469
|
|
|
4472
|
-
@job_group.command(name=cli_util.override('resource_manager.update_job.command_name', 'update'), help=u"""Updates the specified job. \n[Command Reference](updateJob)""")
|
|
4470
|
+
@job_group.command(name=cli_util.override('resource_manager.update_job.command_name', 'update'), help=u"""Updates the specified job. For more information, see [Updating a Job]. \n[Command Reference](updateJob)""")
|
|
4473
4471
|
@cli_util.option('--job-id', required=True, help=u"""The [OCID] of the job.""")
|
|
4474
|
-
@cli_util.option('--display-name', help=u"""
|
|
4472
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4475
4473
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4476
4474
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4477
4475
|
@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.""")
|
|
@@ -4541,9 +4539,9 @@ def update_job(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_int
|
|
|
4541
4539
|
cli_util.render_response(result, ctx)
|
|
4542
4540
|
|
|
4543
4541
|
|
|
4544
|
-
@private_endpoint_group.command(name=cli_util.override('resource_manager.update_private_endpoint.command_name', 'update'), help=u"""Updates the specified private endpoint. \n[Command Reference](updatePrivateEndpoint)""")
|
|
4542
|
+
@private_endpoint_group.command(name=cli_util.override('resource_manager.update_private_endpoint.command_name', 'update'), help=u"""Updates the specified private endpoint. For more information, see [Updating a Private Endpoint]. \n[Command Reference](updatePrivateEndpoint)""")
|
|
4545
4543
|
@cli_util.option('--private-endpoint-id', required=True, help=u"""The [OCID] of the private endpoint.""")
|
|
4546
|
-
@cli_util.option('--display-name', help=u"""
|
|
4544
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4547
4545
|
@cli_util.option('--description', help=u"""Description of the private endpoint. Avoid entering confidential information.""")
|
|
4548
4546
|
@cli_util.option('--vcn-id', help=u"""The [OCID] of the VCN for the private endpoint.""")
|
|
4549
4547
|
@cli_util.option('--subnet-id', help=u"""The [OCID] of the subnet within the VCN for the private endpoint.""")
|
|
@@ -4552,23 +4550,26 @@ def update_job(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_int
|
|
|
4552
4550
|
@cli_util.option('--is-used-with-configuration-source-provider', type=click.BOOL, help=u"""When `true`, allows the private endpoint to be used with a configuration source provider.""")
|
|
4553
4551
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4554
4552
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4553
|
+
@cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""[Security attributes] are labels for a resource that can be referenced in a [Zero Trust Packet Routing] (ZPR) policy to control access to ZPR-supported resources.
|
|
4554
|
+
|
|
4555
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4555
4556
|
@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.""")
|
|
4556
4557
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
4557
|
-
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["
|
|
4558
|
-
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the
|
|
4559
|
-
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the
|
|
4560
|
-
@json_skeleton_utils.get_cli_json_input_option({'dns-zones': {'module': 'resource_manager', 'class': 'list[string]'}, 'nsg-id-list': {'module': 'resource_manager', 'class': 'list[string]'}, 'freeform-tags': {'module': 'resource_manager', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}})
|
|
4558
|
+
@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.""")
|
|
4559
|
+
@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.""")
|
|
4560
|
+
@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.""")
|
|
4561
|
+
@json_skeleton_utils.get_cli_json_input_option({'dns-zones': {'module': 'resource_manager', 'class': 'list[string]'}, 'nsg-id-list': {'module': 'resource_manager', 'class': 'list[string]'}, 'freeform-tags': {'module': 'resource_manager', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}})
|
|
4561
4562
|
@cli_util.help_option
|
|
4562
4563
|
@click.pass_context
|
|
4563
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'dns-zones': {'module': 'resource_manager', 'class': 'list[string]'}, 'nsg-id-list': {'module': 'resource_manager', 'class': 'list[string]'}, 'freeform-tags': {'module': 'resource_manager', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'resource_manager', 'class': 'PrivateEndpoint'})
|
|
4564
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'dns-zones': {'module': 'resource_manager', 'class': 'list[string]'}, 'nsg-id-list': {'module': 'resource_manager', 'class': 'list[string]'}, 'freeform-tags': {'module': 'resource_manager', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'resource_manager', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'resource_manager', 'class': 'PrivateEndpoint'})
|
|
4564
4565
|
@cli_util.wrap_exceptions
|
|
4565
|
-
def update_private_endpoint(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, private_endpoint_id, display_name, description, vcn_id, subnet_id, dns_zones, nsg_id_list, is_used_with_configuration_source_provider, freeform_tags, defined_tags, if_match):
|
|
4566
|
+
def update_private_endpoint(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, private_endpoint_id, display_name, description, vcn_id, subnet_id, dns_zones, nsg_id_list, is_used_with_configuration_source_provider, freeform_tags, defined_tags, security_attributes, if_match):
|
|
4566
4567
|
|
|
4567
4568
|
if isinstance(private_endpoint_id, six.string_types) and len(private_endpoint_id.strip()) == 0:
|
|
4568
4569
|
raise click.UsageError('Parameter --private-endpoint-id cannot be whitespace or empty string')
|
|
4569
4570
|
if not force:
|
|
4570
|
-
if dns_zones or nsg_id_list or freeform_tags or defined_tags:
|
|
4571
|
-
if not click.confirm("WARNING: Updates to dns-zones and nsg-id-list and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
4571
|
+
if dns_zones or nsg_id_list or freeform_tags or defined_tags or security_attributes:
|
|
4572
|
+
if not click.confirm("WARNING: Updates to dns-zones and nsg-id-list and freeform-tags and defined-tags and security-attributes will replace any existing values. Are you sure you want to continue?"):
|
|
4572
4573
|
ctx.abort()
|
|
4573
4574
|
|
|
4574
4575
|
kwargs = {}
|
|
@@ -4605,6 +4606,9 @@ def update_private_endpoint(ctx, from_json, force, wait_for_state, max_wait_seco
|
|
|
4605
4606
|
if defined_tags is not None:
|
|
4606
4607
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
4607
4608
|
|
|
4609
|
+
if security_attributes is not None:
|
|
4610
|
+
_details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
|
|
4611
|
+
|
|
4608
4612
|
client = cli_util.build_client('resource_manager', 'resource_manager', ctx)
|
|
4609
4613
|
result = client.update_private_endpoint(
|
|
4610
4614
|
private_endpoint_id=private_endpoint_id,
|
|
@@ -4613,39 +4617,43 @@ def update_private_endpoint(ctx, from_json, force, wait_for_state, max_wait_seco
|
|
|
4613
4617
|
)
|
|
4614
4618
|
if wait_for_state:
|
|
4615
4619
|
|
|
4616
|
-
if hasattr(client, '
|
|
4620
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
4617
4621
|
try:
|
|
4618
4622
|
wait_period_kwargs = {}
|
|
4619
4623
|
if max_wait_seconds is not None:
|
|
4620
4624
|
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
4621
4625
|
if wait_interval_seconds is not None:
|
|
4622
4626
|
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
4627
|
+
if 'opc-work-request-id' not in result.headers:
|
|
4628
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
4629
|
+
cli_util.render_response(result, ctx)
|
|
4630
|
+
return
|
|
4623
4631
|
|
|
4624
|
-
click.echo('Action completed. Waiting until the
|
|
4625
|
-
result = oci.wait_until(client, client.
|
|
4632
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
4633
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
4626
4634
|
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
4627
4635
|
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
4628
|
-
click.echo('Failed to wait until the
|
|
4636
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
4629
4637
|
cli_util.render_response(result, ctx)
|
|
4630
4638
|
sys.exit(2)
|
|
4631
4639
|
except Exception:
|
|
4632
|
-
click.echo('Encountered error while waiting for
|
|
4640
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
4633
4641
|
cli_util.render_response(result, ctx)
|
|
4634
4642
|
raise
|
|
4635
4643
|
else:
|
|
4636
|
-
click.echo('Unable to wait for the
|
|
4644
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
4637
4645
|
cli_util.render_response(result, ctx)
|
|
4638
4646
|
|
|
4639
4647
|
|
|
4640
|
-
@stack_group.command(name=cli_util.override('resource_manager.update_stack.command_name', 'update'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating
|
|
4648
|
+
@stack_group.command(name=cli_util.override('resource_manager.update_stack.command_name', 'update'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating a Stack]. \n[Command Reference](updateStack)""")
|
|
4641
4649
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
4642
|
-
@cli_util.option('--display-name', help=u"""
|
|
4650
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4643
4651
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
4644
4652
|
@cli_util.option('--config-source', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4645
4653
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4646
4654
|
@cli_util.option('--is-third-party-provider-experience-enabled', type=click.BOOL, help=u"""When `true`, changes the stack's sourcing of third-party Terraform providers to [Terraform Registry] and allows [custom providers]. Applies to older stacks. Once set to `true`, cannot be reverted. For more information about stack sourcing of third-party Terraform providers, see [Third-party Provider Configuration].""")
|
|
4647
4655
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. The maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4648
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
4656
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
4649
4657
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4650
4658
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4651
4659
|
@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.""")
|
|
@@ -4733,15 +4741,15 @@ def update_stack(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_i
|
|
|
4733
4741
|
cli_util.render_response(result, ctx)
|
|
4734
4742
|
|
|
4735
4743
|
|
|
4736
|
-
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_bitbucket_cloud_config_source_details.command_name', 'update-stack-update-bitbucket-cloud-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating
|
|
4744
|
+
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_bitbucket_cloud_config_source_details.command_name', 'update-stack-update-bitbucket-cloud-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating a Stack]. \n[Command Reference](updateStack)""")
|
|
4737
4745
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
4738
4746
|
@cli_util.option('--config-source-configuration-source-provider-id', required=True, help=u"""The [OCID] of the Bitbucket Cloud configuration source.""")
|
|
4739
|
-
@cli_util.option('--display-name', help=u"""
|
|
4747
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4740
4748
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
4741
4749
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4742
4750
|
@cli_util.option('--is-third-party-provider-experience-enabled', type=click.BOOL, help=u"""When `true`, changes the stack's sourcing of third-party Terraform providers to [Terraform Registry] and allows [custom providers]. Applies to older stacks. Once set to `true`, cannot be reverted. For more information about stack sourcing of third-party Terraform providers, see [Third-party Provider Configuration].""")
|
|
4743
4751
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. The maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4744
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
4752
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
4745
4753
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4746
4754
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4747
4755
|
@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.""")
|
|
@@ -4846,15 +4854,15 @@ def update_stack_update_bitbucket_cloud_config_source_details(ctx, from_json, fo
|
|
|
4846
4854
|
cli_util.render_response(result, ctx)
|
|
4847
4855
|
|
|
4848
4856
|
|
|
4849
|
-
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_bitbucket_server_config_source_details.command_name', 'update-stack-update-bitbucket-server-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating
|
|
4857
|
+
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_bitbucket_server_config_source_details.command_name', 'update-stack-update-bitbucket-server-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating a Stack]. \n[Command Reference](updateStack)""")
|
|
4850
4858
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
4851
4859
|
@cli_util.option('--config-source-configuration-source-provider-id', required=True, help=u"""Unique identifier ([OCID]) for the Bitbucket Server configuration source.""")
|
|
4852
|
-
@cli_util.option('--display-name', help=u"""
|
|
4860
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4853
4861
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
4854
4862
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4855
4863
|
@cli_util.option('--is-third-party-provider-experience-enabled', type=click.BOOL, help=u"""When `true`, changes the stack's sourcing of third-party Terraform providers to [Terraform Registry] and allows [custom providers]. Applies to older stacks. Once set to `true`, cannot be reverted. For more information about stack sourcing of third-party Terraform providers, see [Third-party Provider Configuration].""")
|
|
4856
4864
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. The maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4857
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
4865
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
4858
4866
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4859
4867
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4860
4868
|
@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.""")
|
|
@@ -4963,15 +4971,15 @@ def update_stack_update_bitbucket_server_config_source_details(ctx, from_json, f
|
|
|
4963
4971
|
cli_util.render_response(result, ctx)
|
|
4964
4972
|
|
|
4965
4973
|
|
|
4966
|
-
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_git_config_source_details.command_name', 'update-stack-update-git-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating
|
|
4974
|
+
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_git_config_source_details.command_name', 'update-stack-update-git-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating a Stack]. \n[Command Reference](updateStack)""")
|
|
4967
4975
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
4968
4976
|
@cli_util.option('--config-source-configuration-source-provider-id', required=True, help=u"""Unique identifier ([OCID]) for the Git configuration source.""")
|
|
4969
|
-
@cli_util.option('--display-name', help=u"""
|
|
4977
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
4970
4978
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
4971
4979
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4972
4980
|
@cli_util.option('--is-third-party-provider-experience-enabled', type=click.BOOL, help=u"""When `true`, changes the stack's sourcing of third-party Terraform providers to [Terraform Registry] and allows [custom providers]. Applies to older stacks. Once set to `true`, cannot be reverted. For more information about stack sourcing of third-party Terraform providers, see [Third-party Provider Configuration].""")
|
|
4973
4981
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. The maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4974
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
4982
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
4975
4983
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4976
4984
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
4977
4985
|
@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.""")
|
|
@@ -5072,14 +5080,14 @@ def update_stack_update_git_config_source_details(ctx, from_json, force, wait_fo
|
|
|
5072
5080
|
cli_util.render_response(result, ctx)
|
|
5073
5081
|
|
|
5074
5082
|
|
|
5075
|
-
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_object_storage_config_source_details.command_name', 'update-stack-update-object-storage-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating
|
|
5083
|
+
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_object_storage_config_source_details.command_name', 'update-stack-update-object-storage-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating a Stack]. \n[Command Reference](updateStack)""")
|
|
5076
5084
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
5077
|
-
@cli_util.option('--display-name', help=u"""
|
|
5085
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
5078
5086
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
5079
5087
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5080
5088
|
@cli_util.option('--is-third-party-provider-experience-enabled', type=click.BOOL, help=u"""When `true`, changes the stack's sourcing of third-party Terraform providers to [Terraform Registry] and allows [custom providers]. Applies to older stacks. Once set to `true`, cannot be reverted. For more information about stack sourcing of third-party Terraform providers, see [Third-party Provider Configuration].""")
|
|
5081
5089
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. The maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5082
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
5090
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
5083
5091
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5084
5092
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5085
5093
|
@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.""")
|
|
@@ -5183,14 +5191,14 @@ def update_stack_update_object_storage_config_source_details(ctx, from_json, for
|
|
|
5183
5191
|
cli_util.render_response(result, ctx)
|
|
5184
5192
|
|
|
5185
5193
|
|
|
5186
|
-
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_zip_upload_config_source_details.command_name', 'update-stack-update-zip-upload-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating
|
|
5194
|
+
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_zip_upload_config_source_details.command_name', 'update-stack-update-zip-upload-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating a Stack]. \n[Command Reference](updateStack)""")
|
|
5187
5195
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
5188
|
-
@cli_util.option('--display-name', help=u"""
|
|
5196
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
5189
5197
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
5190
5198
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5191
5199
|
@cli_util.option('--is-third-party-provider-experience-enabled', type=click.BOOL, help=u"""When `true`, changes the stack's sourcing of third-party Terraform providers to [Terraform Registry] and allows [custom providers]. Applies to older stacks. Once set to `true`, cannot be reverted. For more information about stack sourcing of third-party Terraform providers, see [Third-party Provider Configuration].""")
|
|
5192
5200
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. The maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5193
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
5201
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
5194
5202
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5195
5203
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5196
5204
|
@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.""")
|
|
@@ -5286,16 +5294,16 @@ def update_stack_update_zip_upload_config_source_details(ctx, from_json, force,
|
|
|
5286
5294
|
cli_util.render_response(result, ctx)
|
|
5287
5295
|
|
|
5288
5296
|
|
|
5289
|
-
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_dev_ops_config_source_details.command_name', 'update-stack-update-dev-ops-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating
|
|
5297
|
+
@stack_group.command(name=cli_util.override('resource_manager.update_stack_update_dev_ops_config_source_details.command_name', 'update-stack-update-dev-ops-config-source-details'), help=u"""Updates the specified stack. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see [Updating a Stack]. \n[Command Reference](updateStack)""")
|
|
5290
5298
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the stack.""")
|
|
5291
5299
|
@cli_util.option('--config-source-project-id', required=True, help=u"""The [OCID] of the [DevOps project].""")
|
|
5292
5300
|
@cli_util.option('--config-source-repository-id', required=True, help=u"""The [OCID] of the [DevOps repository].""")
|
|
5293
|
-
@cli_util.option('--display-name', help=u"""
|
|
5301
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
5294
5302
|
@cli_util.option('--description', help=u"""Description of the stack.""")
|
|
5295
5303
|
@cli_util.option('--custom-terraform-provider', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5296
5304
|
@cli_util.option('--is-third-party-provider-experience-enabled', type=click.BOOL, help=u"""When `true`, changes the stack's sourcing of third-party Terraform providers to [Terraform Registry] and allows [custom providers]. Applies to older stacks. Once set to `true`, cannot be reverted. For more information about stack sourcing of third-party Terraform providers, see [Third-party Provider Configuration].""")
|
|
5297
5305
|
@cli_util.option('--variables', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Terraform variables associated with this resource. The maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: `{\"CompartmentId\": \"compartment-id-value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5298
|
-
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `
|
|
5306
|
+
@cli_util.option('--terraform-version', help=u"""The version of Terraform to use with the stack. Example: `1.5.x`""")
|
|
5299
5307
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5300
5308
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
5301
5309
|
@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.""")
|
|
@@ -5393,9 +5401,9 @@ def update_stack_update_dev_ops_config_source_details(ctx, from_json, force, wai
|
|
|
5393
5401
|
cli_util.render_response(result, ctx)
|
|
5394
5402
|
|
|
5395
5403
|
|
|
5396
|
-
@template_group.command(name=cli_util.override('resource_manager.update_template.command_name', 'update'), help=u"""Updates the specified template. \n[Command Reference](updateTemplate)""")
|
|
5404
|
+
@template_group.command(name=cli_util.override('resource_manager.update_template.command_name', 'update'), help=u"""Updates the specified template. For more information, see [Updating a Private Template]. \n[Command Reference](updateTemplate)""")
|
|
5397
5405
|
@cli_util.option('--template-id', required=True, help=u"""The [OCID] of the template.""")
|
|
5398
|
-
@cli_util.option('--display-name', help=u"""
|
|
5406
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
5399
5407
|
@cli_util.option('--description', help=u"""Description of the template. Avoid entering confidential information.""")
|
|
5400
5408
|
@cli_util.option('--long-description', help=u"""Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information.""")
|
|
5401
5409
|
@cli_util.option('--logo-file-base64-encoded', help=u"""Base64-encoded logo for the template.""")
|
|
@@ -5481,9 +5489,9 @@ def update_template(ctx, from_json, force, wait_for_state, max_wait_seconds, wai
|
|
|
5481
5489
|
cli_util.render_response(result, ctx)
|
|
5482
5490
|
|
|
5483
5491
|
|
|
5484
|
-
@template_group.command(name=cli_util.override('resource_manager.update_template_update_template_zip_upload_config_source_details.command_name', 'update-template-update-template-zip-upload-config-source-details'), help=u"""Updates the specified template. \n[Command Reference](updateTemplate)""")
|
|
5492
|
+
@template_group.command(name=cli_util.override('resource_manager.update_template_update_template_zip_upload_config_source_details.command_name', 'update-template-update-template-zip-upload-config-source-details'), help=u"""Updates the specified template. For more information, see [Updating a Private Template]. \n[Command Reference](updateTemplate)""")
|
|
5485
5493
|
@cli_util.option('--template-id', required=True, help=u"""The [OCID] of the template.""")
|
|
5486
|
-
@cli_util.option('--display-name', help=u"""
|
|
5494
|
+
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
|
|
5487
5495
|
@cli_util.option('--description', help=u"""Description of the template. Avoid entering confidential information.""")
|
|
5488
5496
|
@cli_util.option('--long-description', help=u"""Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information.""")
|
|
5489
5497
|
@cli_util.option('--logo-file-base64-encoded', help=u"""Base64-encoded logo for the template.""")
|