oci-cli 3.68.1__py3-none-any.whl → 3.69.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 (262) hide show
  1. common_util/ignored_commands.py +1 -0
  2. oci_cli/help_text_producer/data_files/text/cmdref/ai/language/endpoint/create.txt +0 -8
  3. oci_cli/help_text_producer/data_files/text/cmdref/compute/boot-volume-attachment/attach.txt +1 -1
  4. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/list.txt +6 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/compute/console-history/capture.txt +1 -1
  6. oci_cli/help_text_producer/data_files/text/cmdref/compute/device/list-instance.txt +1 -1
  7. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/action.txt +1 -1
  8. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/attach-vnic.txt +1 -1
  9. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/change-compartment.txt +1 -1
  10. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/get-windows-initial-creds.txt +1 -1
  11. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/get.txt +1 -1
  12. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch.txt +1 -1
  13. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/terminate.txt +1 -1
  14. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-amd-vm-update-instance-platform-config.txt +1 -1
  15. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-intel-vm-update-instance-platform-config.txt +1 -1
  16. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-boot-volume-details.txt +1 -1
  17. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update-instance-update-instance-source-via-image-details.txt +1 -1
  18. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/update.txt +1 -1
  19. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance-console-connection/create.txt +1 -1
  20. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance-console-connection/delete.txt +1 -1
  21. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance-console-connection/get-plink-connection-string.txt +1 -1
  22. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance-console-connection/get.txt +1 -1
  23. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance-console-connection/update.txt +1 -1
  24. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance-maintenance-reboot/get.txt +1 -1
  25. oci_cli/help_text_producer/data_files/text/cmdref/compute/measured-boot-report/accept-shielded-integrity-policy.txt +1 -1
  26. oci_cli/help_text_producer/data_files/text/cmdref/compute/measured-boot-report/get.txt +1 -1
  27. oci_cli/help_text_producer/data_files/text/cmdref/compute/volume-attachment/attach-iscsi-volume.txt +1 -1
  28. oci_cli/help_text_producer/data_files/text/cmdref/compute/volume-attachment/attach-paravirtualized-volume.txt +1 -1
  29. oci_cli/help_text_producer/data_files/text/cmdref/compute/volume-attachment/attach.txt +1 -1
  30. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-configuration/create-from-instance.txt +1 -1
  31. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/attach.txt +1 -1
  32. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/detach.txt +1 -1
  33. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/get.txt +1 -1
  34. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/change-dataguard-role.txt +1 -1
  35. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/convert-standby.txt +1 -1
  36. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-details.txt +7 -7
  37. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +7 -7
  38. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +7 -7
  39. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup.txt +1 -1
  40. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-version.txt +1 -1
  41. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/change-autonomous-database-subscription.txt +1 -1
  42. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/change-compartment.txt +2 -2
  43. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/change-disaster-recovery-configuration.txt +6 -6
  44. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/configure-key.txt +1 -1
  45. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/configure-saas-admin-user.txt +3 -3
  46. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-adb-cross-region-data-guard-details.txt +105 -102
  47. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-create-cross-region-disaster-recovery-details.txt +114 -111
  48. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-gcp-key-details.txt +108 -105
  49. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-undelete-autonomous-database-details.txt +109 -106
  50. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-cross-tenancy-disaster-recovery-details.txt +111 -108
  51. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-backup-id.txt +109 -106
  52. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-backup-timestamp.txt +110 -107
  53. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-clone.txt +105 -102
  54. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-refreshable-clone.txt +109 -106
  55. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create.txt +102 -99
  56. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/data-safe/deregister.txt +1 -1
  57. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/data-safe/register.txt +1 -1
  58. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/delete.txt +3 -3
  59. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/disable-autonomous-database-management.txt +1 -1
  60. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/disable-operations-insights.txt +1 -1
  61. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/enable-autonomous-database-management.txt +1 -1
  62. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/enable-operations-insights.txt +1 -1
  63. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/fail-over.txt +1 -1
  64. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/generate-wallet.txt +2 -1
  65. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/get.txt +1 -1
  66. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list-autonomous-database-peers.txt +1 -1
  67. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list-clones.txt +2 -2
  68. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list-refreshable-clones.txt +3 -3
  69. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list-resource-pool-members.txt +2 -2
  70. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list.txt +7 -7
  71. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/manual-refresh.txt +5 -5
  72. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restart.txt +1 -1
  73. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restore.txt +1 -1
  74. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/saas-admin-user-status.txt +1 -1
  75. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/start.txt +1 -1
  76. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/stop.txt +1 -1
  77. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/switchover.txt +1 -1
  78. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update-autonomous-database-gcp-key-details.txt +125 -110
  79. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update.txt +123 -108
  80. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup/create.txt +2 -2
  81. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup/delete.txt +1 -1
  82. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup/get.txt +2 -2
  83. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup/list.txt +1 -1
  84. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup/update.txt +3 -3
  85. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-backup.txt +1 -1
  86. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-character-sets/list.txt +5 -5
  87. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-character-sets.txt +1 -1
  88. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-dataguard/get.txt +1 -1
  89. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-dataguard/list.txt +1 -1
  90. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-dataguard.txt +4 -4
  91. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-software-image/change-compartment.txt +2 -2
  92. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-software-image/create.txt +4 -4
  93. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-software-image/delete.txt +2 -2
  94. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-software-image/get.txt +2 -2
  95. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-software-image/list.txt +3 -3
  96. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-software-image/update.txt +3 -3
  97. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-software-image.txt +2 -2
  98. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-wallet/get-metadata.txt +1 -1
  99. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-wallet/get-regional-wallet-metadata.txt +1 -1
  100. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-wallet/rotate-regional-wallet.txt +1 -1
  101. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-wallet/rotate.txt +1 -1
  102. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database-wallet.txt +1 -1
  103. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database.txt +1 -1
  104. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-db-preview-version/list.txt +2 -2
  105. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-db-preview-version.txt +2 -2
  106. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-db-version/list.txt +4 -4
  107. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-db-version.txt +1 -1
  108. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-exadata-infrastructure/launch.txt +8 -7
  109. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-exadata-infrastructure/update.txt +2 -2
  110. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster/create.txt +12 -12
  111. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster/update.txt +10 -10
  112. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/add-storage.txt +2 -2
  113. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/change-compartment.txt +4 -3
  114. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/create.txt +1 -1
  115. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/delete.txt +2 -2
  116. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/get.txt +1 -1
  117. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/list.txt +1 -1
  118. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/update.txt +2 -2
  119. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/create.txt +2 -2
  120. oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/update.txt +2 -2
  121. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-create-stand-by-database-details.txt +2 -2
  122. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-from-backup.txt +2 -2
  123. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +2 -2
  124. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-database.txt +2 -2
  125. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +2 -2
  126. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +2 -2
  127. oci_cli/help_text_producer/data_files/text/cmdref/db/database/migrate-vault-key.txt +2 -2
  128. oci_cli/help_text_producer/data_files/text/cmdref/db/database/set-oci-db-key-version.txt +2 -2
  129. oci_cli/help_text_producer/data_files/text/cmdref/db/db-home/create.txt +2 -2
  130. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +2 -2
  131. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/update.txt +2 -2
  132. oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/create.txt +1 -1
  133. oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/list.txt +1 -1
  134. oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/set-oci-pdb-key-version.txt +2 -2
  135. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +4 -4
  136. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +4 -4
  137. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +4 -4
  138. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +4 -4
  139. oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +2 -2
  140. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/add-lock.txt +1 -1
  141. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/change-compartment.txt +2 -2
  142. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/create-generic-jdbc.txt +11 -2
  143. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/create-mysql-database.txt +11 -2
  144. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/create-oracle-database.txt +10 -1
  145. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/create-postgresql.txt +11 -2
  146. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/delete.txt +1 -1
  147. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/list.txt +13 -5
  148. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/remove-lock.txt +1 -1
  149. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/update-generic-jdbc.txt +2 -2
  150. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/update-mysql-database.txt +3 -3
  151. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/update-oracle-database.txt +2 -2
  152. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection/update-postgresql.txt +3 -3
  153. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/connection.txt +2 -1
  154. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/endpoint-service/list.txt +1 -1
  155. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/add-lock.txt +230 -0
  156. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/change-compartment.txt +136 -0
  157. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/create-oracle-database-resource-principal.txt +175 -0
  158. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/delete.txt +133 -0
  159. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/get.txt +91 -0
  160. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/list.txt +157 -0
  161. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/refresh-oracle-database-resource-principal-credential.txt +125 -0
  162. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/remove-lock.txt +230 -0
  163. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/update-oracle-database-resource-principal.txt +164 -0
  164. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity/validate-oracle-database-resource-principal-credential.txt +101 -0
  165. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/identity.txt +32 -0
  166. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint/add-lock.txt +1 -1
  167. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint/change-compartment.txt +1 -1
  168. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint/create.txt +1 -1
  169. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint/delete.txt +1 -1
  170. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint/list.txt +1 -1
  171. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint/remove-lock.txt +1 -1
  172. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint/update.txt +1 -1
  173. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/private-endpoint.txt +2 -1
  174. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/work-request/get.txt +1 -1
  175. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/work-request/list.txt +2 -2
  176. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/work-request-error/list.txt +1 -1
  177. oci_cli/help_text_producer/data_files/text/cmdref/dbtools/work-request-log-entry/list.txt +1 -1
  178. oci_cli/help_text_producer/data_files/text/cmdref/dbtools.txt +22 -0
  179. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
  180. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  181. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log/list-logs.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
  182. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log.txt → work-request-log-entry.txt} +3 -3
  183. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
  184. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
  185. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/automatic-dr-configuration/create.txt +204 -0
  186. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/automatic-dr-configuration/delete.txt +146 -0
  187. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/automatic-dr-configuration/get.txt +108 -0
  188. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/automatic-dr-configuration/list.txt +189 -0
  189. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/automatic-dr-configuration/update.txt +224 -0
  190. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/automatic-dr-configuration.txt +22 -0
  191. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/dr-plan-execution/update.txt +1 -1
  192. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/dr-protection-group/list.txt +1 -1
  193. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery.txt +12 -0
  194. oci_cli/help_text_producer/data_files/text/cmdref/fs/mount-target/create.txt +19 -0
  195. oci_cli/help_text_producer/data_files/text/cmdref/fs/mount-target/update.txt +19 -0
  196. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  197. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  198. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +1 -1
  199. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +1 -1
  200. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/social-identity-provider/create.txt +20 -0
  201. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/{social-identity-providers → social-identity-provider}/list.txt +2 -2
  202. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/social-identity-provider/put.txt +20 -0
  203. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/{social-identity-providers → social-identity-provider}/search.txt +3 -3
  204. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/social-identity-provider.txt +4 -0
  205. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains.txt +2 -4
  206. oci_cli/help_text_producer/data_files/text/cmdref/lb/load-balancer/update.txt +25 -0
  207. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/change-compartment.txt +148 -0
  208. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/create.txt +217 -0
  209. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/delete.txt +146 -0
  210. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/get-sync-job.txt +122 -0
  211. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/get.txt +108 -0
  212. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/list-sync-jobs.txt +167 -0
  213. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/start-export-to-object.txt +118 -0
  214. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/start-import-from-object.txt +118 -0
  215. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/stop-export-to-object.txt +118 -0
  216. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/stop-import-from-object.txt +118 -0
  217. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link/update.txt +200 -0
  218. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link-collection/list-object-storage-links.txt +154 -0
  219. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link-collection.txt +16 -0
  220. oci_cli/help_text_producer/data_files/text/cmdref/lfs/object-storage-link.txt +42 -0
  221. oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +28 -0
  222. oci_cli/help_text_producer/data_files/text/cmdref/network/ipam/get-subnet-cidr-utilization.txt +1 -1
  223. oci_cli/help_text_producer/data_files/text/cmdref/network/ipam/get-subnet-ip-inventory.txt +1 -1
  224. oci_cli/help_text_producer/data_files/text/cmdref/network/private-ip/create.txt +18 -0
  225. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/add-ipv4-subnet-cidr.txt +143 -0
  226. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/add-ipv6-subnet-cidr.txt +1 -1
  227. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/change-compartment.txt +1 -1
  228. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/create.txt +28 -13
  229. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/delete.txt +1 -1
  230. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/get.txt +1 -1
  231. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/modify-ipv4-subnet-cidr.txt +148 -0
  232. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/remove-ipv4-subnet-cidr.txt +145 -0
  233. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/remove-ipv6-subnet-cidr.txt +1 -1
  234. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet/update.txt +1 -1
  235. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet-topology/get.txt +1 -1
  236. oci_cli/help_text_producer/data_files/text/cmdref/network/subnet.txt +6 -0
  237. oci_cli/help_text_producer/data_files/text/cmdref/network/vnic/assign-private-ip.txt +18 -0
  238. oci_cli/help_text_producer/data_files/text/cmdref/network.txt +6 -0
  239. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
  240. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  241. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  242. oci_cli/version.py +1 -1
  243. {oci_cli-3.68.1.dist-info → oci_cli-3.69.0.dist-info}/METADATA +3 -3
  244. {oci_cli-3.68.1.dist-info → oci_cli-3.69.0.dist-info}/RECORD +261 -228
  245. services/ai_language/src/oci_cli_ai_service_language/generated/aiservicelanguage_cli.py +1 -5
  246. services/core/src/oci_cli_compute/generated/compute_cli.py +4 -1
  247. services/core/src/oci_cli_virtual_network/generated/virtualnetwork_cli.py +245 -10
  248. services/core/src/oci_cli_virtual_network/virtualnetwork_cli_extended.py +11 -1
  249. services/database/src/oci_cli_database/generated/database_cli.py +1198 -1216
  250. services/database_tools/src/oci_cli_database_tools/databasetools_cli_extended.py +198 -4
  251. services/database_tools/src/oci_cli_database_tools/generated/databasetools_cli.py +926 -53
  252. services/disaster_recovery/src/oci_cli_disaster_recovery/generated/disasterrecovery_cli.py +366 -2
  253. services/file_storage/src/oci_cli_file_storage/generated/filestorage_cli.py +20 -8
  254. services/identity_domains/src/oci_cli_identity_domains/generated/identitydomains_cli.py +36 -11
  255. services/load_balancer/src/oci_cli_load_balancer/generated/loadbalancer_cli.py +17 -5
  256. services/lustre_file_storage/src/oci_cli_lustre_file_storage/generated/lustrefilestorage_cli.py +581 -0
  257. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/social-identity-providers.txt +0 -20
  258. {oci_cli-3.68.1.dist-info → oci_cli-3.69.0.dist-info}/LICENSE.txt +0 -0
  259. {oci_cli-3.68.1.dist-info → oci_cli-3.69.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  260. {oci_cli-3.68.1.dist-info → oci_cli-3.69.0.dist-info}/WHEEL +0 -0
  261. {oci_cli-3.68.1.dist-info → oci_cli-3.69.0.dist-info}/entry_points.txt +0 -0
  262. {oci_cli-3.68.1.dist-info → oci_cli-3.69.0.dist-info}/top_level.txt +0 -0
@@ -680,7 +680,6 @@ def change_project_compartment(ctx, from_json, project_id, compartment_id, if_ma
680
680
  @cli_util.option('--compartment-id', required=True, help=u"""The [OCID] compartment identifier for the endpoint""")
681
681
  @cli_util.option('--model-id', required=True, help=u"""The [OCID] of the model to associate with the endpoint.""")
682
682
  @cli_util.option('--display-name', help=u"""A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.""")
683
- @cli_util.option('--compute-type', type=custom_types.CliCaseInsensitiveChoice(["CPU", "GPU"]), help=u"""Compute infra type for endpoint.""")
684
683
  @cli_util.option('--alias', help=u"""Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.""")
685
684
  @cli_util.option('--description', help=u"""A short description of the an endpoint.""")
686
685
  @cli_util.option('--inference-units', type=click.INT, help=u"""Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.""")
@@ -694,7 +693,7 @@ def change_project_compartment(ctx, from_json, project_id, compartment_id, if_ma
694
693
  @click.pass_context
695
694
  @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'ai_language', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'ai_language', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'ai_language', 'class': 'Endpoint'})
696
695
  @cli_util.wrap_exceptions
697
- def create_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, model_id, display_name, compute_type, alias, description, inference_units, freeform_tags, defined_tags):
696
+ def create_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, model_id, display_name, alias, description, inference_units, freeform_tags, defined_tags):
698
697
 
