oci-cli 3.64.1__py3-none-any.whl → 3.65.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 (478) hide show
  1. 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 +2 -2
  2. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
  3. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
  4. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +14 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
  13. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
  16. oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
  17. oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
  18. oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.txt +5 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  21. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  22. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
  23. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry.txt +1 -1
  24. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  25. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  26. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +12 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/delete.txt → kafka/cluster/change-compartment.txt} +15 -20
  30. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
  31. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
  32. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-windows-updates.txt → kafka/cluster/disable-superuser.txt} +17 -17
  33. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → kafka/cluster/enable-superuser.txt} +17 -18
  34. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
  35. oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster}/list.txt +36 -23
  36. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster}/update.txt +68 -45
  37. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
  38. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
  39. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
  40. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
  41. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
  42. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
  43. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
  44. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
  45. oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster-config-version}/list.txt +25 -23
  46. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
  47. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
  49. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
  50. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
  51. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
  52. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request/list-work-request-errors.txt → kafka/work-request-error/list.txt} +16 -13
  53. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
  54. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request → kafka/work-request-log-entry}/list-work-request-logs.txt +14 -11
  55. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-log-entry.txt +2 -1
  56. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
  57. oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
  58. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  59. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  60. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
  61. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
  62. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  63. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  64. oci_cli/help_text_producer/data_files/text/index.txt +2 -8
  65. oci_cli/service_mapping.py +5 -20
  66. oci_cli/version.py +1 -1
  67. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/METADATA +2 -2
  68. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/RECORD +85 -470
  69. services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
  70. services/database/src/oci_cli_database/database_cli_extended.py +56 -1
  71. services/database/src/oci_cli_database/generated/database_cli.py +159 -61
  72. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
  73. services/{ai_anomaly_detection → managed_kafka}/__init__.py +1 -1
  74. services/{ai_anomaly_detection → managed_kafka}/src/__init__.py +1 -1
  75. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/__init__.py +1 -1
  76. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/generated/__init__.py +1 -1
  77. services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
  78. services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
  79. services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
  80. services/managed_kafka/tests/__init__.py +4 -0
  81. oci_cli/bin/dts.psm1 +0 -147
  82. oci_cli/bin/os-management.psm1 +0 -140
  83. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
  84. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
  85. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
  86. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
  87. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
  88. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
  89. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/list.txt +0 -146
  90. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
  91. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
  92. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
  93. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
  94. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-list-input-details.txt +0 -173
  95. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-store-output-details.txt +0 -175
  96. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
  97. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
  98. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
  99. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
  100. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
  101. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
  102. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
  103. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
  104. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
  105. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/delete.txt +0 -140
  106. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
  107. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
  108. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
  109. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
  110. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
  111. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/update.txt +0 -173
  112. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
  113. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/change-compartment.txt +0 -138
  114. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
  115. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/delete.txt +0 -137
  116. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
  117. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/list.txt +0 -147
  118. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/update.txt +0 -180
  119. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
  120. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/create.txt +0 -152
  121. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/list.txt +0 -144
  122. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
  123. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
  124. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/get.txt +0 -91
  125. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
  126. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
  127. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
  128. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request.txt +0 -18
  129. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
  130. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
  131. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
  132. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
  133. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
  134. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
  135. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
  136. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
  137. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
  138. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
  139. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
  140. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
  141. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
  142. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
  143. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
  144. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
  145. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
  146. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
  147. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
  148. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
  149. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
  150. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
  151. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
  152. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
  153. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
  154. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
  155. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
  156. oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
  157. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
  158. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
  159. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
  160. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
  161. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
  162. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
  163. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
  164. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
  165. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
  166. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
  167. oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
  168. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
  169. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
  170. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
  171. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
  172. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
  173. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
  174. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
  175. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
  176. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
  177. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
  178. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
  179. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
  180. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
  181. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
  182. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
  183. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
  184. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
  185. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
  186. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
  187. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
  188. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
  189. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
  190. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
  191. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
  192. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
  193. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
  194. oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
  195. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
  196. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
  197. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
  198. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
  199. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
  200. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
  201. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
  202. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
  203. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
  204. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
  205. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
  206. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
  207. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
  208. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
  209. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
  210. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
  211. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
  212. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/get.txt +0 -91
  213. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-all-updates.txt +0 -125
  214. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
  215. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
  216. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
  217. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
  218. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
  219. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
  220. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
  221. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
  222. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
  223. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
  224. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
  225. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
  226. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
  227. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list.txt +0 -144
  228. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
  229. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
  230. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
  231. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
  232. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
  233. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
  234. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
  235. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
  236. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
  237. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
  238. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
  239. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group.txt +0 -30
  240. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
  241. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
  242. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
  243. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
  244. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
  245. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
  246. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
  247. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
  248. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
  249. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
  250. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
  251. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
  252. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
  253. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
  254. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
  255. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
  256. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
  257. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
  258. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
  259. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
  260. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
  261. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
  262. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
  263. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
  264. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
  265. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
  266. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
  267. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
  268. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
  269. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
  270. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
  271. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
  272. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
  273. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/get.txt +0 -91
  274. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
  275. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
  276. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
  277. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
  278. oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
  279. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
  280. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
  281. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/delete.txt +0 -141
  282. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
  283. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/list.txt +0 -150
  284. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
  285. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
  286. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
  287. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
  288. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
  289. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/create.txt +0 -210
  290. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
  291. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
  292. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
  293. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
  294. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
  295. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
  296. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
  297. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
  298. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
  299. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
  300. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
  301. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
  302. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
  303. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
  304. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
  305. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
  306. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
  307. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
  308. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  309. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  310. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
  311. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
  312. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
  313. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
  314. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  315. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  316. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
  317. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
  318. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/change-compartment.txt +0 -141
  319. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
  320. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
  321. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
  322. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/update.txt +0 -211
  323. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
  324. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
  325. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
  326. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
  327. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
  328. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
  329. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
  330. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
  331. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
  332. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
  333. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
  334. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
  335. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
  336. services/ai_anomaly_detection/tests/__init__.py +0 -4
  337. services/dts/__init__.py +0 -4
  338. services/dts/src/__init__.py +0 -4
  339. services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
  340. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
  341. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
  342. services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
  343. services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
  344. services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
  345. services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
  346. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
  347. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
  348. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
  349. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
  350. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
  351. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
  352. services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
  353. services/dts/src/oci_cli_dts/__init__.py +0 -4
  354. services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
  355. services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
  356. services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
  357. services/dts/src/oci_cli_dts/appliance_config.py +0 -34
  358. services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
  359. services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
  360. services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
  361. services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
  362. services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
  363. services/dts/src/oci_cli_dts/base_client.py +0 -102
  364. services/dts/src/oci_cli_dts/cli_utils.py +0 -131
  365. services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
  366. services/dts/src/oci_cli_dts/dts_transform.py +0 -31
  367. services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
  368. services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
  369. services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
  370. services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
  371. services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
  372. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
  373. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
  374. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
  375. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
  376. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
  377. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
  378. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
  379. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
  380. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
  381. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
  382. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
  383. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
  384. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
  385. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
  386. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
  387. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
  388. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
  389. services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
  390. services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
  391. services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
  392. services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
  393. services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
  394. services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
  395. services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
  396. services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
  397. services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
  398. services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
  399. services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
  400. services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
  401. services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
  402. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
  403. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/client_mappings.py +0 -14
  404. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
  405. services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
  406. services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
  407. services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
  408. services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
  409. services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
  410. services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
  411. services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
  412. services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
  413. services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
  414. services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
  415. services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
  416. services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
  417. services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
  418. services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
  419. services/dts/tests/__init__.py +0 -4
  420. services/os_management/__init__.py +0 -4
  421. services/os_management/src/__init__.py +0 -4
  422. services/os_management/src/oci_cli_event/__init__.py +0 -4
  423. services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
  424. services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
  425. services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
  426. services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
  427. services/os_management/src/oci_cli_os_management/__init__.py +0 -4
  428. services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
  429. services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
  430. services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
  431. services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
  432. services/os_management/tests/__init__.py +0 -4
  433. services/service_mesh/__init__.py +0 -4
  434. services/service_mesh/src/__init__.py +0 -4
  435. services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
  436. services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
  437. services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
  438. services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
  439. services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
  440. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
  441. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
  442. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
  443. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
  444. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
  445. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
  446. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
  447. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
  448. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
  449. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
  450. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
  451. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
  452. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
  453. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
  454. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
  455. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
  456. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
  457. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
  458. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
  459. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
  460. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
  461. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
  462. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
  463. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
  464. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
  465. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
  466. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
  467. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
  468. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
  469. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
  470. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
  471. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
  472. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
  473. services/service_mesh/tests/__init__.py +0 -4
  474. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/LICENSE.txt +0 -0
  475. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  476. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/WHEEL +0 -0
  477. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/entry_points.txt +0 -0
  478. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/top_level.txt +0 -0
