oci-cli 3.65.0__py3-none-any.whl → 3.65.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci_cli/bin/dbmulticloud.psm1 +39 -4
- oci_cli/bin/mysql.psm1 +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/condition-metadata-type/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/detector-recipe/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/create.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem-aggregation/request-summarized-problems.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource-type-summary/list-resource-types.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/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.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-error/{list-errors.txt → list.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-logs.txt → list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry.txt +1 -1
- 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/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/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-logs.txt → list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/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-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/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.65.1.dist-info}/METADATA +2 -2
- {oci_cli-3.65.0.dist-info → oci_cli-3.65.1.dist-info}/RECORD +144 -117
- 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 +208 -9
- 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/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.65.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.65.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.65.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.65.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.65.0.dist-info → oci_cli-3.65.1.dist-info}/top_level.txt +0 -0
|
@@ -16,22 +16,41 @@ from oci_cli.aliasing import CommandGroupWithAlias
|
|
|
16
16
|
from services.dbmulticloud.src.oci_cli_dbmulticloud.generated import dbmulticloud_service_cli
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
@click.command(cli_util.override('oracle_db_azure_vault_association.oracle_db_azure_vault_association_root_group.command_name', 'oracle-db-azure-vault-association'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_vault_association.oracle_db_azure_vault_association_root_group.help', """
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
@click.command(cli_util.override('oracle_db_azure_vault_association.oracle_db_azure_vault_association_root_group.command_name', 'oracle-db-azure-vault-association'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_vault_association.oracle_db_azure_vault_association_root_group.help', """<b>Microsoft Azure:</b> <br>
|
|
20
|
+
<b>Oracle Azure Connector Resource:</b>: The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D).
|
|
21
|
+
The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster:
|
|
22
|
+
<ul>
|
|
23
|
+
<li>Using a Bearer Access Token</li>
|
|
24
|
+
</ul>
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
<b>Oracle Azure Blob Container Resource:</b> The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container.
|
|
27
|
+
This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container.
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
<b>Oracle Azure Blob Mount Resource:</b> The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D).
|
|
30
|
+
It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation.
|
|
31
|
+
|
|
32
|
+
<b>Discover Azure Vaults and Keys Resource:</b> The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project.
|
|
33
|
+
|
|
34
|
+
<b>Oracle Azure Vault:</b> The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure.
|
|
35
|
+
|
|
36
|
+
<b>Oracle Azure Key:</b> Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault.
|
|
37
|
+
|
|
38
|
+
<br>
|
|
39
|
+
|
|
40
|
+
<b>Google Cloud:</b><br>
|
|
41
|
+
<b>Oracle Google Cloud Connector Resource:</b> The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D).
|
|
42
|
+
|
|
43
|
+
<b>Discover Google Key Rings and Keys Resource:</b> The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project.
|
|
44
|
+
|
|
45
|
+
<b>Google Key Rings Resource:</b> The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure.
|
|
46
|
+
|
|
47
|
+
<b>Google Key Resource:</b> The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring."""), short_help=cli_util.override('oracle_db_azure_vault_association.oracle_db_azure_vault_association_root_group.short_help', """Oracle Database MultiCloud Data Plane Integration"""))
|
|
29
48
|
@cli_util.help_option_group
|
|
30
49
|
def oracle_db_azure_vault_association_root_group():
|
|
31
50
|
pass
|
|
32
51
|
|
|
33
52
|
|
|
34
|
-
@click.command(cli_util.override('oracle_db_azure_vault_association.oracle_db_azure_vault_association_group.command_name', 'oracle-db-azure-vault-association'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Vault Association
|
|
53
|
+
@click.command(cli_util.override('oracle_db_azure_vault_association.oracle_db_azure_vault_association_group.command_name', 'oracle-db-azure-vault-association'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Vault Association resource object.""")
|
|
35
54
|
@cli_util.help_option_group
|
|
36
55
|
def oracle_db_azure_vault_association_group():
|
|
37
56
|
pass
|
|
@@ -41,8 +60,8 @@ dbmulticloud_service_cli.dbmulticloud_service_group.add_command(oracle_db_azure_
|
|
|
41
60
|
oracle_db_azure_vault_association_root_group.add_command(oracle_db_azure_vault_association_group)
|
|
42
61
|
|
|
43
62
|
|
|
44
|
-
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.cascading_delete_oracle_db_azure_vault_association.command_name', 'cascading-delete'), help=u"""
|
|
45
|
-
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The
|
|
63
|
+
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.cascading_delete_oracle_db_azure_vault_association.command_name', 'cascading-delete'), help=u"""Deletes the Oracle DB Azure Vault Association resource. \n[Command Reference](cascadingDeleteOracleDbAzureVaultAssociation)""")
|
|
64
|
+
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Association resource.""")
|
|
46
65
|
@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.""")
|
|
47
66
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
48
67
|
@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.""")
|
|
@@ -97,8 +116,8 @@ def cascading_delete_oracle_db_azure_vault_association(ctx, from_json, wait_for_
|
|
|
97
116
|
|
|
98
117
|
|
|
99
118
|
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.change_oracle_db_azure_vault_association_compartment.command_name', 'change-compartment'), help=u"""Moves the Oracle DB Azure Vault Association resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. \n[Command Reference](changeOracleDbAzureVaultAssociationCompartment)""")
|
|
100
|
-
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The
|
|
101
|
-
@cli_util.option('--compartment-id', help=u"""The [OCID] of the new compartment to contain the Oracle DB Azure Vault Association
|
|
119
|
+
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Association resource.""")
|
|
120
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the new compartment to contain the Oracle DB Azure Vault Association resource.""")
|
|
102
121
|
@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].
|
|
103
122
|
|
|
104
123
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -177,11 +196,11 @@ def change_oracle_db_azure_vault_association_compartment(ctx, from_json, wait_fo
|
|
|
177
196
|
cli_util.render_response(result, ctx)
|
|
178
197
|
|
|
179
198
|
|
|
180
|
-
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.create_oracle_db_azure_vault_association.command_name', 'create'), help=u"""
|
|
181
|
-
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment that contains Oracle DB Azure Vault Association
|
|
182
|
-
@cli_util.option('--display-name', required=True, help=u"""
|
|
183
|
-
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault.""")
|
|
184
|
-
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector.""")
|
|
199
|
+
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.create_oracle_db_azure_vault_association.command_name', 'create'), help=u"""Creates Oracle DB Azure Vault Association resource. \n[Command Reference](createOracleDbAzureVaultAssociation)""")
|
|
200
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment that contains Oracle DB Azure Vault Association resource.""")
|
|
201
|
+
@cli_util.option('--display-name', required=True, help=u"""Oracle DB Azure Vault Association resource name.""")
|
|
202
|
+
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault that contains Oracle DB Azure Vault Association resource.""")
|
|
203
|
+
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector that contains Oracle DB Azure Vault Association resource.""")
|
|
185
204
|
@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].
|
|
186
205
|
|
|
187
206
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -251,8 +270,8 @@ def create_oracle_db_azure_vault_association(ctx, from_json, wait_for_state, max
|
|
|
251
270
|
cli_util.render_response(result, ctx)
|
|
252
271
|
|
|
253
272
|
|
|
254
|
-
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.delete_oracle_db_azure_vault_association.command_name', 'delete'), help=u"""
|
|
255
|
-
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The
|
|
273
|
+
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.delete_oracle_db_azure_vault_association.command_name', 'delete'), help=u"""Deletes the Oracle DB Azure Vault Association resource. \n[Command Reference](deleteOracleDbAzureVaultAssociation)""")
|
|
274
|
+
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Association resource.""")
|
|
256
275
|
@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.""")
|
|
257
276
|
@cli_util.confirm_delete_option
|
|
258
277
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
@@ -307,8 +326,8 @@ def delete_oracle_db_azure_vault_association(ctx, from_json, wait_for_state, max
|
|
|
307
326
|
cli_util.render_response(result, ctx)
|
|
308
327
|
|
|
309
328
|
|
|
310
|
-
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.get_oracle_db_azure_vault_association.command_name', 'get'), help=u"""
|
|
311
|
-
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The
|
|
329
|
+
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.get_oracle_db_azure_vault_association.command_name', 'get'), help=u"""Retrieves the details of an Oracle DB Azure Vault Association using the specified association resource [OCID]. \n[Command Reference](getOracleDbAzureVaultAssociation)""")
|
|
330
|
+
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Association resource.""")
|
|
312
331
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
313
332
|
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.""")
|
|
314
333
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'asc' or 'desc'.""")
|
|
@@ -338,13 +357,13 @@ def get_oracle_db_azure_vault_association(ctx, from_json, oracle_db_azure_vault_
|
|
|
338
357
|
cli_util.render_response(result, ctx)
|
|
339
358
|
|
|
340
359
|
|
|
341
|
-
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.list_oracle_db_azure_vault_associations.command_name', 'list'), help=u"""Lists
|
|
360
|
+
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.list_oracle_db_azure_vault_associations.command_name', 'list'), help=u"""Lists all Oracle DB Azure Associations based on the specified filters. \n[Command Reference](listOracleDbAzureVaultAssociations)""")
|
|
342
361
|
@cli_util.option('--compartment-id', required=True, help=u"""The [ID] of the compartment.""")
|
|
343
|
-
@cli_util.option('--oracle-db-azure-vault-id', help=u"""A filter to return Oracle DB Azure Vault
|
|
344
|
-
@cli_util.option('--display-name', help=u"""A filter to return Azure Vault Association.""")
|
|
345
|
-
@cli_util.option('--oracle-db-azure-vault-association-id', help=u"""A filter to return Oracle DB Azure Vault Association
|
|
362
|
+
@cli_util.option('--oracle-db-azure-vault-id', help=u"""A filter to return Oracle DB Azure Vault resources that match the specified [OCID] of the Oracle DB Azure Vault resource.""")
|
|
363
|
+
@cli_util.option('--display-name', help=u"""A filter to return Oracle DB Azure Vault Association resources that match the specified display name.""")
|
|
364
|
+
@cli_util.option('--oracle-db-azure-vault-association-id', help=u"""A filter to return Oracle DB Azure Vault resources that match the specified OCID](/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault Association resource.""")
|
|
346
365
|
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.""")
|
|
347
|
-
@cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure
|
|
366
|
+
@cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure Azure Identity Connector resources.""")
|
|
348
367
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
349
368
|
@cli_util.option('--page', help=u"""The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.""")
|
|
350
369
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'asc' or 'desc'.""")
|
|
@@ -407,12 +426,12 @@ def list_oracle_db_azure_vault_associations(ctx, from_json, all_pages, page_size
|
|
|
407
426
|
cli_util.render_response(result, ctx)
|
|
408
427
|
|
|
409
428
|
|
|
410
|
-
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.update_oracle_db_azure_vault_association.command_name', 'update'), help=u"""Modifies the
|
|
411
|
-
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The
|
|
412
|
-
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment that contains Oracle DB Azure Vault Association
|
|
413
|
-
@cli_util.option('--display-name', help=u"""
|
|
414
|
-
@cli_util.option('--oracle-db-azure-vault-id', help=u"""The [OCID] of the Oracle DB Azure Vault.""")
|
|
415
|
-
@cli_util.option('--oracle-db-azure-connector-id', help=u"""The [OCID] of the Oracle DB Azure Connector.""")
|
|
429
|
+
@oracle_db_azure_vault_association_group.command(name=cli_util.override('oracle_db_azure_vault_association.update_oracle_db_azure_vault_association.command_name', 'update'), help=u"""Modifies the properties of an Oracle DB Azure Vault Association resource identified by the specified resource [OCID]. \n[Command Reference](updateOracleDbAzureVaultAssociation)""")
|
|
430
|
+
@cli_util.option('--oracle-db-azure-vault-association-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Association resource.""")
|
|
431
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment that contains Oracle DB Azure Vault Association resource.""")
|
|
432
|
+
@cli_util.option('--display-name', help=u"""Oracle DB Azure Vault Association resource name.""")
|
|
433
|
+
@cli_util.option('--oracle-db-azure-vault-id', help=u"""The [OCID] of the Oracle DB Azure Vault that contains Oracle DB Azure Vault Association resource.""")
|
|
434
|
+
@cli_util.option('--oracle-db-azure-connector-id', help=u"""The [OCID] of the Oracle DB Azure Connector that contains Oracle DB Azure Vault Association resource.""")
|
|
416
435
|
@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].
|
|
417
436
|
|
|
418
437
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -16,16 +16,35 @@ from oci_cli.aliasing import CommandGroupWithAlias
|
|
|
16
16
|
from services.dbmulticloud.src.oci_cli_dbmulticloud.generated import dbmulticloud_service_cli
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
@click.command(cli_util.override('work_request.work_request_root_group.command_name', 'work-request'), cls=CommandGroupWithAlias, help=cli_util.override('work_request.work_request_root_group.help', """
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
@click.command(cli_util.override('work_request.work_request_root_group.command_name', 'work-request'), cls=CommandGroupWithAlias, help=cli_util.override('work_request.work_request_root_group.help', """<b>Microsoft Azure:</b> <br>
|
|
20
|
+
<b>Oracle Azure Connector Resource:</b>: The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D).
|
|
21
|
+
The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster:
|
|
22
|
+
<ul>
|
|
23
|
+
<li>Using a Bearer Access Token</li>
|
|
24
|
+
</ul>
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
<b>Oracle Azure Blob Container Resource:</b> The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container.
|
|
27
|
+
This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container.
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
<b>Oracle Azure Blob Mount Resource:</b> The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D).
|
|
30
|
+
It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation.
|
|
31
|
+
|
|
32
|
+
<b>Discover Azure Vaults and Keys Resource:</b> The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project.
|
|
33
|
+
|
|
34
|
+
<b>Oracle Azure Vault:</b> The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure.
|
|
35
|
+
|
|
36
|
+
<b>Oracle Azure Key:</b> Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault.
|
|
37
|
+
|
|
38
|
+
<br>
|
|
39
|
+
|
|
40
|
+
<b>Google Cloud:</b><br>
|
|
41
|
+
<b>Oracle Google Cloud Connector Resource:</b> The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D).
|
|
42
|
+
|
|
43
|
+
<b>Discover Google Key Rings and Keys Resource:</b> The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project.
|
|
44
|
+
|
|
45
|
+
<b>Google Key Rings Resource:</b> The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure.
|
|
46
|
+
|
|
47
|
+
<b>Google Key Resource:</b> The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring."""), short_help=cli_util.override('work_request.work_request_root_group.short_help', """Oracle Database MultiCloud Data Plane Integration"""))
|
|
29
48
|
@cli_util.help_option_group
|
|
30
49
|
def work_request_root_group():
|
|
31
50
|
pass
|
|
@@ -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
|