699
698
  kwargs = {}
700
699
  kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -706,9 +705,6 @@ def create_endpoint(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
706
705
  if display_name is not None:
707
706
  _details['displayName'] = display_name
708
707
 
709
- if compute_type is not None:
710
- _details['computeType'] = compute_type
711
-
712
708
  if alias is not None:
713
709
  _details['alias'] = alias
714
710
 
@@ -10016,6 +10016,7 @@ Example: `50`""")
10016
10016
  @cli_util.option('--compute-host-lifecycle-state', help=u"""A filter to return only ComputeHostSummary resources that match the given Compute Host lifecycle State OCID exactly.""")
10017
10017
  @cli_util.option('--compute-host-health', help=u"""A filter to return only ComputeHostSummary resources that match the given Compute Host health State OCID exactly.""")
10018
10018
  @cli_util.option('--compute-host-group-id', help=u"""The [OCID] of the compute host group.""")
10019
+ @cli_util.option('--compute-host-in-subtree', type=click.BOOL, help=u"""When set to true, all the compartments in the tenancy are traversed and the hosts in the specified tenancy and its compartments are fetched. Default is false.""")
10019
10020
  @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.""")
10020
10021
  @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.""")
10021
10022
  @json_skeleton_utils.get_cli_json_input_option({})
@@ -10023,7 +10024,7 @@ Example: `50`""")
10023
10024
  @click.pass_context
