oci-cli 3.65.0__py3-none-any.whl → 3.66.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.
- oci_cli/bin/dbmulticloud.psm1 +39 -4
- oci_cli/bin/email.psm1 +23 -11
- oci_cli/bin/mysql.psm1 +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/condition-metadata-type/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/detector-recipe/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/create.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem-aggregation/request-summarized-problems.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource-type-summary/list-resource-types.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/delete.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup/list.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/register-cloud-vm-cluster-pkcs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/unregister-cloud-vm-cluster-pkcs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create-data-guard-association-google-cloud-provider-encryption-key-details.txt +206 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association.txt +3 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/change-encryption-key-location-google-cloud-provider-encryption-key-details.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-create-stand-by-database-details.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-from-backup.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +3 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/update.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/change-compartment.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/create.txt +24 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/delete.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/list.txt +14 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/update.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/create.txt +6 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/update.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/create.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/delete.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/list.txt +7 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/update.txt +8 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/change-compartment.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/create.txt +11 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/delete.txt +2 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/get.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/list.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/patch.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/update.txt +12 -13
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/list.txt +7 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/create.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/get.txt +5 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/list.txt +8 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/refresh.txt +6 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/update.txt +17 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/cascading-delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/create.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/update.txt +9 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/change-compartment.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/create.txt +195 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/delete.txt +130 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/list.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/refresh.txt +125 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/update.txt +199 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key/list.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/change-compartment.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/create.txt +199 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/get.txt +113 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/list.txt +151 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/refresh.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/update.txt +174 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/work-request.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud.txt +95 -12
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{organizations/work-request-log-entry.txt → delegate-access-control/work-request/work-request-log.txt} +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/email/domain/add.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/domain/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/domain/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/domain/remove.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/domain/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/domain.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/add.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/remove.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/sender/add.txt +151 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/sender/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/sender/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/sender/remove.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/sender/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email/sender.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fs/mount-target/create.txt +12 -5
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint-collection/list-endpoints.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/list.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/validate.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log-entry → work-request-log}/list.txt +19 -1
- oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control/work-request/work-request-log-entry.txt → organizations/work-request-log.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +1 -1
- oci_cli/service_mapping.py +1 -1
- oci_cli/version.py +1 -1
- {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/METADATA +2 -2
- {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/RECORD +161 -128
- services/cloud_guard/src/oci_cli_cloud_guard/generated/cloudguard_cli.py +18 -10
- services/database/src/oci_cli_database/database_cli_extended.py +11 -2
- services/database/src/oci_cli_database/generated/database_cli.py +223 -12
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/__init__.py +4 -0
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/dbmulticloudgcpprovider_cli_extended.py +18 -0
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/__init__.py +4 -0
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/client_mappings.py +14 -0
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/dbmulticloudgcpprovider_cli.py +1057 -0
- services/dbmulticloud/src/oci_cli_dbmulticloud/generated/dbmulticloud_service_cli.py +27 -8
- services/dbmulticloud/src/oci_cli_multi_cloud_resource_discovery/generated/multicloudresourcediscovery_cli.py +63 -37
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_container/generated/oracledbazureblobcontainer_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_mount/generated/oracledbazureblobmount_cli.py +49 -30
- services/dbmulticloud/src/oci_cli_oracle_db_azure_connector/generated/oracledbazureconnector_cli.py +113 -39
- services/dbmulticloud/src/oci_cli_oracle_db_azure_key/generated/oracledbazurekey_cli.py +34 -15
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault/generated/oracledbazurevault_cli.py +69 -42
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault_association/generated/oracledbazurevaultassociation_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_work_request/generated/workrequest_cli.py +27 -8
- services/email/src/oci_cli_email/generated/email_cli.py +422 -8
- services/file_storage/src/oci_cli_file_storage/generated/filestorage_cli.py +5 -1
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +5 -2
- services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +7 -3
- services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -1
- {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/top_level.txt +0 -0
|
@@ -1110,7 +1110,11 @@ Example: `Uocm:PHX-AD-1`""")
|
|
|
1110
1110
|
Example: `My mount target`""")
|
|
1111
1111
|
@cli_util.option('--hostname-label', help=u"""The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example, `files-1` in the FQDN `files-1.subnet123.vcn1.oraclevcn.com`. Must be unique across all VNICs in the subnet and comply with [RFC 952] and [RFC 1123].
|
|
1112
1112
|
|
|
1113
|
-
Note:
|
|
1113
|
+
Note:
|
|
1114
|
+
|
|
1115
|
+
If the IP address is IPv4, this attribute value is stored in the [PrivateIp] resource, not in the `mountTarget` resource. To update the `hostnameLabel`, use `GetMountTarget` to obtain the [OCIDs] of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp] to update the `hostnameLabel` value.
|
|
1116
|
+
|
|
1117
|
+
If the IP address is IPv6, it is stored in the [Ipv6] resource To update the `hostnameLabel`, use `GetMountTarget` to obtain the [OCIDs] of the mount target's IPv6 address (`mountTargetIpv6Ids`). Then, you can use [UpdateIpv6] to update the `hostnameLabel` value.
|
|
1114
1118
|
|
|
1115
1119
|
For more information, see [DNS in Your Virtual Cloud Network].
|
|
1116
1120
|
|
|
@@ -202,7 +202,7 @@ Allowed values are: - HOSTING - FINE_TUNING""")
|
|
|
202
202
|
@cli_util.option('--unit-count', required=True, type=click.INT, help=u"""The number of dedicated units in this AI cluster.""")
|
|
203
203
|
@cli_util.option('--unit-shape', required=True, help=u"""The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
|
|
204
204
|
|
|
205
|
-
Allowed values are: - LARGE_COHERE - LARGE_COHERE_V2 - SMALL_COHERE - SMALL_COHERE_V2 - SMALL_COHERE_4 - EMBED_COHERE - LLAMA2_70 - LARGE_GENERIC - LARGE_COHERE_V2_2 - LARGE_GENERIC_4 - SMALL_GENERIC_V2 - LARGE_GENERIC_2 - LARGE_COHERE_V3 - RERANK_COHERE""")
|
|
205
|
+
Allowed values are: - LARGE_COHERE - LARGE_COHERE_V2 - SMALL_COHERE - SMALL_COHERE_V2 - SMALL_COHERE_4 - EMBED_COHERE - LLAMA2_70 - LARGE_GENERIC - LARGE_COHERE_V2_2 - LARGE_GENERIC_4 - SMALL_GENERIC_V2 - LARGE_GENERIC_2 - LARGE_COHERE_V3 - RERANK_COHERE - SMALL_GENERIC_V1 - MEDIUM_GENERIC_V1 - LARGE_GENERIC_V1""")
|
|
206
206
|
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable.""")
|
|
207
207
|
@cli_util.option('--description', help=u"""An optional description of the dedicated AI cluster.""")
|
|
208
208
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
|
|
@@ -773,6 +773,7 @@ def list_dedicated_ai_clusters(ctx, from_json, all_pages, page_size, compartment
|
|
|
773
773
|
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "CREATING", "UPDATING", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources that their lifecycle state matches the given lifecycle state.""")
|
|
774
774
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly.""")
|
|
775
775
|
@cli_util.option('--id', help=u"""The [OCID] of the endpoint.""")
|
|
776
|
+
@cli_util.option('--generative-ai-private-endpoint-id', help=u"""The [OCID] of the private endpoint.""")
|
|
776
777
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
777
778
|
@cli_util.option('--page', help=u"""For list pagination. The value of the opc-next-page response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
778
779
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
@@ -784,7 +785,7 @@ def list_dedicated_ai_clusters(ctx, from_json, all_pages, page_size, compartment
|
|
|
784
785
|
@click.pass_context
|
|
785
786
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'generative_ai', 'class': 'EndpointCollection'})
|
|
786
787
|
@cli_util.wrap_exceptions
|
|
787
|
-
def list_endpoints(ctx, from_json, all_pages, page_size, compartment_id, lifecycle_state, display_name, id, limit, page, sort_order, sort_by):
|
|
788
|
+
def list_endpoints(ctx, from_json, all_pages, page_size, compartment_id, lifecycle_state, display_name, id, generative_ai_private_endpoint_id, limit, page, sort_order, sort_by):
|
|
788
789
|
|
|
789
790
|
if all_pages and limit:
|
|
790
791
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -796,6 +797,8 @@ def list_endpoints(ctx, from_json, all_pages, page_size, compartment_id, lifecyc
|
|
|
796
797
|
kwargs['display_name'] = display_name
|
|
797
798
|
if id is not None:
|
|
798
799
|
kwargs['id'] = id
|
|
800
|
+
if generative_ai_private_endpoint_id is not None:
|
|
801
|
+
kwargs['generative_ai_private_endpoint_id'] = generative_ai_private_endpoint_id
|
|
799
802
|
if limit is not None:
|
|
800
803
|
kwargs['limit'] = limit
|
|
801
804
|
if page is not None:
|
|
@@ -267,12 +267,13 @@ Example: '{\"6395\": 2, \"8134\": 1, \"21943\": 0.5, \"5923\": -100}'""" + custo
|
|
|
267
267
|
@cli_util.option('--chat-request-tools', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of tools the model may call. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.
|
|
268
268
|
|
|
269
269
|
This option is a JSON list with items of type ToolDefinition. For documentation on ToolDefinition please see our API reference: https://docs.cloud.oracle.com/api/#/en/generativeaiinference/20231130/datatypes/ToolDefinition.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
270
|
-
@
|
|
270
|
+
@cli_util.option('--chat-request-web-search-options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
271
|
+
@json_skeleton_utils.get_cli_json_input_option({'serving-mode': {'module': 'generative_ai_inference', 'class': 'ServingMode'}, 'chat-request-messages': {'module': 'generative_ai_inference', 'class': 'list[Message]'}, 'chat-request-metadata': {'module': 'generative_ai_inference', 'class': 'object'}, 'chat-request-stream-options': {'module': 'generative_ai_inference', 'class': 'StreamOptions'}, 'chat-request-stop': {'module': 'generative_ai_inference', 'class': 'list[string]'}, 'chat-request-logit-bias': {'module': 'generative_ai_inference', 'class': 'object'}, 'chat-request-prediction': {'module': 'generative_ai_inference', 'class': 'Prediction'}, 'chat-request-response-format': {'module': 'generative_ai_inference', 'class': 'ResponseFormat'}, 'chat-request-tool-choice': {'module': 'generative_ai_inference', 'class': 'ToolChoice'}, 'chat-request-tools': {'module': 'generative_ai_inference', 'class': 'list[ToolDefinition]'}, 'chat-request-web-search-options': {'module': 'generative_ai_inference', 'class': 'WebSearchOptions'}})
|
|
271
272
|
@cli_util.help_option
|
|
272
273
|
@click.pass_context
|
|
273
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'serving-mode': {'module': 'generative_ai_inference', 'class': 'ServingMode'}, 'chat-request-messages': {'module': 'generative_ai_inference', 'class': 'list[Message]'}, 'chat-request-metadata': {'module': 'generative_ai_inference', 'class': 'object'}, 'chat-request-stream-options': {'module': 'generative_ai_inference', 'class': 'StreamOptions'}, 'chat-request-stop': {'module': 'generative_ai_inference', 'class': 'list[string]'}, 'chat-request-logit-bias': {'module': 'generative_ai_inference', 'class': 'object'}, 'chat-request-prediction': {'module': 'generative_ai_inference', 'class': 'Prediction'}, 'chat-request-response-format': {'module': 'generative_ai_inference', 'class': 'ResponseFormat'}, 'chat-request-tool-choice': {'module': 'generative_ai_inference', 'class': 'ToolChoice'}, 'chat-request-tools': {'module': 'generative_ai_inference', 'class': 'list[ToolDefinition]'}}, output_type={'module': 'generative_ai_inference', 'class': 'ChatResult'})
|
|
274
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'serving-mode': {'module': 'generative_ai_inference', 'class': 'ServingMode'}, 'chat-request-messages': {'module': 'generative_ai_inference', 'class': 'list[Message]'}, 'chat-request-metadata': {'module': 'generative_ai_inference', 'class': 'object'}, 'chat-request-stream-options': {'module': 'generative_ai_inference', 'class': 'StreamOptions'}, 'chat-request-stop': {'module': 'generative_ai_inference', 'class': 'list[string]'}, 'chat-request-logit-bias': {'module': 'generative_ai_inference', 'class': 'object'}, 'chat-request-prediction': {'module': 'generative_ai_inference', 'class': 'Prediction'}, 'chat-request-response-format': {'module': 'generative_ai_inference', 'class': 'ResponseFormat'}, 'chat-request-tool-choice': {'module': 'generative_ai_inference', 'class': 'ToolChoice'}, 'chat-request-tools': {'module': 'generative_ai_inference', 'class': 'list[ToolDefinition]'}, 'chat-request-web-search-options': {'module': 'generative_ai_inference', 'class': 'WebSearchOptions'}}, output_type={'module': 'generative_ai_inference', 'class': 'ChatResult'})
|
|
274
275
|
@cli_util.wrap_exceptions
|
|
275
|
-
def chat_generic_chat_request(ctx, from_json, compartment_id, serving_mode, chat_request_messages, chat_request_reasoning_effort, chat_request_verbosity, chat_request_metadata, chat_request_is_stream, chat_request_stream_options, chat_request_num_generations, chat_request_seed, chat_request_is_echo, chat_request_top_k, chat_request_top_p, chat_request_temperature, chat_request_frequency_penalty, chat_request_presence_penalty, chat_request_stop, chat_request_log_probs, chat_request_max_tokens, chat_request_max_completion_tokens, chat_request_logit_bias, chat_request_prediction, chat_request_response_format, chat_request_tool_choice, chat_request_is_parallel_tool_calls, chat_request_tools):
|
|
276
|
+
def chat_generic_chat_request(ctx, from_json, compartment_id, serving_mode, chat_request_messages, chat_request_reasoning_effort, chat_request_verbosity, chat_request_metadata, chat_request_is_stream, chat_request_stream_options, chat_request_num_generations, chat_request_seed, chat_request_is_echo, chat_request_top_k, chat_request_top_p, chat_request_temperature, chat_request_frequency_penalty, chat_request_presence_penalty, chat_request_stop, chat_request_log_probs, chat_request_max_tokens, chat_request_max_completion_tokens, chat_request_logit_bias, chat_request_prediction, chat_request_response_format, chat_request_tool_choice, chat_request_is_parallel_tool_calls, chat_request_tools, chat_request_web_search_options):
|
|
276
277
|
|
|
277
278
|
kwargs = {}
|
|
278
279
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -354,6 +355,9 @@ def chat_generic_chat_request(ctx, from_json, compartment_id, serving_mode, chat
|
|
|
354
355
|
if chat_request_tools is not None:
|
|
355
356
|
_details['chatRequest']['tools'] = cli_util.parse_json_parameter("chat_request_tools", chat_request_tools)
|
|
356
357
|
|
|
358
|
+
if chat_request_web_search_options is not None:
|
|
359
|
+
_details['chatRequest']['webSearchOptions'] = cli_util.parse_json_parameter("chat_request_web_search_options", chat_request_web_search_options)
|
|
360
|
+
|
|
357
361
|
_details['chatRequest']['apiFormat'] = 'GENERIC'
|
|
358
362
|
|
|
359
363
|
client = cli_util.build_client('generative_ai_inference', 'generative_ai_inference', ctx)
|
|
@@ -409,6 +409,8 @@ def get_backup(ctx, from_json, backup_id, if_none_match):
|
|
|
409
409
|
@cli_util.option('--db-system-id', help=u"""The DB System [OCID].""")
|
|
410
410
|
@cli_util.option('--display-name', help=u"""A filter to return only the resource matching the given display name exactly.""")
|
|
411
411
|
@cli_util.option('--soft-delete', type=custom_types.CliCaseInsensitiveChoice(["ENABLED", "DISABLED"]), help=u"""Backup Soft Delete""")
|
|
412
|
+
@cli_util.option('--backup-preparation-status', type=custom_types.CliCaseInsensitiveChoice(["PREPARED", "NOT_PREPARED"]), help=u"""Indicates whether the backup has been prepared successfully.""")
|
|
413
|
+
@cli_util.option('--validation-status', type=custom_types.CliCaseInsensitiveChoice(["NOT_VALIDATED", "VALIDATED", "NEEDS_ATTENTION", "FAILED"]), help=u"""Backup validation status""")
|
|
412
414
|
@cli_util.option('--creation-type', type=custom_types.CliCaseInsensitiveChoice(["MANUAL", "AUTOMATIC", "OPERATOR"]), help=u"""Backup creationType""")
|
|
413
415
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "timeUpdated", "displayName"]), help=u"""The field to sort by. Only one sort order may be provided. Time fields are default ordered as descending.""")
|
|
414
416
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use (ASC or DESC).""")
|
|
@@ -421,7 +423,7 @@ def get_backup(ctx, from_json, backup_id, if_none_match):
|
|
|
421
423
|
@click.pass_context
|
|
422
424
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'mysql', 'class': 'list[BackupSummary]'})
|
|
423
425
|
@cli_util.wrap_exceptions
|
|
424
|
-
def list_backups(ctx, from_json, all_pages, page_size, compartment_id, backup_id, lifecycle_state, db_system_id, display_name, soft_delete, creation_type, sort_by, sort_order, limit, page):
|
|
426
|
+
def list_backups(ctx, from_json, all_pages, page_size, compartment_id, backup_id, lifecycle_state, db_system_id, display_name, soft_delete, backup_preparation_status, validation_status, creation_type, sort_by, sort_order, limit, page):
|
|
425
427
|
|
|
426
428
|
if all_pages and limit:
|
|
427
429
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -437,6 +439,10 @@ def list_backups(ctx, from_json, all_pages, page_size, compartment_id, backup_id
|
|
|
437
439
|
kwargs['display_name'] = display_name
|
|
438
440
|
if soft_delete is not None:
|
|
439
441
|
kwargs['soft_delete'] = soft_delete
|
|
442
|
+
if backup_preparation_status is not None:
|
|
443
|
+
kwargs['backup_preparation_status'] = backup_preparation_status
|
|
444
|
+
if validation_status is not None:
|
|
445
|
+
kwargs['validation_status'] = validation_status
|
|
440
446
|
if creation_type is not None:
|
|
441
447
|
kwargs['creation_type'] = creation_type
|
|
442
448
|
if sort_by is not None:
|
|
@@ -556,3 +562,66 @@ def update_backup(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_
|
|
|
556
562
|
else:
|
|
557
563
|
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
558
564
|
cli_util.render_response(result, ctx)
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
@backup_group.command(name=cli_util.override('db_backups.validate_backup.command_name', 'validate'), help=u"""Request to validate the backup by checking the data consistency. \n[Command Reference](validateBackup)""")
|
|
568
|
+
@cli_util.option('--backup-id', required=True, help=u"""The OCID of the Backup""")
|
|
569
|
+
@cli_util.option('--is-prepared-backup-required', required=True, type=click.BOOL, help=u"""Specifies whether the backup needs to be prepared for fast restore or not. Set to true to prepare the backup, set to false (default) if not required. Note: The prepared backup will replace the original backup and will not generate a new backup copy. The cost associated with the backup may vary, as the prepared backup will consistently be a full backup, it may also change the storage size of the original backup.""")
|
|
570
|
+
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `If-Match` header 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.""")
|
|
571
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
572
|
+
@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.""")
|
|
573
|
+
@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.""")
|
|
574
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
575
|
+
@cli_util.help_option
|
|
576
|
+
@click.pass_context
|
|
577
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'mysql', 'class': 'Backup'})
|
|
578
|
+
@cli_util.wrap_exceptions
|
|
579
|
+
def validate_backup(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, backup_id, is_prepared_backup_required, if_match):
|
|
580
|
+
|
|
581
|
+
if isinstance(backup_id, six.string_types) and len(backup_id.strip()) == 0:
|
|
582
|
+
raise click.UsageError('Parameter --backup-id cannot be whitespace or empty string')
|
|
583
|
+
|
|
584
|
+
kwargs = {}
|
|
585
|
+
if if_match is not None:
|
|
586
|
+
kwargs['if_match'] = if_match
|
|
587
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
588
|
+
|
|
589
|
+
_details = {}
|
|
590
|
+
_details['isPreparedBackupRequired'] = is_prepared_backup_required
|
|
591
|
+
|
|
592
|
+
client = cli_util.build_client('mysql', 'db_backups', ctx)
|
|
593
|
+
result = client.validate_backup(
|
|
594
|
+
backup_id=backup_id,
|
|
595
|
+
validate_backup_details=_details,
|
|
596
|
+
**kwargs
|
|
597
|
+
)
|
|
598
|
+
if wait_for_state:
|
|
599
|
+
|
|
600
|
+
client = cli_util.build_client('mysql', 'work_requests', ctx)
|
|
601
|
+
|
|
602
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
603
|
+
try:
|
|
604
|
+
wait_period_kwargs = {}
|
|
605
|
+
if max_wait_seconds is not None:
|
|
606
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
607
|
+
if wait_interval_seconds is not None:
|
|
608
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
609
|
+
if 'opc-work-request-id' not in result.headers:
|
|
610
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
611
|
+
cli_util.render_response(result, ctx)
|
|
612
|
+
return
|
|
613
|
+
|
|
614
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
615
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
616
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
617
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
618
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
619
|
+
cli_util.render_response(result, ctx)
|
|
620
|
+
sys.exit(2)
|
|
621
|
+
except Exception:
|
|
622
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
623
|
+
cli_util.render_response(result, ctx)
|
|
624
|
+
raise
|
|
625
|
+
else:
|
|
626
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
627
|
+
cli_util.render_response(result, ctx)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|