oci-cli 3.65.0__py3-none-any.whl → 3.66.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. oci_cli/bin/dbmulticloud.psm1 +39 -4
  2. oci_cli/bin/email.psm1 +23 -11
  3. oci_cli/bin/mysql.psm1 +4 -2
  4. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/condition-metadata-type/get.txt +1 -1
  5. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/detector-recipe/create.txt +1 -1
  6. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/create.txt +5 -1
  7. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/list.txt +1 -1
  8. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/update.txt +4 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem/list.txt +1 -1
  10. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem-aggregation/request-summarized-problems.txt +1 -1
  11. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource/list.txt +1 -1
  12. oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource-type-summary/list-resource-types.txt +1 -1
  13. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/delete.txt +5 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup/list.txt +18 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/register-cloud-vm-cluster-pkcs.txt +1 -1
  16. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/unregister-cloud-vm-cluster-pkcs.txt +1 -1
  17. 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
  18. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association.txt +3 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/db/database/change-encryption-key-location-google-cloud-provider-encryption-key-details.txt +136 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-create-stand-by-database-details.txt +6 -0
  21. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-from-backup.txt +6 -0
  22. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +6 -0
  23. oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +3 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +10 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/update.txt +10 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +3 -3
  27. oci_cli/help_text_producer/data_files/text/cmdref/db.txt +6 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/change-compartment.txt +6 -6
  29. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/create.txt +24 -4
  30. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/delete.txt +3 -2
  31. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/get.txt +3 -3
  32. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/list.txt +14 -7
  33. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/update.txt +7 -6
  34. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery.txt +57 -12
  35. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/change-compartment.txt +3 -3
  36. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/create.txt +6 -8
  37. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/delete.txt +2 -2
  38. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/get.txt +3 -3
  39. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/list.txt +9 -5
  40. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/update.txt +8 -8
  41. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container.txt +57 -12
  42. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/change-compartment.txt +2 -2
  43. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/create.txt +8 -8
  44. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/delete.txt +4 -3
  45. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/get.txt +3 -3
  46. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/list.txt +7 -5
  47. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/update.txt +8 -6
  48. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount.txt +57 -12
  49. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/change-compartment.txt +4 -4
  50. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/create.txt +11 -12
  51. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/delete.txt +2 -3
  52. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/get.txt +3 -2
  53. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/list.txt +6 -5
  54. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/patch.txt +2 -2
  55. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/update.txt +12 -13
  56. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector.txt +61 -16
  57. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/get.txt +3 -3
  58. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/list.txt +7 -4
  59. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key.txt +57 -12
  60. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/change-compartment.txt +3 -3
  61. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/create.txt +10 -10
  62. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/delete.txt +2 -2
  63. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/get.txt +5 -3
  64. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/list.txt +8 -5
  65. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/refresh.txt +6 -2
  66. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/update.txt +17 -12
  67. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/cascading-delete.txt +2 -2
  68. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/change-compartment.txt +2 -2
  69. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/create.txt +7 -6
  70. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/delete.txt +2 -2
  71. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/get.txt +3 -3
  72. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/list.txt +9 -5
  73. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/update.txt +9 -7
  74. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association.txt +61 -16
  75. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault.txt +61 -16
  76. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/change-compartment.txt +132 -0
  77. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/create.txt +195 -0
  78. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/delete.txt +130 -0
  79. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/get.txt +92 -0
  80. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/list.txt +148 -0
  81. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/refresh.txt +125 -0
  82. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/update.txt +199 -0
  83. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector.txt +29 -0
  84. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key/get.txt +92 -0
  85. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key/list.txt +150 -0
  86. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/change-compartment.txt +135 -0
  87. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/create.txt +199 -0
  88. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/delete.txt +133 -0
  89. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/get.txt +113 -0
  90. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/list.txt +151 -0
  91. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/refresh.txt +133 -0
  92. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring/update.txt +174 -0
  93. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key-ring.txt +26 -0
  94. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-key.txt +16 -0
  95. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/work-request.txt +61 -16
  96. oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud.txt +95 -12
  97. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-logs.txt → work-request-log/list.txt} +5 -5
  98. oci_cli/help_text_producer/data_files/text/cmdref/{organizations/work-request-log-entry.txt → delegate-access-control/work-request/work-request-log.txt} +2 -2
  99. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  100. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  101. oci_cli/help_text_producer/data_files/text/cmdref/email/domain/add.txt +148 -0
  102. oci_cli/help_text_producer/data_files/text/cmdref/email/domain/change-compartment.txt +4 -0
  103. oci_cli/help_text_producer/data_files/text/cmdref/email/domain/delete.txt +4 -0
  104. oci_cli/help_text_producer/data_files/text/cmdref/email/domain/remove.txt +138 -0
  105. oci_cli/help_text_producer/data_files/text/cmdref/email/domain/update.txt +4 -0
  106. oci_cli/help_text_producer/data_files/text/cmdref/email/domain.txt +4 -0
  107. oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/add.txt +150 -0
  108. oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/delete.txt +4 -0
  109. oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/remove.txt +140 -0
  110. oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path/update.txt +4 -0
  111. oci_cli/help_text_producer/data_files/text/cmdref/email/email-return-path.txt +4 -0
  112. oci_cli/help_text_producer/data_files/text/cmdref/email/sender/add.txt +151 -0
  113. oci_cli/help_text_producer/data_files/text/cmdref/email/sender/change-compartment.txt +4 -0
  114. oci_cli/help_text_producer/data_files/text/cmdref/email/sender/delete.txt +4 -0
  115. oci_cli/help_text_producer/data_files/text/cmdref/email/sender/remove.txt +141 -0
  116. oci_cli/help_text_producer/data_files/text/cmdref/email/sender/update.txt +4 -0
  117. oci_cli/help_text_producer/data_files/text/cmdref/email/sender.txt +4 -0
  118. oci_cli/help_text_producer/data_files/text/cmdref/email.txt +12 -0
  119. oci_cli/help_text_producer/data_files/text/cmdref/fs/mount-target/create.txt +12 -5
  120. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +2 -1
  121. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint-collection/list-endpoints.txt +4 -0
  122. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +11 -0
  123. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/list.txt +16 -0
  124. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/validate.txt +141 -0
  125. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
  126. oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +2 -0
  127. oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log-entry → work-request-log}/list.txt +19 -1
  128. oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control/work-request/work-request-log-entry.txt → organizations/work-request-log.txt} +3 -3
  129. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  130. oci_cli/help_text_producer/data_files/text/index.txt +1 -1
  131. oci_cli/service_mapping.py +1 -1
  132. oci_cli/version.py +1 -1
  133. {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/METADATA +2 -2
  134. {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/RECORD +161 -128
  135. services/cloud_guard/src/oci_cli_cloud_guard/generated/cloudguard_cli.py +18 -10
  136. services/database/src/oci_cli_database/database_cli_extended.py +11 -2
  137. services/database/src/oci_cli_database/generated/database_cli.py +223 -12
  138. services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/__init__.py +4 -0
  139. services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/dbmulticloudgcpprovider_cli_extended.py +18 -0
  140. services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/__init__.py +4 -0
  141. services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/client_mappings.py +14 -0
  142. services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/dbmulticloudgcpprovider_cli.py +1057 -0
  143. services/dbmulticloud/src/oci_cli_dbmulticloud/generated/dbmulticloud_service_cli.py +27 -8
  144. services/dbmulticloud/src/oci_cli_multi_cloud_resource_discovery/generated/multicloudresourcediscovery_cli.py +63 -37
  145. services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_container/generated/oracledbazureblobcontainer_cli.py +52 -33
  146. services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_mount/generated/oracledbazureblobmount_cli.py +49 -30
  147. services/dbmulticloud/src/oci_cli_oracle_db_azure_connector/generated/oracledbazureconnector_cli.py +113 -39
  148. services/dbmulticloud/src/oci_cli_oracle_db_azure_key/generated/oracledbazurekey_cli.py +34 -15
  149. services/dbmulticloud/src/oci_cli_oracle_db_azure_vault/generated/oracledbazurevault_cli.py +69 -42
  150. services/dbmulticloud/src/oci_cli_oracle_db_azure_vault_association/generated/oracledbazurevaultassociation_cli.py +52 -33
  151. services/dbmulticloud/src/oci_cli_work_request/generated/workrequest_cli.py +27 -8
  152. services/email/src/oci_cli_email/generated/email_cli.py +422 -8
  153. services/file_storage/src/oci_cli_file_storage/generated/filestorage_cli.py +5 -1
  154. services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +5 -2
  155. services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +7 -3
  156. services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -1
  157. {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/LICENSE.txt +0 -0
  158. {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  159. {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/WHEEL +0 -0
  160. {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.dist-info}/entry_points.txt +0 -0
  161. {oci_cli-3.65.0.dist-info → oci_cli-3.66.0.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_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', """1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster.
20
- There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster.
21
- a. Using Bearer Access Token or
22
- b. By providing Authentication token
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>:&nbsp;&nbsp;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
- 2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details
25
- and same will be used in multiple ExaCS VMCluster to mount the Azure Container.
26
+ <b>Oracle Azure Blob Container Resource:</b>&nbsp;&nbsp;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
- 3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster
28
- using Oracle Azure Connector and Oracle Azure Blob Container Resource."""), short_help=cli_util.override('oracle_db_azure_connector.oracle_db_azure_connector_root_group.short_help', """Oracle Database MultiCloud Data plane Integration"""))
29
+ <b>Oracle Azure Blob Mount Resource:</b>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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 Details, this resource is for to create Azure Identity on Database Resource.""")
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 Resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. \n[Command Reference](changeOracleDbAzureConnectorCompartment)""")
45
- @cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The ID of the Oracle DB Azure Connector Resource.""")
46
- @cli_util.option('--compartment-id', help=u"""The ID of the new compartment to contain the Oracle DB Azure Connector Resource.""")
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 Resource and configured Azure Identity in OCI Database Resource. \n[Command Reference](createOracleDbAzureConnector)""")
126
- @cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment that contains Oracle DB Azure Connector Resource.""")
127
- @cli_util.option('--display-name', required=True, help=u"""Oracle DB Azure Connector Resource name.""")
128
- @cli_util.option('--db-cluster-resource-id', required=True, help=u"""The ID of the DB Cluster Resource where this Azure Arc Agent Identity to configure.""")
129
- @cli_util.option('--azure-identity-mechanism', required=True, help=u"""Azure Identity Mechanism.""")
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 Group Name.""")
133
- @cli_util.option('--access-token', help=u"""Azure bearer access token. If bearer access token is provided then Service Principal details are not requires.""")
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 Alias.""")
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"""Delete Oracle DB Azure Connector Resource and delete Azure Arc Identity too from Database Resource. \n[Command Reference](deleteOracleDbAzureConnector)""")
215
- @cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The ID of the Oracle DB Azure Connector Resource.""")
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"""Get Oracle DB Azure Connector Resource form a particular Resource ID. \n[Command Reference](getOracleDbAzureConnector)""")
271
- @cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The ID of the Oracle DB Azure Connector Resource.""")
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 the all Oracle DB Azure Connector Resource based on filters. \n[Command Reference](listOracleDbAzureConnectors)""")
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 Resource that match the given display name.""")
304
- @cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure Blob Mount Resources.""")
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 Resource.""")
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 ID of the Oracle DB Azure Connector Resource.""")
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.update_oracle_db_azure_connector.command_name', 'update'), help=u"""Modifies the existing Oracle DB Azure Connector Resource for a given ID. \n[Command Reference](updateOracleDbAzureConnector)""")
449
- @cli_util.option('--oracle-db-azure-connector-id', required=True, help=u"""The ID of the Oracle DB Azure Connector Resource.""")
450
- @cli_util.option('--compartment-id', help=u"""The ID of the compartment that contains Oracle DB Azure Connector Resource.""")
451
- @cli_util.option('--display-name', help=u"""Oracle DB Azure Connector Resource name.""")
452
- @cli_util.option('--db-cluster-resource-id', help=u"""The ID of the Oracle DB Cluster Resource where this Azure Arc Agent Identity to configure.""")
453
- @cli_util.option('--azure-identity-mechanism', help=u"""Azure Identity Mechanism.""")
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 Group Name.""")
457
- @cli_util.option('--access-token', help=u"""Azure bearer access token. If bearer access token is provided then Service Principal detail is not required.""")
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 Alias.""")
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', """1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster.
20
- There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster.
21
- a. Using Bearer Access Token or
22
- b. By providing Authentication token
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>:&nbsp;&nbsp;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
- 2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details
25
- and same will be used in multiple ExaCS VMCluster to mount the Azure Container.
26
+ <b>Oracle Azure Blob Container Resource:</b>&nbsp;&nbsp;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
- 3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster
28
- using Oracle Azure Connector and Oracle Azure Blob Container Resource."""), short_help=cli_util.override('oracle_db_azure_key.oracle_db_azure_key_root_group.short_help', """Oracle Database MultiCloud Data plane Integration"""))
29
+ <b>Oracle Azure Blob Mount Resource:</b>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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 Resource Object.""")
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"""Get Oracle DB Azure Key Details form a particular Container Resource ID. \n[Command Reference](getOracleDbAzureKey)""")
45
- @cli_util.option('--oracle-db-azure-key-id', required=True, help=u"""The [OCID] of the Oracle DB Azure Vault Key Resource.""")
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 the all Oracle DB Azure Keys based on filters. \n[Command Reference](listOracleDbAzureKeys)""")
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 Resources.""")
79
- @cli_util.option('--oracle-db-azure-key-id', help=u"""A filter to return Oracle DB Azure Vault Key Resources.""")
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', """1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster.
20
- There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster.
21
- a. Using Bearer Access Token or
22
- b. By providing Authentication token
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>:&nbsp;&nbsp;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
- 2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details
25
- and same will be used in multiple ExaCS VMCluster to mount the Azure Container.
26
+ <b>Oracle Azure Blob Container Resource:</b>&nbsp;&nbsp;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
- 3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster
28
- using Oracle Azure Connector and Oracle Azure Blob Container Resource."""), short_help=cli_util.override('oracle_db_azure_vault.oracle_db_azure_vault_root_group.short_help', """Oracle Database MultiCloud Data plane Integration"""))
29
+ <b>Oracle Azure Blob Mount Resource:</b>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;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 Resource Object.""")
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 ID of the Oracle DB Azure Vault Resource.""")
46
- @cli_util.option('--compartment-id', help=u"""The [OCID] of the new compartment to contain the DB Azure Vault Resource.""")
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"""Create DB Azure Vaults based on the provided information, this will fetch Keys related to Azure Vaults. \n[Command Reference](createOracleDbAzureVault)""")
126
- @cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment that contains DB Azure Vault Resource.""")
127
- @cli_util.option('--oracle-db-connector-id', required=True, help=u"""The [OCID] of the DB Connector Resource.""")
128
- @cli_util.option('--display-name', required=True, help=u"""Display name of DB Azure Vault.""")
129
- @cli_util.option('--oracle-db-azure-resource-group', help=u"""Display name of Azure Resource Group.""")
130
- @cli_util.option('--azure-vault-id', help=u"""Azure Vault Id.""")
131
- @cli_util.option('--type', help=u"""Vault Resource Type.""")
132
- @cli_util.option('--location', help=u"""Vault Resource Location.""")
133
- @cli_util.option('--properties', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Resource's properties.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
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"""Delete DB Azure Vault details. \n[Command Reference](deleteOracleDbAzureVault)""")
218
- @cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The ID of the Oracle DB Azure Vault Resource.""")
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"""Get Oracle DB Azure Vault Details form a particular Container Resource ID. \n[Command Reference](getOracleDbAzureVault)""")
274
- @cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The ID of the Oracle DB Azure Vault Resource.""")
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 the all DB Azure Vaults based on filters. \n[Command Reference](listOracleDbAzureVaults)""")
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 Vaults.""")
307
- @cli_util.option('--oracle-db-azure-vault-id', help=u"""A filter to return Oracle DB Azure Vault Resources.""")
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 Vaults.""")
310
- @cli_util.option('--oracle-db-azure-connector-id', help=u"""A filter to return Oracle DB Azure Blob Mount Resources.""")
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"""Refresh Oracle DB Azure Vault details from backend. \n[Command Reference](refreshOracleDbAzureVault)""")
374
- @cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The ID of the Oracle DB Azure Vault Resource.""")
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 DB Azure Vault Details for a given ID. \n[Command Reference](updateOracleDbAzureVault)""")
429
- @cli_util.option('--oracle-db-azure-vault-id', required=True, help=u"""The ID of the Oracle DB Azure Vault Resource.""")
430
- @cli_util.option('--compartment-id', help=u"""The compartment [OCID] that contains DB Azure Vault Resource.""")
431
- @cli_util.option('--oracle-db-connector-id', help=u"""The [OCID] of the DB Connector Resource.""")
432
- @cli_util.option('--display-name', help=u"""Display name of DB Azure Vault.""")
433
- @cli_util.option('--oracle-db-azure-resource-group', help=u"""Display name of Azure Resource Group.""")
434
- @cli_util.option('--azure-vault-id', help=u"""Azure Vault Id.""")
435
- @cli_util.option('--type', help=u"""Vault Resource Type.""")
436
- @cli_util.option('--location', help=u"""Vault Resource Location.""")
437
- @cli_util.option('--properties', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Resource's properties.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
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)