@@ -1,145 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
-
5
- import click
6
- import configparser
7
- from oci import exceptions
8
- import os
9
- import shutil
10
- import stat
11
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_ACCESS_TOKEN_KEY, APPLIANCE_CONFIG_FILE_NAME, APPLIANCE_ENDPOINT_KEY, \
12
- APPLIANCE_SERIAL_ID_KEY, DEFAULT_PROFILE
13
-
14
- from services.dts.src.oci_cli_dts.appliance_config import ApplianceConfig
15
-
16
-
17
- class ApplianceConfigManager:
18
- def __init__(self, appliance_configs_base_dir):
19
- self.appliance_configs_base_dir = appliance_configs_base_dir
20
-
21
- def get_base_dir(self):
22
- """
23
- Returns the base directory as a String
24
- :return: The base directory that was configured for this object
25
- """
26
- return self.appliance_configs_base_dir
27
-
28
- def get_config_dir(self, appliance_profile):
29
- """
30
- Returns the path of the appliance config directory if present
31
- :param appliance_profile: The appliance profile name
32
- :return: The full path to the appliance profile's directory
33
- """
34
- return '%s/%s' % (self.appliance_configs_base_dir, appliance_profile)
35
-
36
- def get_config_file(self, appliance_profile):
37
- """
38
- Returns the appliance profile path
39
- :param appliance_profile: The appliance profile name
40
- :return: The full path to the appliance profile's config file
41
- """
42
- return '%s/%s' % (self.get_config_dir(appliance_profile), APPLIANCE_CONFIG_FILE_NAME)
43
-
44
- def create_config_dir(self, appliance_profile):
45
- """
46
- Creates the config directory for the appliance profile. The config directory resides under the
47
- applaince_configs_base_dir and is named appliance_profile
48
- :param appliance_profile: The appliance profile name
49
- :return: None
50
- """
51
- appliance_config_dir = self.get_config_dir(appliance_profile)
52
- if not os.path.exists(appliance_config_dir):
53
- os.makedirs(appliance_config_dir)
54
-
55
- def create_config(self, appliance_config_spec):
56
- """
57
- Creates the config folder for the appliance and adds details tot he config
58
- :param appliance_config_spec: The ApplianceConfigSpec object
59
- :return: None
60
- """
61
- appliance_endpoint = appliance_config_spec.get_endpoint()
62
- if appliance_endpoint[1] == 443:
63
- appliance_url = 'https://%s' % appliance_endpoint[0]
64
- else:
65
- appliance_url = 'https://%s:%d' % (appliance_endpoint[0], appliance_endpoint[1])
66
-
67
- self.create_config_dir(appliance_config_spec.get_profile())
68
- config_file = open(self.get_config_file(appliance_config_spec.get_profile()), "w")
69
- config = configparser.ConfigParser(default_section=DEFAULT_PROFILE)
70
- config.set(DEFAULT_PROFILE, APPLIANCE_ENDPOINT_KEY, appliance_url)
71
- config.set(DEFAULT_PROFILE, APPLIANCE_ACCESS_TOKEN_KEY, appliance_config_spec.get_access_token())
72
- config.set(DEFAULT_PROFILE, APPLIANCE_SERIAL_ID_KEY, appliance_config_spec.get_serial_id())
73
- config.write(config_file)
74
- config_file.close()
75
- # Set read and write permissions only for the owner
76
- os.chmod(self.get_config_file(appliance_config_spec.get_profile()), stat.S_IRUSR | stat.S_IWUSR)
77
-
78
- def is_config_present(self, appliance_profile):
79
- """
80
- Verifies if the appliance_profile exists
81
- :param appliance_profile: The appliance profile name
82
- :return: True if the profile exists, False otherwise
83
- """
84
- return os.path.exists(self.get_config_file(appliance_profile))
85
-
86
- def validate_config_present(self, appliance_profile):
87
- """
88
- Raises an exception if the config is not present
89
- :param appliance_profile: The appliance profile name
90
- :return: None
91
- """
92
- if not self.is_config_present(appliance_profile):
93
- if DEFAULT_PROFILE == appliance_profile:
94
- raise exceptions.InvalidConfig('Cannot find appliance config. Appliance not initialized')
95
- else:
96
- raise exceptions.InvalidConfig(
97
- 'Cannot find appliance config for profile %s since it was not initialized' % appliance_profile)
98
-
99
- def get_config(self, appliance_profile):
100
- """
101
- Creates an ApplianceConfig object out of the config file
102
- :param appliance_profile: The appliance profile name
103
- :return: The ApplianceConfig object
104
- """
105
- self.validate_config_present(appliance_profile)
106
- appliance_config_file = self.get_config_file(appliance_profile)
107
- try:
108
- config = configparser.ConfigParser()
109
- config.read(appliance_config_file)
110
- appliance_url = config.get(DEFAULT_PROFILE, APPLIANCE_ENDPOINT_KEY)
111
- access_token = config.get(DEFAULT_PROFILE, APPLIANCE_ACCESS_TOKEN_KEY)
112
- serial_id = config.get(DEFAULT_PROFILE, APPLIANCE_SERIAL_ID_KEY)
113
- return ApplianceConfig(appliance_url, access_token, serial_id)
114
- except IOError as e:
115
- click.FileError('Unable to parse the appliance config file %s: %s' % (appliance_config_file, e))
116
-
117
- def list_configs(self):
118
- """
119
- Returns all the appliances that have been configured on the host
120
- :return: A dictionary having the key as the appliance_profile and the value as the ApplianceConfig object
121
- """
122
- config_profile_dict = {}
123
- # Loop through all the children of the base folder. Only directories will be profiles
124
- for child in os.listdir(self.appliance_configs_base_dir):
125
- if os.path.isdir('{}/{}'.format(self.appliance_configs_base_dir, child)):
126
- appliance_profile = child.split('/')[-1]
127
- if self.is_config_present(appliance_profile):
128
- config_profile_dict[appliance_profile] = self.get_config(appliance_profile)
129
- return config_profile_dict
130
-
131
- def delete_config(self, appliance_profile):
132
- """
133
- Deletes the appliance profile
134
- :param appliance_profile: The appliance profile name
135
- :return: None
136
- """
137
- if not self.is_config_present(appliance_profile):
138
- raise exceptions.InvalidConfig('The profile {} does not exist'.format(appliance_profile))
139
- try:
140
- shutil.rmtree(self.get_config_dir(appliance_profile))
141
- except IOError as e:
142
- click.FileError('Failed to delete appliance config for profile {}. '
143
- 'Make sure the permissions are set correctly for this path...'
144
- .format(appliance_profile))
145
- raise e
@@ -1,38 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
-
5
-
6
- class ApplianceConfigSpec:
7
- def __init__(self, profile, endpoint, access_token, serial_id):
8
- self.profile = profile
9
- self.endpoint = endpoint
10
- self.access_token = access_token
11
- self.serial_id = serial_id
12
-
13
- def get_endpoint(self):
14
- return self.endpoint
15
-
16
- def get_profile(self):
17
- return self.profile
18
-
19
- def get_access_token(self):
20
- return self.access_token
21
-
22
- def get_serial_id(self):
23
- return self.serial_id
24
-
25
- def __str__(self):
26
- return "ApplianceConfigSpec{profile=%s, endpoint=%s, accessToken='%s', xaSerialId='%s'}" \
27
- % (self.profile, self.endpoint, self.access_token, self.serial_id)
28
-
29
- def __eq__(self, other):
30
- if self == other:
31
- return True
32
- if other is None or self.__class__.__name__ != other.__class__.__name__:
33
- return False
34
- return self.profile == other.profile and self.endpoint == other.endpoint and \
35
- self.access_token == other.access_token and self.serial_id == other.serial_id
36
-
37
- def __hash__(self):
38
- return hash(self.profile + self.endpoint + self.access_token + self.serial_id)
@@ -1,35 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
-
5
- import os
6
-
7
- APPLIANCE_ACCESS_TOKEN_KEY = "appliance_access_token"
8
- APPLIANCE_AUTH_USER = "admin"
9
- APPLIANCE_CONFIG_FILE_NAME = "config_appliance"
10
- APPLIANCE_CERT_FILE_NAME = "appliance_cert_file.pem"
11
- APPLIANCE_CERT_COMMON_NAME = "Data Transfer Appliance"
12
- APPLIANCE_ENDPOINT_KEY = "appliance_endpoint"
13
- APPLIANCE_SERIAL_ID_KEY = "appliance_serial_id"
14
- KEY_FILE_KEY = "key_file"
15
-
16
- APPLIANCE_STATE_NOT_LOCKED = "NOT_LOCKED"
17
- APPLIANCE_STATE_LOCKED = "LOCKED"
18
- APPLIANCE_STATUS_NA = "NA"
19
-
20
- NFS_DATASET_STATE_ACTIVE = "ACTIVE"
21
-
22
- CONFIG_DIR = os.path.expanduser('~') + '/.oci'
23
- APPLIANCE_CONFIGS_BASE_DIR = CONFIG_DIR + '/appliance_configs'
24
- APPLIANCE_KEYSTORE_PATH = APPLIANCE_CONFIGS_BASE_DIR + '/appliance_keystore'
25
- APPLIANCE_UPLOAD_USER_CONFIG_PATH = CONFIG_DIR + '/config_upload_user'
26
-
27
- DEFAULT_PROFILE = 'DEFAULT'
28
-
29
- ENDPOINT = 'endpoint'
30
- APPLIANCE_PROFILE = 'appliance_profile'
31
-
32
- TEST_OBJECT = "BulkDataTransferTestObject"
33
-
34
- XA_AUTH = "xa-auth"
35
- XA_SERIAL_ID = "xa-serial-id"
@@ -1,81 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
-
5
-
6
- import sys
7
-
8
- import click
9
- import os
10
- from services.dts.src.oci_cli_dts.appliance_cert_manager import ApplianceCertManager
11
- from services.dts.src.oci_cli_dts.appliance_config_manager import ApplianceConfigManager
12
- from services.dts.src.oci_cli_dts.appliance_config_spec import ApplianceConfigSpec
13
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CONFIGS_BASE_DIR, DEFAULT_PROFILE
14
-
15
- from services.dts.src.oci_cli_dts.appliance_auth_manager import ApplianceAuthManager
16
-
17
-
18
- class InitAuth:
19
- def __init__(self, auth_spec):
20
- self.auth_spec = auth_spec
21
-
22
- def run(self):
23
- access_token = self.auth_spec.get_access_token()
24
- if access_token is None:
25
- access_token = self.get_access_token()
26
-
27
- config_manager = ApplianceConfigManager(APPLIANCE_CONFIGS_BASE_DIR)
28
- profile = self.auth_spec.get_appliance_profile()
29
- if config_manager.is_config_present(profile):
30
- prompt = 'Found an existing appliance'
31
- if profile != DEFAULT_PROFILE:
32
- prompt += ' for profile %s' % profile
33
- prompt += '. Is it OK to overwrite it?'
34
- if not click.confirm(prompt):
35
- click.echo('Exiting...')
36
- sys.exit(-1)
37
-
38
- appliance_ip = self.auth_spec.get_appliance_ip()
39
- appliance_port = self.auth_spec.get_appliance_port()
40
- cert_fingerprint = self.auth_spec.get_cert_fingerprint()
41
- serial_id = self.auth_spec.get_serial_id()
42
-
43
- cert_manager = ApplianceCertManager((appliance_ip, appliance_port))
44
-
45
- appliance_config_spec = ApplianceConfigSpec(profile=profile,
46
- endpoint=(appliance_ip, appliance_port),
47
- access_token=access_token,
48
- serial_id=serial_id)
49
-
50
- auth_manager = ApplianceAuthManager(appliance_config_spec, cert_fingerprint, config_manager, cert_manager)
51
-
52
- click.echo("Establishing Authentication between the Control Host CLI and the Appliance... ", nl=False)
53
- auth_manager.initialize_auth()
54
- click.echo("done")
55
-
56
- @staticmethod
57
- def get_access_token():
58
- access_token = click.prompt('Access token', hide_input=True)
59
- if access_token is None:
60
- click.echo('No input provided. Exiting...')
61
- sys.exit(-1)
62
- return access_token
63
-
64
- @staticmethod
65
- def validate_and_get_path(env_var):
66
- env_var_path = os.environ.get(env_var)
67
- # Check if environment variable was set
68
- if env_var_path is None:
69
- raise click.UsageError('Environment variable %s has not been set. Set this and run the command' % env_var)
70
-
71
- # Check if path exists
72
- if not os.path.exists(env_var_path):
73
- raise click.UsageError('File %s corresponding to environment variable %s does not exist'
74
- % (env_var_path, env_var))
75
-
76
- # Check if the command is executable
77
- if not os.access(env_var_path, os.X_OK):
78
- raise click.UsageError('File %s corresponding to environment variable %s is not executable'
79
- % (env_var_path, env_var))
80
-
81
- return env_var_path
@@ -1,32 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
-
5
-
6
- class InitAuthSpec:
7
-
8
- def __init__(self, cert_fingerprint, serial_id, appliance_ip, appliance_port, appliance_profile, access_token):
9
- self.cert_fingerprint = cert_fingerprint
10
- self.serial_id = serial_id
11
- self.appliance_ip = appliance_ip
12
- self.appliance_port = appliance_port
13
- self.appliance_profile = appliance_profile
14
- self.access_token = access_token
15
-
16
- def get_cert_fingerprint(self):
17
- return self.cert_fingerprint
18
-
19
- def get_serial_id(self):
20
- return self.serial_id
21
-
22
- def get_appliance_profile(self):
23
- return self.appliance_profile
24
-
25
- def get_appliance_ip(self):
26
- return self.appliance_ip
27
-
28
- def get_appliance_port(self):
29
- return self.appliance_port
30
-
31
- def get_access_token(self):
32
- return self.access_token
@@ -1,102 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
-
5
- try:
6
- from oci._vendor.requests.packages.urllib2.poolmanager import PoolManager
7
- except Exception as e:
8
- from oci._vendor.requests.packages.urllib3.poolmanager import PoolManager
9
-
10
- import six
11
-
12
- from datetime import datetime, timezone
13
-
14
- from oci import exceptions
15
- from oci.response import Response
16
- from oci.request import Request
17
-
18
- import json
19
- import logging
20
-
21
-
22
- class BaseClient(object):
23
- def __init__(self, service, config, signer, type_mapping, **kwargs):
24
- self._config = config
25
- self._signer = signer
26
-
27
- self._base_path = kwargs.get('base_path')
28
-
29
- if kwargs.get('service_endpoint'):
30
- self._endpoint = kwargs.get('service_endpoint')
31
- else:
32
- raise Exception("The service_endpoint has to be provided")
33
-
34
- self.service = service
35
- self.complex_type_mappings = type_mapping
36
- self.pool_manager = PoolManager(ca_certs=kwargs.get('self_signed_cert'), assert_hostname=False)
37
- self.timeout = kwargs.get('timeout')
38
-
39
- self.logger = logging.getLogger("{}.{}".format(__name__, id(self)))
40
- self.logger.addHandler(logging.NullHandler())
41
-
42
- self.skip_deserialization = kwargs.get('skip_deserialization')
43
-
44
- def call_api(self, resource_path, method,
45
- path_params=None, query_params=None, header_params=None,
46
- body=None, response_type=None, enforce_content_headers=True):
47
- """
48
- Makes the HTTP request and return the deserialized data.
49
-
50
- :param resource_path: Path to the resource (e.g. /instance)
51
- :param method: HTTP method
52
- :param path_params: (optional) Path parameters in the url.
53
- :param query_params: (optional) Query parameters in the url.
54
- :param header_params: (optional) Request header params.
55
- :param body: (optional) Request body.
56
- :param response_type: (optional) Response data type.
57
- :param enforce_content_headers: (optional) Whether content headers should be added for
58
- PUT and POST requests when not present. Defaults to True.
59
- :return: A Response object, or throw in the case of an error.
60
-
61
- """
62
-
63
- if path_params is not None:
64
- for k, v in path_params.items():
65
- replacement = six.moves.urllib.parse.quote(v)
66
- resource_path = resource_path.\
67
- replace('{' + k + '}', replacement)
68
-
69
- response = self.pool_manager.request(method,
70
- '{}{}{}'.format(self._endpoint, self._base_path, resource_path),
71
- body=json.dumps(body),
72
- headers=header_params)
73
-
74
- request = Request(
75
- method=method,
76
- url=self._endpoint + self._base_path + resource_path,
77
- query_params=query_params,
78
- header_params=header_params,
79
- body=body,
80
- response_type=response_type,
81
- enforce_content_headers=enforce_content_headers
82
- )
83
- if not 200 <= response.status <= 299:
84
- request_endpoint = request.method + " " + request.url
85
- timestamp = datetime.now(timezone.utc).isoformat()
86
- raise exceptions.ServiceError(
87
- response.status,
88
- None,
89
- response.headers,
90
- str(response.data),
91
- original_request=request,
92
- target_service=self.service,
93
- request_endpoint=request_endpoint,
94
- client_version="null",
95
- timestamp=timestamp)
96
-
97
- data = response.data
98
- try:
99
- data = json.loads(response.data.decode("utf-8"))
100
- except Exception as e:
101
- pass
102
- return Response(response.status, dict(response.getheaders()), data, request)
@@ -1,131 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
- import datetime
5
- import sys
6
- import click
7
- from oci_cli import cli_util
8
-
9
- from services.ons.src.oci_cli_ons.ons_cli_extended import create_subscription
10
- from services.events.src.oci_cli_events.generated.events_cli import create_rule
11
-
12
-
13
- def setup_notifications_helper(ctx, create_topic_details, create_rule_kwargs):
14
- """
15
- Sets up notifications and prints out the commands that can be executed manually by the customer as well
16
- This helper populates the topicId for every action under the create_rule_kwargs actions if not provided
17
- :param ctx: The context object for the CLI command
18
- :param create_topic_details: A dictionary that contains the following keys:
19
- name - String, Required
20
- description - String, Required
21
- compartmentId - String, Required
22
- :param create_rule_kwargs: A dictionary that contains the following structure:
23
- display_name - String, Required
24
- compartment_id - String, Optional
25
- description - String, Required
26
- is_enabled - Bool, Required
27
- condition - String, Required
28
- actions - Dict, Required
29
- actions - List of dictionaries with the following keys, Required
30
- actionType - String, Required
31
- topicId - String, Optional
32
- isEnabled - Bool, Required
33
-
34
- :return:
35
- """
36
-
37
- # In case the user doesn't have the right credentials to do events and notifications, print the commands that
38
- # they can run with the right user
39
- click.echo('If the commands fail to run, you can use the OCI CLI to do the setup manually:')
40
- click.echo('oci ons topic create --compartment-id {} --name {} '
41
- '--description "{}"'.format(create_topic_details['compartmentId'], create_topic_details['name'],
42
- create_topic_details['description']))
43
- click.echo('oci ons subscription create --protocol EMAIL --compartment-id $ROOT_COMPARTMENT_OCID '
44
- '--topic-id $TOPIC_OCID --subscription_endpoint $EMAIL_ID')
45
- click.echo('oci events rule create --display-name %s --is-enabled true'
46
- '--compartment-id %s '
47
- '--actions \'{"actions":[{"actionType":"ONS","topicId":"$TOPIC_OCID","isEnabled":true}]}\' '
48
- '--condition \'%s\' '
49
- '--description "%s"'
50
- % (create_rule_kwargs['display_name'], create_rule_kwargs['compartment_id'],
51
- create_rule_kwargs['condition'], create_rule_kwargs['description']))
52
-
53
- create_topic_kwargs = {
54
- 'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])
55
- }
56
- ctx.endpoint = None
57
- ctx.obj['endpoint'] = None
58
- create_topic_client = get_topic_client(ctx)
59
- click.echo('Creating topic {}'.format(create_topic_details['name']))
60
- create_topic_result = create_topic_client.create_topic(
61
- create_topic_details=create_topic_details,
62
- **create_topic_kwargs
63
- )
64
- cli_util.render_response(create_topic_result, ctx)
65
-
66
- # Create multiple subscriptions to the topic
67
- emails = prompt_for_emails()
68
- for email in emails.split(','):
69
- create_subscription_kwargs = {
70
- 'protocol': 'EMAIL',
71
- 'compartment_id': create_topic_details['compartmentId'],
72
- 'topic_id': get_topic_id(create_topic_result),
73
- 'subscription_endpoint': email
74
- }
75
- click.echo('Creating subscription for {}'.format(email))
76
- create_subscription_helper(ctx, create_subscription_kwargs)
77
-
78
- for index in range(len(create_rule_kwargs['actions']['actions'])):
79
- if 'topicId' not in create_rule_kwargs['actions']['actions'][index] or \
80
- create_rule_kwargs['actions']['actions'][index]['topicId'] is None:
81
- create_rule_kwargs['actions']['actions'][index]['topicId'] = get_topic_id(create_topic_result)
82
- click.echo('Creating rule {}'.format(create_rule_kwargs['display_name']))
83
- ctx.endpoint = None
84
- ctx.obj['endpoint'] = None
85
- create_rule_helper(ctx, create_rule_kwargs)
86
-
87
-
88
- # All these methods are meant solely for mock testing
89
- def get_topic_client(ctx):
90
- return cli_util.build_client('ons', 'notification_control_plane', ctx)
91
-
92
-
93
- def get_topic_id(result):
94
- return result.data.topic_id
95
-
96
-
97
- def prompt_for_emails():
98
- return click.prompt("Enter email addresses to subscribe to as a comma separated list. "
99
- "Example: joe.dan@oracle.com,july.den@xyz.com ")
100
-
101
-
102
- def create_subscription_helper(ctx, create_subscription_kwargs):
103
- ctx.invoke(create_subscription, **create_subscription_kwargs)
104
-
105
-
106
- def create_rule_helper(ctx, create_rule_kwargs):
107
- ctx.invoke(create_rule, **create_rule_kwargs)
108
-
109
-
110
- def error_message_wrapper(msg):
111
- click.echo(click.style("Error: {}", fg="red").format(msg), err=True)
112
- sys.exit(1)
113
-
114
-
115
- def format_dt(date_str):
116
- '''
117
- Validates datetime string format by converting string to datetime obj
118
- :param: datetime string
119
- :return: datetime string
120
- '''
121
- date_obj = None
122
- try:
123
- date_obj = datetime.datetime.strptime(date_str, '%Y-%m-%d %H:%M')
124
- except ValueError:
125
- date_obj = datetime.datetime.strptime(date_str, '%Y-%m-%dT%H:%M:%S.000Z')
126
- finally:
127
- if date_obj:
128
- date_str = datetime.datetime.strftime(date_obj, "%Y-%m-%dT%H:%M:%S.000Z")
129
- return date_str
130
- else:
131
- error_message_wrapper("Invalid format. Expected UTC timezone date-time with format: 'YYYY-MM-DD HH:MM'")
@@ -1,95 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
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
-
5
- from __future__ import print_function
6
-
7
- from services.dts.src.oci_cli_dts.generated import dts_service_cli
8
- from services.dts.src.oci_cli_transfer_job.generated import transferjob_cli
9
- from services.dts.src.oci_cli_transfer_appliance.generated import transferappliance_cli
10
- from services.dts.src.oci_cli_transfer_appliance_entitlement.generated import transferapplianceentitlement_cli
11
- from services.dts.src.oci_cli_transfer_device.generated import transferdevice_cli
12
- from services.dts.src.oci_cli_transfer_package.generated import transferpackage_cli
13
- from services.dts.src.oci_cli_shipping_vendors.generated import shippingvendors_cli
14
-
15
- from services.dts.src.oci_cli_dts.dts_transform import DTS_Transform
16
-
17
- # COMMAND HELP OVERRIDES ####
18
- command_help_override_list = [
19
- # Job
20
- {"command": transferjob_cli.create_transfer_job,
21
- "help_text": "Creates a new transfer disk or appliance job."},
22
- {"command": transferjob_cli.get_transfer_job,
23
- "help_text": "Shows the transfer disk or appliance job details."},
24
- {"command": transferjob_cli.update_transfer_job,
25
- "help_text": "Updates the transfer disk or appliance job details."},
26
- {"command": transferjob_cli.delete_transfer_job,
27
- "help_text": "Deletes the transfer disk or appliance job."},
28
- {"command": transferjob_cli.list_transfer_jobs,
29
- "help_text": "Lists all transfer disk or appliance jobs."},
30
- ]
31
- #
32
-
33
- # GROUP HELP STRING OVERRIDES #####
34
- group_help_override_list = [
35
- {"group": dts_service_cli.dts_service_group,
36
- "help_text": "Transfer disk or appliance job operations",
37
- "short_help_text": "Data Transfer Service"},
38
-
39
- {"group": transferjob_cli.transfer_job_root_group,
40
- "help_text": "Transfer disk or appliance job operations",
41
- "short_help_text": "Transfer disk or appliance job operations"},
42
-
43
- {"group": transferappliance_cli.transfer_appliance_root_group,
44
- "help_text": "Transfer appliance operations",
45
- "short_help_text": "Transfer appliance operations"},
46
-
47
-
48
- ]
49
- #
50
-
51
-
52
- # RENAME COMMANDS #####
53
- rename_command_list = [
54
- {"group": dts_service_cli.dts_service_group, "old": transferjob_cli.transfer_job_root_group, "new": "job"},
55
-
56
- {"group": transferjob_cli.transfer_job_root_group, "old": transferjob_cli.get_transfer_job, "new": "show"},
57
-
58
- {"group": transferapplianceentitlement_cli.transfer_appliance_entitlement_root_group, "old": transferapplianceentitlement_cli.create_transfer_appliance_entitlement, "new": "request-entitlement"},
59
- {"group": transferapplianceentitlement_cli.transfer_appliance_entitlement_root_group, "old": transferapplianceentitlement_cli.get_transfer_appliance_entitlement, "new": "show-entitlement"},
60
-
61
- ]
62
- #
63
-
64
-
65
- # RELOCATE COMMANDS ####
66
- relocate_command_list = [
67
- # dts job commands
68
- {"group": transferjob_cli.transfer_job_root_group, "command": transferjob_cli.create_transfer_job},
69
- {"group": transferjob_cli.transfer_job_root_group, "command": transferjob_cli.delete_transfer_job},
70
- {"group": transferjob_cli.transfer_job_root_group, "command": transferjob_cli.get_transfer_job},
71
- {"group": transferjob_cli.transfer_job_root_group, "command": transferjob_cli.list_transfer_jobs},
72
- {"group": transferjob_cli.transfer_job_root_group, "command": transferjob_cli.update_transfer_job},
73
-
74
- ]
75
- #
76
-
77
- # POP COMMANDS #######
78
- pop_command_list = [
79
- # dts
80
- {"group": dts_service_cli.dts_service_group, "command": transferdevice_cli.transfer_device_group.name},
81
- {"group": dts_service_cli.dts_service_group, "command": transferpackage_cli.transfer_package_group.name},
82
- {"group": dts_service_cli.dts_service_group, "command": shippingvendors_cli.shipping_vendors_group.name},
83
- {"group": dts_service_cli.dts_service_group, "command": transferapplianceentitlement_cli.transfer_appliance_entitlement_root_group.name},
84
-
85
- # dts job
86
- {"group": transferjob_cli.transfer_job_root_group, "command": transferjob_cli.transfer_job_group.name},
87
-
88
- ]
89
- ####
90
-
91
- DTS_Transform.transform(command_help_override_list=command_help_override_list,
92
- group_help_override_list=group_help_override_list,
93
- rename_command_list=rename_command_list,
94
- relocate_command_list=relocate_command_list,
95
- pop_command_list=pop_command_list)