oci-cli 3.71.1__py3-none-any.whl → 3.71.2__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 (130) hide show
  1. oci_cli/bin/batch.psm1 +122 -0
  2. oci_cli/bin/integration.psm1 +6 -2
  3. oci_cli/cli_util.py +2 -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/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  76. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  77. 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
  78. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry.txt +1 -1
  79. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  80. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  81. oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/dr-plan-execution/update.txt +1 -1
  82. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  83. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  84. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
  85. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
  86. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
  87. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
  88. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/get.txt +136 -0
  89. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/list.txt +190 -0
  90. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/patch.txt +177 -0
  91. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/put.txt +385 -0
  92. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/search.txt +199 -0
  93. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute.txt +22 -0
  94. oci_cli/help_text_producer/data_files/text/cmdref/identity-domains.txt +12 -0
  95. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/change-private-endpoint-outbound-connection-private-endpoint-outbound-connection.txt +5 -0
  96. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/convert-instance.txt +144 -0
  97. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/disable-process-automation.txt +132 -0
  98. oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance.txt +4 -0
  99. oci_cli/help_text_producer/data_files/text/cmdref/integration.txt +4 -0
  100. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  101. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  102. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
  103. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
  104. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  105. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  106. oci_cli/help_text_producer/data_files/text/index.txt +2 -0
  107. oci_cli/service_mapping.py +5 -0
  108. oci_cli/version.py +1 -1
  109. {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/METADATA +2 -2
  110. {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/RECORD +130 -52
  111. services/batch/__init__.py +4 -0
  112. services/batch/src/__init__.py +4 -0
  113. services/batch/src/oci_cli_batch_computing/__init__.py +4 -0
  114. services/batch/src/oci_cli_batch_computing/batchcomputing_cli_extended.py +93 -0
  115. services/batch/src/oci_cli_batch_computing/generated/__init__.py +4 -0
  116. services/batch/src/oci_cli_batch_computing/generated/batchcomputing_cli.py +2855 -0
  117. services/batch/src/oci_cli_batch_computing/generated/client_mappings.py +14 -0
  118. services/batch/tests/__init__.py +4 -0
  119. services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +3 -5
  120. services/core/src/oci_cli_compute/computepic_cli_extended.py +9 -0
  121. services/core/src/oci_cli_compute/generated/compute_cli.py +201 -1
  122. services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +4 -1
  123. services/disaster_recovery/src/oci_cli_disaster_recovery/generated/disasterrecovery_cli.py +1 -1
  124. services/identity_domains/src/oci_cli_identity_domains/generated/identitydomains_cli.py +371 -0
  125. services/integration/src/oci_cli_integration_instance/generated/integrationinstance_cli.py +259 -7
  126. {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/LICENSE.txt +0 -0
  127. {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  128. {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/WHEEL +0 -0
  129. {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/entry_points.txt +0 -0
  130. {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,125 @@
1
+ "list-batch-tasks"
2
+ ******************
3
+
4
+ * Description
5
+
6
+ * Usage
7
+
8
+ * Optional Parameters
9
+
10
+ * Global Parameters
11
+
12
+
13
+ Description
14
+ ===========
15
+
16
+ Lists the batch tasks associated with batch jobs.
17
+
18
+
19
+ Usage
20
+ =====
21
+
22
+ oci batch batch-task list-batch-tasks [OPTIONS]
23
+
24
+
25
+ Optional Parameters
26
+ ===================
27
+
28
+ --all
29
+
30
+ Fetches all pages of results. If you provide this option, then you
31
+ cannot provide the "--limit" option.
32
+
33
+ --batch-job-id [text]
34
+
35
+ The OCID of the batch job.
36
+
37
+ --compartment-id, -c [text]
38
+
39
+ The OCID of the compartment in which to list resources.
40
+
41
+ --from-json [text]
42
+
43
+ Provide input to this command as a JSON document from a file using the
44
+ file://path-to/file syntax.
45
+
46
+ The "--generate-full-command-json-input" option can be used to
47
+ generate a sample json file to be used with this command option. The
48
+ key names are pre-populated and match the command option names
49
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
50
+ while the values of the keys need to be populated by the user before
51
+ using the sample file as an input to this command. For any command
52
+ option that accepts multiple values, the value of the key can be a
53
+ JSON array.
54
+
55
+ Options can still be provided on the command line. If an option exists
56
+ in both the JSON document and the command line then the command line
57
+ specified value will be used.
58
+
59
+ For examples on usage of this option, please see our “using CLI with
60
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
61
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
62
+
63
+ --lifecycle-state [text]
64
+
65
+ A filter to return only resources that match the given lifecycle
66
+ state. The state value is case-insensitive.
67
+
68
+ Accepted values are:
69
+
70
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
71
+
72
+ --limit [integer]
73
+
74
+ For list pagination. The maximum number of results per page, or items
75
+ to return in a paginated “List” call. For important details about how
76
+ pagination works, see List Pagination.
77
+
78
+ --name [text]
79
+
80
+ The name of the task.
81
+
82
+ --page [text]
83
+
84
+ For list pagination. The value of the opc-next-page response header
85
+ from the previous “List” call. For important details about how
86
+ pagination works, see List Pagination.
87
+
88
+ --page-size [integer]
89
+
90
+ When fetching results, the number of results to fetch per call. Only
91
+ valid when used with "--all" or "--limit", and ignored otherwise.
92
+
93
+ --sort-by [text]
94
+
95
+ The field to sort by. You can provide only one sort order. Default
96
+ order for *name* is ascending.
97
+
98
+ Accepted values are:
99
+
100
+ name
101
+
102
+ --sort-order [text]
103
+
104
+ The sort order to use, either ascending (*ASC*) or descending
105
+ (*DESC*).
106
+
107
+ Accepted values are:
108
+
109
+ ASC, DESC
110
+
111
+
112
+ Global Parameters
113
+ =================
114
+
115
+ Use "oci --help" for help on global parameters.
116
+
117
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
118
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
119
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
120
+ endpoint", "--generate-full-command-json-input", "--generate-param-
121
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
122
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
123
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
124
+ realm-specific-endpoint", "--region", "--release-info", "--request-
125
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
@@ -0,0 +1,132 @@
1
+ "list"
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
+ Lists the batch tasks by batch job OCID. You can filter and sort them
19
+ by various properties like lifecycle state, name and also ocid. All
20
+ properties require an exact match. List operation only provides a
21
+ summary information, use GetBatchTask to get the full details on a
22
+ specific context List is incomplete until jobs lifecycle is
23
+ in_progress
24
+
25
+
26
+ Usage
27
+ =====
28
+
29
+ oci batch batch-task list [OPTIONS]
30
+
31
+
32
+ Required Parameters
33
+ ===================
34
+
35
+ --batch-job-id [text]
36
+
37
+ The OCID of the batch job.
38
+
39
+
40
+ Optional Parameters
41
+ ===================
42
+
43
+ --all
44
+
45
+ Fetches all pages of results. If you provide this option, then you
46
+ cannot provide the "--limit" option.
47
+
48
+ --from-json [text]
49
+
50
+ Provide input to this command as a JSON document from a file using the
51
+ file://path-to/file syntax.
52
+
53
+ The "--generate-full-command-json-input" option can be used to
54
+ generate a sample json file to be used with this command option. The
55
+ key names are pre-populated and match the command option names
56
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
57
+ while the values of the keys need to be populated by the user before
58
+ using the sample file as an input to this command. For any command
59
+ option that accepts multiple values, the value of the key can be a
60
+ JSON array.
61
+
62
+ Options can still be provided on the command line. If an option exists
63
+ in both the JSON document and the command line then the command line
64
+ specified value will be used.
65
+
66
+ For examples on usage of this option, please see our “using CLI with
67
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
68
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
69
+
70
+ --lifecycle-state [text]
71
+
72
+ A filter to return only resources that match the given lifecycle
73
+ state. The state value is case-insensitive.
74
+
75
+ Accepted values are:
76
+
77
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
78
+
79
+ --limit [integer]
80
+
81
+ For list pagination. The maximum number of results per page, or items
82
+ to return in a paginated “List” call. For important details about how
83
+ pagination works, see List Pagination.
84
+
85
+ --name [text]
86
+
87
+ The name of the task.
88
+
89
+ --page [text]
90
+
91
+ For list pagination. The value of the opc-next-page response header
92
+ from the previous “List” call. For important details about how
93
+ pagination works, see List Pagination.
94
+
95
+ --page-size [integer]
96
+
97
+ When fetching results, the number of results to fetch per call. Only
98
+ valid when used with "--all" or "--limit", and ignored otherwise.
99
+
100
+ --sort-by [text]
101
+
102
+ The field to sort by. You can provide only one sort order. Default
103
+ order for *name* is ascending.
104
+
105
+ Accepted values are:
106
+
107
+ name
108
+
109
+ --sort-order [text]
110
+
111
+ The sort order to use, either ascending (*ASC*) or descending
112
+ (*DESC*).
113
+
114
+ Accepted values are:
115
+
116
+ ASC, DESC
117
+
118
+
119
+ Global Parameters
120
+ =================
121
+
122
+ Use "oci --help" for help on global parameters.
123
+
124
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
125
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
126
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
127
+ endpoint", "--generate-full-command-json-input", "--generate-param-
128
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
129
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
130
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
131
+ realm-specific-endpoint", "--region", "--release-info", "--request-
132
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
@@ -0,0 +1,135 @@
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 task environment into a different compartment within the
21
+ same tenancy. For information about moving resources between
22
+ compartments, see Moving Resources to a Different Compartment.
23
+
24
+
25
+ Usage
26
+ =====
27
+
28
+ oci batch batch-task-environment change-compartment [OPTIONS]
29
+
30
+
31
+ Required Parameters
32
+ ===================
33
+
34
+ --batch-task-environment-id [text]
35
+
36
+ The OCID of the batch task environment.
37
+
38
+ --compartment-id, -c [text]
39
+
40
+ The OCID of the compartment to move the batch task environment 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 the following CLI commands into a file named example.sh. Run the
123
+ command by typing “bash example.sh” and replacing the example
124
+ parameters with your own.
125
+
126
+ Please note this sample will only work in the POSIX-compliant bash-
127
+ like shell. You need to set up the OCI configuration and appropriate
128
+ security policies before trying the examples.
129
+
130
+ 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-task-environment/create.html#cmdoption-compartment-id
131
+ export image_url=<substitute-value-of-image_url> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/batch/batch-task-environment/create.html#cmdoption-image-url
132
+
133
+ batch_task_environment_id=$(oci batch batch-task-environment create --compartment-id $compartment_id --image-url $image_url --query data.id --raw-output)
134
+
135
+ oci batch batch-task-environment change-compartment --batch-task-environment-id $batch_task_environment_id --compartment-id $compartment_id
@@ -0,0 +1,207 @@
1
+ "create"
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
+ Creates a batch task environment.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci batch batch-task-environment create [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --compartment-id, -c [text]
33
+
34
+ The OCID of the compartment.
35
+
36
+ --image-url [text]
37
+
38
+ The URL of the ocir image.
39
+
40
+
41
+ Optional Parameters
42
+ ===================
43
+
44
+ --defined-tags [complex type]
45
+
46
+ Defined tags for this resource. Each key is predefined and scoped to a
47
+ namespace. For more information, see Resource Tags.
48
+
49
+ Example:
50
+
51
+ {"Operations": {"CostCenter": "42"}}
52
+
53
+ This is a complex type whose value must be valid JSON. The value can
54
+ be provided as a string on the command line or passed in as a file
55
+ using the file://path/to/file syntax.
56
+
57
+ The "--generate-param-json-input" option can be used to generate an
58
+ example of the JSON which must be provided. We recommend storing this
59
+ example in a file, modifying it as needed and then passing it back in
60
+ via the file:// syntax.
61
+
62
+ --description [text]
63
+
64
+ The batch task environment description.
65
+
66
+ --display-name [text]
67
+
68
+ A user-friendly name. Does not have to be unique, and it’s changeable.
69
+ If not specified or provided as null or empty string, it be generated
70
+ as “<resourceType><timeCreated>”, where timeCreated corresponds with
71
+ the resource creation time in ISO 8601 basic format, i.e. omitting
72
+ separating punctuation, at second-level precision and no UTC offset.
73
+ Example: batchtaskenvironment20250914115623.
74
+
75
+ --freeform-tags [complex type]
76
+
77
+ Free-form tags for this resource. Each tag is a simple key-value pair
78
+ with no predefined name, type, or namespace. For more information, see
79
+ Resource Tags.
80
+
81
+ Example:
82
+
83
+ {"Department": "Finance"}
84
+
85
+ This is a complex type whose value must be valid JSON. The value can
86
+ be provided as a string on the command line or passed in as a file
87
+ using the file://path/to/file syntax.
88
+
89
+ The "--generate-param-json-input" option can be used to generate an
90
+ example of the JSON which must be provided. We recommend storing this
91
+ example in a file, modifying it as needed and then passing it back in
92
+ via the file:// syntax.
93
+
94
+ --from-json [text]
95
+
96
+ Provide input to this command as a JSON document from a file using the
97
+ file://path-to/file syntax.
98
+
99
+ The "--generate-full-command-json-input" option can be used to
100
+ generate a sample json file to be used with this command option. The
101
+ key names are pre-populated and match the command option names
102
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
103
+ while the values of the keys need to be populated by the user before
104
+ using the sample file as an input to this command. For any command
105
+ option that accepts multiple values, the value of the key can be a
106
+ JSON array.
107
+
108
+ Options can still be provided on the command line. If an option exists
109
+ in both the JSON document and the command line then the command line
110
+ specified value will be used.
111
+
112
+ For examples on usage of this option, please see our “using CLI with
113
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
114
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
115
+
116
+ --max-wait-seconds [integer]
117
+
118
+ The maximum time to wait for the resource to reach the lifecycle state
119
+ defined by "--wait-for-state". Defaults to 1200 seconds.
120
+
121
+ --security-context [complex type]
122
+
123
+ This is a complex type whose value must be valid JSON. The value can
124
+ be provided as a string on the command line or passed in as a file
125
+ using the file://path/to/file syntax.
126
+
127
+ The "--generate-param-json-input" option can be used to generate an
128
+ example of the JSON which must be provided. We recommend storing this
129
+ example in a file, modifying it as needed and then passing it back in
130
+ via the file:// syntax.
131
+
132
+ --volumes [complex type]
133
+
134
+ List of volumes attached to the image. The use cases of the volumes
135
+ are but not limited to: read the input of the task and write the
136
+ output.
137
+
138
+ This option is a JSON list with items of type
139
+ BatchTaskEnvironmentVolume. For documentation on
140
+ BatchTaskEnvironmentVolume please see our API reference: https://docs
141
+ .cloud.oracle.com/api/#/en/batchcomputing/20251031/datatypes/BatchTas
142
+ kEnvironmentVolume. This is a complex type whose value must be valid
143
+ JSON. The value can be provided as a string on the command line or
144
+ passed in as a file using the file://path/to/file syntax.
145
+
146
+ The "--generate-param-json-input" option can be used to generate an
147
+ example of the JSON which must be provided. We recommend storing this
148
+ example in a file, modifying it as needed and then passing it back in
149
+ via the file:// syntax.
150
+
151
+ --wait-for-state [text]
152
+
153
+ This operation creates, modifies or deletes a resource that has a
154
+ defined lifecycle state. Specify this option to perform the action and
155
+ then wait until the resource reaches a given lifecycle state. Multiple
156
+ states can be specified, returning on the first state. For example, "
157
+ --wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
158
+ whichever lifecycle state is reached first. If timeout is reached, a
159
+ return code of 2 is returned. For any other error, a return code of 1
160
+ is returned.
161
+
162
+ Accepted values are:
163
+
164
+ ACTIVE, DELETED
165
+
166
+ --wait-interval-seconds [integer]
167
+
168
+ Check every "--wait-interval-seconds" to see whether the resource has
169
+ reached the lifecycle state defined by "--wait-for-state". Defaults to
170
+ 30 seconds.
171
+
172
+ --working-directory [text]
173
+
174
+ Container’s working directory.
175
+
176
+
177
+ Global Parameters
178
+ =================
179
+
180
+ Use "oci --help" for help on global parameters.
181
+
182
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
183
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
184
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
185
+ endpoint", "--generate-full-command-json-input", "--generate-param-
186
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
187
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
188
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
189
+ realm-specific-endpoint", "--region", "--release-info", "--request-
190
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
191
+
192
+
193
+ Example using required parameter
194
+ ================================
195
+
196
+ Copy the following CLI commands into a file named example.sh. Run the
197
+ command by typing “bash example.sh” and replacing the example
198
+ parameters with your own.
199
+
200
+ Please note this sample will only work in the POSIX-compliant bash-
201
+ like shell. You need to set up the OCI configuration and appropriate
202
+ security policies before trying the examples.
203
+
204
+ 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-task-environment/create.html#cmdoption-compartment-id
205
+ export image_url=<substitute-value-of-image_url> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/batch/batch-task-environment/create.html#cmdoption-image-url
206
+
207
+ oci batch batch-task-environment create --compartment-id $compartment_id --image-url $image_url