oci-cli 3.63.3__py3-none-any.whl → 3.64.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 (282) hide show
  1. oci_cli/bin/devops.psm1 +5 -1
  2. oci_cli/bin/redis.psm1 +28 -3
  3. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/change-compartment.txt +133 -0
  4. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/create.txt +180 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/delete.txt +131 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/get.txt +93 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/update.txt +194 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group-collection/list-stream-groups.txt +129 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group-collection.txt +14 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group.txt +22 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/change-compartment.txt +142 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/create-stream-job-object-storage-output-location.txt +187 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/create.txt +184 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/delete.txt +141 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/get.txt +103 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/start.txt +137 -0
  17. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/stop.txt +137 -0
  18. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/update-stream-job-object-storage-output-location.txt +206 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/update.txt +202 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job-collection/list-stream-jobs.txt +137 -0
  21. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job-collection.txt +14 -0
  22. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job.txt +30 -0
  23. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/change-compartment.txt +138 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/create-stream-source-rtsp-source-details.txt +173 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/create.txt +163 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/delete.txt +136 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/get.txt +98 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/update-stream-source-rtsp-source-details.txt +189 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/update.txt +177 -0
  30. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source-collection/list-stream-sources.txt +137 -0
  31. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source-collection.txt +14 -0
  32. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source.txt +26 -0
  33. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/change-compartment.txt +108 -0
  34. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/create.txt +157 -0
  35. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/delete.txt +132 -0
  36. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/get.txt +94 -0
  37. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/update.txt +167 -0
  38. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint-collection/list-vision-private-endpoints.txt +137 -0
  39. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint-collection.txt +14 -0
  40. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint.txt +22 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/ai-vision.txt +76 -0
  42. oci_cli/help_text_producer/data_files/text/cmdref/compute/{compute-gpu-memory-cluster-collection/list-compute-gpu-memory-clusters.txt → compute-gpu-memory-cluster/list.txt} +5 -5
  43. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-gpu-memory-cluster.txt +2 -0
  44. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-compute-bare-metal-host-placement-constraint-details.txt +0 -5
  45. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-host-group-placement-constraint-details.txt +0 -5
  46. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch.txt +0 -5
  47. oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/terminate.txt +11 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/compute.txt +2 -4
  49. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/alert-summary/list-alert-analytics.txt +2 -2
  50. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/alert-summary/list-alerts.txt +2 -2
  51. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/change-compartment.txt +140 -0
  52. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/create.txt +182 -0
  53. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/delete.txt +138 -0
  54. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/get.txt +108 -0
  55. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/list-associated-resources.txt +145 -0
  56. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/list.txt +211 -0
  57. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/update.txt +192 -0
  58. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set.txt +28 -0
  59. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-archive-retrieval/list.txt +5 -0
  60. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-event-summary/list-audit-event-analytics.txt +11 -10
  61. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-event-summary/list-audit-events.txt +9 -8
  62. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-policy-analytics/list.txt +5 -0
  63. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-policy-collection/list-audit-policies.txt +5 -0
  64. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/calculate-audit-volume-available.txt +5 -1
  65. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/calculate-audit-volume-collected.txt +5 -1
  66. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/change-compartment.txt +5 -2
  67. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/change-retention.txt +14 -10
  68. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/create.txt +205 -0
  69. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/delete.txt +135 -0
  70. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/discover-audit-trails.txt +5 -1
  71. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/get.txt +5 -1
  72. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list-available-audit-volumes.txt +5 -1
  73. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list-collected-audit-volumes.txt +5 -1
  74. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list-target-overrides.txt +143 -0
  75. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list.txt +14 -0
  76. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/update.txt +14 -1
  77. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile-analytic-collection/list-audit-profile-analytics.txt +10 -1
  78. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile.txt +6 -0
  79. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail/list.txt +5 -0
  80. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail/start.txt +6 -0
  81. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail/update.txt +6 -0
  82. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail-analytic-collection/list-audit-trail-analytics.txt +187 -0
  83. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/database-security-config/list.txt +5 -0
  84. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/database-table-access-entry-collection/list-database-table-access-entries.txt +1 -1
  85. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/database-view-access-entry-collection/list-database-view-access-entries.txt +1 -1
  86. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-column/list.txt +1 -1
  87. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/list-masking-analytics.txt +28 -1
  88. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy-referential-relation-summary/list-masking-policy-referential-relations.txt +1 -1
  89. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/on-prem-connector/list.txt +9 -9
  90. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/peer-target-database/create-peer-target-database-database-cloud-service-details.txt +10 -6
  91. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/peer-target-database/update-peer-target-database-database-cloud-service-details.txt +10 -6
  92. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/report-definition/generate-report.txt +13 -2
  93. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/report-summary/list-reports.txt +9 -0
  94. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/apply-security-assessment-template.txt +134 -0
  95. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/compare-to-template-baseline.txt +135 -0
  96. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/create.txt +33 -2
  97. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/download-security-assessment-report.txt +2 -2
  98. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/generate-security-assessment-report.txt +2 -2
  99. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/get-template-baseline-comparison.txt +112 -0
  100. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-checks.txt +186 -0
  101. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-finding-analytics.txt +35 -1
  102. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +33 -2
  103. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-security-feature-analytics.txt +5 -0
  104. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-security-features.txt +5 -0
  105. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-template-analytics.txt +188 -0
  106. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-template-association-analytics.txt +174 -0
  107. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list.txt +21 -3
  108. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/patch-checks.txt +145 -0
  109. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/patch-findings.txt +145 -0
  110. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/remove.txt +129 -0
  111. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment.txt +18 -0
  112. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/change-compartment.txt +3 -2
  113. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/create.txt +159 -0
  114. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/delete.txt +131 -0
  115. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/get.txt +3 -1
  116. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/list.txt +8 -0
  117. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/update.txt +3 -1
  118. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/change-compartment.txt +135 -0
  119. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/create.txt +189 -0
  120. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/delete.txt +133 -0
  121. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/get.txt +95 -0
  122. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/update.txt +197 -0
  123. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config-collection/list-security-policy-configs.txt +375 -0
  124. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config-collection.txt +14 -0
  125. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config.txt +23 -0
  126. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/change-compartment.txt +7 -2
  127. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/create.txt +179 -0
  128. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/delete.txt +135 -0
  129. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/deploy.txt +131 -0
  130. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/get.txt +7 -1
  131. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/list.txt +10 -1
  132. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/refresh.txt +132 -0
  133. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/update.txt +7 -1
  134. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment.txt +8 -0
  135. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-entry-state/get.txt +7 -1
  136. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-entry-state/list.txt +21 -2
  137. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy.txt +4 -0
  138. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-data-model/list-discovery-analytics.txt +27 -0
  139. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-data-model/list-sensitive-column-analytics.txt +5 -0
  140. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-collection/list.txt +5 -0
  141. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-collection-analytics/list.txt +5 -0
  142. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-allowed-sql/list.txt +1 -1
  143. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-allowed-sql-analytics/list.txt +1 -1
  144. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-violation-summary/list-sql-firewall-violation-analytics.txt +2 -2
  145. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-violation-summary/list-sql-firewall-violations.txt +2 -2
  146. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/change-compartment.txt +138 -0
  147. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/create.txt +175 -0
  148. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/delete.txt +137 -0
  149. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/get-group-members.txt +118 -0
  150. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/get.txt +99 -0
  151. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/update.txt +189 -0
  152. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group-summary/list-target-database-groups.txt +365 -0
  153. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group-summary.txt +15 -0
  154. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group.txt +25 -0
  155. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/bulk-create.txt +164 -0
  156. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/change-compartment.txt +142 -0
  157. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/create.txt +195 -0
  158. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/delete.txt +140 -0
  159. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/get.txt +102 -0
  160. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/update.txt +202 -0
  161. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-collection/list-unified-audit-policies.txt +385 -0
  162. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-collection.txt +14 -0
  163. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/change-compartment.txt +132 -0
  164. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/delete.txt +129 -0
  165. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/get.txt +92 -0
  166. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/update.txt +171 -0
  167. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition-collection/list-unified-audit-policy-definitions.txt +205 -0
  168. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition-collection.txt +14 -0
  169. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition.txt +20 -0
  170. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy.txt +25 -0
  171. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/user-assessment/create.txt +13 -2
  172. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/user-assessment/list.txt +14 -0
  173. oci_cli/help_text_producer/data_files/text/cmdref/data-safe.txt +118 -0
  174. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/change-compartment.txt +1 -7
  175. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/create-job-artifact.txt +1 -7
  176. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/create.txt +29 -24
  177. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/delete.txt +1 -7
  178. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/get-artifact-content.txt +2 -7
  179. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/get.txt +1 -7
  180. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/head-job-artifact.txt +1 -7
  181. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/update.txt +1 -7
  182. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/cancel.txt +1 -7
  183. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/change-compartment.txt +1 -7
  184. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/create.txt +23 -7
  185. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/delete.txt +1 -7
  186. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/get.txt +1 -7
  187. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/update.txt +1 -7
  188. oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline-run/create.txt +11 -0
  189. 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.txt} +5 -5
  190. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  191. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  192. oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch/create-or-update.txt +1 -1
  193. oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch/delete.txt +1 -1
  194. oci_cli/help_text_producer/data_files/text/cmdref/devops/pull-request/reopen-pull-request-comment.txt +119 -0
  195. oci_cli/help_text_producer/data_files/text/cmdref/devops/pull-request/resolve-pull-request-comment.txt +119 -0
  196. oci_cli/help_text_producer/data_files/text/cmdref/devops/pull-request.txt +4 -0
  197. oci_cli/help_text_producer/data_files/text/cmdref/devops.txt +4 -0
  198. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-kinesis-connection.txt +9 -0
  199. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-s3-connection.txt +4 -3
  200. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-azure-data-lake-storage-connection.txt +9 -0
  201. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-db2-connection.txt +20 -8
  202. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-pub-sub-connection.txt +8 -9
  203. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-jms-connection.txt +1 -1
  204. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-object-storage-connection.txt +2 -2
  205. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-nosql-connection.txt +2 -2
  206. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-kinesis-connection.txt +9 -0
  207. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-s3-connection.txt +4 -3
  208. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-azure-data-lake-storage-connection.txt +9 -0
  209. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-db2-connection.txt +20 -8
  210. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-jms-connection.txt +1 -1
  211. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-object-storage-connection.txt +2 -2
  212. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-nosql-connection.txt +2 -2
  213. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
  214. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  215. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log/list.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
  216. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
  217. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
  218. oci_cli/help_text_producer/data_files/text/cmdref/lfs/lustre-file-system.txt +1 -1
  219. oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +1 -2
  220. oci_cli/help_text_producer/data_files/text/cmdref/network/drg-route-distribution/create.txt +2 -2
  221. oci_cli/help_text_producer/data_files/text/cmdref/network/drg-route-distribution.txt +12 -10
  222. oci_cli/help_text_producer/data_files/text/cmdref/network/ip-sec-connection/create.txt +11 -16
  223. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/associated-oci-cache-cluster-summary/list-associated-oci-cache-clusters.txt +139 -0
  224. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/associated-oci-cache-cluster-summary.txt +14 -0
  225. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/change-compartment.txt +139 -0
  226. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/create.txt +175 -0
  227. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/delete.txt +138 -0
  228. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/get.txt +100 -0
  229. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/update.txt +173 -0
  230. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set-summary/list-oci-cache-config-sets.txt +148 -0
  231. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set-summary.txt +14 -0
  232. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set.txt +23 -0
  233. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set.txt +33 -0
  234. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set/get.txt +96 -0
  235. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set-summary/list-oci-cache-default-config-sets.txt +156 -0
  236. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set-summary.txt +14 -0
  237. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set.txt +15 -0
  238. oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set.txt +21 -0
  239. oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/create.txt +4 -0
  240. oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/update.txt +4 -0
  241. oci_cli/help_text_producer/data_files/text/cmdref/redis.txt +32 -0
  242. oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +2 -1
  243. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +15 -12
  244. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +3 -3
  245. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +2 -2
  246. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/put-attachment.txt +153 -0
  247. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +20 -14
  248. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +5 -5
  249. oci_cli/help_text_producer/data_files/text/cmdref/support/incident.txt +3 -1
  250. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  251. oci_cli/help_text_producer/data_files/text/cmdref/support.txt +2 -0
  252. oci_cli/version.py +1 -1
  253. {oci_cli-3.63.3.dist-info → oci_cli-3.64.0.dist-info}/METADATA +2 -2
  254. {oci_cli-3.63.3.dist-info → oci_cli-3.64.0.dist-info}/RECORD +281 -158
  255. services/ai_vision/src/oci_cli_ai_service_vision/generated/aiservicevision_cli.py +2349 -448
  256. services/cims/src/oci_cli_incident/cims_cli_extended.py +70 -14
  257. services/cims/src/oci_cli_incident/generated/incident_cli.py +76 -15
  258. services/core/src/oci_cli_compute/generated/compute_cli.py +19 -79
  259. services/core/src/oci_cli_virtual_network/generated/virtualnetwork_cli.py +16 -14
  260. services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +3822 -391
  261. services/data_science/src/oci_cli_data_science/datascience_cli_extended.py +47 -6
  262. services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +1351 -139
  263. services/devops/src/oci_cli_devops/generated/devops_cli.py +62 -2
  264. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +67 -25
  265. services/golden_gate/src/oci_cli_golden_gate/golden_gate_cli_extended.py +38 -4
  266. services/redis/src/oci_cli_oci_cache_config_set/__init__.py +4 -0
  267. services/redis/src/oci_cli_oci_cache_config_set/generated/__init__.py +4 -0
  268. services/redis/src/oci_cli_oci_cache_config_set/generated/client_mappings.py +14 -0
  269. services/redis/src/oci_cli_oci_cache_config_set/generated/ocicacheconfigset_cli.py +458 -0
  270. services/redis/src/oci_cli_oci_cache_default_config_set/__init__.py +4 -0
  271. services/redis/src/oci_cli_oci_cache_default_config_set/generated/__init__.py +4 -0
  272. services/redis/src/oci_cli_oci_cache_default_config_set/generated/client_mappings.py +14 -0
  273. services/redis/src/oci_cli_oci_cache_default_config_set/generated/ocicachedefaultconfigset_cli.py +129 -0
  274. services/redis/src/oci_cli_redis_cluster/generated/rediscluster_cli.py +10 -2
  275. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-gpu-memory-cluster-collection.txt +0 -14
  276. /oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane → delegate-access-control}/work-request/work-request-log.txt +0 -0
  277. /oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control → governance-rules-control-plane}/work-request/work-request-log-entry.txt +0 -0
  278. {oci_cli-3.63.3.dist-info → oci_cli-3.64.0.dist-info}/LICENSE.txt +0 -0
  279. {oci_cli-3.63.3.dist-info → oci_cli-3.64.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  280. {oci_cli-3.63.3.dist-info → oci_cli-3.64.0.dist-info}/WHEEL +0 -0
  281. {oci_cli-3.63.3.dist-info → oci_cli-3.64.0.dist-info}/entry_points.txt +0 -0
  282. {oci_cli-3.63.3.dist-info → oci_cli-3.64.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,9 @@
2
2
  # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
3
  # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
4
 
5
+ import io
6
+ import os.path
7
+
5
8
  import click
6
9
  import json
7
10
  from services.cims.src.oci_cli_incident.generated import incident_cli
@@ -10,6 +13,7 @@ from services.cims.src.oci_cli_incident.generated.incident_cli import incident_g
10
13
  from oci_cli import custom_types
11
14
  from oci_cli import json_skeleton_utils
12
15
 
16
+ from src.oci_cli import cli_exceptions
13
17
 
14
18
  # remove update-incident stand-alone command
15
19
  # incident_cli.incident_root_group.commands.pop(incident_cli.update_incident_group.name)
@@ -26,16 +30,23 @@ cli_util.rename_command(incident_cli, incident_group, incident_cli.update_incide
26
30
 
27
31
  # modify csi parameter to be required for incident create, and flatten JSON parameter for ticket to be required params.
28
32
  @cli_util.copy_params_from_generated_command(incident_cli.create_incident, params_to_exclude=['csi', 'ticket'])
29
- @incident_cli.incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'), help=u"""This API enables the customer to Create an Incident""")
33
+ @incident_cli.incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'),
34
+ help=u"""This API enables the customer to Create an Incident""")
30
35
  @cli_util.option('--csi', required=True, help=u'''Customer Support Identifier''')
31
- @cli_util.option('--severity', required=True, type=custom_types.CliCaseInsensitiveChoice(["MEDIUM", "HIGH", "HIGHEST"]), help=u"""States severity level of incident. Acceptable values are MEDIUM, HIGH, HIGHEST. Please note for HIGHEST: Oracle Support requires a 24x7 contact be provided so additional information can be requested as needed 24x7.)""")
32
- @cli_util.option('--title', required=True, help=u"""Title for the SR. Should be a high level description of issue. eg: Cannot connect to instance""")
33
- @cli_util.option('--description', required=True, help=u"""This should be the description of the SR with a more granular level of detail as to what the problem you are facing is. eg: I cannot connect to my compute instance. I have tried ssh, ping, traceroute, and provide the results of those.""")
36
+ @cli_util.option('--severity', required=True,
37
+ type=custom_types.CliCaseInsensitiveChoice(["LOW", "MEDIUM", "HGIH", "HIGHEST"]),
38
+ help=u"""States severity level of incident. Acceptable values are LOW, MEDIUM, HIGH, HIGHEST. Please note for HIGHEST: Oracle Support requires a 24x7 contact be provided so additional information can be requested as needed 24x7.)""")
39
+ @cli_util.option('--title', required=True,
40
+ help=u"""Title for the SR. Should be a high level description of issue. eg: Cannot connect to instance""")
41
+ @cli_util.option('--description', required=True,
42
+ help=u"""This should be the description of the SR with a more granular level of detail as to what the problem you are facing is. eg: I cannot connect to my compute instance. I have tried ssh, ping, traceroute, and provide the results of those.""")
34
43
  @click.pass_context
35
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'ticket': {'module': 'cims', 'class': 'CreateTicketDetails'}, 'contacts': {'module': 'cims', 'class': 'list[Contact]'}}, output_type={'module': 'cims', 'class': 'Incident'})
44
+ @json_skeleton_utils.json_skeleton_generation_handler(
45
+ input_params_to_complex_types={'ticket': {'module': 'cims', 'class': 'CreateTicketDetails'},
46
+ 'contacts': {'module': 'cims', 'class': 'list[Contact]'}},
47
+ output_type={'module': 'cims', 'class': 'Incident'})
36
48
  @cli_util.wrap_exceptions