10024
10025
  @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'ComputeHostCollection'})
10025
10026
  @cli_util.wrap_exceptions
10026
- def list_compute_hosts(ctx, from_json, all_pages, page_size, compartment_id, availability_domain, display_name, network_resource_id, limit, page, sort_by, sort_order, compute_host_lifecycle_state, compute_host_health, compute_host_group_id):
10027
+ def list_compute_hosts(ctx, from_json, all_pages, page_size, compartment_id, availability_domain, display_name, network_resource_id, limit, page, sort_by, sort_order, compute_host_lifecycle_state, compute_host_health, compute_host_group_id, compute_host_in_subtree):
10027
10028
 
10028
10029
  if all_pages and limit:
10029
10030
  raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
@@ -10051,6 +10052,8 @@ def list_compute_hosts(ctx, from_json, all_pages, page_size, compartment_id, ava
10051
10052
  kwargs['compute_host_health'] = compute_host_health
10052
10053
  if compute_host_group_id is not None:
10053
10054
  kwargs['compute_host_group_id'] = compute_host_group_id
10055
+ if compute_host_in_subtree is not None:
10056
+ kwargs['compute_host_in_subtree'] = compute_host_in_subtree
10054
10057
  kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
10055
10058
  client = cli_util.build_client('core', 'compute', ctx)
10056
10059
  if all_pages:
@@ -693,6 +693,79 @@ def add_drg_route_rules(ctx, from_json, drg_route_table_id, route_rules):
693
693
  cli_util.render_response(result, ctx)
694
694
 
695
695
 
696
+ @subnet_group.command(name=cli_util.override('virtual_network.add_ipv4_subnet_cidr.command_name', 'add'), help=u"""Add an IPv4 prefix to a subnet. \n[Command Reference](addIpv4SubnetCidr)""")
697
+ @cli_util.option('--subnet-id', required=True, help=u"""Specify the [OCID] of the subnet.""")
698
+ @cli_util.option('--ipv4-cidr-block', required=True, help=u"""The CIDR IP address range of the subnet. The CIDR must maintain the following rules -
699
+
700
+ a. The CIDR block is valid and correctly formatted. b. The new range is within one of the parent VCN ranges.
701
+
702
+ Example: `10.0.1.0/24`""")
703
+ @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.""")
704
+ @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
705
+ @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.""")
706
+ @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.""")
707
+ @json_skeleton_utils.get_cli_json_input_option({})
708
+ @cli_util.help_option
709
+ @click.pass_context
710
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
711
+ @cli_util.wrap_exceptions
712
+ def add_ipv4_subnet_cidr(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, subnet_id, ipv4_cidr_block, if_match):
713
+
714
+ if isinstance(subnet_id, six.string_types) and len(subnet_id.strip()) == 0:
715
+ raise click.UsageError('Parameter --subnet-id cannot be whitespace or empty string')
716
+
717
+ kwargs = {}
718
+ if if_match is not None:
719
+ kwargs['if_match'] = if_match
720
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
721
+
722
+ _details = {}
723
+ _details['ipv4CidrBlock'] = ipv4_cidr_block
724
+
725
+ client = cli_util.build_client('core', 'virtual_network', ctx)
726
+ result = client.add_ipv4_subnet_cidr(
727
+ subnet_id=subnet_id,
728
+ add_ipv4_subnet_cidr_details=_details,
729
+ **kwargs
730
+ )
731
+ work_request_client = cli_util.build_client('work_requests', 'work_request', ctx)
732
+ if wait_for_state:
733
+
734
+ if hasattr(work_request_client, 'get_work_request') and callable(getattr(work_request_client, 'get_work_request')):
735
+ try:
736
+ wait_period_kwargs = {}
737
+ if max_wait_seconds is not None:
738
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
739
+ if wait_interval_seconds is not None:
740
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
741
+ if 'opc-work-request-id' not in result.headers:
742
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
743
+ cli_util.render_response(result, ctx)
744
+ return
745
+
746
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
747
+ result = oci.wait_until(work_request_client, work_request_client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
748
+ if hasattr(result, "data") and hasattr(result.data, "resources") and len(result.data.resources) == 1:
749
+ entity_type = result.data.resources[0].entity_type
750
+ identifier = result.data.resources[0].identifier
751
+ get_operation = 'get_' + entity_type
752
+ if hasattr(client, get_operation) and callable(getattr(client, get_operation)):
753
+ result = getattr(client, get_operation)(identifier)
754
+
755
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
756
+ # If we fail, we should show an error, but we should still provide the information to the customer
757
+ click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
758
+ cli_util.render_response(result, ctx)
759
+ sys.exit(2)
760
+ except Exception:
761
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
762
+ cli_util.render_response(result, ctx)
763
+ raise
764
+ else:
765
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
766
+ cli_util.render_response(result, ctx)
767
+
768
+
696
769
  @subnet_group.command(name=cli_util.override('virtual_network.add_ipv6_subnet_cidr.command_name', 'add'), help=u"""Add an IPv6 prefix to a subnet. \n[Command Reference](addIpv6SubnetCidr)""")
697
770
  @cli_util.option('--subnet-id', required=True, help=u"""Specify the [OCID] of the subnet.""")
698
771
  @cli_util.option('--ipv6-cidr-block', required=True, help=u"""This field is not required and should only be specified when adding an IPv6 prefix to a subnet's IPv6 address space. See[IPv6 Addresses].
