oci-cli 3.71.1__py3-none-any.whl → 3.71.3__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 (112) hide show
  1. oci_cli/bin/batch.psm1 +122 -0
  2. oci_cli/bin/integration.psm1 +6 -2
  3. oci_cli/cli_util.py +0 -4
  4. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/change-compartment.txt +140 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/create-oci-logging-configuration.txt +210 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/create.txt +237 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/delete.txt +139 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/get.txt +100 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/list.txt +131 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/start.txt +134 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/stop.txt +134 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/update.txt +213 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context-shape-collection/list.txt +101 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context-shape-collection.txt +14 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context.txt +35 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/cancel.txt +144 -0
  17. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/change-compartment.txt +146 -0
  18. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/create.txt +215 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/get.txt +106 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/list.txt +135 -0
  21. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/pause.txt +140 -0
  22. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/unpause.txt +140 -0
  23. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/update.txt +191 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/change-compartment.txt +142 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/create.txt +180 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/delete.txt +141 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/get.txt +102 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/list.txt +135 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/start.txt +136 -0
  30. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/stop.txt +136 -0
  31. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/update.txt +186 -0
  32. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool.txt +33 -0
  33. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job.txt +35 -0
  34. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/get.txt +111 -0
  35. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/list-batch-tasks.txt +125 -0
  36. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/list.txt +132 -0
  37. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/change-compartment.txt +135 -0
  38. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/create.txt +207 -0
  39. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/delete.txt +134 -0
  40. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/get.txt +95 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/list.txt +131 -0
  42. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/update.txt +179 -0
  43. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment.txt +31 -0
  44. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/change-compartment.txt +136 -0
  45. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/create.txt +178 -0
  46. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/delete.txt +135 -0
  47. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/get.txt +96 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/list.txt +131 -0
  49. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/update.txt +180 -0
  50. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile.txt +30 -0
  51. oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task.txt +18 -0
  52. oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request/get.txt +92 -0
  53. oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request/list.txt +141 -0
  54. oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-error/list.txt +132 -0
  55. oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-error.txt +15 -0
  56. oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-log-entry/list-work-request-logs.txt +132 -0
  57. oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-log-entry.txt +15 -0
  58. oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request.txt +21 -0
  59. oci_cli/help_text_producer/data_files/text/cmdref/batch.txt +123 -0
  60. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/create.txt +14 -13
  61. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/delete.txt +2 -1
  62. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get-virtual-node.txt +2 -1
  63. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get.txt +2 -1
  64. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/list-virtual-nodes.txt +2 -1
  65. oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/update.txt +2 -1
  66. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/apply-host-configuration.txt +127 -0
  67. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/check-host-configuration.txt +127 -0
  68. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host.txt +4 -0
  69. oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle/get.txt +92 -0
  70. oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle/list.txt +134 -0
  71. oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle.txt +17 -0
  72. oci_cli/help_text_producer/data_files/text/cmdref/compute/shape/list.txt +4 -0
  73. oci_cli/help_text_producer/data_files/text/cmdref/compute.txt +10 -0
  74. oci_cli/help_text_producer/data_files/text/cmdref/data-science/ml-app-instance-view/list.txt +4 -0
  75. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/dr-plan-execution/update.txt +1 -1
  76. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/get.txt +136 -0
  77. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/list.txt +190 -0
  78. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/patch.txt +177 -0
  79. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/put.txt +385 -0
  80. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/search.txt +199 -0
  81. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute.txt +22 -0
  82. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains.txt +12 -0
  83. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/change-private-endpoint-outbound-connection-private-endpoint-outbound-connection.txt +5 -0
  84. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/convert-instance.txt +144 -0
  85. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/disable-process-automation.txt +132 -0
  86. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance.txt +4 -0
  87. oci_cli/help_text_producer/data_files/text/cmdref/integration.txt +4 -0
  88. oci_cli/help_text_producer/data_files/text/index.txt +2 -0
  89. oci_cli/service_mapping.py +5 -0
  90. oci_cli/version.py +1 -1
  91. {oci_cli-3.71.1.dist-info → oci_cli-3.71.3.dist-info}/METADATA +2 -2
  92. {oci_cli-3.71.1.dist-info → oci_cli-3.71.3.dist-info}/RECORD +112 -34
  93. services/batch/__init__.py +4 -0
  94. services/batch/src/__init__.py +4 -0
  95. services/batch/src/oci_cli_batch_computing/__init__.py +4 -0
  96. services/batch/src/oci_cli_batch_computing/batchcomputing_cli_extended.py +93 -0
  97. services/batch/src/oci_cli_batch_computing/generated/__init__.py +4 -0
  98. services/batch/src/oci_cli_batch_computing/generated/batchcomputing_cli.py +2855 -0
  99. services/batch/src/oci_cli_batch_computing/generated/client_mappings.py +14 -0
  100. services/batch/tests/__init__.py +4 -0
  101. services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +3 -5
  102. services/core/src/oci_cli_compute/computepic_cli_extended.py +9 -0
  103. services/core/src/oci_cli_compute/generated/compute_cli.py +201 -1
  104. services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +4 -1
  105. services/disaster_recovery/src/oci_cli_disaster_recovery/generated/disasterrecovery_cli.py +1 -1
  106. services/identity_domains/src/oci_cli_identity_domains/generated/identitydomains_cli.py +371 -0
  107. services/integration/src/oci_cli_integration_instance/generated/integrationinstance_cli.py +259 -7
  108. {oci_cli-3.71.1.dist-info → oci_cli-3.71.3.dist-info}/LICENSE.txt +0 -0
  109. {oci_cli-3.71.1.dist-info → oci_cli-3.71.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  110. {oci_cli-3.71.1.dist-info → oci_cli-3.71.3.dist-info}/WHEEL +0 -0
  111. {oci_cli-3.71.1.dist-info → oci_cli-3.71.3.dist-info}/entry_points.txt +0 -0
  112. {oci_cli-3.71.1.dist-info → oci_cli-3.71.3.dist-info}/top_level.txt +0 -0
oci_cli/bin/batch.psm1 ADDED
@@ -0,0 +1,122 @@
1
+ function GetOciTopLevelCommand_batch() {
2
+ return 'batch'
3
+ }
4
+
5
+ function GetOciSubcommands_batch() {
6
+ $ociSubcommands = @{
7
+ 'batch' = 'batch-context batch-context-shape-collection batch-job batch-job-pool batch-task batch-task-environment batch-task-profile work-request work-request-error work-request-log-entry'
8
+ 'batch batch-context' = 'change-compartment create create-oci-logging-configuration delete get list start stop update'
9
+ 'batch batch-context-shape-collection' = 'list'
10
+ 'batch batch-job' = 'cancel change-compartment create get list pause unpause update'
11
+ 'batch batch-job-pool' = 'change-compartment create delete get list start stop update'
12
+ 'batch batch-task' = 'get list list-batch-tasks'
13
+ 'batch batch-task-environment' = 'change-compartment create delete get list update'
14
+ 'batch batch-task-profile' = 'change-compartment create delete get list update'
15
+ 'batch work-request' = 'get list'
16
+ 'batch work-request-error' = 'list'
17
+ 'batch work-request-log-entry' = 'list-work-request-logs'
18
+ }
19
+ return $ociSubcommands
20
+ }
21
+
22
+ function GetOciCommandsToLongParams_batch() {
23
+ $ociCommandsToLongParams = @{
24
+ 'batch batch-context change-compartment' = 'batch-context-id compartment-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
25
+ 'batch batch-context create' = 'compartment-id defined-tags description display-name entitlements fleets freeform-tags from-json help job-priority-configurations logging-configuration max-wait-seconds network wait-for-state wait-interval-seconds'
26
+ 'batch batch-context create-oci-logging-configuration' = 'compartment-id defined-tags description display-name entitlements fleets freeform-tags from-json help job-priority-configurations log-group-id log-id max-wait-seconds network wait-for-state wait-interval-seconds'
27
+ 'batch batch-context delete' = 'batch-context-id force from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
28
+ 'batch batch-context get' = 'batch-context-id from-json help'
29
+ 'batch batch-context list' = 'all compartment-id display-name from-json help id lifecycle-state limit page page-size sort-by sort-order'
30
+ 'batch batch-context start' = 'batch-context-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
31
+ 'batch batch-context stop' = 'batch-context-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
32
+ 'batch batch-context update' = 'batch-context-id defined-tags description display-name entitlements force freeform-tags from-json help if-match job-priority-configurations max-wait-seconds wait-for-state wait-interval-seconds'
33
+ 'batch batch-context-shape-collection list' = 'all availability-domain compartment-id from-json help limit page page-size'
34
+ 'batch batch-job cancel' = 'batch-job-id force from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
35
+ 'batch batch-job change-compartment' = 'batch-job-id compartment-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
36
+ 'batch batch-job create' = 'batch-job-pool-id compartment-id defined-tags description display-name environment-variables freeform-tags from-json help max-wait-seconds tasks wait-for-state wait-interval-seconds'
37
+ 'batch batch-job get' = 'batch-job-id from-json help'
38
+ 'batch batch-job list' = 'all batch-job-pool-id compartment-id display-name from-json help id lifecycle-state limit page page-size sort-by sort-order'
39
+ 'batch batch-job pause' = 'batch-job-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
40
+ 'batch batch-job unpause' = 'batch-job-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
41
+ 'batch batch-job update' = 'batch-job-id defined-tags description display-name force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
42
+ 'batch batch-job-pool change-compartment' = 'batch-job-pool-id compartment-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
43
+ 'batch batch-job-pool create' = 'batch-context-id compartment-id defined-tags description display-name freeform-tags from-json help max-wait-seconds wait-for-state wait-interval-seconds'
44
+ 'batch batch-job-pool delete' = 'batch-job-pool-id force from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
45
+ 'batch batch-job-pool get' = 'batch-job-pool-id from-json help'
46
+ 'batch batch-job-pool list' = 'all batch-context-id compartment-id display-name from-json help id lifecycle-state limit page page-size sort-by sort-order'
47
+ 'batch batch-job-pool start' = 'batch-job-pool-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
48
+ 'batch batch-job-pool stop' = 'batch-job-pool-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
49
+ 'batch batch-job-pool update' = 'batch-job-pool-id defined-tags description display-name force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
50
+ 'batch batch-task get' = 'batch-job-id from-json help task-name'
51
+ 'batch batch-task list' = 'all batch-job-id from-json help lifecycle-state limit name page page-size sort-by sort-order'
52
+ 'batch batch-task list-batch-tasks' = 'all batch-job-id compartment-id from-json help lifecycle-state limit name page page-size sort-by sort-order'
53
+ 'batch batch-task-environment change-compartment' = 'batch-task-environment-id compartment-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
54
+ 'batch batch-task-environment create' = 'compartment-id defined-tags description display-name freeform-tags from-json help image-url max-wait-seconds security-context volumes wait-for-state wait-interval-seconds working-directory'
55
+ 'batch batch-task-environment delete' = 'batch-task-environment-id force from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
56
+ 'batch batch-task-environment get' = 'batch-task-environment-id from-json help'
57
+ 'batch batch-task-environment list' = 'all compartment-id display-name from-json help id lifecycle-state limit page page-size sort-by sort-order'
58
+ 'batch batch-task-environment update' = 'batch-task-environment-id defined-tags description display-name force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
59
+ 'batch batch-task-profile change-compartment' = 'batch-task-profile-id compartment-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
60
+ 'batch batch-task-profile create' = 'compartment-id defined-tags description display-name freeform-tags from-json help max-wait-seconds min-memory-in-gbs min-ocpus wait-for-state wait-interval-seconds'
61
+ 'batch batch-task-profile delete' = 'batch-task-profile-id force from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
62
+ 'batch batch-task-profile get' = 'batch-task-profile-id from-json help'
63
+ 'batch batch-task-profile list' = 'all compartment-id display-name from-json help id lifecycle-state limit page page-size sort-by sort-order'
64
+ 'batch batch-task-profile update' = 'batch-task-profile-id defined-tags description display-name force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
65
+ 'batch work-request get' = 'from-json help work-request-id'
66
+ 'batch work-request list' = 'all compartment-id from-json help limit page page-size resource-id sort-by sort-order status work-request-id'
67
+ 'batch work-request-error list' = 'all from-json help limit page page-size sort-by sort-order work-request-id'
68
+ 'batch work-request-log-entry list-work-request-logs' = 'all from-json help limit page page-size sort-by sort-order work-request-id'
69
+ }
70
+ return $ociCommandsToLongParams
71
+ }
72
+
73
+ function GetOciCommandsToShortParams_batch() {
74
+ $ociCommandsToShortParams = @{
75
+ 'batch batch-context change-compartment' = '? c h'
76
+ 'batch batch-context create' = '? c h'
77
+ 'batch batch-context create-oci-logging-configuration' = '? c h'
78
+ 'batch batch-context delete' = '? h'
79
+ 'batch batch-context get' = '? h'
80
+ 'batch batch-context list' = '? c h'
81
+ 'batch batch-context start' = '? h'
82
+ 'batch batch-context stop' = '? h'
83
+ 'batch batch-context update' = '? h'
84
+ 'batch batch-context-shape-collection list' = '? c h'
85
+ 'batch batch-job cancel' = '? h'
86
+ 'batch batch-job change-compartment' = '? c h'
87
+ 'batch batch-job create' = '? c h'
88
+ 'batch batch-job get' = '? h'
89
+ 'batch batch-job list' = '? c h'
90
+ 'batch batch-job pause' = '? h'
91
+ 'batch batch-job unpause' = '? h'
92
+ 'batch batch-job update' = '? h'
93
+ 'batch batch-job-pool change-compartment' = '? c h'
94
+ 'batch batch-job-pool create' = '? c h'
95
+ 'batch batch-job-pool delete' = '? h'
96
+ 'batch batch-job-pool get' = '? h'
97
+ 'batch batch-job-pool list' = '? c h'
98
+ 'batch batch-job-pool start' = '? h'
99
+ 'batch batch-job-pool stop' = '? h'
100
+ 'batch batch-job-pool update' = '? h'
101
+ 'batch batch-task get' = '? h'
102
+ 'batch batch-task list' = '? h'
103
+ 'batch batch-task list-batch-tasks' = '? c h'
104
+ 'batch batch-task-environment change-compartment' = '? c h'
105
+ 'batch batch-task-environment create' = '? c h'
106
+ 'batch batch-task-environment delete' = '? h'
107
+ 'batch batch-task-environment get' = '? h'
108
+ 'batch batch-task-environment list' = '? c h'
109
+ 'batch batch-task-environment update' = '? h'
110
+ 'batch batch-task-profile change-compartment' = '? c h'
111
+ 'batch batch-task-profile create' = '? c h'
112
+ 'batch batch-task-profile delete' = '? h'
113
+ 'batch batch-task-profile get' = '? h'
114
+ 'batch batch-task-profile list' = '? c h'
115
+ 'batch batch-task-profile update' = '? h'
116
+ 'batch work-request get' = '? h'
117
+ 'batch work-request list' = '? c h'
118
+ 'batch work-request-error list' = '? h'
119
+ 'batch work-request-log-entry list-work-request-logs' = '? h'
120
+ }
121
+ return $ociCommandsToShortParams
122
+ }
@@ -5,7 +5,7 @@ function GetOciTopLevelCommand_integration() {
5
5
  function GetOciSubcommands_integration() {
6
6
  $ociSubcommands = @{
7
7
  'integration' = 'integration-instance work-request work-request-error work-request-log-entry'
8
- 'integration integration-instance' = 'add-oracle-managed-custom-endpoint change-compartment change-network-endpoint change-private-endpoint-outbound-connection change-private-endpoint-outbound-connection-none-outbound-connection change-private-endpoint-outbound-connection-private-endpoint-outbound-connection create delete disaster-recovery-failover enable-process-automation extend-data-retention get list remove start stop update'
8
+ 'integration integration-instance' = 'add-oracle-managed-custom-endpoint change-compartment change-network-endpoint change-private-endpoint-outbound-connection change-private-endpoint-outbound-connection-none-outbound-connection change-private-endpoint-outbound-connection-private-endpoint-outbound-connection convert-instance create delete disable-process-automation disaster-recovery-failover enable-process-automation extend-data-retention get list remove start stop update'
9
9
  'integration work-request' = 'get list'
10
10
  'integration work-request-error' = 'list'
11
11
  'integration work-request-log-entry' = 'list-work-request-logs'
@@ -20,9 +20,11 @@ function GetOciCommandsToLongParams_integration() {
20
20
  'integration integration-instance change-network-endpoint' = 'from-json help id if-match max-wait-seconds network-endpoint-details wait-for-state wait-interval-seconds'
21
21
  'integration integration-instance change-private-endpoint-outbound-connection' = 'from-json help if-match integration-instance-id max-wait-seconds private-endpoint-outbound-connection wait-for-state wait-interval-seconds'
22
22
  'integration integration-instance change-private-endpoint-outbound-connection-none-outbound-connection' = 'from-json help if-match integration-instance-id max-wait-seconds wait-for-state wait-interval-seconds'
23
- 'integration integration-instance change-private-endpoint-outbound-connection-private-endpoint-outbound-connection' = 'from-json help if-match integration-instance-id max-wait-seconds private-endpoint-outbound-connection-nsg-ids private-endpoint-outbound-connection-subnet-id wait-for-state wait-interval-seconds'
23
+ 'integration integration-instance change-private-endpoint-outbound-connection-private-endpoint-outbound-connection' = 'from-json help if-match integration-instance-id max-wait-seconds private-endpoint-outbound-connection-is-all-outbound-traffic-private private-endpoint-outbound-connection-nsg-ids private-endpoint-outbound-connection-subnet-id wait-for-state wait-interval-seconds'
24
+ 'integration integration-instance convert-instance' = 'conversion-type from-json help if-match integration-instance-id max-wait-seconds wait-for-state wait-interval-seconds'
24
25
  'integration integration-instance create' = 'alternate-custom-endpoints compartment-id consumption-model custom-endpoint defined-tags display-name domain-id freeform-tags from-json help idcs-at is-byol is-disaster-recovery-enabled is-file-server-enabled is-visual-builder-enabled max-wait-seconds message-packs network-endpoint-details security-attributes shape type wait-for-state wait-interval-seconds'
25
26
  'integration integration-instance delete' = 'force from-json help id if-match max-wait-seconds wait-for-state wait-interval-seconds'
27
+ 'integration integration-instance disable-process-automation' = 'from-json help if-match integration-instance-id max-wait-seconds wait-for-state wait-interval-seconds'
26
28
  'integration integration-instance disaster-recovery-failover' = 'from-json help if-match integration-instance-id max-wait-seconds wait-for-state wait-interval-seconds'
27
29
  'integration integration-instance enable-process-automation' = 'from-json help if-match integration-instance-id max-wait-seconds wait-for-state wait-interval-seconds'
28
30
  'integration integration-instance extend-data-retention' = 'data-retention-period from-json help if-match integration-instance-id max-wait-seconds wait-for-state wait-interval-seconds'
@@ -48,8 +50,10 @@ function GetOciCommandsToShortParams_integration() {
48
50
  'integration integration-instance change-private-endpoint-outbound-connection' = '? h'
49
51
  'integration integration-instance change-private-endpoint-outbound-connection-none-outbound-connection' = '? h'
50
52
  'integration integration-instance change-private-endpoint-outbound-connection-private-endpoint-outbound-connection' = '? h'
53
+ 'integration integration-instance convert-instance' = '? h'
51
54
  'integration integration-instance create' = '? c h'
52
55
  'integration integration-instance delete' = '? h'
56
+ 'integration integration-instance disable-process-automation' = '? h'
53
57
  'integration integration-instance disaster-recovery-failover' = '? h'
54
58
  'integration integration-instance enable-process-automation' = '? h'
55
59
  'integration integration-instance extend-data-retention' = '? h'
oci_cli/cli_util.py CHANGED
@@ -580,19 +580,15 @@ def build_client(spec_name, service_name, ctx):
580
580
  client = client_class(client_config, **kwargs)
581
581
 
582
582
  propagtion_enabled_flag = get_propagation_provided_from_env()
583
- logger.debug("Check if Propagation Enabled: " + str(propagtion_enabled_flag))
584
583
  os.environ[cli_constants.OCI_CLI_ENABLEPROPAGATION_ENV_VAR] = str(propagtion_enabled_flag)
585
584
  if 'enable_propagation' in ctx.obj and ctx.obj['enable_propagation'] is not None and ctx.obj['enable_propagation'] == str(False):
586
- logger.debug("Check if Propagation Enabled False " + ctx.obj['enable_propagation'] + " : " + str(get_bool_env_var(os.environ.get(cli_constants.OCI_CLI_ENABLEPROPAGATION_ENV_VAR))))
587
585
  os.environ[cli_constants.OCI_CLI_ENABLEPROPAGATION_ENV_VAR] = str(False)
588
586
  enable_or_disable_propagation_provided_by_user(str(False))
589
587
  client.base_client.use_default_opc_request_id()
590
588
  elif ('enable_propagation' in ctx.obj and ctx.obj['enable_propagation'] is not None and ctx.obj['enable_propagation'] == str(True)) or get_bool_env_var(os.environ.get(cli_constants.OCI_CLI_ENABLEPROPAGATION_ENV_VAR)):
591
- logger.debug("Check if Propagation Enabled True")
592
589
  os.environ[cli_constants.OCI_CLI_ENABLEPROPAGATION_ENV_VAR] = str(True)
593
590
  enable_or_disable_propagation_provided_by_user(str(True))
594
591
  client.base_client.use_custom_opc_request_id(ctx.obj['request_id'])
595
- logger.debug("Is Propagation Enabled: " + str(os.environ.get(cli_constants.OCI_CLI_ENABLEPROPAGATION_ENV_VAR)))
596
592
 
597
593
  if ctx.obj['endpoint']:
598
594
  client.base_client.endpoint = ctx.obj['endpoint']
@@ -0,0 +1,140 @@
1
+ "change-compartment"
2
+ ********************
3
+
4
+ * Description
5
+
6
+ * Usage
7
+
8
+ * Required Parameters
9
+
10
+ * Optional Parameters
11
+
12
+ * Global Parameters
13
+
14
+ * Example using required parameter
15
+
16
+
17
+ Description
18
+ ===========
19
+
20
+ Moves a batch context into a different compartment within the same
21
+ tenancy. For information about moving resources between compartments,
22
+ see Moving Resources to a Different Compartment.
23
+
24
+
25
+ Usage
26
+ =====
27
+
28
+ oci batch batch-context change-compartment [OPTIONS]
29
+
30
+
31
+ Required Parameters
32
+ ===================
33
+
34
+ --batch-context-id [text]
35
+
36
+ The OCID of the batch context.
37
+
38
+ --compartment-id, -c [text]
39
+
40
+ The OCID of the compartment to move the batch context to.
41
+
42
+
43
+ Optional Parameters
44
+ ===================
45
+
46
+ --from-json [text]
47
+
48
+ Provide input to this command as a JSON document from a file using the
49
+ file://path-to/file syntax.
50
+
51
+ The "--generate-full-command-json-input" option can be used to
52
+ generate a sample json file to be used with this command option. The
53
+ key names are pre-populated and match the command option names
54
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
55
+ while the values of the keys need to be populated by the user before
56
+ using the sample file as an input to this command. For any command
57
+ option that accepts multiple values, the value of the key can be a
58
+ JSON array.
59
+
60
+ Options can still be provided on the command line. If an option exists
61
+ in both the JSON document and the command line then the command line
62
+ specified value will be used.
63
+
64
+ For examples on usage of this option, please see our “using CLI with
65
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
66
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
67
+
68
+ --if-match [text]
69
+
70
+ For optimistic concurrency control. In the PUT or DELETE call for a
71
+ resource, set the *if-match* parameter to the value of the etag from a
72
+ previous GET or POST response for that resource. The resource will be
73
+ updated or deleted only if the etag you provide matches the resource’s
74
+ current etag value.
75
+
76
+ --max-wait-seconds [integer]
77
+
78
+ The maximum time to wait for the work request to reach the state
79
+ defined by "--wait-for-state". Defaults to 1200 seconds.
80
+
81
+ --wait-for-state [text]
82
+
83
+ This operation asynchronously creates, modifies or deletes a resource
84
+ and uses a work request to track the progress of the operation.
85
+ Specify this option to perform the action and then wait until the work
86
+ request reaches a certain state. Multiple states can be specified,
87
+ returning on the first state. For example, "--wait-for-state"
88
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
89
+ lifecycle state is reached first. If timeout is reached, a return code
90
+ of 2 is returned. For any other error, a return code of 1 is returned.
91
+
92
+ Accepted values are:
93
+
94
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
95
+
96
+ --wait-interval-seconds [integer]
97
+
98
+ Check every "--wait-interval-seconds" to see whether the work request
99
+ has reached the state defined by "--wait-for-state". Defaults to 30
100
+ seconds.
101
+
102
+
103
+ Global Parameters
104
+ =================
105
+
106
+ Use "oci --help" for help on global parameters.
107
+
108
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
109
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
110
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
111
+ endpoint", "--generate-full-command-json-input", "--generate-param-
112
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
113
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
114
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
115
+ realm-specific-endpoint", "--region", "--release-info", "--request-
116
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
117
+
118
+
119
+ Example using required parameter
120
+ ================================
121
+
122
+ Copy and paste the following example into a JSON file, replacing the
123
+ example parameters with your own.
124
+
125
+ oci batch batch-context create --generate-param-json-input fleets > fleets.json
126
+ oci batch batch-context create --generate-param-json-input network > network.json
127
+
128
+ Copy the following CLI commands into a file named example.sh. Run the
129
+ command by typing “bash example.sh” and replacing the example
130
+ parameters with your own.
131
+
132
+ Please note this sample will only work in the POSIX-compliant bash-
133
+ like shell. You need to set up the OCI configuration and appropriate
134
+ security policies before trying the examples.
135
+
136
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/batch/batch-context/create.html#cmdoption-compartment-id
137
+
138
+ batch_context_id=$(oci batch batch-context create --compartment-id $compartment_id --fleets file://fleets.json --network file://network.json --query data.id --raw-output)
139
+
140
+ oci batch batch-context change-compartment --batch-context-id $batch_context_id --compartment-id $compartment_id
@@ -0,0 +1,210 @@
1
+ "create-oci-logging-configuration"
2
+ **********************************
3
+
4
+ * Description
5
+
6
+ * Usage
7
+
8
+ * Required Parameters
9
+
10
+ * Optional Parameters
11
+
12
+ * Global Parameters
13
+
14
+
15
+ Description
16
+ ===========
17
+
18
+ Creates a batch context.
19
+
20
+
21
+ Usage
22
+ =====
23
+
24
+ oci batch batch-context create-oci-logging-configuration [OPTIONS]
25
+
26
+
27
+ Required Parameters
28
+ ===================
29
+
30
+ --compartment-id, -c [text]
31
+
32
+ The OCID of the compartment.
33
+
34
+ --fleets [complex type]
35
+
36
+ List of fleet configurations related to the batch context. This is a
37
+ complex type whose value must be valid JSON. The value can be provided
38
+ as a string on the command line or passed in as a file using the
39
+ file://path/to/file syntax.
40
+
41
+ The "--generate-param-json-input" option can be used to generate an
42
+ example of the JSON which must be provided. We recommend storing this
43
+ example in a file, modifying it as needed and then passing it back in
44
+ via the file:// syntax.
45
+
46
+ --log-group-id [text]
47
+
48
+ The OCID of the log group.
49
+
50
+ --log-id [text]
51
+
52
+ The OCID of the log.
53
+
54
+ --network [complex type]
55
+
56
+ This is a complex type whose value must be valid JSON. The value can
57
+ be provided as a string on the command line or passed in as a file
58
+ using the file://path/to/file syntax.
59
+
60
+ The "--generate-param-json-input" option can be used to generate an
61
+ example of the JSON which must be provided. We recommend storing this
62
+ example in a file, modifying it as needed and then passing it back in
63
+ via the file:// syntax.
64
+
65
+
66
+ Optional Parameters
67
+ ===================
68
+
69
+ --defined-tags [complex type]
70
+
71
+ Defined tags for this resource. Each key is predefined and scoped to a
72
+ namespace. For more information, see Resource Tags.
73
+
74
+ Example:
75
+
76
+ {"Operations": {"CostCenter": "42"}}
77
+
78
+ This is a complex type whose value must be valid JSON. The value can
79
+ be provided as a string on the command line or passed in as a file
80
+ using the file://path/to/file syntax.
81
+
82
+ The "--generate-param-json-input" option can be used to generate an
83
+ example of the JSON which must be provided. We recommend storing this
84
+ example in a file, modifying it as needed and then passing it back in
85
+ via the file:// syntax.
86
+
87
+ --description [text]
88
+
89
+ Summarized information about the batch context.
90
+
91
+ --display-name [text]
92
+
93
+ A user-friendly name. Does not have to be unique, and it’s changeable.
94
+ If not specified or provided as null or empty string, it will be
95
+ generated as “<resourceType><timeCreated>”, where timeCreated
96
+ corresponds with the resource creation time in ISO 8601 basic format,
97
+ i.e. omitting separating punctuation, at second-level precision and no
98
+ UTC offset. Example: batchcontext20250914115623.
99
+
100
+ --entitlements [complex type]
101
+
102
+ Mapping of concurrent/shared resources used in job tasks to their
103
+ limits. This is a complex type whose value must be valid JSON. The
104
+ value can be provided as a string on the command line or passed in as
105
+ a file using the file://path/to/file syntax.
106
+
107
+ The "--generate-param-json-input" option can be used to generate an
108
+ example of the JSON which must be provided. We recommend storing this
109
+ example in a file, modifying it as needed and then passing it back in
110
+ via the file:// syntax.
111
+
112
+ --freeform-tags [complex type]
113
+
114
+ Free-form tags for this resource. Each tag is a simple key-value pair
115
+ with no predefined name, type, or namespace. For more information, see
116
+ Resource Tags.
117
+
118
+ Example:
119
+
120
+ {"Department": "Finance"}
121
+
122
+ This is a complex type whose value must be valid JSON. The value can
123
+ be provided as a string on the command line or passed in as a file
124
+ using the file://path/to/file syntax.
125
+
126
+ The "--generate-param-json-input" option can be used to generate an
127
+ example of the JSON which must be provided. We recommend storing this
128
+ example in a file, modifying it as needed and then passing it back in
129
+ via the file:// syntax.
130
+
131
+ --from-json [text]
132
+
133
+ Provide input to this command as a JSON document from a file using the
134
+ file://path-to/file syntax.
135
+
136
+ The "--generate-full-command-json-input" option can be used to
137
+ generate a sample json file to be used with this command option. The
138
+ key names are pre-populated and match the command option names
139
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
140
+ while the values of the keys need to be populated by the user before
141
+ using the sample file as an input to this command. For any command
142
+ option that accepts multiple values, the value of the key can be a
143
+ JSON array.
144
+
145
+ Options can still be provided on the command line. If an option exists
146
+ in both the JSON document and the command line then the command line
147
+ specified value will be used.
148
+
149
+ For examples on usage of this option, please see our “using CLI with
150
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
151
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
152
+
153
+ --job-priority-configurations [complex type]
154
+
155
+ List of job priority configurations related to the batch context.
156
+
157
+ This option is a JSON list with items of type
158
+ JobPriorityConfiguration. For documentation on
159
+ JobPriorityConfiguration please see our API reference: https://docs.c
160
+ loud.oracle.com/api/#/en/batchcomputing/20251031/datatypes/JobPriorit
161
+ yConfiguration. This is a complex type whose value must be valid JSON.
162
+ The value can be provided as a string on the command line or passed in
163
+ as a file using the file://path/to/file syntax.
164
+
165
+ The "--generate-param-json-input" option can be used to generate an
166
+ example of the JSON which must be provided. We recommend storing this
167
+ example in a file, modifying it as needed and then passing it back in
168
+ via the file:// syntax.
169
+
170
+ --max-wait-seconds [integer]
171
+
172
+ The maximum time to wait for the work request to reach the state
173
+ defined by "--wait-for-state". Defaults to 1200 seconds.
174
+
175
+ --wait-for-state [text]
176
+
177
+ This operation asynchronously creates, modifies or deletes a resource
178
+ and uses a work request to track the progress of the operation.
179
+ Specify this option to perform the action and then wait until the work
180
+ request reaches a certain state. Multiple states can be specified,
181
+ returning on the first state. For example, "--wait-for-state"
182
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
183
+ lifecycle state is reached first. If timeout is reached, a return code
184
+ of 2 is returned. For any other error, a return code of 1 is returned.
185
+
186
+ Accepted values are:
187
+
188
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
189
+
190
+ --wait-interval-seconds [integer]
191
+
192
+ Check every "--wait-interval-seconds" to see whether the work request
193
+ has reached the state defined by "--wait-for-state". Defaults to 30
194
+ seconds.
195
+
196
+
197
+ Global Parameters
198
+ =================
199
+
200
+ Use "oci --help" for help on global parameters.
201
+
202
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
203
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
204
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
205
+ endpoint", "--generate-full-command-json-input", "--generate-param-
206
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
207
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
208
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
209
+ realm-specific-endpoint", "--region", "--release-info", "--request-
210
+ id", "--version", "-?", "-d", "-h", "-i", "-v"