37
49
  def create_incident_extended(ctx, **kwargs):
38
-
39
50
  ticket = {}
40
51
  if 'severity' in kwargs:
41
52
  ticket['severity'] = kwargs['severity']
@@ -56,16 +67,30 @@ def create_incident_extended(ctx, **kwargs):
56
67
 
57
68
 
58
69
  # modify update incident to flatten ticket parameter to required params.
59
- @cli_util.copy_params_from_generated_command(incident_cli.update_incident, params_to_exclude=['ticket'])
60
- @incident_cli.incident_group.command(name=cli_util.override('support.update_incident.command_name', 'update'), help=u"""This API enables the customer to Update an Incident""")
61
- @cli_util.option('--activity-type', required=True, help=u"""This is the action to be taken on the ticket. Acceptable values are (CASE SENSITIVE) NOTES, EMAIL_OUTBOUND, EMAIL_INBOUND, CLOSE, UPDATE, PROBLEM_DESCRIPTION""")
62
- @cli_util.option('--comments', required=True, help=u"""String text field with the comment you wish to add to the ticket. Must put the string in quotes.""")
63
- @cli_util.option('--type', required=True, help=u"""At this time the only valid type is activity. Eventually this will be expanded to include things like attachment.""")
70
+ @cli_util.copy_params_from_generated_command(incident_cli.update_incident, params_to_exclude=['ticket', 'comments'])
71
+ @incident_cli.incident_group.command(name=cli_util.override('support.update_incident.command_name', 'update'),
72
+ help=u"""This API enables the customer to Update an Incident""")
73
+ @cli_util.option('--activity-type', required=True,
74
+ help=u"""This is the action to be taken on the ticket. Acceptable values are (CASE SENSITIVE) NOTES, EMAIL_OUTBOUND, EMAIL_INBOUND, CLOSE, UPDATE, PROBLEM_DESCRIPTION, ADD_CONTACT""")
75
+ @cli_util.option('--type', required=True,
76
+ help=u"""Valid types are activity and contact. To add additional contact to the Service Request, use contact as type.""")
77
+ @cli_util.option('--comments', required=False,
78
+ help=u"""String text field with the comment you wish to add to the ticket. comments field is mandatory when --type is activity. Must put the string in quotes.""")
79
+ @cli_util.option('--contact', required=False,
80
+ help=u"""Email of the additional contact to be added to a Service request. contact field is mandatory when --type is contact.""")
64
81
  @click.pass_context
