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
@@ -0,0 +1,135 @@
1
+ "list"
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 jobs by compartment or job OCID. You can filter and
17
+ sort them by various properties like lifecycle state, display name and
18
+ also ocid. All properties require an exact match. List operation only
19
+ provides a summary information, use GetBatchJob to get the full
20
+ details on a specific context
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci batch batch-job list [OPTIONS]
27
+
28
+
29
+ Optional Parameters
30
+ ===================
31
+
32
+ --all
33
+
34
+ Fetches all pages of results. If you provide this option, then you
35
+ cannot provide the "--limit" option.
36
+
37
+ --batch-job-pool-id [text]
38
+
39
+ The OCID of the batch job pool.
40
+
41
+ --compartment-id, -c [text]
42
+
43
+ The OCID of the compartment in which to list resources.
44
+
45
+ --display-name [text]
46
+
47
+ A filter to return only resources that match the given display name
48
+ exactly.
49
+
50
+ --from-json [text]
51
+
52
+ Provide input to this command as a JSON document from a file using the
53
+ file://path-to/file syntax.
54
+
55
+ The "--generate-full-command-json-input" option can be used to
56
+ generate a sample json file to be used with this command option. The
57
+ key names are pre-populated and match the command option names
58
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
59
+ while the values of the keys need to be populated by the user before
60
+ using the sample file as an input to this command. For any command
61
+ option that accepts multiple values, the value of the key can be a
62
+ JSON array.
63
+
64
+ Options can still be provided on the command line. If an option exists
65
+ in both the JSON document and the command line then the command line
66
+ specified value will be used.
67
+
68
+ For examples on usage of this option, please see our “using CLI with
69
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
70
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
71
+
72
+ --id [text]
73
+
74
+ The OCID of the batch job.
75
+
76
+ --lifecycle-state [text]
77
+
78
+ A filter to return only resources that match the given lifecycle
79
+ state. The state value is case-insensitive.
80
+
81
+ Accepted values are:
82
+
83
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
84
+
85
+ --limit [integer]
86
+
87
+ For list pagination. The maximum number of results per page, or items
88
+ to return in a paginated “List” call. For important details about how
89
+ pagination works, see List Pagination.
90
+
91
+ --page [text]
92
+
93
+ For list pagination. The value of the opc-next-page response header
94
+ from the previous “List” call. For important details about how
95
+ pagination works, see List Pagination.
96
+
97
+ --page-size [integer]
98
+
99
+ When fetching results, the number of results to fetch per call. Only
100
+ valid when used with "--all" or "--limit", and ignored otherwise.
101
+
102
+ --sort-by [text]
103
+
104
+ The field to sort by. You can provide only one sort order. Default
105
+ order for *timeCreated* is descending. Default order for *displayName*
106
+ is ascending.
107
+
108
+ Accepted values are:
109
+
110
+ displayName, timeCreated
111
+
112
+ --sort-order [text]
113
+
114
+ The sort order to use, either ascending (*ASC*) or descending
115
+ (*DESC*).
116
+
117
+ Accepted values are:
118
+
119
+ ASC, DESC
120
+
121
+
122
+ Global Parameters
123
+ =================
124
+
125
+ Use "oci --help" for help on global parameters.
126
+
127
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
128
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
129
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
130
+ endpoint", "--generate-full-command-json-input", "--generate-param-
131
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
132
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
133
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
134
+ realm-specific-endpoint", "--region", "--release-info", "--request-
135
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
@@ -0,0 +1,140 @@
1
+ "pause"
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
+ Pauses the batch job and all its tasks.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci batch batch-job pause [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --batch-job-id [text]
33
+
34
+ The OCID of the batch job.
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
+ --if-match [text]
63
+
64
+ For optimistic concurrency control. In the PUT or DELETE call for a
65
+ resource, set the *if-match* parameter to the value of the etag from a
66
+ previous GET or POST response for that resource. The resource will be
67
+ updated or deleted only if the etag you provide matches the resource’s
68
+ current etag value.
69
+
70
+ --max-wait-seconds [integer]
71
+
72
+ The maximum time to wait for the work request to reach the state
73
+ defined by "--wait-for-state". Defaults to 1200 seconds.
74
+
75
+ --wait-for-state [text]
76
+
77
+ This operation asynchronously creates, modifies or deletes a resource
78
+ and uses a work request to track the progress of the operation.
79
+ Specify this option to perform the action and then wait until the work
80
+ request reaches a certain state. Multiple states can be specified,
81
+ returning on the first state. For example, "--wait-for-state"
82
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
83
+ lifecycle state is reached first. If timeout is reached, a return code
84
+ of 2 is returned. For any other error, a return code of 1 is returned.
85
+
86
+ Accepted values are:
87
+
88
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
89
+
90
+ --wait-interval-seconds [integer]
91
+
92
+ Check every "--wait-interval-seconds" to see whether the work request
93
+ has reached the state defined by "--wait-for-state". Defaults to 30
94
+ seconds.
95
+
96
+
97
+ Global Parameters
98
+ =================
99
+
100
+ Use "oci --help" for help on global parameters.
101
+
102
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
103
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
104
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
105
+ endpoint", "--generate-full-command-json-input", "--generate-param-
106
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
107
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
108
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
109
+ realm-specific-endpoint", "--region", "--release-info", "--request-
110
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
111
+
112
+
113
+ Example using required parameter
114
+ ================================
115
+
116
+ Copy and paste the following example into a JSON file, replacing the
117
+ example parameters with your own.
118
+
119
+ oci batch batch-context create --generate-param-json-input fleets > fleets.json
120
+ oci batch batch-context create --generate-param-json-input network > network.json
121
+
122
+ oci batch batch-job create --generate-param-json-input tasks > tasks.json
123
+
124
+ Copy the following CLI commands into a file named example.sh. Run the
125
+ command by typing “bash example.sh” and replacing the example
126
+ parameters with your own.
127
+
128
+ Please note this sample will only work in the POSIX-compliant bash-
129
+ like shell. You need to set up the OCI configuration and appropriate
130
+ security policies before trying the examples.
131
+
132
+ 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
133
+
134
+ 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)
135
+
136
+ batch_job_pool_id=$(oci batch batch-job-pool create --batch-context-id $batch_context_id --compartment-id $compartment_id --query data.id --raw-output)
137
+
138
+ batch_job_id=$(oci batch batch-job create --batch-job-pool-id $batch_job_pool_id --compartment-id $compartment_id --tasks file://tasks.json --query data.id --raw-output)
139
+
140
+ oci batch batch-job pause --batch-job-id $batch_job_id
@@ -0,0 +1,140 @@
1
+ "unpause"
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
+ Resumes the batch job and all its tasks.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci batch batch-job unpause [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --batch-job-id [text]
33
+
34
+ The OCID of the batch job.
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
+ --if-match [text]
63
+
64
+ For optimistic concurrency control. In the PUT or DELETE call for a
65
+ resource, set the *if-match* parameter to the value of the etag from a
66
+ previous GET or POST response for that resource. The resource will be
67
+ updated or deleted only if the etag you provide matches the resource’s
68
+ current etag value.
69
+
70
+ --max-wait-seconds [integer]
71
+
72
+ The maximum time to wait for the work request to reach the state
73
+ defined by "--wait-for-state". Defaults to 1200 seconds.
74
+
75
+ --wait-for-state [text]
76
+
77
+ This operation asynchronously creates, modifies or deletes a resource
78
+ and uses a work request to track the progress of the operation.
79
+ Specify this option to perform the action and then wait until the work
80
+ request reaches a certain state. Multiple states can be specified,
81
+ returning on the first state. For example, "--wait-for-state"
82
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
83
+ lifecycle state is reached first. If timeout is reached, a return code
84
+ of 2 is returned. For any other error, a return code of 1 is returned.
85
+
86
+ Accepted values are:
87
+
88
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
89
+
90
+ --wait-interval-seconds [integer]
91
+
92
+ Check every "--wait-interval-seconds" to see whether the work request
93
+ has reached the state defined by "--wait-for-state". Defaults to 30
94
+ seconds.
95
+
96
+
97
+ Global Parameters
98
+ =================
99
+
100
+ Use "oci --help" for help on global parameters.
101
+
102
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
103
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
104
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
105
+ endpoint", "--generate-full-command-json-input", "--generate-param-
106
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
107
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
108
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
109
+ realm-specific-endpoint", "--region", "--release-info", "--request-
110
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
111
+
112
+
113
+ Example using required parameter
114
+ ================================
115
+
116
+ Copy and paste the following example into a JSON file, replacing the
117
+ example parameters with your own.
118
+
119
+ oci batch batch-context create --generate-param-json-input fleets > fleets.json
120
+ oci batch batch-context create --generate-param-json-input network > network.json
121
+
122
+ oci batch batch-job create --generate-param-json-input tasks > tasks.json
123
+
124
+ Copy the following CLI commands into a file named example.sh. Run the
125
+ command by typing “bash example.sh” and replacing the example
126
+ parameters with your own.
127
+
128
+ Please note this sample will only work in the POSIX-compliant bash-
129
+ like shell. You need to set up the OCI configuration and appropriate
130
+ security policies before trying the examples.
131
+
132
+ 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
133
+
134
+ 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)
135
+
136
+ batch_job_pool_id=$(oci batch batch-job-pool create --batch-context-id $batch_context_id --compartment-id $compartment_id --query data.id --raw-output)
137
+
138
+ batch_job_id=$(oci batch batch-job create --batch-job-pool-id $batch_job_pool_id --compartment-id $compartment_id --tasks file://tasks.json --query data.id --raw-output)
139
+
140
+ oci batch batch-job unpause --batch-job-id $batch_job_id
@@ -0,0 +1,191 @@
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 job.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci batch batch-job update [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --batch-job-id [text]
33
+
34
+ The OCID of the batch job.
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
+ An optional description that provides additional context next to the
61
+ displayName.
62
+
63
+ --display-name [text]
64
+
65
+ A user-friendly name. Does not have to be unique, and it’s changeable.
66
+ Can’t be set to null.
67
+
68
+ --force
69
+
70
+ Perform update without prompting for confirmation.
71
+
72
+ --freeform-tags [complex type]
73
+
74
+ Free-form tags for this resource. Each tag is a simple key-value pair
75
+ with no predefined name, type, or namespace. For more information, see
76
+ Resource Tags.
77
+
78
+ Example:
79
+
80
+ {"Department": "Finance"}
81
+
82
+ This is a complex type whose value must be valid JSON. The value can
83
+ be provided as a string on the command line or passed in as a file
84
+ using the file://path/to/file syntax.
85
+
86
+ The "--generate-param-json-input" option can be used to generate an
87
+ example of the JSON which must be provided. We recommend storing this
88
+ example in a file, modifying it as needed and then passing it back in
89
+ via the file:// syntax.
90
+
91
+ --from-json [text]
92
+
93
+ Provide input to this command as a JSON document from a file using the
94
+ file://path-to/file syntax.
95
+
96
+ The "--generate-full-command-json-input" option can be used to
97
+ generate a sample json file to be used with this command option. The
98
+ key names are pre-populated and match the command option names
99
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
100
+ while the values of the keys need to be populated by the user before
101
+ using the sample file as an input to this command. For any command
102
+ option that accepts multiple values, the value of the key can be a
103
+ JSON array.
104
+
105
+ Options can still be provided on the command line. If an option exists
106
+ in both the JSON document and the command line then the command line
107
+ specified value will be used.
108
+
109
+ For examples on usage of this option, please see our “using CLI with
110
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
111
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
112
+
113
+ --if-match [text]
114
+
115
+ For optimistic concurrency control. In the PUT or DELETE call for a
116
+ resource, set the *if-match* parameter to the value of the etag from a
117
+ previous GET or POST response for that resource. The resource will be
118
+ updated or deleted only if the etag you provide matches the resource’s
119
+ current etag value.
120
+
121
+ --max-wait-seconds [integer]
122
+
123
+ The maximum time to wait for the work request to reach the state
124
+ defined by "--wait-for-state". Defaults to 1200 seconds.
125
+
126
+ --wait-for-state [text]
127
+
128
+ This operation asynchronously creates, modifies or deletes a resource
129
+ and uses a work request to track the progress of the operation.
130
+ Specify this option to perform the action and then wait until the work
131
+ request reaches a certain state. Multiple states can be specified,
132
+ returning on the first state. For example, "--wait-for-state"
133
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
134
+ lifecycle state is reached first. If timeout is reached, a return code
135
+ of 2 is returned. For any other error, a return code of 1 is returned.
136
+
137
+ Accepted values are:
138
+
139
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
140
+
141
+ --wait-interval-seconds [integer]
142
+
143
+ Check every "--wait-interval-seconds" to see whether the work request
144
+ has reached the state defined by "--wait-for-state". Defaults to 30
145
+ seconds.
146
+
147
+
148
+ Global Parameters
149
+ =================
150
+
151
+ Use "oci --help" for help on global parameters.
152
+
153
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
154
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
155
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
156
+ endpoint", "--generate-full-command-json-input", "--generate-param-
157
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
158
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
159
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
160
+ realm-specific-endpoint", "--region", "--release-info", "--request-
161
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
162
+
163
+
164
+ Example using required parameter
165
+ ================================
166
+
167
+ Copy and paste the following example into a JSON file, replacing the
168
+ example parameters with your own.
169
+
170
+ oci batch batch-context create --generate-param-json-input fleets > fleets.json
171
+ oci batch batch-context create --generate-param-json-input network > network.json
172
+
173
+ oci batch batch-job create --generate-param-json-input tasks > tasks.json
174
+
175
+ Copy the following CLI commands into a file named example.sh. Run the
176
+ command by typing “bash example.sh” and replacing the example
177
+ parameters with your own.
178
+
179
+ Please note this sample will only work in the POSIX-compliant bash-
180
+ like shell. You need to set up the OCI configuration and appropriate
181
+ security policies before trying the examples.
182
+
183
+ 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
184
+
185
+ 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)
186
+
187
+ batch_job_pool_id=$(oci batch batch-job-pool create --batch-context-id $batch_context_id --compartment-id $compartment_id --query data.id --raw-output)
188
+
189
+ batch_job_id=$(oci batch batch-job create --batch-job-pool-id $batch_job_pool_id --compartment-id $compartment_id --tasks file://tasks.json --query data.id --raw-output)
190
+
191
+ oci batch batch-job update --batch-job-id $batch_job_id