@@ -3580,11 +3653,15 @@ Example: `bminstance1`""")
3580
3653
  @cli_util.option('--ip-address', help=u"""A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
3581
3654
 
3582
3655
  Example: `10.0.3.3`""")
3656
+ @cli_util.option('--cidr-prefix-length', type=click.INT, help=u"""An optional field that when combined with the ipAddress field, will be used to allocate secondary IPv4 CIDRs. The CIDR range created by this combination must be within the subnet's CIDR and the CIDR range should not collide with any existing IPv4 address allocation. The VNIC ID specified in the request object should not already been assigned more than the max IPv4 addresses. If you don't specify a value, this option will be ignored.
3657
+
3658
+ Example: 18""")
3583
3659
  @cli_util.option('--vnic-id', help=u"""The [OCID] of the VNIC to assign the private IP to. The VNIC and private IP must be in the same subnet.""")
3584
3660
  @cli_util.option('--vlan-id', help=u"""Use this attribute only with the Oracle Cloud VMware Solution.
3585
3661
 
3586
3662
  The [OCID] of the VLAN from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given VLAN. See [Vlan].""")
3587
3663
  @cli_util.option('--subnet-id', help=u"""The [OCID] of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.""")
3664
+ @cli_util.option('--ipv4-subnet-cidr-at-creation', help=u"""Any one of the IPv4 CIDRs allocated to the subnet.""")
3588
3665
  @cli_util.option('--lifetime', type=custom_types.CliCaseInsensitiveChoice(["EPHEMERAL", "RESERVED"]), help=u"""Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved""")
3589
3666
  @cli_util.option('--route-table-id', help=u"""The [OCID] of the route table the IP address or VNIC will use. For more information, see [Per-resource Routing].""")
3590
3667
  @json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}})
@@ -3592,7 +3669,7 @@ The [OCID] of the VLAN from which the private IP is to be drawn. The IP address,
3592
3669
  @click.pass_context
3593
3670
  @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}}, output_type={'module': 'core', 'class': 'PrivateIp'})
3594
3671
  @cli_util.wrap_exceptions
3595
- def create_private_ip(ctx, from_json, defined_tags, display_name, freeform_tags, hostname_label, ip_address, vnic_id, vlan_id, subnet_id, lifetime, route_table_id):
3672
+ def create_private_ip(ctx, from_json, defined_tags, display_name, freeform_tags, hostname_label, ip_address, cidr_prefix_length, vnic_id, vlan_id, subnet_id, ipv4_subnet_cidr_at_creation, lifetime, route_table_id):
3596
3673
 
3597
3674
  kwargs = {}
3598
3675
 
@@ -3613,6 +3690,9 @@ def create_private_ip(ctx, from_json, defined_tags, display_name, freeform_tags,
3613
3690
  if ip_address is not None:
3614
3691
  _details['ipAddress'] = ip_address
3615
3692
 
3693
+ if cidr_prefix_length is not None:
3694
+ _details['cidrPrefixLength'] = cidr_prefix_length
3695
+
3616
3696
  if vnic_id is not None:
3617
3697
  _details['vnicId'] = vnic_id
3618
3698
 
@@ -3622,6 +3702,9 @@ def create_private_ip(ctx, from_json, defined_tags, display_name, freeform_tags,
3622
3702
  if subnet_id is not None:
3623
3703
  _details['subnetId'] = subnet_id
3624
3704
 
3705
+ if ipv4_subnet_cidr_at_creation is not None:
3706
+ _details['ipv4SubnetCidrAtCreation'] = ipv4_subnet_cidr_at_creation
3707
+
3625
3708
  if lifetime is not None:
3626
3709
  _details['lifetime'] = lifetime
3627
3710
 
@@ -4096,11 +4179,6 @@ You may optionally associate a set of DHCP options with the subnet. If you don't
4096
4179
  You may optionally specify a *display name* for the subnet, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
4097
4180
 
4098
4181
  You can also add a DNS label for the subnet, which is required if you want the Internet and VCN Resolver to resolve hostnames for instances in the subnet. For more information, see [DNS in Your Virtual Cloud Network]. \n[Command Reference](createSubnet)""")