65
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'ticket': {'module': 'cims', 'class': 'UpdateTicketDetails'}}, output_type={'module': 'cims', 'class': 'Incident'})
82
+ @json_skeleton_utils.json_skeleton_generation_handler(
83
+ input_params_to_complex_types={'ticket': {'module': 'cims', 'class': 'UpdateTicketDetails'}},
84
+ output_type={'module': 'cims', 'class': 'Incident'})
66
85
  @cli_util.wrap_exceptions
67
86
  def update_incident_extended(ctx, **kwargs):
68
87
 
88
+ if kwargs['comments'] and kwargs['contact']:
89
+ raise cli_exceptions.RequiredValueNotInDefaultOrUserInputError('Cannot specify both --comments and --contact')
90
+
91
+ if not kwargs['comments'] and not kwargs['contact']:
92
+ raise cli_exceptions.RequiredValueNotInDefaultOrUserInputError('Must specify either --comments or --contacts')
93
+
69
94
  ticket = {}
70
95
 
71
96
  if 'activity_type' in kwargs:
@@ -77,11 +102,42 @@ def update_incident_extended(ctx, **kwargs):
77
102
  if 'type' in kwargs:
78
103
  ticket['type'] = kwargs['type']
79
104
 
80
- ticket = {'resource': {'item': {'activityType': kwargs['activity_type'], 'comments': kwargs['comments'], 'type': kwargs['type']}}}
105
+ if 'contact' in kwargs:
106
+ ticket['contact'] = kwargs['contact']
107
+
108
+ if kwargs['type'] == 'contact':
109
+ ticket = {'resource': {
110
+ 'item': {'activityType': kwargs['activity_type'], 'contact': kwargs['contact'], 'type': kwargs['type']}}}
111
+ elif kwargs['type'] == 'activity':
112
+ ticket = {'resource': {
113
+ 'item': {'activityType': kwargs['activity_type'], 'comments': kwargs['comments'], 'type': kwargs['type']}}}
114
+ else:
115
+ raise cli_exceptions.RequiredValueNotInDefaultOrUserInputError('--type must be either activity or contact')
116
+
81
117
  kwargs['ticket'] = json.dumps(ticket)
