oci-cli 3.62.0__py3-none-any.whl → 3.62.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/opsi.psm1 +25 -8
- oci_cli/cli_util.py +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-inline-document-details.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-object-storage-document-details.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/create.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info/get-model-type.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-inline-document-content.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-invoice-processor-config.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ce/cluster/create-kubeconfig.txt +0 -4
- 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/{list.txt → list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.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/lfs/lustre-file-system.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +2 -1
- 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/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials.txt +152 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-vault.txt +175 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credentials-by-source.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-cloud-database-insight-connection-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-cloud-database-insight-connection-credential-by-named-credentials.txt +158 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-pe-comanaged-database-detail.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.txt +210 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-macs-managed-autonomous-database-insight.txt +203 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list-database-configurations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-capacity-trend.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-forecast-trend.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-statistics.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage-trend.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-utilization-insight.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-insights.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-statistics.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/synchronize-autonomous-database-to-exadata.txt +152 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials.txt +151 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/test-macs-managed-cloud-database-insight-connection-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/update-macs-managed-autonomous-database-insight.txt +155 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/{news-report → news-reports}/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-reports.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi.txt +25 -4
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +9 -9
- oci_cli/version.py +1 -1
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/METADATA +2 -2
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/RECORD +68 -57
- services/ai_document/src/oci_cli_ai_service_document/generated/aiservicedocument_cli.py +142 -13
- services/container_engine/src/oci_cli_container_engine/containerengine_cli_extended.py +1 -1
- services/log_analytics/src/oci_cli_log_analytics/log_analytics_cli_extended.py +17 -6
- services/opsi/src/oci_cli_operations_insights/generated/operationsinsights_cli.py +4541 -3121
- services/opsi/src/oci_cli_operations_insights/operationsinsights_cli_extended.py +82 -10
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-report.txt +0 -14
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/WHEEL +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"list"
|
|
2
|
-
|
|
1
|
+
"list-logs"
|
|
2
|
+
***********
|
|
3
3
|
|
|
4
4
|
* Description
|
|
5
5
|
|
|
@@ -24,7 +24,7 @@ ID.
|
|
|
24
24
|
Usage
|
|
25
25
|
=====
|
|
26
26
|
|
|
27
|
-
oci delegate-access-control work-request work-request-log list [OPTIONS]
|
|
27
|
+
oci delegate-access-control work-request work-request-log list-logs [OPTIONS]
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
Required Parameters
|
|
@@ -123,6 +123,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
123
123
|
like shell. You need to set up the OCI configuration and appropriate
|
|
124
124
|
security policies before trying the examples.
|
|
125
125
|
|
|
126
|
-
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/delegate-access-control/work-request/work-request-log/list.html#cmdoption-work-request-id
|
|
126
|
+
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/delegate-access-control/work-request/work-request-log/list-logs.html#cmdoption-work-request-id
|
|
127
127
|
|
|
128
|
-
oci delegate-access-control work-request work-request-log list --work-request-id $work_request_id
|
|
128
|
+
oci delegate-access-control work-request work-request-log list-logs --work-request-id $work_request_id
|
|
@@ -7,7 +7,7 @@ Description
|
|
|
7
7
|
|
|
8
8
|
A Lustre file system is a parallel file system that is used as a
|
|
9
9
|
storage solution for HPC/AI/ML workloads. For more information, see
|
|
10
|
-
File Storage with Lustre.
|
|
10
|
+
[File Storage with Lustre].
|
|
11
11
|
|
|
12
12
|
To use any of the API operations, you must be authorized in an IAM
|
|
13
13
|
policy. If you’re not authorized, talk to an administrator. If you’re
|
|
@@ -6,7 +6,8 @@ Description
|
|
|
6
6
|
===========
|
|
7
7
|
|
|
8
8
|
Use the File Storage with Lustre CLI to manage Lustre file systems and
|
|
9
|
-
related resources. For more information, see File Storage with
|
|
9
|
+
related resources. For more information, see [File Storage with
|
|
10
|
+
Lustre].
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
Available Commands
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"list"
|
|
2
|
-
|
|
1
|
+
"list-errors"
|
|
2
|
+
*************
|
|
3
3
|
|
|
4
4
|
* Description
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@ Lists the errors for the specified work request.
|
|
|
23
23
|
Usage
|
|
24
24
|
=====
|
|
25
25
|
|
|
26
|
-
oci ocvs work-request-error list [OPTIONS]
|
|
26
|
+
oci ocvs work-request-error list-errors [OPTIONS]
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
Required Parameters
|
|
@@ -108,6 +108,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
108
108
|
like shell. You need to set up the OCI configuration and appropriate
|
|
109
109
|
security policies before trying the examples.
|
|
110
110
|
|
|
111
|
-
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/ocvs/work-request-error/list.html#cmdoption-work-request-id
|
|
111
|
+
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/ocvs/work-request-error/list-errors.html#cmdoption-work-request-id
|
|
112
112
|
|
|
113
|
-
oci ocvs work-request-error list --work-request-id $work_request_id
|
|
113
|
+
oci ocvs work-request-error list-errors --work-request-id $work_request_id
|
|
@@ -41,11 +41,6 @@ example of the JSON which must be provided. We recommend storing this
|
|
|
41
41
|
example in a file, modifying it as needed and then passing it back in
|
|
42
42
|
via the file:// syntax.
|
|
43
43
|
|
|
44
|
-
--credential-details-credential-source-name [text]
|
|
45
|
-
|
|
46
|
-
Credential source name that had been added in Management Agent wallet.
|
|
47
|
-
This is supplied in the External Database Service.
|
|
48
|
-
|
|
49
44
|
--database-insight-id [text]
|
|
50
45
|
|
|
51
46
|
Unique database insight identifier
|
|
@@ -54,6 +49,12 @@ Unique database insight identifier
|
|
|
54
49
|
Optional Parameters
|
|
55
50
|
===================
|
|
56
51
|
|
|
52
|
+
--credential-details-credential-source-name [text]
|
|
53
|
+
|
|
54
|
+
Credential source name that had been added in Management Agent wallet.
|
|
55
|
+
This value is only required when Credential set by
|
|
56
|
+
CREDENTIALS_BY_SOURCE and is optional properties for ther others.
|
|
57
|
+
|
|
57
58
|
--from-json [text]
|
|
58
59
|
|
|
59
60
|
Provide input to this command as a JSON document from a file using the
|
|
@@ -146,7 +147,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
146
147
|
like shell. You need to set up the OCI configuration and appropriate
|
|
147
148
|
security policies before trying the examples.
|
|
148
149
|
|
|
149
|
-
export credential_details_credential_source_name=<substitute-value-of-credential_details_credential_source_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-iam.html#cmdoption-credential-details-credential-source-name
|
|
150
150
|
export database_insight_id=<substitute-value-of-database_insight_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-iam.html#cmdoption-database-insight-id
|
|
151
151
|
|
|
152
|
-
oci opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-iam --connection-details file://connection-details.json --
|
|
152
|
+
oci opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-iam --connection-details file://connection-details.json --database-insight-id $database_insight_id
|
|
@@ -41,11 +41,6 @@ example of the JSON which must be provided. We recommend storing this
|
|
|
41
41
|
example in a file, modifying it as needed and then passing it back in
|
|
42
42
|
via the file:// syntax.
|
|
43
43
|
|
|
44
|
-
--credential-source-name [text]
|
|
45
|
-
|
|
46
|
-
Credential source name that had been added in Management Agent wallet.
|
|
47
|
-
This is supplied in the External Database Service.
|
|
48
|
-
|
|
49
44
|
--database-insight-id [text]
|
|
50
45
|
|
|
51
46
|
Unique database insight identifier
|
|
@@ -167,7 +162,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
167
162
|
like shell. You need to set up the OCI configuration and appropriate
|
|
168
163
|
security policies before trying the examples.
|
|
169
164
|
|
|
170
|
-
export credential_source_name=<substitute-value-of-credential_source_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-vault.html#cmdoption-credential-source-name
|
|
171
165
|
export database_insight_id=<substitute-value-of-database_insight_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-vault.html#cmdoption-database-insight-id
|
|
172
166
|
|
|
173
|
-
oci opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-vault --connection-details file://connection-details.json --
|
|
167
|
+
oci opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-vault --connection-details file://connection-details.json --database-insight-id $database_insight_id
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials"
|
|
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
|
+
Change the connection details of a MACS-managed autonomous database
|
|
21
|
+
insight. When provided, If-Match is checked against ETag values of the
|
|
22
|
+
resource.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Usage
|
|
26
|
+
=====
|
|
27
|
+
|
|
28
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials [OPTIONS]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Required Parameters
|
|
32
|
+
===================
|
|
33
|
+
|
|
34
|
+
--connection-details [complex type]
|
|
35
|
+
|
|
36
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
37
|
+
be provided as a string on the command line or passed in as a file
|
|
38
|
+
using the file://path/to/file syntax.
|
|
39
|
+
|
|
40
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
41
|
+
example of the JSON which must be provided. We recommend storing this
|
|
42
|
+
example in a file, modifying it as needed and then passing it back in
|
|
43
|
+
via the file:// syntax.
|
|
44
|
+
|
|
45
|
+
--database-insight-id [text]
|
|
46
|
+
|
|
47
|
+
Unique database insight identifier
|
|
48
|
+
|
|
49
|
+
--management-agent-id [text]
|
|
50
|
+
|
|
51
|
+
The OCID of the Management Agent
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Optional Parameters
|
|
55
|
+
===================
|
|
56
|
+
|
|
57
|
+
--from-json [text]
|
|
58
|
+
|
|
59
|
+
Provide input to this command as a JSON document from a file using the
|
|
60
|
+
file://path-to/file syntax.
|
|
61
|
+
|
|
62
|
+
The "--generate-full-command-json-input" option can be used to
|
|
63
|
+
generate a sample json file to be used with this command option. The
|
|
64
|
+
key names are pre-populated and match the command option names
|
|
65
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
66
|
+
while the values of the keys need to be populated by the user before
|
|
67
|
+
using the sample file as an input to this command. For any command
|
|
68
|
+
option that accepts multiple values, the value of the key can be a
|
|
69
|
+
JSON array.
|
|
70
|
+
|
|
71
|
+
Options can still be provided on the command line. If an option exists
|
|
72
|
+
in both the JSON document and the command line then the command line
|
|
73
|
+
specified value will be used.
|
|
74
|
+
|
|
75
|
+
For examples on usage of this option, please see our “using CLI with
|
|
76
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
77
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
78
|
+
|
|
79
|
+
--if-match [text]
|
|
80
|
+
|
|
81
|
+
Used for optimistic concurrency control. In the update or delete call
|
|
82
|
+
for a resource, set the *if-match* parameter to the value of the etag
|
|
83
|
+
from a previous get, create, or update response for that resource.
|
|
84
|
+
The resource will be updated or deleted only if the etag you provide
|
|
85
|
+
matches the resource’s current etag value.
|
|
86
|
+
|
|
87
|
+
--max-wait-seconds [integer]
|
|
88
|
+
|
|
89
|
+
The maximum time to wait for the work request to reach the state
|
|
90
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
91
|
+
|
|
92
|
+
--named-credential-id [text]
|
|
93
|
+
|
|
94
|
+
The credential OCID stored in management agent.
|
|
95
|
+
|
|
96
|
+
--wait-for-state [text]
|
|
97
|
+
|
|
98
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
99
|
+
and uses a work request to track the progress of the operation.
|
|
100
|
+
Specify this option to perform the action and then wait until the work
|
|
101
|
+
request reaches a certain state. Multiple states can be specified,
|
|
102
|
+
returning on the first state. For example, "--wait-for-state"
|
|
103
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
104
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
105
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
106
|
+
|
|
107
|
+
Accepted values are:
|
|
108
|
+
|
|
109
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
|
|
110
|
+
|
|
111
|
+
--wait-interval-seconds [integer]
|
|
112
|
+
|
|
113
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
114
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
115
|
+
seconds.
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
Global Parameters
|
|
119
|
+
=================
|
|
120
|
+
|
|
121
|
+
Use "oci --help" for help on global parameters.
|
|
122
|
+
|
|
123
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
124
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
125
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
126
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
127
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
128
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
129
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
130
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
Example using required parameter
|
|
134
|
+
================================
|
|
135
|
+
|
|
136
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
137
|
+
example parameters with your own.
|
|
138
|
+
|
|
139
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials --generate-param-json-input connection-details > connection-details.json
|
|
140
|
+
|
|
141
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
142
|
+
command by typing “bash example.sh” and replacing the example
|
|
143
|
+
parameters with your own.
|
|
144
|
+
|
|
145
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
146
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
147
|
+
security policies before trying the examples.
|
|
148
|
+
|
|
149
|
+
export database_insight_id=<substitute-value-of-database_insight_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials.html#cmdoption-database-insight-id
|
|
150
|
+
export management_agent_id=<substitute-value-of-management_agent_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials.html#cmdoption-management-agent-id
|
|
151
|
+
|
|
152
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials --connection-details file://connection-details.json --database-insight-id $database_insight_id --management-agent-id $management_agent_id
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"change-macs-managed-autonomous-database-insight-connection-credential-by-vault"
|
|
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
|
+
Change the connection details of a MACS-managed autonomous database
|
|
21
|
+
insight. When provided, If-Match is checked against ETag values of the
|
|
22
|
+
resource.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Usage
|
|
26
|
+
=====
|
|
27
|
+
|
|
28
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-vault [OPTIONS]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Required Parameters
|
|
32
|
+
===================
|
|
33
|
+
|
|
34
|
+
--connection-details [complex type]
|
|
35
|
+
|
|
36
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
37
|
+
be provided as a string on the command line or passed in as a file
|
|
38
|
+
using the file://path/to/file syntax.
|
|
39
|
+
|
|
40
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
41
|
+
example of the JSON which must be provided. We recommend storing this
|
|
42
|
+
example in a file, modifying it as needed and then passing it back in
|
|
43
|
+
via the file:// syntax.
|
|
44
|
+
|
|
45
|
+
--database-insight-id [text]
|
|
46
|
+
|
|
47
|
+
Unique database insight identifier
|
|
48
|
+
|
|
49
|
+
--management-agent-id [text]
|
|
50
|
+
|
|
51
|
+
The OCID of the Management Agent
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Optional Parameters
|
|
55
|
+
===================
|
|
56
|
+
|
|
57
|
+
--connection-credential-details-credential-source-name [text]
|
|
58
|
+
|
|
59
|
+
Credential source name that had been added in Management Agent wallet.
|
|
60
|
+
This value is only required when Credential set by
|
|
61
|
+
CREDENTIALS_BY_SOURCE and is optional properties for ther others.
|
|
62
|
+
|
|
63
|
+
--connection-credential-details-password-secret-id [text]
|
|
64
|
+
|
|
65
|
+
The secret OCID mapping to the database credentials.
|
|
66
|
+
|
|
67
|
+
--connection-credential-details-role [text]
|
|
68
|
+
|
|
69
|
+
database user role.
|
|
70
|
+
|
|
71
|
+
Accepted values are:
|
|
72
|
+
|
|
73
|
+
NORMAL
|
|
74
|
+
|
|
75
|
+
--connection-credential-details-user-name [text]
|
|
76
|
+
|
|
77
|
+
database user name.
|
|
78
|
+
|
|
79
|
+
--connection-credential-details-wallet-secret-id [text]
|
|
80
|
+
|
|
81
|
+
The OCID of the Secret where the database keystore contents are
|
|
82
|
+
stored. This is used for TCPS support in BM/VM/ExaCS cases.
|
|
83
|
+
|
|
84
|
+
--from-json [text]
|
|
85
|
+
|
|
86
|
+
Provide input to this command as a JSON document from a file using the
|
|
87
|
+
file://path-to/file syntax.
|
|
88
|
+
|
|
89
|
+
The "--generate-full-command-json-input" option can be used to
|
|
90
|
+
generate a sample json file to be used with this command option. The
|
|
91
|
+
key names are pre-populated and match the command option names
|
|
92
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
93
|
+
while the values of the keys need to be populated by the user before
|
|
94
|
+
using the sample file as an input to this command. For any command
|
|
95
|
+
option that accepts multiple values, the value of the key can be a
|
|
96
|
+
JSON array.
|
|
97
|
+
|
|
98
|
+
Options can still be provided on the command line. If an option exists
|
|
99
|
+
in both the JSON document and the command line then the command line
|
|
100
|
+
specified value will be used.
|
|
101
|
+
|
|
102
|
+
For examples on usage of this option, please see our “using CLI with
|
|
103
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
104
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
105
|
+
|
|
106
|
+
--if-match [text]
|
|
107
|
+
|
|
108
|
+
Used for optimistic concurrency control. In the update or delete call
|
|
109
|
+
for a resource, set the *if-match* parameter to the value of the etag
|
|
110
|
+
from a previous get, create, or update response for that resource.
|
|
111
|
+
The resource will be updated or deleted only if the etag you provide
|
|
112
|
+
matches the resource’s current etag value.
|
|
113
|
+
|
|
114
|
+
--max-wait-seconds [integer]
|
|
115
|
+
|
|
116
|
+
The maximum time to wait for the work request to reach the state
|
|
117
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
118
|
+
|
|
119
|
+
--wait-for-state [text]
|
|
120
|
+
|
|
121
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
122
|
+
and uses a work request to track the progress of the operation.
|
|
123
|
+
Specify this option to perform the action and then wait until the work
|
|
124
|
+
request reaches a certain state. Multiple states can be specified,
|
|
125
|
+
returning on the first state. For example, "--wait-for-state"
|
|
126
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
127
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
128
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
129
|
+
|
|
130
|
+
Accepted values are:
|
|
131
|
+
|
|
132
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
|
|
133
|
+
|
|
134
|
+
--wait-interval-seconds [integer]
|
|
135
|
+
|
|
136
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
137
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
138
|
+
seconds.
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
Global Parameters
|
|
142
|
+
=================
|
|
143
|
+
|
|
144
|
+
Use "oci --help" for help on global parameters.
|
|
145
|
+
|
|
146
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
147
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
148
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
149
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
150
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
151
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
152
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
153
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
Example using required parameter
|
|
157
|
+
================================
|
|
158
|
+
|
|
159
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
160
|
+
example parameters with your own.
|
|
161
|
+
|
|
162
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-vault --generate-param-json-input connection-details > connection-details.json
|
|
163
|
+
|
|
164
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
165
|
+
command by typing “bash example.sh” and replacing the example
|
|
166
|
+
parameters with your own.
|
|
167
|
+
|
|
168
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
169
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
170
|
+
security policies before trying the examples.
|
|
171
|
+
|
|
172
|
+
export database_insight_id=<substitute-value-of-database_insight_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-vault.html#cmdoption-database-insight-id
|
|
173
|
+
export management_agent_id=<substitute-value-of-management_agent_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-vault.html#cmdoption-management-agent-id
|
|
174
|
+
|
|
175
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-vault --connection-details file://connection-details.json --database-insight-id $database_insight_id --management-agent-id $management_agent_id
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"change-macs-managed-autonomous-database-insight-connection-credentials-by-source"
|
|
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
|
+
Change the connection details of a MACS-managed autonomous database
|
|
21
|
+
insight. When provided, If-Match is checked against ETag values of the
|
|
22
|
+
resource.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Usage
|
|
26
|
+
=====
|
|
27
|
+
|
|
28
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credentials-by-source [OPTIONS]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Required Parameters
|
|
32
|
+
===================
|
|
33
|
+
|
|
34
|
+
--connection-details [complex type]
|
|
35
|
+
|
|
36
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
37
|
+
be provided as a string on the command line or passed in as a file
|
|
38
|
+
using the file://path/to/file syntax.
|
|
39
|
+
|
|
40
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
41
|
+
example of the JSON which must be provided. We recommend storing this
|
|
42
|
+
example in a file, modifying it as needed and then passing it back in
|
|
43
|
+
via the file:// syntax.
|
|
44
|
+
|
|
45
|
+
--database-insight-id [text]
|
|
46
|
+
|
|
47
|
+
Unique database insight identifier
|
|
48
|
+
|
|
49
|
+
--management-agent-id [text]
|
|
50
|
+
|
|
51
|
+
The OCID of the Management Agent
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Optional Parameters
|
|
55
|
+
===================
|
|
56
|
+
|
|
57
|
+
--connection-credential-details-credential-source-name [text]
|
|
58
|
+
|
|
59
|
+
Credential source name that had been added in Management Agent wallet.
|
|
60
|
+
This value is only required when Credential set by
|
|
61
|
+
CREDENTIALS_BY_SOURCE and is optional properties for ther others.
|
|
62
|
+
|
|
63
|
+
--from-json [text]
|
|
64
|
+
|
|
65
|
+
Provide input to this command as a JSON document from a file using the
|
|
66
|
+
file://path-to/file syntax.
|
|
67
|
+
|
|
68
|
+
The "--generate-full-command-json-input" option can be used to
|
|
69
|
+
generate a sample json file to be used with this command option. The
|
|
70
|
+
key names are pre-populated and match the command option names
|
|
71
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
72
|
+
while the values of the keys need to be populated by the user before
|
|
73
|
+
using the sample file as an input to this command. For any command
|
|
74
|
+
option that accepts multiple values, the value of the key can be a
|
|
75
|
+
JSON array.
|
|
76
|
+
|
|
77
|
+
Options can still be provided on the command line. If an option exists
|
|
78
|
+
in both the JSON document and the command line then the command line
|
|
79
|
+
specified value will be used.
|
|
80
|
+
|
|
81
|
+
For examples on usage of this option, please see our “using CLI with
|
|
82
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
83
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
84
|
+
|
|
85
|
+
--if-match [text]
|
|
86
|
+
|
|
87
|
+
Used for optimistic concurrency control. In the update or delete call
|
|
88
|
+
for a resource, set the *if-match* parameter to the value of the etag
|
|
89
|
+
from a previous get, create, or update response for that resource.
|
|
90
|
+
The resource will be updated or deleted only if the etag you provide
|
|
91
|
+
matches the resource’s current etag value.
|
|
92
|
+
|
|
93
|
+
--max-wait-seconds [integer]
|
|
94
|
+
|
|
95
|
+
The maximum time to wait for the work request to reach the state
|
|
96
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
97
|
+
|
|
98
|
+
--wait-for-state [text]
|
|
99
|
+
|
|
100
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
101
|
+
and uses a work request to track the progress of the operation.
|
|
102
|
+
Specify this option to perform the action and then wait until the work
|
|
103
|
+
request reaches a certain state. Multiple states can be specified,
|
|
104
|
+
returning on the first state. For example, "--wait-for-state"
|
|
105
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
106
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
107
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
108
|
+
|
|
109
|
+
Accepted values are:
|
|
110
|
+
|
|
111
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
|
|
112
|
+
|
|
113
|
+
--wait-interval-seconds [integer]
|
|
114
|
+
|
|
115
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
116
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
117
|
+
seconds.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Global Parameters
|
|
121
|
+
=================
|
|
122
|
+
|
|
123
|
+
Use "oci --help" for help on global parameters.
|
|
124
|
+
|
|
125
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
126
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
127
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
128
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
129
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
130
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
131
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
132
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
Example using required parameter
|
|
136
|
+
================================
|
|
137
|
+
|
|
138
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
139
|
+
example parameters with your own.
|
|
140
|
+
|
|
141
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credentials-by-source --generate-param-json-input connection-details > connection-details.json
|
|
142
|
+
|
|
143
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
144
|
+
command by typing “bash example.sh” and replacing the example
|
|
145
|
+
parameters with your own.
|
|
146
|
+
|
|
147
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
148
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
149
|
+
security policies before trying the examples.
|
|
150
|
+
|
|
151
|
+
export database_insight_id=<substitute-value-of-database_insight_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credentials-by-source.html#cmdoption-database-insight-id
|
|
152
|
+
export management_agent_id=<substitute-value-of-management_agent_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credentials-by-source.html#cmdoption-management-agent-id
|
|
153
|
+
|
|
154
|
+
oci opsi database-insights change-macs-managed-autonomous-database-insight-connection-credentials-by-source --connection-details file://connection-details.json --database-insight-id $database_insight_id --management-agent-id $management_agent_id
|