4099
- @cli_util.option('--cidr-block', required=True, help=u"""The CIDR IP address range of the subnet. The CIDR must maintain the following rules -
4100
-
4101
- a. The CIDR block is valid and correctly formatted. b. The new range is within one of the parent VCN ranges.
4102
-
4103
- Example: `10.0.1.0/24`""")
4104
4182
  @cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to contain the subnet.""")
4105
4183
  @cli_util.option('--vcn-id', required=True, help=u"""The [OCID] of the VCN to contain the subnet.""")
4106
4184
  @cli_util.option('--availability-domain', help=u"""Controls whether the subnet is regional or specific to an availability domain. Oracle recommends creating regional subnets because they're more flexible and make it easier to implement failover across availability domains. Originally, AD-specific subnets were the only kind available to use.
@@ -4110,6 +4188,12 @@ To create a regional subnet, omit this attribute. Then any resources later creat
4110
4188
  To instead create an AD-specific subnet, set this attribute to the availability domain you want this subnet to be in. Then any resources later created in this subnet can only be created in that availability domain.
4111
4189
 
4112
4190
  Example: `Uocm:PHX-AD-1`""")
4191
+ @cli_util.option('--cidr-block', help=u"""The CIDR IP address range of the subnet. The CIDR must maintain the following rules -
4192
+
4193
+ a. The CIDR block is valid and correctly formatted. b. The new range is within one of the parent VCN ranges.
4194
+
4195
+ Example: `10.0.1.0/24`""")
4196
+ @cli_util.option('--ipv4-cidr-blocks', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of all IPv4 CIDR blocks for the subnet that meets the following criteria: - Ipv4 CIDR blocks must be valid. - Multiple Ipv4 CIDR blocks must not overlap each other or the on-premises network CIDR block. - The number of prefixes must not exceed the limit of IPv4 prefixes allowed to a subnet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
4113
4197
  @cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
4114
4198
 
4115
4199
  Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@@ -4148,23 +4232,28 @@ Example: `true`""")