82
118
 
83
119
  kwargs.pop('activity_type')
84
- kwargs.pop('comments')
85
120
  kwargs.pop('type')
121
+ kwargs.pop('comments')
122
+ kwargs.pop('contact')
86
123
 
87
124
  ctx.invoke(incident_cli.update_incident, **kwargs)
125
+
126
+
127
+ @cli_util.copy_params_from_generated_command(incident_cli.put_attachment, params_to_exclude=['attachment_name', 'put_attachment_details'])
128
+ @incident_group.command(name=cli_util.override('support.put_attachment.command_name', 'put-attachment'), help=u"""Uploads the file and attaches it to the support request. \n[Command Reference](putAttachment)""")
129
+ @cli_util.option('--file', required=True, type=click.File('rb'),
130
+ help=u"""File to be uploaded as attachment to the Service Request.""")
131
+ @click.pass_context
132
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
133
+ output_type={'module': 'cims', 'class': 'Incident'})
134
+ @cli_util.wrap_exceptions
135
+ def put_attachment_extended(ctx, **kwargs):
136
+ if 'file' in kwargs:
137
+ attachment_file_path = kwargs['file']
138
+ kwargs['attachment_name'] = os.path.basename(attachment_file_path.name)
139
+ file_content = bytearray(attachment_file_path.read())
140
+ kwargs['put_attachment_details'] = io.BytesIO(file_content)
141
+
142
+ kwargs.pop('file')
143
+ ctx.invoke(incident_cli.put_attachment, **kwargs)
@@ -26,7 +26,7 @@ def support_root_group():
26
26
  pass
