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.
- oci_cli/bin/batch.psm1 +122 -0
- oci_cli/bin/integration.psm1 +6 -2
- oci_cli/cli_util.py +2 -4
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/change-compartment.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/create-oci-logging-configuration.txt +210 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/create.txt +237 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/delete.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/get.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/start.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/stop.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/update.txt +213 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context-shape-collection/list.txt +101 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context-shape-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context.txt +35 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/cancel.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/change-compartment.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/create.txt +215 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/get.txt +106 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/list.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/pause.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/unpause.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/update.txt +191 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/change-compartment.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/create.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/delete.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/get.txt +102 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/list.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/start.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/stop.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/update.txt +186 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job.txt +35 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/get.txt +111 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/list-batch-tasks.txt +125 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/change-compartment.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/create.txt +207 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/update.txt +179 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/create.txt +178 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/update.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request/list.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-error/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-log-entry/list-work-request-logs.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch.txt +123 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/create.txt +14 -13
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/delete.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get-virtual-node.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/list-virtual-nodes.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/update.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/apply-host-configuration.txt +127 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/check-host-configuration.txt +127 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle/list.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/shape/list.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/ml-app-instance-view/list.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/disaster-recovery/dr-plan-execution/update.txt +1 -1
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/get.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/list.txt +190 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/patch.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/put.txt +385 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/search.txt +199 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/change-private-endpoint-outbound-connection-private-endpoint-outbound-connection.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/convert-instance.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/disable-process-automation.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/METADATA +2 -2
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/RECORD +130 -52
- services/batch/__init__.py +4 -0
- services/batch/src/__init__.py +4 -0
- services/batch/src/oci_cli_batch_computing/__init__.py +4 -0
- services/batch/src/oci_cli_batch_computing/batchcomputing_cli_extended.py +93 -0
- services/batch/src/oci_cli_batch_computing/generated/__init__.py +4 -0
- services/batch/src/oci_cli_batch_computing/generated/batchcomputing_cli.py +2855 -0
- services/batch/src/oci_cli_batch_computing/generated/client_mappings.py +14 -0
- services/batch/tests/__init__.py +4 -0
- services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +3 -5
- services/core/src/oci_cli_compute/computepic_cli_extended.py +9 -0
- services/core/src/oci_cli_compute/generated/compute_cli.py +201 -1
- services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +4 -1
- services/disaster_recovery/src/oci_cli_disaster_recovery/generated/disasterrecovery_cli.py +1 -1
- services/identity_domains/src/oci_cli_identity_domains/generated/identitydomains_cli.py +371 -0
- services/integration/src/oci_cli_integration_instance/generated/integrationinstance_cli.py +259 -7
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/WHEEL +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"update"
|
|
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
|
+
Updates a batch task profile.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci batch batch-task-profile update [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--batch-task-profile-id [text]
|
|
33
|
+
|
|
34
|
+
The OCID of the batch task profile.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Optional Parameters
|
|
38
|
+
===================
|
|
39
|
+
|
|
40
|
+
--defined-tags [complex type]
|
|
41
|
+
|
|
42
|
+
Defined tags for this resource. Each key is predefined and scoped to a
|
|
43
|
+
namespace. For more information, see Resource Tags.
|
|
44
|
+
|
|
45
|
+
Example:
|
|
46
|
+
|
|
47
|
+
{"Operations": {"CostCenter": "42"}}
|
|
48
|
+
|
|
49
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
50
|
+
be provided as a string on the command line or passed in as a file
|
|
51
|
+
using the file://path/to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
54
|
+
example of the JSON which must be provided. We recommend storing this
|
|
55
|
+
example in a file, modifying it as needed and then passing it back in
|
|
56
|
+
via the file:// syntax.
|
|
57
|
+
|
|
58
|
+
--description [text]
|
|
59
|
+
|
|
60
|
+
The batch task profile description.
|
|
61
|
+
|
|
62
|
+
--display-name [text]
|
|
63
|
+
|
|
64
|
+
A user-friendly name. Does not have to be unique, and it’s changeable.
|
|
65
|
+
Can’t be set to null.
|
|
66
|
+
|
|
67
|
+
--force
|
|
68
|
+
|
|
69
|
+
Perform update without prompting for confirmation.
|
|
70
|
+
|
|
71
|
+
--freeform-tags [complex type]
|
|
72
|
+
|
|
73
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
|
74
|
+
with no predefined name, type, or namespace. For more information, see
|
|
75
|
+
Resource Tags.
|
|
76
|
+
|
|
77
|
+
Example:
|
|
78
|
+
|
|
79
|
+
{"Department": "Finance"}
|
|
80
|
+
|
|
81
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
82
|
+
be provided as a string on the command line or passed in as a file
|
|
83
|
+
using the file://path/to/file syntax.
|
|
84
|
+
|
|
85
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
86
|
+
example of the JSON which must be provided. We recommend storing this
|
|
87
|
+
example in a file, modifying it as needed and then passing it back in
|
|
88
|
+
via the file:// syntax.
|
|
89
|
+
|
|
90
|
+
--from-json [text]
|
|
91
|
+
|
|
92
|
+
Provide input to this command as a JSON document from a file using the
|
|
93
|
+
file://path-to/file syntax.
|
|
94
|
+
|
|
95
|
+
The "--generate-full-command-json-input" option can be used to
|
|
96
|
+
generate a sample json file to be used with this command option. The
|
|
97
|
+
key names are pre-populated and match the command option names
|
|
98
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
99
|
+
while the values of the keys need to be populated by the user before
|
|
100
|
+
using the sample file as an input to this command. For any command
|
|
101
|
+
option that accepts multiple values, the value of the key can be a
|
|
102
|
+
JSON array.
|
|
103
|
+
|
|
104
|
+
Options can still be provided on the command line. If an option exists
|
|
105
|
+
in both the JSON document and the command line then the command line
|
|
106
|
+
specified value will be used.
|
|
107
|
+
|
|
108
|
+
For examples on usage of this option, please see our “using CLI with
|
|
109
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
110
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
111
|
+
|
|
112
|
+
--if-match [text]
|
|
113
|
+
|
|
114
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
115
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
116
|
+
previous GET or POST response for that resource. The resource will be
|
|
117
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
118
|
+
current etag value.
|
|
119
|
+
|
|
120
|
+
--max-wait-seconds [integer]
|
|
121
|
+
|
|
122
|
+
The maximum time to wait for the resource to reach the lifecycle state
|
|
123
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
124
|
+
|
|
125
|
+
--wait-for-state [text]
|
|
126
|
+
|
|
127
|
+
This operation creates, modifies or deletes a resource that has a
|
|
128
|
+
defined lifecycle state. Specify this option to perform the action and
|
|
129
|
+
then wait until the resource reaches a given lifecycle state. Multiple
|
|
130
|
+
states can be specified, returning on the first state. For example, "
|
|
131
|
+
--wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
|
|
132
|
+
whichever lifecycle state is reached first. If timeout is reached, a
|
|
133
|
+
return code of 2 is returned. For any other error, a return code of 1
|
|
134
|
+
is returned.
|
|
135
|
+
|
|
136
|
+
Accepted values are:
|
|
137
|
+
|
|
138
|
+
ACTIVE, DELETED
|
|
139
|
+
|
|
140
|
+
--wait-interval-seconds [integer]
|
|
141
|
+
|
|
142
|
+
Check every "--wait-interval-seconds" to see whether the resource has
|
|
143
|
+
reached the lifecycle state defined by "--wait-for-state". Defaults to
|
|
144
|
+
30 seconds.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
Global Parameters
|
|
148
|
+
=================
|
|
149
|
+
|
|
150
|
+
Use "oci --help" for help on global parameters.
|
|
151
|
+
|
|
152
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
153
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
154
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
155
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
156
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
157
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
158
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
159
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
160
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
Example using required parameter
|
|
164
|
+
================================
|
|
165
|
+
|
|
166
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
167
|
+
command by typing “bash example.sh” and replacing the example
|
|
168
|
+
parameters with your own.
|
|
169
|
+
|
|
170
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
171
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
172
|
+
security policies before trying the examples.
|
|
173
|
+
|
|
174
|
+
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-profile/create.html#cmdoption-compartment-id
|
|
175
|
+
export min_memory_in_gbs=<substitute-value-of-min_memory_in_gbs> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/batch/batch-task-profile/create.html#cmdoption-min-memory-in-gbs
|
|
176
|
+
export min_ocpus=<substitute-value-of-min_ocpus> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/batch/batch-task-profile/create.html#cmdoption-min-ocpus
|
|
177
|
+
|
|
178
|
+
batch_task_profile_id=$(oci batch batch-task-profile create --compartment-id $compartment_id --min-memory-in-gbs $min_memory_in_gbs --min-ocpus $min_ocpus --query data.id --raw-output)
|
|
179
|
+
|
|
180
|
+
oci batch batch-task-profile update --batch-task-profile-id $batch_task_profile_id
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
batch-task-profile
|
|
2
|
+
******************
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Description
|
|
6
|
+
===========
|
|
7
|
+
|
|
8
|
+
A batch task profile resource describes the minimum hardware
|
|
9
|
+
requirements requested for a task.
|
|
10
|
+
|
|
11
|
+
To use any of the API operations, you must be authorized in an IAM
|
|
12
|
+
policy. If you’re not authorized, talk to an administrator. If you’re
|
|
13
|
+
an administrator who needs to write policies to give users access, see
|
|
14
|
+
Getting Started with Policies.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Available Commands
|
|
18
|
+
==================
|
|
19
|
+
|
|
20
|
+
* change-compartment
|
|
21
|
+
|
|
22
|
+
* create
|
|
23
|
+
|
|
24
|
+
* delete
|
|
25
|
+
|
|
26
|
+
* get
|
|
27
|
+
|
|
28
|
+
* list
|
|
29
|
+
|
|
30
|
+
* update
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"get"
|
|
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
|
+
Gets the details of a work request.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci batch work-request get [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--work-request-id [text]
|
|
33
|
+
|
|
34
|
+
The OCID of the asynchronous work request.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Optional Parameters
|
|
38
|
+
===================
|
|
39
|
+
|
|
40
|
+
--from-json [text]
|
|
41
|
+
|
|
42
|
+
Provide input to this command as a JSON document from a file using the
|
|
43
|
+
file://path-to/file syntax.
|
|
44
|
+
|
|
45
|
+
The "--generate-full-command-json-input" option can be used to
|
|
46
|
+
generate a sample json file to be used with this command option. The
|
|
47
|
+
key names are pre-populated and match the command option names
|
|
48
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
49
|
+
while the values of the keys need to be populated by the user before
|
|
50
|
+
using the sample file as an input to this command. For any command
|
|
51
|
+
option that accepts multiple values, the value of the key can be a
|
|
52
|
+
JSON array.
|
|
53
|
+
|
|
54
|
+
Options can still be provided on the command line. If an option exists
|
|
55
|
+
in both the JSON document and the command line then the command line
|
|
56
|
+
specified value will be used.
|
|
57
|
+
|
|
58
|
+
For examples on usage of this option, please see our “using CLI with
|
|
59
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
60
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
Global Parameters
|
|
64
|
+
=================
|
|
65
|
+
|
|
66
|
+
Use "oci --help" for help on global parameters.
|
|
67
|
+
|
|
68
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
69
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
70
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
71
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
72
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
73
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
74
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
75
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
76
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
Example using required parameter
|
|
80
|
+
================================
|
|
81
|
+
|
|
82
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
83
|
+
command by typing “bash example.sh” and replacing the example
|
|
84
|
+
parameters with your own.
|
|
85
|
+
|
|
86
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
87
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
88
|
+
security policies before trying the examples.
|
|
89
|
+
|
|
90
|
+
export work_request_id=<substitute-value-of-work_request_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/batch/work-request/get.html#cmdoption-work-request-id
|
|
91
|
+
|
|
92
|
+
oci batch work-request get --work-request-id $work_request_id
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"list"
|
|
2
|
+
******
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Optional Parameters
|
|
9
|
+
|
|
10
|
+
* Global Parameters
|
|
11
|
+
|
|
12
|
+
* Example using required parameter
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Description
|
|
16
|
+
===========
|
|
17
|
+
|
|
18
|
+
Lists the work requests in a compartment.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Usage
|
|
22
|
+
=====
|
|
23
|
+
|
|
24
|
+
oci batch work-request list [OPTIONS]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Optional Parameters
|
|
28
|
+
===================
|
|
29
|
+
|
|
30
|
+
--all
|
|
31
|
+
|
|
32
|
+
Fetches all pages of results. If you provide this option, then you
|
|
33
|
+
cannot provide the "--limit" option.
|
|
34
|
+
|
|
35
|
+
--compartment-id, -c [text]
|
|
36
|
+
|
|
37
|
+
The OCID of the compartment in which to list resources.
|
|
38
|
+
|
|
39
|
+
--from-json [text]
|
|
40
|
+
|
|
41
|
+
Provide input to this command as a JSON document from a file using the
|
|
42
|
+
file://path-to/file syntax.
|
|
43
|
+
|
|
44
|
+
The "--generate-full-command-json-input" option can be used to
|
|
45
|
+
generate a sample json file to be used with this command option. The
|
|
46
|
+
key names are pre-populated and match the command option names
|
|
47
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
48
|
+
while the values of the keys need to be populated by the user before
|
|
49
|
+
using the sample file as an input to this command. For any command
|
|
50
|
+
option that accepts multiple values, the value of the key can be a
|
|
51
|
+
JSON array.
|
|
52
|
+
|
|
53
|
+
Options can still be provided on the command line. If an option exists
|
|
54
|
+
in both the JSON document and the command line then the command line
|
|
55
|
+
specified value will be used.
|
|
56
|
+
|
|
57
|
+
For examples on usage of this option, please see our “using CLI with
|
|
58
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
59
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
60
|
+
|
|
61
|
+
--limit [integer]
|
|
62
|
+
|
|
63
|
+
For list pagination. The maximum number of results per page, or items
|
|
64
|
+
to return in a paginated “List” call. For important details about how
|
|
65
|
+
pagination works, see List Pagination.
|
|
66
|
+
|
|
67
|
+
--page [text]
|
|
68
|
+
|
|
69
|
+
For list pagination. The value of the opc-next-page response header
|
|
70
|
+
from the previous “List” call. For important details about how
|
|
71
|
+
pagination works, see List Pagination.
|
|
72
|
+
|
|
73
|
+
--page-size [integer]
|
|
74
|
+
|
|
75
|
+
When fetching results, the number of results to fetch per call. Only
|
|
76
|
+
valid when used with "--all" or "--limit", and ignored otherwise.
|
|
77
|
+
|
|
78
|
+
--resource-id [text]
|
|
79
|
+
|
|
80
|
+
The OCID of the resource affected by the work request.
|
|
81
|
+
|
|
82
|
+
--sort-by [text]
|
|
83
|
+
|
|
84
|
+
The field to sort by. Only one sort order may be provided. Default
|
|
85
|
+
order for *timeAccepted* is descending.
|
|
86
|
+
|
|
87
|
+
Accepted values are:
|
|
88
|
+
|
|
89
|
+
timeAccepted
|
|
90
|
+
|
|
91
|
+
--sort-order [text]
|
|
92
|
+
|
|
93
|
+
The sort order to use, either ascending (*ASC*) or descending
|
|
94
|
+
(*DESC*).
|
|
95
|
+
|
|
96
|
+
Accepted values are:
|
|
97
|
+
|
|
98
|
+
ASC, DESC
|
|
99
|
+
|
|
100
|
+
--status [text]
|
|
101
|
+
|
|
102
|
+
A filter to return only the resources that match the given lifecycle
|
|
103
|
+
state.
|
|
104
|
+
|
|
105
|
+
Accepted values are:
|
|
106
|
+
|
|
107
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
|
|
108
|
+
|
|
109
|
+
--work-request-id [text]
|
|
110
|
+
|
|
111
|
+
The OCID of the asynchronous work request.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
Global Parameters
|
|
115
|
+
=================
|
|
116
|
+
|
|
117
|
+
Use "oci --help" for help on global parameters.
|
|
118
|
+
|
|
119
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
120
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
121
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
122
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
123
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
124
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
125
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
126
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
127
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Example using required parameter
|
|
131
|
+
================================
|
|
132
|
+
|
|
133
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
134
|
+
command by typing “bash example.sh” and replacing the example
|
|
135
|
+
parameters with your own.
|
|
136
|
+
|
|
137
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
138
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
139
|
+
security policies before trying the examples.
|
|
140
|
+
|
|
141
|
+
oci batch work-request list
|
|
@@ -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
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Lists the errors for a work request.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci batch work-request-error list [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--work-request-id [text]
|
|
33
|
+
|
|
34
|
+
The OCID of the asynchronous work request.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Optional Parameters
|
|
38
|
+
===================
|
|
39
|
+
|
|
40
|
+
--all
|
|
41
|
+
|
|
42
|
+
Fetches all pages of results. If you provide this option, then you
|
|
43
|
+
cannot provide the "--limit" option.
|
|
44
|
+
|
|
45
|
+
--from-json [text]
|
|
46
|
+
|
|
47
|
+
Provide input to this command as a JSON document from a file using the
|
|
48
|
+
file://path-to/file syntax.
|
|
49
|
+
|
|
50
|
+
The "--generate-full-command-json-input" option can be used to
|
|
51
|
+
generate a sample json file to be used with this command option. The
|
|
52
|
+
key names are pre-populated and match the command option names
|
|
53
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
54
|
+
while the values of the keys need to be populated by the user before
|
|
55
|
+
using the sample file as an input to this command. For any command
|
|
56
|
+
option that accepts multiple values, the value of the key can be a
|
|
57
|
+
JSON array.
|
|
58
|
+
|
|
59
|
+
Options can still be provided on the command line. If an option exists
|
|
60
|
+
in both the JSON document and the command line then the command line
|
|
61
|
+
specified value will be used.
|
|
62
|
+
|
|
63
|
+
For examples on usage of this option, please see our “using CLI with
|
|
64
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
65
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
66
|
+
|
|
67
|
+
--limit [integer]
|
|
68
|
+
|
|
69
|
+
For list pagination. The maximum number of results per page, or items
|
|
70
|
+
to return in a paginated “List” call. For important details about how
|
|
71
|
+
pagination works, see List Pagination.
|
|
72
|
+
|
|
73
|
+
--page [text]
|
|
74
|
+
|
|
75
|
+
For list pagination. The value of the opc-next-page response header
|
|
76
|
+
from the previous “List” call. For important details about how
|
|
77
|
+
pagination works, see List Pagination.
|
|
78
|
+
|
|
79
|
+
--page-size [integer]
|
|
80
|
+
|
|
81
|
+
When fetching results, the number of results to fetch per call. Only
|
|
82
|
+
valid when used with "--all" or "--limit", and ignored otherwise.
|
|
83
|
+
|
|
84
|
+
--sort-by [text]
|
|
85
|
+
|
|
86
|
+
The field to sort by. Only one sort order may be provided. Default
|
|
87
|
+
order for *timeCreated* is descending.
|
|
88
|
+
|
|
89
|
+
Accepted values are:
|
|
90
|
+
|
|
91
|
+
timeCreated
|
|
92
|
+
|
|
93
|
+
--sort-order [text]
|
|
94
|
+
|
|
95
|
+
The sort order to use, either ascending (*ASC*) or descending
|
|
96
|
+
(*DESC*).
|
|
97
|
+
|
|
98
|
+
Accepted values are:
|
|
99
|
+
|
|
100
|
+
ASC, DESC
|
|
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 work_request_id=<substitute-value-of-work_request_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/batch/work-request-error/list.html#cmdoption-work-request-id
|
|
131
|
+
|
|
132
|
+
oci batch work-request-error list --work-request-id $work_request_id
|