4148
4232
  @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING"]), 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.""")
4149
4233
  @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.""")
4150
4234
  @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.""")
4151
- @json_skeleton_utils.get_cli_json_input_option({'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'ipv6-cidr-blocks': {'module': 'core', 'class': 'list[string]'}, 'security-list-ids': {'module': 'core', 'class': 'list[string]'}})
4235
+ @json_skeleton_utils.get_cli_json_input_option({'ipv4-cidr-blocks': {'module': 'core', 'class': 'list[string]'}, 'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'ipv6-cidr-blocks': {'module': 'core', 'class': 'list[string]'}, 'security-list-ids': {'module': 'core', 'class': 'list[string]'}})
4152
4236
  @cli_util.help_option
4153
4237
  @click.pass_context
4154
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'ipv6-cidr-blocks': {'module': 'core', 'class': 'list[string]'}, 'security-list-ids': {'module': 'core', 'class': 'list[string]'}}, output_type={'module': 'core', 'class': 'Subnet'})
4238
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'ipv4-cidr-blocks': {'module': 'core', 'class': 'list[string]'}, 'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}, 'ipv6-cidr-blocks': {'module': 'core', 'class': 'list[string]'}, 'security-list-ids': {'module': 'core', 'class': 'list[string]'}}, output_type={'module': 'core', 'class': 'Subnet'})
4155
4239
  @cli_util.wrap_exceptions
4156
- def create_subnet(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, cidr_block, compartment_id, vcn_id, availability_domain, defined_tags, dhcp_options_id, display_name, dns_label, freeform_tags, ipv6_cidr_block, ipv6_cidr_blocks, prohibit_internet_ingress, prohibit_public_ip_on_vnic, route_table_id, security_list_ids):
4240
+ def create_subnet(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, vcn_id, availability_domain, cidr_block, ipv4_cidr_blocks, defined_tags, dhcp_options_id, display_name, dns_label, freeform_tags, ipv6_cidr_block, ipv6_cidr_blocks, prohibit_internet_ingress, prohibit_public_ip_on_vnic, route_table_id, security_list_ids):
4157
4241
 
4158
4242
  kwargs = {}
4159
4243
 
4160
4244
  _details = {}
4161
- _details['cidrBlock'] = cidr_block
4162
4245
  _details['compartmentId'] = compartment_id
4163
4246
  _details['vcnId'] = vcn_id
4164
4247
 
4165
4248
  if availability_domain is not None:
4166
4249
  _details['availabilityDomain'] = availability_domain
4167
4250
 
4251
+ if cidr_block is not None:
4252
+ _details['cidrBlock'] = cidr_block
4253
+
4254
+ if ipv4_cidr_blocks is not None:
4255
+ _details['ipv4CidrBlocks'] = cli_util.parse_json_parameter("ipv4_cidr_blocks", ipv4_cidr_blocks)
4256
+
4168
4257
  if defined_tags is not None:
4169
4258
  _details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
4170
4259
 
@@ -10925,6 +11014,79 @@ def list_vtaps(ctx, from_json, all_pages, page_size, compartment_id, vcn_id, sou
10925
11014
  cli_util.render_response(result, ctx)
10926
11015
 
10927
11016
 
11017
+ @subnet_group.command(name=cli_util.override('virtual_network.modify_ipv4_subnet_cidr.command_name', 'modify-ipv4-subnet-cidr'), help=u"""Updates the specified Ipv4 CIDR block of a Subnet. The new Ipv4 CIDR IP range must meet the following criteria:
11018
+
11019
+ - Must be valid. - Must not overlap with another Ipv4 CIDR block in the Subnet or the on-premises network CIDR block. - Must not exceed the limit of Ipv4 CIDR blocks allowed per Subnet. - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. - No IP address in an existing subnet should be outside of the new CIDR block range. \n[Command Reference](modifyIpv4SubnetCidr)""")
11020
+ @cli_util.option('--subnet-id', required=True, help=u"""Specify the [OCID] of the subnet.""")
11021
+ @cli_util.option('--ipv4-cidr-block', required=True, help=u"""The Ipv4 CIDR IP address to update.""")
11022
+ @cli_util.option('--updated-ipv4-cidr-block', required=True, help=u"""The new Ipv4 CIDR IP address.""")
11023
+ @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.""")
11024
+ @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
11025
+ @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.""")
11026
+ @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.""")
11027
+ @json_skeleton_utils.get_cli_json_input_option({})
11028
+ @cli_util.help_option
11029
+ @click.pass_context
11030
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
11031
+ @cli_util.wrap_exceptions
11032
+ def modify_ipv4_subnet_cidr(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, subnet_id, ipv4_cidr_block, updated_ipv4_cidr_block, if_match):
11033
+
11034
+ if isinstance(subnet_id, six.string_types) and len(subnet_id.strip()) == 0:
11035
+ raise click.UsageError('Parameter --subnet-id cannot be whitespace or empty string')
11036
+
11037
+ kwargs = {}
11038
+ if if_match is not None:
11039
+ kwargs['if_match'] = if_match
11040
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
11041
+
11042
+ _details = {}
11043
+ _details['ipv4CidrBlock'] = ipv4_cidr_block
11044
+ _details['updatedIpv4CidrBlock'] = updated_ipv4_cidr_block
11045
+
11046
+ client = cli_util.build_client('core', 'virtual_network', ctx)
11047
+ result = client.modify_ipv4_subnet_cidr(
11048
+ subnet_id=subnet_id,
11049
+ modify_ipv4_subnet_cidr_details=_details,
11050
+ **kwargs
11051
+ )
11052
+ work_request_client = cli_util.build_client('work_requests', 'work_request', ctx)
11053
+ if wait_for_state:
11054
+
11055
+ if hasattr(work_request_client, 'get_work_request') and callable(getattr(work_request_client, 'get_work_request')):
11056
+ try:
11057
+ wait_period_kwargs = {}
11058
+ if max_wait_seconds is not None:
11059
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
11060
+ if wait_interval_seconds is not None:
11061
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
11062
+ if 'opc-work-request-id' not in result.headers:
11063
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
11064
+ cli_util.render_response(result, ctx)
11065
+ return
11066
+
11067
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
11068
+ result = oci.wait_until(work_request_client, work_request_client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
11069
+ if hasattr(result, "data") and hasattr(result.data, "resources") and len(result.data.resources) == 1:
11070
+ entity_type = result.data.resources[0].entity_type
11071
+ identifier = result.data.resources[0].identifier
11072
+ get_operation = 'get_' + entity_type
11073
+ if hasattr(client, get_operation) and callable(getattr(client, get_operation)):
11074
+ result = getattr(client, get_operation)(identifier)
11075
+
11076
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
11077
+ # If we fail, we should show an error, but we should still provide the information to the customer
11078
+ click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
11079
+ cli_util.render_response(result, ctx)
11080
+ sys.exit(2)
11081
+ except Exception:
11082
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
11083
+ cli_util.render_response(result, ctx)
11084
+ raise
11085
+ else:
11086
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
11087
+ cli_util.render_response(result, ctx)
11088
+
11089
+
10928
11090
  @vcn_group.command(name=cli_util.override('virtual_network.modify_vcn_cidr.command_name', 'modify-vcn-cidr'), help=u"""Updates the specified CIDR block of a VCN. The new CIDR IP range must meet the following criteria:
10929
11091
 
10930
11092
  - Must be valid. - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. - Must not exceed the limit of CIDR blocks allowed per VCN. - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. - No IP address in an existing subnet should be outside of the new CIDR block range.
@@ -11185,6 +11347,79 @@ def remove_import_drg_route_distribution(ctx, from_json, wait_for_state, max_wai
11185
11347
  cli_util.render_response(result, ctx)
11186
11348
 
11187
11349
 
11350
+ @subnet_group.command(name=cli_util.override('virtual_network.remove_ipv4_subnet_cidr.command_name', 'remove'), help=u"""Remove an IPv4 prefix from a subnet \n[Command Reference](removeIpv4SubnetCidr)""")
11351
+ @cli_util.option('--subnet-id', required=True, help=u"""Specify the [OCID] of the subnet.""")
11352
+ @cli_util.option('--ipv4-cidr-block', required=True, help=u"""This field should only be specified when removing an IPv4 prefix from a subnet's IPv4 address space. The CIDR must maintain the following rules -
11353
+
11354
+ a. The CIDR block is valid and correctly formatted. b. The CIDR range is within one of the parent VCN ranges. c. The CIDR range to be removed is already present in the list of ipv4CidrBlocks
11355
+
11356
+ Example: `10.0.1.0/24`""")
11357
+ @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.""")
11358
+ @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
11359
+ @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.""")
11360
+ @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.""")
11361
+ @json_skeleton_utils.get_cli_json_input_option({})
11362
+ @cli_util.help_option
11363
+ @click.pass_context
11364
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
11365
+ @cli_util.wrap_exceptions
11366
+ def remove_ipv4_subnet_cidr(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, subnet_id, ipv4_cidr_block, if_match):
11367
+
11368
+ if isinstance(subnet_id, six.string_types) and len(subnet_id.strip()) == 0:
11369
+ raise click.UsageError('Parameter --subnet-id cannot be whitespace or empty string')
11370
+
11371
+ kwargs = {}
11372
+ if if_match is not None:
11373
+ kwargs['if_match'] = if_match
11374
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
11375
+
11376
+ _details = {}
11377
+ _details['ipv4CidrBlock'] = ipv4_cidr_block
11378
+
11379
+ client = cli_util.build_client('core', 'virtual_network', ctx)
11380
+ result = client.remove_ipv4_subnet_cidr(
11381
+ subnet_id=subnet_id,
11382
+ remove_ipv4_subnet_cidr_details=_details,
11383
+ **kwargs
11384
+ )
11385
+ work_request_client = cli_util.build_client('work_requests', 'work_request', ctx)
11386
+ if wait_for_state:
11387
+
11388
+ if hasattr(work_request_client, 'get_work_request') and callable(getattr(work_request_client, 'get_work_request')):
11389
+ try:
11390
+ wait_period_kwargs = {}
11391
+ if max_wait_seconds is not None:
11392
+ wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
11393
+ if wait_interval_seconds is not None:
11394
+ wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
11395
+ if 'opc-work-request-id' not in result.headers:
11396
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
11397
+ cli_util.render_response(result, ctx)
11398
+ return
11399
+
11400
+ click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
11401
+ result = oci.wait_until(work_request_client, work_request_client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
11402
+ if hasattr(result, "data") and hasattr(result.data, "resources") and len(result.data.resources) == 1:
11403
+ entity_type = result.data.resources[0].entity_type
11404
+ identifier = result.data.resources[0].identifier
11405
+ get_operation = 'get_' + entity_type
11406
+ if hasattr(client, get_operation) and callable(getattr(client, get_operation)):
11407
+ result = getattr(client, get_operation)(identifier)
11408
+
11409
+ except oci.exceptions.MaximumWaitTimeExceeded as e:
11410
+ # If we fail, we should show an error, but we should still provide the information to the customer
11411
+ click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
11412
+ cli_util.render_response(result, ctx)
11413
+ sys.exit(2)
11414
+ except Exception:
11415
+ click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
11416
+ cli_util.render_response(result, ctx)
11417
+ raise
11418
+ else:
11419
+ click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
11420
+ cli_util.render_response(result, ctx)
11421
+
11422
+
11188
11423
  @subnet_group.command(name=cli_util.override('virtual_network.remove_ipv6_subnet_cidr.command_name', 'remove'), help=u"""Remove an IPv6 prefix from a subnet. At least one IPv6 CIDR should remain. \n[Command Reference](removeIpv6SubnetCidr)""")
11189
11424
  @cli_util.option('--subnet-id', required=True, help=u"""Specify the [OCID] of the subnet.""")
11190
11425
  @cli_util.option('--ipv6-cidr-block', required=True, help=u"""This field is not required and should only be specified when removing an IPv6 prefix from a subnet's IPv6 address space. See[IPv6 Addresses].
@@ -60,6 +60,8 @@ cli_util.rename_command(virtualnetwork_cli, virtualnetwork_cli.vcn_group, virtua
60
60
  cli_util.rename_command(virtualnetwork_cli, virtualnetwork_cli.vcn_group, virtualnetwork_cli.remove_ipv6_vcn_cidr, "remove-ipv6-vcn-cidr")
61
61
  cli_util.rename_command(virtualnetwork_cli, virtualnetwork_cli.subnet_group, virtualnetwork_cli.add_ipv6_subnet_cidr, "add-ipv6-subnet-cidr")
62
62
  cli_util.rename_command(virtualnetwork_cli, virtualnetwork_cli.subnet_group, virtualnetwork_cli.remove_ipv6_subnet_cidr, "remove-ipv6-subnet-cidr")
63
+ cli_util.rename_command(virtualnetwork_cli, virtualnetwork_cli.subnet_group, virtualnetwork_cli.add_ipv4_subnet_cidr, "add-ipv4-subnet-cidr")
64
+ cli_util.rename_command(virtualnetwork_cli, virtualnetwork_cli.subnet_group, virtualnetwork_cli.remove_ipv4_subnet_cidr, "remove-ipv4-subnet-cidr")
63
65
 
64
66
  # help for oci network ip-sec-connection create --static-routes
65
67
  network_create_ip_sec_connection_static_routes_example = """'["10.0.0.0/16"]'"""
@@ -122,7 +124,7 @@ For more information about secondary private IPs, see [IP Addresses]
122
124
  @click.pass_context
123
125
  @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'core', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'core', 'class': 'dict(str, string)'}}, output_type={'module': 'core', 'class': 'PrivateIp'})
