oci-cli 3.67.0__py3-none-any.whl → 3.68.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. common_util/ignored_commands.py +1 -0
  2. oci_cli/bin/integration.psm1 +2 -2
  3. oci_cli/bin/iot.psm1 +121 -0
  4. oci_cli/bin/mysql.psm1 +4 -4
  5. oci_cli/bin/opensearch.psm1 +5 -5
  6. oci_cli/bin/redis.psm1 +2 -2
  7. oci_cli/help_text_producer/data_files/text/cmdref/ce/addon-option/list.txt +4 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/create.txt +8 -7
  9. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/delete.txt +2 -1
  10. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get-virtual-node.txt +2 -1
  11. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get.txt +2 -1
  12. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/list-virtual-nodes.txt +2 -1
  13. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/update.txt +2 -1
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/database/convert-standby-database-type.txt +169 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +2 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/db.txt +2 -0
  17. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  18. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  19. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list-logs.txt} +5 -5
  20. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry.txt → work-request-log.txt} +3 -3
  21. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
  22. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
  23. oci_cli/help_text_producer/data_files/text/cmdref/fn/application/create.txt +18 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/fn/application/update.txt +18 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/change-subscription.txt +134 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-kinesis-connection.txt +31 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-redshift-connection.txt +31 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-s3-connection.txt +31 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-azure-data-lake-storage-connection.txt +31 -0
  30. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-azure-synapse-connection.txt +31 -0
  31. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-databricks-connection.txt +31 -0
  32. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-db2-connection.txt +31 -0
  33. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-elasticsearch-connection.txt +31 -0
  34. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-generic-connection.txt +31 -0
  35. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-goldengate-connection.txt +31 -0
  36. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-big-query-connection.txt +31 -0
  37. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-cloud-storage-connection.txt +31 -0
  38. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-pub-sub-connection.txt +31 -0
  39. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-hdfs-connection.txt +31 -0
  40. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-iceberg-connection.txt +31 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-jms-connection.txt +31 -0
  42. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-kafka-connection.txt +44 -0
  43. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-kafka-schema-registry-connection.txt +31 -0
  44. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-microsoft-fabric-connection.txt +31 -0
  45. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-microsoft-sqlserver-connection.txt +31 -0
  46. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-mongo-db-connection.txt +31 -0
  47. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-mysql-connection.txt +31 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-object-storage-connection.txt +31 -0
  49. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-ai-data-platform-connection.txt +308 -0
  50. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-connection.txt +31 -0
  51. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-nosql-connection.txt +31 -0
  52. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-postgresql-connection.txt +31 -0
  53. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-redis-connection.txt +31 -0
  54. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-snowflake-connection.txt +31 -0
  55. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/list.txt +2 -2
  56. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-kinesis-connection.txt +18 -0
  57. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-redshift-connection.txt +18 -0
  58. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-s3-connection.txt +18 -0
  59. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-azure-data-lake-storage-connection.txt +18 -0
  60. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-azure-synapse-connection.txt +18 -0
  61. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-databricks-connection.txt +18 -0
  62. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-db2-connection.txt +18 -0
  63. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-elasticsearch-connection.txt +18 -0
  64. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-generic-connection.txt +18 -0
  65. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-goldengate-connection.txt +18 -0
  66. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-google-big-query-connection.txt +18 -0
  67. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-google-cloud-storage-connection.txt +18 -0
  68. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-google-pub-sub-connection.txt +18 -0
  69. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-hdfs-connection.txt +18 -0
  70. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-iceberg-connection.txt +18 -0
  71. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-jms-connection.txt +18 -0
  72. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-kafka-connection.txt +31 -0
  73. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-kafka-schema-registry-connection.txt +18 -0
  74. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-microsoft-fabric-connection.txt +18 -0
  75. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-microsoft-sqlserver-connection.txt +18 -0
  76. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-mongo-db-connection.txt +18 -0
  77. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-mysql-connection.txt +18 -0
  78. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-object-storage-connection.txt +18 -0
  79. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-ai-data-platform-connection.txt +287 -0
  80. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-connection.txt +18 -0
  81. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-nosql-connection.txt +18 -0
  82. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-postgresql-connection.txt +18 -0
  83. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-redis-connection.txt +18 -0
  84. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-snowflake-connection.txt +18 -0
  85. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection.txt +6 -0
  86. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/change-subscription.txt +134 -0
  87. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +31 -0
  88. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +1 -1
  89. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +18 -0
  90. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment.txt +2 -0
  91. oci_cli/help_text_producer/data_files/text/cmdref/goldengate.txt +8 -0
  92. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log/{list.txt → list-logs.txt} +5 -5
  93. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log.txt +1 -1
  94. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +1 -1
  95. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +1 -1
  96. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/create.txt +18 -0
  97. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/update.txt +18 -0
  98. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/create.txt +199 -0
  99. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/delete.txt +131 -0
  100. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/get.txt +93 -0
  101. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/list.txt +157 -0
  102. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter/update.txt +206 -0
  103. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-adapter.txt +31 -0
  104. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/create.txt +187 -0
  105. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/delete.txt +131 -0
  106. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/get-content.txt +99 -0
  107. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/get.txt +93 -0
  108. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/invoke-raw-binary-command.txt +119 -0
  109. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/invoke-raw-json-command.txt +125 -0
  110. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/invoke-raw-text-command.txt +118 -0
  111. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/list.txt +157 -0
  112. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/update.txt +194 -0
  113. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance.txt +36 -0
  114. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/create.txt +182 -0
  115. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/delete.txt +136 -0
  116. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/get-spec.txt +99 -0
  117. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/get.txt +98 -0
  118. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/list.txt +153 -0
  119. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model/update.txt +185 -0
  120. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-model.txt +32 -0
  121. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/create.txt +192 -0
  122. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/delete.txt +135 -0
  123. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/get.txt +97 -0
  124. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/list.txt +162 -0
  125. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship/update.txt +193 -0
  126. oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-relationship.txt +29 -0
  127. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/change-compartment.txt +132 -0
  128. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/change-data-retention-period.txt +141 -0
  129. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/configure-apex-data-access.txt +131 -0
  130. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/configure-direct-data-access.txt +143 -0
  131. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/configure-ords-data-access.txt +131 -0
  132. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/create.txt +168 -0
  133. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/delete.txt +129 -0
  134. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/get.txt +91 -0
  135. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/list.txt +153 -0
  136. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain/update.txt +175 -0
  137. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/change-compartment.txt +132 -0
  138. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/configure-data-access.txt +143 -0
  139. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/create.txt +163 -0
  140. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/delete.txt +129 -0
  141. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/get.txt +91 -0
  142. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/list.txt +149 -0
  143. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/update.txt +176 -0
  144. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group.txt +33 -0
  145. oci_cli/help_text_producer/data_files/text/cmdref/iot/domain.txt +40 -0
  146. oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/get.txt +91 -0
  147. oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/list-errors.txt +131 -0
  148. oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/list-logs.txt +131 -0
  149. oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request/list.txt +148 -0
  150. oci_cli/help_text_producer/data_files/text/cmdref/iot/work-request.txt +24 -0
  151. oci_cli/help_text_producer/data_files/text/cmdref/iot.txt +121 -0
  152. oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/clone.txt +14 -0
  153. oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/create.txt +14 -0
  154. oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/import.txt +14 -0
  155. oci_cli/help_text_producer/data_files/text/cmdref/mysql/db-system/update.txt +14 -0
  156. oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/create.txt +33 -0
  157. oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/shapes-details/list.txt +13 -1
  158. oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/update.txt +29 -0
  159. oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/upgrade.txt +18 -0
  160. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list-errors.txt → list.txt} +5 -5
  161. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  162. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  163. oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/create.txt +18 -0
  164. oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/update.txt +18 -0
  165. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/associated-resource-summary/list-job-associated-resources.txt +2 -1
  166. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/associated-resource-summary/list-stack-associated-resources.txt +2 -1
  167. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/change-compartment.txt +2 -2
  168. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-bitbucket-cloud-username-app-password-provider.txt +3 -3
  169. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-bitbucket-server-access-token-provider.txt +3 -3
  170. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-github-access-token-provider.txt +3 -3
  171. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create-gitlab-access-token-provider.txt +3 -3
  172. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/create.txt +3 -3
  173. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/delete.txt +2 -1
  174. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/get.txt +2 -0
  175. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/list.txt +2 -1
  176. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-bitbucket-cloud-username-app-password-provider.txt +3 -3
  177. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-bitbucket-server-access-token-provider.txt +3 -3
  178. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-github-access-token-provider.txt +3 -3
  179. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update-gitlab-access-token-provider.txt +3 -3
  180. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/configuration-source-provider/update.txt +3 -3
  181. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/cancel.txt +2 -1
  182. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-apply-job.txt +3 -2
  183. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-apply-rollback-job.txt +3 -2
  184. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-destroy-job.txt +3 -2
  185. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-import-tf-state-job.txt +3 -2
  186. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-plan-job.txt +3 -2
  187. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create-plan-rollback-job.txt +3 -2
  188. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/create.txt +3 -2
  189. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-detailed-log-content.txt +2 -1
  190. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-logs-content.txt +2 -1
  191. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-logs.txt +2 -1
  192. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-tf-config.txt +2 -1
  193. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-tf-plan.txt +2 -2
  194. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get-job-tf-state.txt +2 -1
  195. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/get.txt +2 -1
  196. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/list.txt +1 -4
  197. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job/update.txt +3 -2
  198. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/job-output-summary/list-job-outputs.txt +2 -1
  199. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/change-compartment.txt +1 -2
  200. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/create.txt +36 -16
  201. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/delete.txt +15 -14
  202. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/get-reachable-ip.txt +2 -1
  203. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/get.txt +2 -1
  204. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/list.txt +4 -4
  205. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint/update.txt +36 -16
  206. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/private-endpoint.txt +2 -2
  207. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/change-compartment.txt +1 -2
  208. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/code.txt +4 -3
  209. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-bitbucket-cloud.txt +4 -3
  210. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-bitbucket-server.txt +4 -3
  211. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-compartment.txt +4 -3
  212. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-git-provider.txt +4 -3
  213. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-object-storage.txt +4 -3
  214. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-from-template.txt +4 -3
  215. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create-stack-create-dev-ops-config-source-details.txt +4 -3
  216. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/create.txt +3 -2
  217. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/delete.txt +2 -1
  218. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/detect-drift.txt +2 -1
  219. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/get-stack-tf-config.txt +2 -1
  220. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/get-stack-tf-state.txt +2 -1
  221. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/get.txt +2 -1
  222. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list-resource-discovery-services.txt +1 -0
  223. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list-resource-drift-details.txt +3 -3
  224. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list-terraform-versions.txt +1 -0
  225. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/list.txt +4 -6
  226. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-from-bitbucket-cloud.txt +4 -3
  227. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-from-git-provider.txt +4 -3
  228. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-from-object-storage.txt +4 -3
  229. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update-stack-update-dev-ops-config-source-details.txt +4 -3
  230. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/stack/update.txt +3 -2
  231. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/change-compartment.txt +1 -2
  232. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/create.txt +4 -2
  233. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/delete.txt +2 -1
  234. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/get-template-logo.txt +2 -1
  235. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/get-template-tf-config.txt +2 -1
  236. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/get.txt +2 -1
  237. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/list-template-categories.txt +2 -1
  238. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/list.txt +2 -1
  239. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/template/update.txt +4 -2
  240. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/get.txt +2 -1
  241. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/list-work-request-errors.txt +2 -1
  242. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/list-work-request-logs.txt +2 -1
  243. oci_cli/help_text_producer/data_files/text/cmdref/resource-manager/work-request/list.txt +1 -1
  244. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
  245. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  246. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  247. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  248. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  249. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  250. oci_cli/help_text_producer/data_files/text/index.txt +2 -0
  251. oci_cli/service_mapping.py +5 -0
  252. oci_cli/version.py +1 -1
  253. {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/METADATA +2 -2
  254. {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/RECORD +277 -209
  255. services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +7 -6
  256. services/database/src/oci_cli_database/generated/database_cli.py +71 -0
  257. services/functions/src/oci_cli_functions_management/generated/functionsmanagement_cli.py +20 -8
  258. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +1370 -320
  259. services/golden_gate/src/oci_cli_golden_gate/golden_gate_cli_extended.py +59 -14
  260. services/integration/src/oci_cli_integration_instance/generated/integrationinstance_cli.py +29 -11
  261. services/iot/__init__.py +4 -0
  262. services/iot/src/__init__.py +4 -0
  263. services/iot/src/oci_cli_iot/__init__.py +4 -0
  264. services/iot/src/oci_cli_iot/generated/__init__.py +4 -0
  265. services/iot/src/oci_cli_iot/generated/client_mappings.py +14 -0
  266. services/iot/src/oci_cli_iot/generated/iot_cli.py +2913 -0
  267. services/iot/src/oci_cli_iot/iot_cli_extended.py +74 -0
  268. services/iot/tests/__init__.py +4 -0
  269. services/mysql/src/oci_cli_db_system/generated/dbsystem_cli.py +44 -20
  270. services/opensearch/src/oci_cli_opensearch_cluster/generated/opensearchcluster_cli.py +44 -12
  271. services/redis/src/oci_cli_redis_cluster/generated/rediscluster_cli.py +20 -8
  272. services/resource_manager/src/oci_cli_resource_manager/generated/resourcemanager_cli.py +201 -193
  273. {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/LICENSE.txt +0 -0
  274. {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  275. {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/WHEEL +0 -0
  276. {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/entry_points.txt +0 -0
  277. {oci_cli-3.67.0.dist-info → oci_cli-3.68.0.dist-info}/top_level.txt +0 -0
@@ -634,6 +634,7 @@ def create_node_pool_node_source_via_image_details(ctx, from_json, wait_for_stat
634
634
  @cli_util.option('--compartment-id', required=True, help=u"""Compartment of the virtual node pool.""")
635
635
  @cli_util.option('--cluster-id', required=True, help=u"""The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.""")
636
636
  @cli_util.option('--display-name', required=True, help=u"""Display name of the virtual node pool. This is a non-unique value.""")
637
+ @cli_util.option('--size', required=True, type=click.INT, help=u"""The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.""")
637
638
  @cli_util.option('--placement-configurations', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
638
639
  @cli_util.option('--initial-virtual-node-labels', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
639
640
 
@@ -641,7 +642,6 @@ This option is a JSON list with items of type InitialVirtualNodeLabel. For docu
641
642
  @cli_util.option('--taints', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
642
643
 
643
644
  This option is a JSON list with items of type Taint. For documentation on Taint please see our API reference: https://docs.cloud.oracle.com/api/#/en/containerengine/20180222/datatypes/Taint.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
644
- @cli_util.option('--size', type=click.INT, help=u"""The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.""")
645
645
  @cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""List of network security group id's applied to the Virtual Node VNIC.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
646
646
  @cli_util.option('--pod-configuration', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The pod configuration for pods run on virtual nodes of this virtual node pool.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
647
647
  @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]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@@ -655,7 +655,7 @@ This option is a JSON list with items of type Taint. For documentation on Taint
655
655
  @click.pass_context
656
656
  @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'initial-virtual-node-labels': {'module': 'container_engine', 'class': 'list[InitialVirtualNodeLabel]'}, 'taints': {'module': 'container_engine', 'class': 'list[Taint]'}, 'placement-configurations': {'module': 'container_engine', 'class': 'list[PlacementConfiguration]'}, 'nsg-ids': {'module': 'container_engine', 'class': 'list[string]'}, 'pod-configuration': {'module': 'container_engine', 'class': 'PodConfiguration'}, 'freeform-tags': {'module': 'container_engine', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'container_engine', 'class': 'dict(str, dict(str, object))'}, 'virtual-node-tags': {'module': 'container_engine', 'class': 'VirtualNodeTags'}})
657
657
  @cli_util.wrap_exceptions
658
- def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, cluster_id, display_name, placement_configurations, initial_virtual_node_labels, taints, size, nsg_ids, pod_configuration, freeform_tags, defined_tags, virtual_node_tags):
658
+ def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, cluster_id, display_name, size, placement_configurations, initial_virtual_node_labels, taints, nsg_ids, pod_configuration, freeform_tags, defined_tags, virtual_node_tags):
659
659
 
660
660
  kwargs = {}
661
661
  kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -664,6 +664,7 @@ def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, w
664
664
  _details['compartmentId'] = compartment_id
665
665
  _details['clusterId'] = cluster_id
666
666
  _details['displayName'] = display_name
667
+ _details['size'] = size
667
668
  _details['placementConfigurations'] = cli_util.parse_json_parameter("placement_configurations", placement_configurations)
668
669
 
669
670
  if initial_virtual_node_labels is not None:
@@ -672,9 +673,6 @@ def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, w
672
673
  if taints is not None:
673
674
  _details['taints'] = cli_util.parse_json_parameter("taints", taints)
674
675
 
675
- if size is not None:
676
- _details['size'] = size
677
-
678
676
  if nsg_ids is not None:
679
677
  _details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
680
678
 
@@ -1507,6 +1505,7 @@ def install_addon(ctx, from_json, wait_for_state, max_wait_seconds, wait_interva
1507
1505
  @cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
1508
1506
  @cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The optional order in which to sort the results.""")
1509
1507
  @cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["NAME", "TIME_CREATED"]), help=u"""The optional field to sort the results by.""")
1508
+ @cli_util.option('--should-show-all-versions', type=click.BOOL, help=u"""Whether to show all add-on versions""")
1510
1509
  @cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
1511
1510
  @cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
1512
1511
  @json_skeleton_utils.get_cli_json_input_option({})
@@ -1514,7 +1513,7 @@ def install_addon(ctx, from_json, wait_for_state, max_wait_seconds, wait_interva
1514
1513
  @click.pass_context
1515
1514
  @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'container_engine', 'class': 'list[AddonOptionSummary]'})
1516
1515
  @cli_util.wrap_exceptions
1517
- def list_addon_options(ctx, from_json, all_pages, page_size, kubernetes_version, addon_name, limit, page, sort_order, sort_by):
1516
+ def list_addon_options(ctx, from_json, all_pages, page_size, kubernetes_version, addon_name, limit, page, sort_order, sort_by, should_show_all_versions):
1518
1517
 
1519
1518
  if all_pages and limit:
1520
1519
  raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
@@ -1530,6 +1529,8 @@ def list_addon_options(ctx, from_json, all_pages, page_size, kubernetes_version,
1530
1529
  kwargs['sort_order'] = sort_order
1531
1530
  if sort_by is not None:
1532
1531
  kwargs['sort_by'] = sort_by
1532
+ if should_show_all_versions is not None:
1533
+ kwargs['should_show_all_versions'] = should_show_all_versions
1533
1534
  kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
1534
1535
  client = cli_util.build_client('container_engine', 'container_engine', ctx)
1535
1536
  if all_pages:
@@ -4286,6 +4286,77 @@ def convert_standby_autonomous_container_database(ctx, from_json, wait_for_state
4286
4286
  cli_util.render_response(result, ctx)
4287
4287
 
4288
4288
 
4289
+ @database_group.command(name=cli_util.override('db.convert_standby_database_type.command_name', 'convert-standby-database-type'), help=u"""Performs transition from standby database into a snapshot standby and vice versa. The transition performed based on the current role of the database, if the current role is standby then this operation will convert it to snapshot standby and if the current role is snapshot standby then this operation will convert it to standby.
4290
+
4291
+ This operation should be performed on respective standby/snapshot standby database. \n[Command Reference](convertStandbyDatabaseType)""")
4292
+ @cli_util.option('--database-id', required=True, help=u"""The database [OCID].""")
4293
+ @cli_util.option('--database-admin-password', required=True, help=u"""The administrator password of the primary database in this Data Guard association.
4294
+
4295
+ **The password MUST be the same as the primary admin password.**""")
4296
+ @cli_util.option('--standby-conversion-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["SNAPSHOT", "PHYSICAL"]), help=u"""Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
4297
+
4298
+ Valid standbyConversionType: - SNAPSHOT - PHYSICAL""")
4299
+ @cli_util.option('--snapshot-duration-in-days', type=click.INT, help=u"""SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
4300
+
4301
+ This field is only applicable if the requested database role is snapshot standby.""")
4302
+ @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.""")
4303
+ @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle 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.""")
4304
+ @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
4305
+ @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
4306
+ @json_skeleton_utils.get_cli_json_input_option({})
4307
+ @cli_util.help_option
4308
+ @click.pass_context
4309
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'Database'})
4310
+ @cli_util.wrap_exceptions
4311
+ def convert_standby_database_type(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, database_id, database_admin_password, standby_conversion_type, snapshot_duration_in_days, if_match):
4312
+
4313
+ if isinstance(database_id, six.string_types) and len(database_id.strip()) == 0:
4314
+ raise click.UsageError('Parameter --database-id cannot be whitespace or empty string')
4315
+
4316
+ kwargs = {}
4317
+ if if_match is not None:
4318
+ kwargs['if_match'] = if_match
4319
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
4320
+
4321
+ _details = {}
4322
+ _details['databaseAdminPassword'] = database_admin_password
4323
+ _details['standbyConversionType'] = standby_conversion_type
4324
+
4325
+ if snapshot_duration_in_days is not None:
4326
+ _details['snapshotDurationInDays'] = snapshot_duration_in_days
4327
+
4328
+ client = cli_util.build_client('database', 'database', ctx)
4329
+ result = client.convert_standby_database_type(
4330
+ database_id=database_id,
4331
+ convert_standby_database_type_details=_details,
4332
+ **kwargs
4333
+ )
4334
+ if wait_for_state:
4335
+
4336
+ if hasattr(client, 'get_database') and callable(getattr(client, 'get_database')):
4337
+ try:
4338
+ wait_period_kwargs = {}
4339
+ if max_wait_seconds is not None:
4340
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
4341
+ if wait_interval_seconds is not None:
4342
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
4343
+
4344
+ click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
4345
+ result = oci.wait_until(client, client.get_database(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
4346
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
4347
+ # If we fail, we should show an error, but we should still provide the information to the customer
4348
+ click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
4349
+ cli_util.render_response(result, ctx)
4350
+ sys.exit(2)
4351
+ except Exception:
4352
+ click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
4353
+ cli_util.render_response(result, ctx)
4354
+ raise
4355
+ else:
4356
+ click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
4357
+ cli_util.render_response(result, ctx)
4358
+
4359
+
4289
4360
  @database_group.command(name=cli_util.override('db.convert_to_pdb.command_name', 'convert-to-pdb'), help=u"""Converts a non-container database to a pluggable database. \n[Command Reference](convertToPdb)""")
4290
4361
  @cli_util.option('--database-id', required=True, help=u"""The database [OCID].""")
4291
4362
  @cli_util.option('--action', required=True, type=custom_types.CliCaseInsensitiveChoice(["PRECHECK", "CONVERT", "SYNC", "SYNC_ROLLBACK"]), help=u"""The operations used to convert a non-container database to a pluggable database. - Use `PRECHECK` to run a pre-check operation on non-container database prior to converting it into a pluggable database. - Use `CONVERT` to convert a non-container database into a pluggable database. - Use `SYNC` if the non-container database was manually converted into a pluggable database using the dbcli command-line utility. Databases may need to be converted manually if the CONVERT action fails when converting a non-container database using the API. - Use `SYNC_ROLLBACK` if the conversion of a non-container database into a pluggable database was manually rolled back using the dbcli command line utility. Conversions may need to be manually rolled back if the CONVERT action fails when converting a non-container database using the API.""")
@@ -113,15 +113,18 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
113
113
 
114
114
  Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
115
115
  @cli_util.option('--image-policy-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
116
+ @cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
117
+
118
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
116
119
  @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle 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.""")
117
120
  @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
118
121
  @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
119
- @json_skeleton_utils.get_cli_json_input_option({'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'subnet-ids': {'module': 'functions', 'class': 'list[string]'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}})
122
+ @json_skeleton_utils.get_cli_json_input_option({'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'subnet-ids': {'module': 'functions', 'class': 'list[string]'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}, 'security-attributes': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}})
120
123
  @cli_util.help_option
121
124
  @click.pass_context
122
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'subnet-ids': {'module': 'functions', 'class': 'list[string]'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}}, output_type={'module': 'functions', 'class': 'Application'})
125
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'subnet-ids': {'module': 'functions', 'class': 'list[string]'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}, 'security-attributes': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'functions', 'class': 'Application'})
123
126
  @cli_util.wrap_exceptions
124
- def create_application(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, subnet_ids, config, shape, network_security_group_ids, syslog_url, trace_config, freeform_tags, defined_tags, image_policy_config):
127
+ def create_application(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, subnet_ids, config, shape, network_security_group_ids, syslog_url, trace_config, freeform_tags, defined_tags, image_policy_config, security_attributes):
125
128
 
126
129
  kwargs = {}
127
130
  kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -155,6 +158,9 @@ def create_application(ctx, from_json, wait_for_state, max_wait_seconds, wait_in
155
158
  if image_policy_config is not None:
156
159
  _details['imagePolicyConfig'] = cli_util.parse_json_parameter("image_policy_config", image_policy_config)
157
160
 
161
+ if security_attributes is not None:
162
+ _details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
163
+
158
164
  client = cli_util.build_client('functions', 'functions_management', ctx)
159
165
  result = client.create_application(
160
166
  create_application_details=_details,
@@ -2082,23 +2088,26 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
2082
2088
 
2083
2089
  Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
2084
2090
  @cli_util.option('--image-policy-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
2091
+ @cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
2092
+
2093
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
2085
2094
  @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.""")
2086
2095
  @cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
2087
2096
  @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle 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.""")
2088
2097
  @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
2089
2098
  @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
2090
- @json_skeleton_utils.get_cli_json_input_option({'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}})
2099
+ @json_skeleton_utils.get_cli_json_input_option({'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}, 'security-attributes': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}})
2091
2100
  @cli_util.help_option
2092
2101
  @click.pass_context
2093
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}}, output_type={'module': 'functions', 'class': 'Application'})
2102
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'config': {'module': 'functions', 'class': 'dict(str, string)'}, 'network-security-group-ids': {'module': 'functions', 'class': 'list[string]'}, 'trace-config': {'module': 'functions', 'class': 'ApplicationTraceConfig'}, 'freeform-tags': {'module': 'functions', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}, 'image-policy-config': {'module': 'functions', 'class': 'ImagePolicyConfig'}, 'security-attributes': {'module': 'functions', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'functions', 'class': 'Application'})
2094
2103
  @cli_util.wrap_exceptions
2095
- def update_application(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, application_id, config, network_security_group_ids, syslog_url, trace_config, freeform_tags, defined_tags, image_policy_config, if_match):
2104
+ def update_application(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, application_id, config, network_security_group_ids, syslog_url, trace_config, freeform_tags, defined_tags, image_policy_config, security_attributes, if_match):
2096
2105
 
2097
2106
  if isinstance(application_id, six.string_types) and len(application_id.strip()) == 0:
2098
2107
  raise click.UsageError('Parameter --application-id cannot be whitespace or empty string')
2099
2108
  if not force:
2100
- if config or network_security_group_ids or trace_config or freeform_tags or defined_tags or image_policy_config:
2101
- if not click.confirm("WARNING: Updates to config and network-security-group-ids and trace-config and freeform-tags and defined-tags and image-policy-config will replace any existing values. Are you sure you want to continue?"):
2109
+ if config or network_security_group_ids or trace_config or freeform_tags or defined_tags or image_policy_config or security_attributes:
2110
+ if not click.confirm("WARNING: Updates to config and network-security-group-ids and trace-config and freeform-tags and defined-tags and image-policy-config and security-attributes will replace any existing values. Are you sure you want to continue?"):
2102
2111
  ctx.abort()
2103
2112
 
2104
2113
  kwargs = {}
@@ -2129,6 +2138,9 @@ def update_application(ctx, from_json, force, wait_for_state, max_wait_seconds,
2129
2138
  if image_policy_config is not None:
2130
2139
  _details['imagePolicyConfig'] = cli_util.parse_json_parameter("image_policy_config", image_policy_config)
2131
2140
 
2141
+ if security_attributes is not None:
2142
+ _details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
2143
+
2132
2144
  client = cli_util.build_client('functions', 'functions_management', ctx)
2133
2145
  result = client.update_application(
2134
2146
  application_id=application_id,