27
27
 
28
28
 
29
- @click.command(cli_util.override('support.update_incident_group.command_name', 'update-incident'), cls=CommandGroupWithAlias, help="""Details about the support ticket being updated.""")
29
+ @click.command(cli_util.override('support.update_incident_group.command_name', 'update-incident'), cls=CommandGroupWithAlias, help="""Details about the support request being updated.""")
30
30
  @cli_util.help_option_group
31
31
  def update_incident_group():
32
32
  pass
@@ -44,7 +44,7 @@ def validation_response_group():
44
44
  pass
45
45
 
46
46
 
47
- @click.command(cli_util.override('support.incident_group.command_name', 'incident'), cls=CommandGroupWithAlias, help="""Details about the support ticket.""")
47
+ @click.command(cli_util.override('support.incident_group.command_name', 'incident'), cls=CommandGroupWithAlias, help="""Details about the support request.""")
48
48
  @cli_util.help_option_group
49
49
  def incident_group():
50
50
  pass
@@ -56,16 +56,16 @@ support_root_group.add_command(validation_response_group)
56
56
  support_root_group.add_command(incident_group)
57
57
 
58
58
 
59
- @incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'), help=u"""Creates a support ticket in the specified tenancy. For more information, see [Creating Support Requests]. \n[Command Reference](createIncident)""")
59
+ @incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'), help=u"""Creates a support request in the specified tenancy. For more information, see [Creating Support Requests]. \n[Command Reference](createIncident)""")
60
60
  @cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
61
61
  @cli_util.option('--ticket', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
62
- @cli_util.option('--problem-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support ticket (type of support request). For information about `ACCOUNT` support tickets, see [Creating a Billing Support Request]. For information about `LIMIT` support tickets, see [Creating a Service Limit Increase Request]. For information about `TECH` support tickets, see [Creating a Technical Support Request].""")
63
- @cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
64
- @cli_util.option('--user-group-id', help=u"""Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal.""")
62
+ @cli_util.option('--problem-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support request (type of support request). For information about `ACCOUNT` support requests, see [Creating a Billing Support Request]. For information about `LIMIT` support requests, see [Creating a Service Limit Increase Request]. For information about `TECH` support requests, see [Creating a Technical Support Request].""")
63
+ @cli_util.option('--csi', help=u"""Deprecated. The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
64
+ @cli_util.option('--user-group-id', help=u"""Technical support type (`TECH`) only: Identifier of the user group to assign the new support request to. To find identifiers of user groups that you have access to, run the [ValidateUser] operation. Note: The Customer User Administrator (CUA) can manage user groups by name using [My Oracle Cloud Support portal].""")
65
65
  @cli_util.option('--contacts', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of contacts.
66
66
 
67
67
  This option is a JSON list with items of type Contact. For documentation on Contact please see our API reference: https://docs.cloud.oracle.com/api/#/en/incident/20181231/datatypes/Contact.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
68
- @cli_util.option('--referrer', help=u"""The incident referrer. This value is often the URL that the customer used when creating the support ticket.""")
68
+ @cli_util.option('--referrer', help=u"""The incident referrer. This value is often the URL that the customer used when creating the support request.""")
69
69
  @cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
70
70
  @cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
71
71
  @cli_util.option('--bearertokentype', help=u"""Token type that determine which cloud provider the request come from.""")
@@ -119,8 +119,8 @@ def create_incident(ctx, from_json, compartment_id, ticket, problem_type, csi, u
119
119
  cli_util.render_response(result, ctx)
120
120
 
121
121
 
122
- @incident_group.command(name=cli_util.override('support.get_incident.command_name', 'get'), help=u"""Gets the specified support ticket. For more information, see [Getting Details for a Support Request]. \n[Command Reference](getIncident)""")
123
- @cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support ticket.""")
122
+ @incident_group.command(name=cli_util.override('support.get_incident.command_name', 'get'), help=u"""Gets the specified support request. For more information, see [Getting Details for a Support Request]. \n[Command Reference](getIncident)""")
123
+ @cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support request.""")
124
124
  @cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
125
125
  @cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
126
126
  @cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
@@ -167,14 +167,14 @@ def get_incident(ctx, from_json, incident_key, compartment_id, csi, ocid, homere
167
167
  cli_util.render_response(result, ctx)
168
168
 
169
169
 
170
- @incident_resource_type_group.command(name=cli_util.override('support.list_incident_resource_types.command_name', 'list'), help=u"""Depending on the selected `productType`, either lists available products (service groups, services, service categories, and subcategories) for technical support tickets or lists limits and current usage for limit increase tickets. This operation is called during creation of technical support and limit increase tickets. For more information about listing products, see [Listing Products for Support Requests]. For more information about listing limits, see [Listing Limits for Service Limit Increase Requests]. \n[Command Reference](listIncidentResourceTypes)""")
170
+ @incident_resource_type_group.command(name=cli_util.override('support.list_incident_resource_types.command_name', 'list'), help=u"""Depending on the selected `productType`, either lists available products (service groups, services, service categories, and subcategories) for technical support requests or lists limits and current usage for limit increase tickets. This operation is called during creation of technical support and limit increase tickets. For more information about listing products, see [Listing Products for Support Requests]. For more information about listing limits, see [Listing Limits for Service Limit Increase Requests]. \n[Command Reference](listIncidentResourceTypes)""")
171
171
  @cli_util.option('--problem-type', required=True, help=u"""The kind of support request.""")
172
172
  @cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
173
173
  @cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
174
174
  @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].""")
175
175
  @cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["dateUpdated", "severity"]), help=u"""The key to use to sort the returned items.""")