124
126
  @cli_util.wrap_exceptions
125
- def assign_private_ip(ctx, from_json, vnic_id, vlan_id, ip_address, display_name, hostname_label, unassign_if_already_assigned, defined_tags, freeform_tags, route_table_id, lifetime):
127
+ def assign_private_ip(ctx, from_json, vnic_id, vlan_id, ip_address, display_name, hostname_label, unassign_if_already_assigned, cidr_prefix_length, ipv4_subnet_cidr_at_creation, route_table_id, lifetime, defined_tags, freeform_tags):
126
128
  networking_client = cli_util.build_client('core', 'virtual_network', ctx)
127
129
  assign_private_ip_request_body = {}
128
130
  is_ip_reassignment = False
@@ -214,6 +216,10 @@ def assign_private_ip(ctx, from_json, vnic_id, vlan_id, ip_address, display_name
214
216
  assign_private_ip_request_body['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
215
217
  if freeform_tags is not None:
216
218
  assign_private_ip_request_body['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
219
+ if lifetime is not None:
220
+ assign_private_ip_request_body['lifetime'] = lifetime
221
+ if route_table_id is not None:
222
+ assign_private_ip_request_body['routeTableId'] = route_table_id
217
223
 
218
224
  if lifetime is not None:
219
225
  assign_private_ip_request_body['lifetime'] = lifetime
@@ -222,6 +228,10 @@ def assign_private_ip(ctx, from_json, vnic_id, vlan_id, ip_address, display_name
222
228
  if not is_ip_reassignment:
223
229
  if ip_address is not None:
224
230
  assign_private_ip_request_body['ipAddress'] = ip_address
231
+ if cidr_prefix_length is not None:
232
+ assign_private_ip_request_body['cidrPrefixLength'] = cidr_prefix_length
233
+ if ipv4_subnet_cidr_at_creation is not None:
234
+ assign_private_ip_request_body['ipv4SubnetCidrAtCreation'] = ipv4_subnet_cidr_at_creation
225
235
 
226
236
  result = networking_client.create_private_ip(assign_private_ip_request_body)
227
237
  else: