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
services/dbmulticloud/src/oci_cli_oracle_db_azure_connector/generated/oracledbazureconnector_cli.py
CHANGED
|
@@ -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_connector.oracle_db_azure_connector_root_group.command_name', 'oracle-db-azure-connector'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_connector.oracle_db_azure_connector_root_group.help', """
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
@click.command(cli_util.override('oracle_db_azure_connector.oracle_db_azure_connector_root_group.command_name', 'oracle-db-azure-connector'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_connector.oracle_db_azure_connector_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_connector.oracle_db_azure_connector_root_group.short_help', """Oracle Database MultiCloud Data Plane Integration"""))
|
|
29
48
|
@cli_util.help_option_group
|
|
30
49
|
def oracle_db_azure_connector_root_group():
|
|
31
50
|
pass
|
|
32
51
|
|
|
33
52
|
|
|
34
|
-
@click.command(cli_util.override('oracle_db_azure_connector.oracle_db_azure_connector_group.command_name', 'oracle-db-azure-connector'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Connector
|
|
53
|
+
@click.command(cli_util.override('oracle_db_azure_connector.oracle_db_azure_connector_group.command_name', 'oracle-db-azure-connector'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Connector resource.""")
|
|
35
54
|
@cli_util.help_option_group
|
|
36
55
|
def oracle_db_azure_connector_group():
|
|
37
56
|
pass
|
|
@@ -41,9 +60,9 @@ dbmulticloud_service_cli.dbmulticloud_service_group.add_command(oracle_db_azure_
|
|
|
41
60
|
oracle_db_azure_connector_root_group.add_command(oracle_db_azure_connector_group)
|
|
42
61
|
|
|
43
62
|
|
|
44
|
-
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.change_oracle_db_azure_connector_compartment.command_name', 'change-compartment'), help=u"""Moves the Oracle DB Azure Connector
|
|
45
|
-
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The
|
|
46
|
-
@cli_util.option('--compartment-id', help=u"""The
|
|
63
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.change_oracle_db_azure_connector_compartment.command_name', 'change-compartment'), help=u"""Moves the Oracle DB Azure Connector resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. \n[Command Reference](changeOracleDbAzureConnectorCompartment)""")
|
|
64
|
+
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector resource.""")
|
|
65
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the new compartment to contain the Oracle DB Azure Connector resource.""")
|
|
47
66
|
@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].
|
|
48
67
|
|
|
49
68
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -122,17 +141,17 @@ def change_oracle_db_azure_connector_compartment(ctx, from_json, wait_for_state,
|
|
|
122
141
|
cli_util.render_response(result, ctx)
|
|
123
142
|
|
|
124
143
|
|
|
125
|
-
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.create_oracle_db_azure_connector.command_name', 'create'), help=u"""Creates Oracle DB Azure Connector
|
|
126
|
-
@cli_util.option('--compartment-id', required=True, help=u"""The
|
|
127
|
-
@cli_util.option('--display-name', required=True, help=u"""Oracle DB Azure Connector
|
|
128
|
-
@cli_util.option('--db-cluster-resource-id', required=True, help=u"""The
|
|
129
|
-
@cli_util.option('--azure-identity-mechanism', required=True, help=u"""Azure Identity
|
|
144
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.create_oracle_db_azure_connector.command_name', 'create'), help=u"""Creates Oracle DB Azure Connector resource and configured Azure Identity in Oracle Database resource. \n[Command Reference](createOracleDbAzureConnector)""")
|
|
145
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment that contains Oracle DB Azure Connector resource.""")
|
|
146
|
+
@cli_util.option('--display-name', required=True, help=u"""Oracle DB Azure Connector resource name.""")
|
|
147
|
+
@cli_util.option('--db-cluster-resource-id', required=True, help=u"""The [OCID] of the Oracle DB Cloud VM Cluster resource where this Azure Arc Agent Identity to configure.""")
|
|
148
|
+
@cli_util.option('--azure-identity-mechanism', required=True, help=u"""Azure Identity mechanism.""")
|
|
130
149
|
@cli_util.option('--azure-tenant-id', required=True, help=u"""Azure Tenant ID.""")
|
|
131
150
|
@cli_util.option('--azure-subscription-id', required=True, help=u"""Azure Subscription ID.""")
|
|
132
|
-
@cli_util.option('--azure-resource-group', required=True, help=u"""Azure Resource
|
|
133
|
-
@cli_util.option('--access-token', help=u"""Azure bearer access token.
|
|
151
|
+
@cli_util.option('--azure-resource-group', required=True, help=u"""Azure Resource group name.""")
|
|
152
|
+
@cli_util.option('--access-token', help=u"""Azure bearer access token.""")
|
|
134
153
|
@cli_util.option('--private-endpoint-ip-address', help=u"""Private endpoint IP.""")
|
|
135
|
-
@cli_util.option('--private-endpoint-dns-alias', help=u"""Private endpoint DNS
|
|
154
|
+
@cli_util.option('--private-endpoint-dns-alias', help=u"""Private endpoint's DNS alias.""")
|
|
136
155
|
@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].
|
|
137
156
|
|
|
138
157
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -211,8 +230,8 @@ def create_oracle_db_azure_connector(ctx, from_json, wait_for_state, max_wait_se
|
|
|
211
230
|
cli_util.render_response(result, ctx)
|
|
212
231
|
|
|
213
232
|
|
|
214
|
-
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.delete_oracle_db_azure_connector.command_name', 'delete'), help=u"""
|
|
215
|
-
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The
|
|
233
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.delete_oracle_db_azure_connector.command_name', 'delete'), help=u"""Deletes the Oracle DB Azure Identity Connector resource. \n[Command Reference](deleteOracleDbAzureConnector)""")
|
|
234
|
+
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector resource.""")
|
|
216
235
|
@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.""")
|
|
217
236
|
@cli_util.confirm_delete_option
|
|
218
237
|
@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.""")
|
|
@@ -267,8 +286,8 @@ def delete_oracle_db_azure_connector(ctx, from_json, wait_for_state, max_wait_se
|
|
|
267
286
|
cli_util.render_response(result, ctx)
|
|
268
287
|
|
|
269
288
|
|
|
270
|
-
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.get_oracle_db_azure_connector.command_name', 'get'), help=u"""
|
|
271
|
-
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The
|
|
289
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.get_oracle_db_azure_connector.command_name', 'get'), help=u"""Retrieves the Oracle DB Azure Identity Connector for a specified resource [OCID]. \n[Command Reference](getOracleDbAzureConnector)""")
|
|
290
|
+
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector resource.""")
|
|
272
291
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
273
292
|
@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.""")
|
|
274
293
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'asc' or 'desc'.""")
|
|
@@ -298,12 +317,12 @@ def get_oracle_db_azure_connector(ctx, from_json, oracle_db_azure_connector_id,
|
|
|
298
317
|
cli_util.render_response(result, ctx)
|
|
299
318
|
|
|
300
319
|
|
|
301
|
-
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.list_oracle_db_azure_connectors.command_name', 'list'), help=u"""Lists
|
|
320
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.list_oracle_db_azure_connectors.command_name', 'list'), help=u"""Lists all Oracle DB Azure Connector resources based on the specified filters. \n[Command Reference](listOracleDbAzureConnectors)""")
|
|
302
321
|
@cli_util.option('--compartment-id', required=True, help=u"""The [ID] of the compartment.""")
|
|
303
|
-
@cli_util.option('--display-name', help=u"""A filter to return Oracle DB Azure Connector
|
|
304
|
-
@cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure
|
|
322
|
+
@cli_util.option('--display-name', help=u"""A filter to return Oracle DB Azure Connector resources that match the specified display name.""")
|
|
323
|
+
@cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure Azure Identity Connector resources.""")
|
|
305
324
|
@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.""")
|
|
306
|
-
@cli_util.option('--db-cluster-resource-id', help=u"""The [ID] of the Database
|
|
325
|
+
@cli_util.option('--db-cluster-resource-id', help=u"""The [ID] of the Database resource.""")
|
|
307
326
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
308
327
|
@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.""")
|
|
309
328
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'asc' or 'desc'.""")
|
|
@@ -364,8 +383,8 @@ def list_oracle_db_azure_connectors(ctx, from_json, all_pages, page_size, compar
|
|
|
364
383
|
cli_util.render_response(result, ctx)
|
|
365
384
|
|
|
366
385
|
|
|
367
|
-
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.patch_oracle_db_azure_connector.command_name', 'patch'), help=u"""Patch Azure Arc Agent on VM Cluster with new version. \n[Command Reference](patchOracleDbAzureConnector)""")
|
|
368
|
-
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The
|
|
386
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.patch_oracle_db_azure_connector.command_name', 'patch'), help=u"""Patch Azure Arc Agent on Oracle Cloud VM Cluster with new version. \n[Command Reference](patchOracleDbAzureConnector)""")
|
|
387
|
+
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector resource.""")
|
|
369
388
|
@cli_util.option('--new-version', help=u"""The new version of Azure Agent to be used for patching.""")
|
|
370
389
|
@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].
|
|
371
390
|
|
|
@@ -445,18 +464,73 @@ def patch_oracle_db_azure_connector(ctx, from_json, wait_for_state, max_wait_sec
|
|
|
445
464
|
cli_util.render_response(result, ctx)
|
|
446
465
|
|
|
447
466
|
|
|
448
|
-
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.
|
|
449
|
-
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The
|
|
450
|
-
@cli_util.option('--
|
|
451
|
-
@cli_util.option('--
|
|
452
|
-
@cli_util.option('--
|
|
453
|
-
@cli_util.option('--
|
|
467
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.refresh_oracle_db_azure_connector.command_name', 'refresh'), help=u"""Refreshes the Oracle DB Azure Connector resource. \n[Command Reference](refreshOracleDbAzureConnector)""")
|
|
468
|
+
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector resource.""")
|
|
469
|
+
@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.""")
|
|
470
|
+
@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.""")
|
|
471
|
+
@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.""")
|
|
472
|
+
@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.""")
|
|
473
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
474
|
+
@cli_util.help_option
|
|
475
|
+
@click.pass_context
|
|
476
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
477
|
+
@cli_util.wrap_exceptions
|
|
478
|
+
def refresh_oracle_db_azure_connector(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, oracle_db_azure_connector_id, if_match):
|
|
479
|
+
|
|
480
|
+
if isinstance(oracle_db_azure_connector_id, six.string_types) and len(oracle_db_azure_connector_id.strip()) == 0:
|
|
481
|
+
raise click.UsageError('Parameter --oracle-db-azure-connector-id cannot be whitespace or empty string')
|
|
482
|
+
|
|
483
|
+
kwargs = {}
|
|
484
|
+
if if_match is not None:
|
|
485
|
+
kwargs['if_match'] = if_match
|
|
486
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
487
|
+
client = cli_util.build_client('dbmulticloud', 'oracle_db_azure_connector', ctx)
|
|
488
|
+
result = client.refresh_oracle_db_azure_connector(
|
|
489
|
+
oracle_db_azure_connector_id=oracle_db_azure_connector_id,
|
|
490
|
+
**kwargs
|
|
491
|
+
)
|
|
492
|
+
if wait_for_state:
|
|
493
|
+
|
|
494
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
495
|
+
try:
|
|
496
|
+
wait_period_kwargs = {}
|
|
497
|
+
if max_wait_seconds is not None:
|
|
498
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
499
|
+
if wait_interval_seconds is not None:
|
|
500
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
501
|
+
if 'opc-work-request-id' not in result.headers:
|
|
502
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
503
|
+
cli_util.render_response(result, ctx)
|
|
504
|
+
return
|
|
505
|
+
|
|
506
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
507
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
508
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
509
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
510
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
511
|
+
cli_util.render_response(result, ctx)
|
|
512
|
+
sys.exit(2)
|
|
513
|
+
except Exception:
|
|
514
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
515
|
+
cli_util.render_response(result, ctx)
|
|
516
|
+
raise
|
|
517
|
+
else:
|
|
518
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
519
|
+
cli_util.render_response(result, ctx)
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
@oracle_db_azure_connector_group.command(name=cli_util.override('oracle_db_azure_connector.update_oracle_db_azure_connector.command_name', 'update'), help=u"""Modifies the existing Oracle DB Azure Connector resource for a given [OCID]. \n[Command Reference](updateOracleDbAzureConnector)""")
|
|
523
|
+
@cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Connector resource.""")
|
|
524
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment that contains Oracle DB Azure Connector resource.""")
|
|
525
|
+
@cli_util.option('--display-name', help=u"""Oracle DB Azure Connector resource name.""")
|
|
526
|
+
@cli_util.option('--db-cluster-resource-id', help=u"""The [OCID] of the Oracle DB Cloud VM Cluster resource where this Azure Arc Agent Identity to configure.""")
|
|
527
|
+
@cli_util.option('--azure-identity-mechanism', help=u"""Azure Identity mechanism.""")
|
|
454
528
|
@cli_util.option('--azure-tenant-id', help=u"""Azure Tenant ID.""")
|
|
455
529
|
@cli_util.option('--azure-subscription-id', help=u"""Azure Subscription ID.""")
|
|
456
|
-
@cli_util.option('--azure-resource-group', help=u"""Azure Resource
|
|
457
|
-
@cli_util.option('--access-token', help=u"""Azure bearer access token.
|
|
530
|
+
@cli_util.option('--azure-resource-group', help=u"""Azure Resource group name.""")
|
|
531
|
+
@cli_util.option('--access-token', help=u"""Azure bearer access token.""")
|
|
458
532
|
@cli_util.option('--private-endpoint-ip-address', help=u"""Private endpoint IP.""")
|
|
459
|
-
@cli_util.option('--private-endpoint-dns-alias', help=u"""Private endpoint DNS
|
|
533
|
+
@cli_util.option('--private-endpoint-dns-alias', help=u"""Private endpoint's DNS alias.""")
|
|
460
534
|
@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].
|
|
461
535
|
|
|
462
536
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -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_key.oracle_db_azure_key_root_group.command_name', 'oracle-db-azure-key'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_key.oracle_db_azure_key_root_group.help', """
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
@click.command(cli_util.override('oracle_db_azure_key.oracle_db_azure_key_root_group.command_name', 'oracle-db-azure-key'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_key.oracle_db_azure_key_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_key.oracle_db_azure_key_root_group.short_help', """Oracle Database MultiCloud Data Plane Integration"""))
|
|
29
48
|
@cli_util.help_option_group
|
|
30
49
|
def oracle_db_azure_key_root_group():
|
|
31
50
|
pass
|
|
32
51
|
|
|
33
52
|
|
|
34
|
-
@click.command(cli_util.override('oracle_db_azure_key.oracle_db_azure_key_group.command_name', 'oracle-db-azure-key'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Key
|
|
53
|
+
@click.command(cli_util.override('oracle_db_azure_key.oracle_db_azure_key_group.command_name', 'oracle-db-azure-key'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Key resource object.""")
|
|
35
54
|
@cli_util.help_option_group
|
|
36
55
|
def oracle_db_azure_key_group():
|
|
37
56
|
pass
|
|
@@ -41,8 +60,8 @@ dbmulticloud_service_cli.dbmulticloud_service_group.add_command(oracle_db_azure_
|
|
|
41
60
|
oracle_db_azure_key_root_group.add_command(oracle_db_azure_key_group)
|
|
42
61
|
|
|
43
62
|
|
|
44
|
-
@oracle_db_azure_key_group.command(name=cli_util.override('oracle_db_azure_key.get_oracle_db_azure_key.command_name', 'get'), help=u"""
|
|
45
|
-
@cli_util.option('--oracle-db-azure-key-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Key
|
|
63
|
+
@oracle_db_azure_key_group.command(name=cli_util.override('oracle_db_azure_key.get_oracle_db_azure_key.command_name', 'get'), help=u"""Retrieves detailed information about a Oracle DB Azure Key resource by specifying its unique resource [OCID]. \n[Command Reference](getOracleDbAzureKey)""")
|
|
64
|
+
@cli_util.option('--oracle-db-azure-key-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Key resource.""")
|
|
46
65
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
47
66
|
@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.""")
|
|
48
67
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'asc' or 'desc'.""")
|
|
@@ -72,11 +91,11 @@ def get_oracle_db_azure_key(ctx, from_json, oracle_db_azure_key_id, limit, page,
|
|
|
72
91
|
cli_util.render_response(result, ctx)
|
|
73
92
|
|
|
74
93
|
|
|
75
|
-
@oracle_db_azure_key_group.command(name=cli_util.override('oracle_db_azure_key.list_oracle_db_azure_keys.command_name', 'list'), help=u"""Lists
|
|
94
|
+
@oracle_db_azure_key_group.command(name=cli_util.override('oracle_db_azure_key.list_oracle_db_azure_keys.command_name', 'list'), help=u"""Lists all Oracle DB Azure Keys based on the specified filters. \n[Command Reference](listOracleDbAzureKeys)""")
|
|
76
95
|
@cli_util.option('--compartment-id', required=True, help=u"""The [ID] of the compartment.""")
|
|
77
|
-
@cli_util.option('--display-name', help=u"""A filter to return Azure Vault Keys.""")
|
|
78
|
-
@cli_util.option('--oracle-db-azure-vault-id', help=u"""A filter to return Oracle DB Azure Vault
|
|
79
|
-
@cli_util.option('--oracle-db-azure-key-id', help=u"""A filter to return Oracle DB Azure Vault Key
|
|
96
|
+
@cli_util.option('--display-name', help=u"""A filter to return Oracle DB Azure Vault Keys resources that match the specified display name.""")
|
|
97
|
+
@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.""")
|
|
98
|
+
@cli_util.option('--oracle-db-azure-key-id', help=u"""A filter to return Oracle DB Azure Vault Keys resource that match the specified Oracle DB Azure Key [OCID].""")
|
|
80
99
|
@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.""")
|
|
81
100
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
82
101
|
@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.""")
|
|
@@ -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.oracle_db_azure_vault_root_group.command_name', 'oracle-db-azure-vault'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_vault.oracle_db_azure_vault_root_group.help', """
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
@click.command(cli_util.override('oracle_db_azure_vault.oracle_db_azure_vault_root_group.command_name', 'oracle-db-azure-vault'), cls=CommandGroupWithAlias, help=cli_util.override('oracle_db_azure_vault.oracle_db_azure_vault_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.oracle_db_azure_vault_root_group.short_help', """Oracle Database MultiCloud Data Plane Integration"""))
|
|
29
48
|
@cli_util.help_option_group
|
|
30
49
|
def oracle_db_azure_vault_root_group():
|
|
31
50
|
pass
|
|
32
51
|
|
|
33
52
|
|
|
34
|
-
@click.command(cli_util.override('oracle_db_azure_vault.oracle_db_azure_vault_group.command_name', 'oracle-db-azure-vault'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Vault
|
|
53
|
+
@click.command(cli_util.override('oracle_db_azure_vault.oracle_db_azure_vault_group.command_name', 'oracle-db-azure-vault'), cls=CommandGroupWithAlias, help="""Oracle DB Azure Vault resource object.""")
|
|
35
54
|
@cli_util.help_option_group
|
|
36
55
|
def oracle_db_azure_vault_group():
|
|
37
56
|
pass
|
|
@@ -42,8 +61,8 @@ oracle_db_azure_vault_root_group.add_command(oracle_db_azure_vault_group)
|
|
|
42
61
|
|
|
43
62
|
|
|
44
63
|
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.change_oracle_db_azure_vault_compartment.command_name', 'change-compartment'), help=u"""Moves the DB Azure Vault resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. \n[Command Reference](changeOracleDbAzureVaultCompartment)""")
|
|
45
|
-
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The
|
|
46
|
-
@cli_util.option('--compartment-id', help=u"""The [OCID] of the new compartment to contain the
|
|
64
|
+
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault resource.""")
|
|
65
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the new compartment to contain the Oracle DB Azure Vault resource.""")
|
|
47
66
|
@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].
|
|
48
67
|
|
|
49
68
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -122,15 +141,15 @@ def change_oracle_db_azure_vault_compartment(ctx, from_json, wait_for_state, max
|
|
|
122
141
|
cli_util.render_response(result, ctx)
|
|
123
142
|
|
|
124
143
|
|
|
125
|
-
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.create_oracle_db_azure_vault.command_name', 'create'), help=u"""
|
|
126
|
-
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment that contains DB Azure Vault
|
|
127
|
-
@cli_util.option('--oracle-db-connector-id', required=True, help=u"""The [OCID] of the DB Connector
|
|
128
|
-
@cli_util.option('--display-name', required=True, help=u"""
|
|
129
|
-
@cli_util.option('--oracle-db-azure-resource-group', help=u"""
|
|
130
|
-
@cli_util.option('--azure-vault-id', help=u"""Azure Vault
|
|
131
|
-
@cli_util.option('--type', help=u"""Vault
|
|
132
|
-
@cli_util.option('--location', help=u"""Vault
|
|
133
|
-
@cli_util.option('--properties', type=custom_types.CLI_COMPLEX_TYPE, help=u"""
|
|
144
|
+
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.create_oracle_db_azure_vault.command_name', 'create'), help=u"""Creates DB Azure Vault resource. \n[Command Reference](createOracleDbAzureVault)""")
|
|
145
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment that contains DB Azure Vault resource.""")
|
|
146
|
+
@cli_util.option('--oracle-db-connector-id', required=True, help=u"""The [OCID] of the Oracle DB Connector resource that contains Oracle DB Azure Vault resource.""")
|
|
147
|
+
@cli_util.option('--display-name', required=True, help=u"""Oracle DB Azure Vault resource name.""")
|
|
148
|
+
@cli_util.option('--oracle-db-azure-resource-group', help=u"""Oracle DB Azure resource group name.""")
|
|
149
|
+
@cli_util.option('--azure-vault-id', help=u"""Azure Vault ID.""")
|
|
150
|
+
@cli_util.option('--type', help=u"""Oracle DB Azure Vault resource type.""")
|
|
151
|
+
@cli_util.option('--location', help=u"""Oracle DB Azure Vault resource location.""")
|
|
152
|
+
@cli_util.option('--properties', type=custom_types.CLI_COMPLEX_TYPE, help=u"""resource's properties.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
134
153
|
@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].
|
|
135
154
|
|
|
136
155
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -214,8 +233,8 @@ def create_oracle_db_azure_vault(ctx, from_json, wait_for_state, max_wait_second
|
|
|
214
233
|
cli_util.render_response(result, ctx)
|
|
215
234
|
|
|
216
235
|
|
|
217
|
-
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.delete_oracle_db_azure_vault.command_name', 'delete'), help=u"""
|
|
218
|
-
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The
|
|
236
|
+
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.delete_oracle_db_azure_vault.command_name', 'delete'), help=u"""Deletes the DB Azure Vault resource. \n[Command Reference](deleteOracleDbAzureVault)""")
|
|
237
|
+
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault resource.""")
|
|
219
238
|
@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.""")
|
|
220
239
|
@cli_util.confirm_delete_option
|
|
221
240
|
@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.""")
|
|
@@ -270,8 +289,8 @@ def delete_oracle_db_azure_vault(ctx, from_json, wait_for_state, max_wait_second
|
|
|
270
289
|
cli_util.render_response(result, ctx)
|
|
271
290
|
|
|
272
291
|
|
|
273
|
-
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.get_oracle_db_azure_vault.command_name', 'get'), help=u"""
|
|
274
|
-
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The
|
|
292
|
+
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.get_oracle_db_azure_vault.command_name', 'get'), help=u"""Retrieves detailed information about an Oracle Database Azure Vault resource using its unique resource [OCID]. This operation returns metadata and configuration details associated with the specified vault resource. \n[Command Reference](getOracleDbAzureVault)""")
|
|
293
|
+
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault resource.""")
|
|
275
294
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
276
295
|
@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.""")
|
|
277
296
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'asc' or 'desc'.""")
|
|
@@ -301,13 +320,13 @@ def get_oracle_db_azure_vault(ctx, from_json, oracle_db_azure_vault_id, limit, p
|
|
|
301
320
|
cli_util.render_response(result, ctx)
|
|
302
321
|
|
|
303
322
|
|
|
304
|
-
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.list_oracle_db_azure_vaults.command_name', 'list'), help=u"""Lists
|
|
323
|
+
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.list_oracle_db_azure_vaults.command_name', 'list'), help=u"""Lists all DB Azure Vault resources based on the specified filters. \n[Command Reference](listOracleDbAzureVaults)""")
|
|
305
324
|
@cli_util.option('--compartment-id', required=True, help=u"""The [ID] of the compartment.""")
|
|
306
|
-
@cli_util.option('--display-name', help=u"""A filter to return Azure
|
|
307
|
-
@cli_util.option('--oracle-db-azure-vault-id', help=u"""A filter to return Oracle DB Azure Vault
|
|
325
|
+
@cli_util.option('--display-name', help=u"""A filter to return Oracle DB Azure Vault resources that match the specified display name.""")
|
|
326
|
+
@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.""")
|
|
308
327
|
@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.""")
|
|
309
|
-
@cli_util.option('--oracle-db-azure-resource-group', help=u"""A filter to return Azure
|
|
310
|
-
@cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure
|
|
328
|
+
@cli_util.option('--oracle-db-azure-resource-group', help=u"""A filter to return Oracle DB Azure Vault resources that match the specified Oracle DB Azure resource group name.""")
|
|
329
|
+
@cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure Azure Identity Connector resources.""")
|
|
311
330
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
312
331
|
@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.""")
|
|
313
332
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'asc' or 'desc'.""")
|
|
@@ -370,8 +389,9 @@ def list_oracle_db_azure_vaults(ctx, from_json, all_pages, page_size, compartmen
|
|
|
370
389
|
cli_util.render_response(result, ctx)
|
|
371
390
|
|
|
372
391
|
|
|
373
|
-
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.refresh_oracle_db_azure_vault.command_name', 'refresh'), help=u"""
|
|
374
|
-
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The
|
|
392
|
+
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.refresh_oracle_db_azure_vault.command_name', 'refresh'), help=u"""Refreshes the Oracle DB Azure Vault resource. \n[Command Reference](refreshOracleDbAzureVault)""")
|
|
393
|
+
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault resource.""")
|
|
394
|
+
@cli_util.option('--oracle-db-azure-connector-id', help=u"""The [OCID] of the Oracle DB Azure Vault resource.""")
|
|
375
395
|
@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.""")
|
|
376
396
|
@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.""")
|
|
377
397
|
@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.""")
|
|
@@ -381,7 +401,7 @@ def list_oracle_db_azure_vaults(ctx, from_json, all_pages, page_size, compartmen
|
|
|
381
401
|
@click.pass_context
|
|
382
402
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
383
403
|
@cli_util.wrap_exceptions
|
|
384
|
-
def refresh_oracle_db_azure_vault(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, oracle_db_azure_vault_id, if_match):
|
|
404
|
+
def refresh_oracle_db_azure_vault(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, oracle_db_azure_vault_id, oracle_db_azure_connector_id, if_match):
|
|
385
405
|
|
|
386
406
|
if isinstance(oracle_db_azure_vault_id, six.string_types) and len(oracle_db_azure_vault_id.strip()) == 0:
|
|
387
407
|
raise click.UsageError('Parameter --oracle-db-azure-vault-id cannot be whitespace or empty string')
|
|
@@ -390,9 +410,16 @@ def refresh_oracle_db_azure_vault(ctx, from_json, wait_for_state, max_wait_secon
|
|
|
390
410
|
if if_match is not None:
|
|
391
411
|
kwargs['if_match'] = if_match
|
|
392
412
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
413
|
+
|
|
414
|
+
_details = {}
|
|
415
|
+
|
|
416
|
+
if oracle_db_azure_connector_id is not None:
|
|
417
|
+
_details['oracleDbAzureConnectorId'] = oracle_db_azure_connector_id
|
|
418
|
+
|
|
393
419
|
client = cli_util.build_client('dbmulticloud', 'oracle_db_azure_vault', ctx)
|
|
394
420
|
result = client.refresh_oracle_db_azure_vault(
|
|
395
421
|
oracle_db_azure_vault_id=oracle_db_azure_vault_id,
|
|
422
|
+
refresh_oracle_db_azure_vault_details=_details,
|
|
396
423
|
**kwargs
|
|
397
424
|
)
|
|
398
425
|
if wait_for_state:
|
|
@@ -425,16 +452,16 @@ def refresh_oracle_db_azure_vault(ctx, from_json, wait_for_state, max_wait_secon
|
|
|
425
452
|
cli_util.render_response(result, ctx)
|
|
426
453
|
|
|
427
454
|
|
|
428
|
-
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.update_oracle_db_azure_vault.command_name', 'update'), help=u"""Modifies the existing Oracle
|
|
429
|
-
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The
|
|
430
|
-
@cli_util.option('--compartment-id', help=u"""The
|
|
431
|
-
@cli_util.option('--oracle-db-connector-id', help=u"""The [OCID] of the DB Connector
|
|
432
|
-
@cli_util.option('--display-name', help=u"""
|
|
433
|
-
@cli_util.option('--oracle-db-azure-resource-group', help=u"""
|
|
434
|
-
@cli_util.option('--azure-vault-id', help=u"""Azure Vault
|
|
435
|
-
@cli_util.option('--type', help=u"""Vault
|
|
436
|
-
@cli_util.option('--location', help=u"""Vault
|
|
437
|
-
@cli_util.option('--properties', type=custom_types.CLI_COMPLEX_TYPE, help=u"""
|
|
455
|
+
@oracle_db_azure_vault_group.command(name=cli_util.override('oracle_db_azure_vault.update_oracle_db_azure_vault.command_name', 'update'), help=u"""Modifies the configuration details of an existing Oracle Database Azure Vault resource identified by its unique [OCID]. This operation updates only the specified fields in the request body. \n[Command Reference](updateOracleDbAzureVault)""")
|
|
456
|
+
@cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault resource.""")
|
|
457
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment that contains this Oracle DB Azure Vault resource.""")
|
|
458
|
+
@cli_util.option('--oracle-db-connector-id', help=u"""The [OCID] of the Oracle DB Connector resource that contains Oracle DB Azure Vault resource.""")
|
|
459
|
+
@cli_util.option('--display-name', help=u"""Oracle DB Azure Vault resource name.""")
|
|
460
|
+
@cli_util.option('--oracle-db-azure-resource-group', help=u"""Oracle DB Azure resource group name.""")
|
|
461
|
+
@cli_util.option('--azure-vault-id', help=u"""Azure Vault ID.""")
|
|
462
|
+
@cli_util.option('--type', help=u"""Oracle DB Azure Vault resource type.""")
|
|
463
|
+
@cli_util.option('--location', help=u"""Oracle DB Azure Vault resource location.""")
|
|
464
|
+
@cli_util.option('--properties', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Oracle DB Azure Vault resource's properties.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
438
465
|
@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].
|
|
439
466
|
|
|
440
467
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|