176
176
  @cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The order to sort the results in.""")
177
- @cli_util.option('--name', help=u"""The user-friendly name of the support ticket type.""")
177
+ @cli_util.option('--name', help=u"""The user-friendly name of the support request type.""")
178
178
  @cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
179
179
  @cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
180
180
  @cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
@@ -240,7 +240,7 @@ def list_incident_resource_types(ctx, from_json, all_pages, page_size, problem_t
240
240
  cli_util.render_response(result, ctx)
241
241
 
242
242
 
243
- @incident_group.command(name=cli_util.override('support.list_incidents.command_name', 'list'), help=u"""Lists support tickets for the specified tenancy. For more information, see [Listing Support Requests]. \n[Command Reference](listIncidents)""")
243
+ @incident_group.command(name=cli_util.override('support.list_incidents.command_name', 'list'), help=u"""Lists support requests for the specified tenancy. For more information, see [Listing Support Requests]. \n[Command Reference](listIncidents)""")
244
244
  @cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
245
245
  @cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
246
246
  @cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
@@ -321,11 +321,72 @@ def list_incidents(ctx, from_json, all_pages, page_size, compartment_id, csi, li
321
321
  cli_util.render_response(result, ctx)
322
322
 
323
323
 
324
- @update_incident_group.command(name=cli_util.override('support.update_incident.command_name', 'update-incident'), help=u"""Updates the specified support ticket. For more information, see [Updating Support Requests]. \n[Command Reference](updateIncident)""")
325
- @cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support ticket.""")
324
+ @incident_group.command(name=cli_util.override('support.put_attachment.command_name', 'put-attachment'), help=u"""Uploads the file and attaches it to the support request. \n[Command Reference](putAttachment)""")
325
+ @cli_util.option('--put-attachment-details', required=True, help=u"""File to be uploaded as attachment to the Service Request.""")
326
+ @cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support request.""")
327
+ @cli_util.option('--attachment-name', required=True, help=u"""The name of the file to attach to the support request. Avoid entering confidential information.""")
328
+ @cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
329
+ @cli_util.option('--is-restricted-flag', required=True, type=click.BOOL, help=u"""Set to `true` when the attachment contains personal information (PI) or protected health information (PHI).""")
330
+ @cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
331
+ @cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
332
+ @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.""")
333
+ @cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
334
+ @cli_util.option('--problemtype', help=u"""The kind of support request.""")
335
+ @cli_util.option('--bearertokentype', help=u"""Token type that determine which cloud provider the request come from.""")
336
+ @cli_util.option('--bearertoken', help=u"""Token that provided by multi cloud provider, which help to validate the email.""")
337
+ @cli_util.option('--idtoken', help=u"""IdToken that provided by multi cloud provider, which help to validate the email.""")
338
+ @cli_util.option('--domainid', help=u"""The OCID of identity domain. DomainID is mandatory if the user is part of Non Default Identity domain.""")
339
+ @json_skeleton_utils.get_cli_json_input_option({})
340
+ @cli_util.help_option
341
+ @click.pass_context
342
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'cims', 'class': 'Incident'})
343
+ @cli_util.wrap_exceptions
344
+ def put_attachment(ctx, from_json, put_attachment_details, incident_key, attachment_name, compartment_id, is_restricted_flag, csi, ocid, if_match, homeregion, problemtype, bearertokentype, bearertoken, idtoken, domainid):
345
+
346
+ if isinstance(incident_key, six.string_types) and len(incident_key.strip()) == 0:
347
+ raise click.UsageError('Parameter --incident-key cannot be whitespace or empty string')
348
+
349
+ kwargs = {}
350
+ if csi is not None:
351
+ kwargs['csi'] = csi
352
+ if ocid is not None:
353
+ kwargs['ocid'] = ocid
354
+ if if_match is not None:
355
+ kwargs['if_match'] = if_match
356
+ if homeregion is not None:
357
+ kwargs['homeregion'] = homeregion
358
+ if problemtype is not None:
359
+ kwargs['problemtype'] = problemtype
360
+ if bearertokentype is not None:
361
+ kwargs['bearertokentype'] = bearertokentype
362
+ if bearertoken is not None:
363
+ kwargs['bearertoken'] = bearertoken
364
+ if idtoken is not None:
365
+ kwargs['idtoken'] = idtoken
366
+ if domainid is not None:
367
+ kwargs['domainid'] = domainid
368
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
369
+
370
+ # do not automatically retry operations with binary inputs
371
+ kwargs['retry_strategy'] = oci.retry.NoneRetryStrategy()
372
+
373
+ client = cli_util.build_client('cims', 'incident', ctx)
374
+ result = client.put_attachment(
375
+ put_attachment_details=put_attachment_details,
376
+ incident_key=incident_key,
377
+ attachment_name=attachment_name,
378
+ compartment_id=compartment_id,
379
+ is_restricted_flag=is_restricted_flag,
380
+ **kwargs
381
+ )
382
+ cli_util.render_response(result, ctx)
383
+
384
+
385
+ @update_incident_group.command(name=cli_util.override('support.update_incident.command_name', 'update-incident'), help=u"""Updates the specified support request. For more information, see [Updating Support Requests]. \n[Command Reference](updateIncident)""")
386
+ @cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support request.""")
326
387
  @cli_util.option('--ticket', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
327
388
  @cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
328
- @cli_util.option('--problem-type', type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support ticket (type of support request). For information about `ACCOUNT` support tickets, see [Creating a Billing Support Request]. For information about `LIMIT` support tickets, see [Creating a Service Limit Increase Request]. For information about `TECH` support tickets, see [Creating a Technical Support Request].""")
389
+ @cli_util.option('--problem-type', type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support request (type of support request). For information about `ACCOUNT` support requests, see [Creating a Billing Support Request]. For information about `LIMIT` support requests, see [Creating a Service Limit Increase Request]. For information about `TECH` support requests, see [Creating a Technical Support Request].""")
329
390
  @cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
330
391
  @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.""")
331
392
  @cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")