oci-cli 3.62.0__py3-none-any.whl → 3.62.1__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/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/delegate-access-control/work-request/{work-request-log/list.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log.txt → work-request-log-entry.txt} +3 -3
- 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/governance-rules-control-plane/work-request/{work-request-log/list.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log.txt → work-request-log-entry.txt} +3 -3
- 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/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/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/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/cmdref/session/authenticate.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/version.py +1 -1
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/METADATA +2 -2
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/RECORD +73 -62
- services/ai_document/src/oci_cli_ai_service_document/generated/aiservicedocument_cli.py +142 -13
- 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.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"change-macs-managed-cloud-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 Cloud MACS-managed 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-cloud-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
|
+
--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-named-credential-id [text]
|
|
64
|
+
|
|
65
|
+
The credential OCID stored in management agent.
|
|
66
|
+
|
|
67
|
+
--from-json [text]
|
|
68
|
+
|
|
69
|
+
Provide input to this command as a JSON document from a file using the
|
|
70
|
+
file://path-to/file syntax.
|
|
71
|
+
|
|
72
|
+
The "--generate-full-command-json-input" option can be used to
|
|
73
|
+
generate a sample json file to be used with this command option. The
|
|
74
|
+
key names are pre-populated and match the command option names
|
|
75
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
76
|
+
while the values of the keys need to be populated by the user before
|
|
77
|
+
using the sample file as an input to this command. For any command
|
|
78
|
+
option that accepts multiple values, the value of the key can be a
|
|
79
|
+
JSON array.
|
|
80
|
+
|
|
81
|
+
Options can still be provided on the command line. If an option exists
|
|
82
|
+
in both the JSON document and the command line then the command line
|
|
83
|
+
specified value will be used.
|
|
84
|
+
|
|
85
|
+
For examples on usage of this option, please see our “using CLI with
|
|
86
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
87
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
88
|
+
|
|
89
|
+
--if-match [text]
|
|
90
|
+
|
|
91
|
+
Used for optimistic concurrency control. In the update or delete call
|
|
92
|
+
for a resource, set the *if-match* parameter to the value of the etag
|
|
93
|
+
from a previous get, create, or update response for that resource.
|
|
94
|
+
The resource will be updated or deleted only if the etag you provide
|
|
95
|
+
matches the resource’s current etag value.
|
|
96
|
+
|
|
97
|
+
--max-wait-seconds [integer]
|
|
98
|
+
|
|
99
|
+
The maximum time to wait for the work request to reach the state
|
|
100
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
101
|
+
|
|
102
|
+
--wait-for-state [text]
|
|
103
|
+
|
|
104
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
105
|
+
and uses a work request to track the progress of the operation.
|
|
106
|
+
Specify this option to perform the action and then wait until the work
|
|
107
|
+
request reaches a certain state. Multiple states can be specified,
|
|
108
|
+
returning on the first state. For example, "--wait-for-state"
|
|
109
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
110
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
111
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
112
|
+
|
|
113
|
+
Accepted values are:
|
|
114
|
+
|
|
115
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
|
|
116
|
+
|
|
117
|
+
--wait-interval-seconds [integer]
|
|
118
|
+
|
|
119
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
120
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
121
|
+
seconds.
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
Global Parameters
|
|
125
|
+
=================
|
|
126
|
+
|
|
127
|
+
Use "oci --help" for help on global parameters.
|
|
128
|
+
|
|
129
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
130
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
131
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
132
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
133
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
134
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
135
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
136
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Example using required parameter
|
|
140
|
+
================================
|
|
141
|
+
|
|
142
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
143
|
+
example parameters with your own.
|
|
144
|
+
|
|
145
|
+
oci opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-named-credentials --generate-param-json-input connection-details > connection-details.json
|
|
146
|
+
|
|
147
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
148
|
+
command by typing “bash example.sh” and replacing the example
|
|
149
|
+
parameters with your own.
|
|
150
|
+
|
|
151
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
152
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
153
|
+
security policies before trying the examples.
|
|
154
|
+
|
|
155
|
+
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-cloud-database-insight-connection-credential-by-named-credentials.html#cmdoption-database-insight-id
|
|
156
|
+
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-cloud-database-insight-connection-credential-by-named-credentials.html#cmdoption-management-agent-id
|
|
157
|
+
|
|
158
|
+
oci opsi database-insights change-macs-managed-cloud-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
|
|
@@ -30,11 +30,6 @@ Usage
|
|
|
30
30
|
Required Parameters
|
|
31
31
|
===================
|
|
32
32
|
|
|
33
|
-
--credential-details-credential-source-name [text]
|
|
34
|
-
|
|
35
|
-
Credential source name that had been added in Management Agent wallet.
|
|
36
|
-
This is supplied in the External Database Service.
|
|
37
|
-
|
|
38
33
|
--database-insight-id [text]
|
|
39
34
|
|
|
40
35
|
Unique database insight identifier
|
|
@@ -62,6 +57,12 @@ example of the JSON which must be provided. We recommend storing this
|
|
|
62
57
|
example in a file, modifying it as needed and then passing it back in
|
|
63
58
|
via the file:// syntax.
|
|
64
59
|
|
|
60
|
+
--credential-details-credential-source-name [text]
|
|
61
|
+
|
|
62
|
+
Credential source name that had been added in Management Agent wallet.
|
|
63
|
+
This value is only required when Credential set by
|
|
64
|
+
CREDENTIALS_BY_SOURCE and is optional properties for ther others.
|
|
65
|
+
|
|
65
66
|
--credential-details-password-secret-id [text]
|
|
66
67
|
|
|
67
68
|
The secret OCID mapping to the database credentials.
|
|
@@ -171,10 +172,9 @@ security policies before trying the examples.
|
|
|
171
172
|
export is_used_for_rac_dbs=<substitute-value-of-is_used_for_rac_dbs> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/opsi-private-endpoint/create.html#cmdoption-is-used-for-rac-dbs
|
|
172
173
|
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/opsi-private-endpoint/create.html#cmdoption-subnet-id
|
|
173
174
|
export vcn_id=<substitute-value-of-vcn_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/opsi-private-endpoint/create.html#cmdoption-vcn-id
|
|
174
|
-
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-pe-comanaged-database-detail.html#cmdoption-credential-details-credential-source-name
|
|
175
175
|
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-pe-comanaged-database-detail.html#cmdoption-database-insight-id
|
|
176
176
|
export service_name=<substitute-value-of-service_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/change-pe-comanaged-database-detail.html#cmdoption-service-name
|
|
177
177
|
|
|
178
178
|
opsi_private_endpoint_id=$(oci opsi opsi-private-endpoint create --compartment-id $compartment_id --display-name $display_name --is-used-for-rac-dbs $is_used_for_rac_dbs --subnet-id $subnet_id --vcn-id $vcn_id --query data.id --raw-output)
|
|
179
179
|
|
|
180
|
-
oci opsi database-insights change-pe-comanaged-database-detail --
|
|
180
|
+
oci opsi database-insights change-pe-comanaged-database-detail --database-insight-id $database_insight_id --opsi-private-endpoint-id $opsi_private_endpoint_id --service-name $service_name
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"create-macs-managed-autonomous-database-insight"
|
|
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
|
+
Create a Database Insight resource for a database in Operations
|
|
21
|
+
Insights. The database will be enabled in Operations Insights.
|
|
22
|
+
Database metric collection and analysis will be started.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Usage
|
|
26
|
+
=====
|
|
27
|
+
|
|
28
|
+
oci opsi database-insights create-macs-managed-autonomous-database-insight [OPTIONS]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Required Parameters
|
|
32
|
+
===================
|
|
33
|
+
|
|
34
|
+
--compartment-id, -c [text]
|
|
35
|
+
|
|
36
|
+
Compartment Identifier of database
|
|
37
|
+
|
|
38
|
+
--connection-credential-details [complex type]
|
|
39
|
+
|
|
40
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
41
|
+
be provided as a string on the command line or passed in as a file
|
|
42
|
+
using the file://path/to/file syntax.
|
|
43
|
+
|
|
44
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
45
|
+
example of the JSON which must be provided. We recommend storing this
|
|
46
|
+
example in a file, modifying it as needed and then passing it back in
|
|
47
|
+
via the file:// syntax.
|
|
48
|
+
|
|
49
|
+
--connection-details [complex type]
|
|
50
|
+
|
|
51
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
52
|
+
be provided as a string on the command line or passed in as a file
|
|
53
|
+
using the file://path/to/file syntax.
|
|
54
|
+
|
|
55
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
56
|
+
example of the JSON which must be provided. We recommend storing this
|
|
57
|
+
example in a file, modifying it as needed and then passing it back in
|
|
58
|
+
via the file:// syntax.
|
|
59
|
+
|
|
60
|
+
--database-id [text]
|
|
61
|
+
|
|
62
|
+
The OCID of the database.
|
|
63
|
+
|
|
64
|
+
--database-resource-type [text]
|
|
65
|
+
|
|
66
|
+
OCI database resource type
|
|
67
|
+
|
|
68
|
+
--deployment-type [text]
|
|
69
|
+
|
|
70
|
+
Database Deployment Type
|
|
71
|
+
|
|
72
|
+
Accepted values are:
|
|
73
|
+
|
|
74
|
+
EXACC
|
|
75
|
+
|
|
76
|
+
--management-agent-id [text]
|
|
77
|
+
|
|
78
|
+
The OCID of the Management Agent
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
Optional Parameters
|
|
82
|
+
===================
|
|
83
|
+
|
|
84
|
+
--defined-tags [complex type]
|
|
85
|
+
|
|
86
|
+
Defined tags for this resource. Each key is predefined and scoped to a
|
|
87
|
+
namespace. Example: *{“foo-namespace”: {“bar-key”: “value”}}* This is
|
|
88
|
+
a complex type whose value must be valid JSON. The value can be
|
|
89
|
+
provided as a string on the command line or passed in as a file using
|
|
90
|
+
the file://path/to/file syntax.
|
|
91
|
+
|
|
92
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
93
|
+
example of the JSON which must be provided. We recommend storing this
|
|
94
|
+
example in a file, modifying it as needed and then passing it back in
|
|
95
|
+
via the file:// syntax.
|
|
96
|
+
|
|
97
|
+
--freeform-tags [complex type]
|
|
98
|
+
|
|
99
|
+
Simple key-value pair that is applied without any predefined name,
|
|
100
|
+
type or scope. Exists for cross-compatibility only. Example: *{“bar-
|
|
101
|
+
key”: “value”}* This is a complex type whose value must be valid JSON.
|
|
102
|
+
The value can be provided as a string on the command line or passed in
|
|
103
|
+
as a file using the file://path/to/file syntax.
|
|
104
|
+
|
|
105
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
106
|
+
example of the JSON which must be provided. We recommend storing this
|
|
107
|
+
example in a file, modifying it as needed and then passing it back in
|
|
108
|
+
via the file:// syntax.
|
|
109
|
+
|
|
110
|
+
--from-json [text]
|
|
111
|
+
|
|
112
|
+
Provide input to this command as a JSON document from a file using the
|
|
113
|
+
file://path-to/file syntax.
|
|
114
|
+
|
|
115
|
+
The "--generate-full-command-json-input" option can be used to
|
|
116
|
+
generate a sample json file to be used with this command option. The
|
|
117
|
+
key names are pre-populated and match the command option names
|
|
118
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
119
|
+
while the values of the keys need to be populated by the user before
|
|
120
|
+
using the sample file as an input to this command. For any command
|
|
121
|
+
option that accepts multiple values, the value of the key can be a
|
|
122
|
+
JSON array.
|
|
123
|
+
|
|
124
|
+
Options can still be provided on the command line. If an option exists
|
|
125
|
+
in both the JSON document and the command line then the command line
|
|
126
|
+
specified value will be used.
|
|
127
|
+
|
|
128
|
+
For examples on usage of this option, please see our “using CLI with
|
|
129
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
130
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
131
|
+
|
|
132
|
+
--max-wait-seconds [integer]
|
|
133
|
+
|
|
134
|
+
The maximum time to wait for the work request to reach the state
|
|
135
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
136
|
+
|
|
137
|
+
--system-tags [complex type]
|
|
138
|
+
|
|
139
|
+
System tags for this resource. Each key is predefined and scoped to a
|
|
140
|
+
namespace. Example: *{“orcl-cloud”: {“free-tier-retained”: “true”}}*
|
|
141
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
142
|
+
be provided as a string on the command line or passed in as a file
|
|
143
|
+
using the file://path/to/file syntax.
|
|
144
|
+
|
|
145
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
146
|
+
example of the JSON which must be provided. We recommend storing this
|
|
147
|
+
example in a file, modifying it as needed and then passing it back in
|
|
148
|
+
via the file:// syntax.
|
|
149
|
+
|
|
150
|
+
--wait-for-state [text]
|
|
151
|
+
|
|
152
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
153
|
+
and uses a work request to track the progress of the operation.
|
|
154
|
+
Specify this option to perform the action and then wait until the work
|
|
155
|
+
request reaches a certain state. Multiple states can be specified,
|
|
156
|
+
returning on the first state. For example, "--wait-for-state"
|
|
157
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
158
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
159
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
160
|
+
|
|
161
|
+
Accepted values are:
|
|
162
|
+
|
|
163
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
|
|
164
|
+
|
|
165
|
+
--wait-interval-seconds [integer]
|
|
166
|
+
|
|
167
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
168
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
169
|
+
seconds.
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
Global Parameters
|
|
173
|
+
=================
|
|
174
|
+
|
|
175
|
+
Use "oci --help" for help on global parameters.
|
|
176
|
+
|
|
177
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
178
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
179
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
180
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
181
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
182
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
183
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
184
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
Example using required parameter
|
|
188
|
+
================================
|
|
189
|
+
|
|
190
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
191
|
+
example parameters with your own.
|
|
192
|
+
|
|
193
|
+
oci opsi database-insights create-macs-managed-autonomous-database-insight --generate-param-json-input connection-credential-details > connection-credential-details.json
|
|
194
|
+
oci opsi database-insights create-macs-managed-autonomous-database-insight --generate-param-json-input connection-details > connection-details.json
|
|
195
|
+
|
|
196
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
197
|
+
command by typing “bash example.sh” and replacing the example
|
|
198
|
+
parameters with your own.
|
|
199
|
+
|
|
200
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
201
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
202
|
+
security policies before trying the examples.
|
|
203
|
+
|
|
204
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.html#cmdoption-compartment-id
|
|
205
|
+
export database_id=<substitute-value-of-database_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.html#cmdoption-database-id
|
|
206
|
+
export database_resource_type=<substitute-value-of-database_resource_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.html#cmdoption-database-resource-type
|
|
207
|
+
export deployment_type=<substitute-value-of-deployment_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.html#cmdoption-deployment-type
|
|
208
|
+
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/create-macs-managed-autonomous-database-insight.html#cmdoption-management-agent-id
|
|
209
|
+
|
|
210
|
+
oci opsi database-insights create-macs-managed-autonomous-database-insight --compartment-id $compartment_id --connection-credential-details file://connection-credential-details.json --connection-details file://connection-details.json --database-id $database_id --database-resource-type $database_resource_type --deployment-type $deployment_type --management-agent-id $management_agent_id
|
|
@@ -42,11 +42,6 @@ example of the JSON which must be provided. We recommend storing this
|
|
|
42
42
|
example in a file, modifying it as needed and then passing it back in
|
|
43
43
|
via the file:// syntax.
|
|
44
44
|
|
|
45
|
-
--credential-details-credential-source-name [text]
|
|
46
|
-
|
|
47
|
-
Credential source name that had been added in Management Agent wallet.
|
|
48
|
-
This is supplied in the External Database Service.
|
|
49
|
-
|
|
50
45
|
--database-insight-id [text]
|
|
51
46
|
|
|
52
47
|
Unique database insight identifier
|
|
@@ -55,6 +50,12 @@ Unique database insight identifier
|
|
|
55
50
|
Optional Parameters
|
|
56
51
|
===================
|
|
57
52
|
|
|
53
|
+
--credential-details-credential-source-name [text]
|
|
54
|
+
|
|
55
|
+
Credential source name that had been added in Management Agent wallet.
|
|
56
|
+
This value is only required when Credential set by
|
|
57
|
+
CREDENTIALS_BY_SOURCE and is optional properties for ther others.
|
|
58
|
+
|
|
58
59
|
--from-json [text]
|
|
59
60
|
|
|
60
61
|
Provide input to this command as a JSON document from a file using the
|
|
@@ -147,7 +148,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
147
148
|
like shell. You need to set up the OCI configuration and appropriate
|
|
148
149
|
security policies before trying the examples.
|
|
149
150
|
|
|
150
|
-
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/enable-autonomous-database-insight-advanced-features-credential-by-iam.html#cmdoption-credential-details-credential-source-name
|
|
151
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/enable-autonomous-database-insight-advanced-features-credential-by-iam.html#cmdoption-database-insight-id
|
|
152
152
|
|
|
153
|
-
oci opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-iam --connection-details file://connection-details.json --
|
|
153
|
+
oci opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-iam --connection-details file://connection-details.json --database-insight-id $database_insight_id
|
|
@@ -42,11 +42,6 @@ example of the JSON which must be provided. We recommend storing this
|
|
|
42
42
|
example in a file, modifying it as needed and then passing it back in
|
|
43
43
|
via the file:// syntax.
|
|
44
44
|
|
|
45
|
-
--credential-source-name [text]
|
|
46
|
-
|
|
47
|
-
Credential source name that had been added in Management Agent wallet.
|
|
48
|
-
This is supplied in the External Database Service.
|
|
49
|
-
|
|
50
45
|
--database-insight-id [text]
|
|
51
46
|
|
|
52
47
|
Unique database insight identifier
|
|
@@ -168,7 +163,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
168
163
|
like shell. You need to set up the OCI configuration and appropriate
|
|
169
164
|
security policies before trying the examples.
|
|
170
165
|
|
|
171
|
-
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/enable-autonomous-database-insight-advanced-features-credential-by-vault.html#cmdoption-credential-source-name
|
|
172
166
|
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/enable-autonomous-database-insight-advanced-features-credential-by-vault.html#cmdoption-database-insight-id
|
|
173
167
|
|
|
174
|
-
oci opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-vault --connection-details file://connection-details.json --
|
|
168
|
+
oci opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-vault --connection-details file://connection-details.json --database-insight-id $database_insight_id
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"enable-macs-managed-autonomous-database-insight"
|
|
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
|
+
Enables a database in Operations Insights. Database metric collection
|
|
21
|
+
and analysis will be started.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
Usage
|
|
25
|
+
=====
|
|
26
|
+
|
|
27
|
+
oci opsi database-insights enable-macs-managed-autonomous-database-insight [OPTIONS]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
Required Parameters
|
|
31
|
+
===================
|
|
32
|
+
|
|
33
|
+
--compartment-id, -c [text]
|
|
34
|
+
|
|
35
|
+
The compartment OCID of the Autonomous Database.
|
|
36
|
+
|
|
37
|
+
--connection-credential-details [complex type]
|
|
38
|
+
|
|
39
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
40
|
+
be provided as a string on the command line or passed in as a file
|
|
41
|
+
using the file://path/to/file syntax.
|
|
42
|
+
|
|
43
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
44
|
+
example of the JSON which must be provided. We recommend storing this
|
|
45
|
+
example in a file, modifying it as needed and then passing it back in
|
|
46
|
+
via the file:// syntax.
|
|
47
|
+
|
|
48
|
+
--connection-details [complex type]
|
|
49
|
+
|
|
50
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
51
|
+
be provided as a string on the command line or passed in as a file
|
|
52
|
+
using the file://path/to/file syntax.
|
|
53
|
+
|
|
54
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
55
|
+
example of the JSON which must be provided. We recommend storing this
|
|
56
|
+
example in a file, modifying it as needed and then passing it back in
|
|
57
|
+
via the file:// syntax.
|
|
58
|
+
|
|
59
|
+
--database-insight-id [text]
|
|
60
|
+
|
|
61
|
+
Unique database insight identifier
|
|
62
|
+
|
|
63
|
+
--management-agent-id [text]
|
|
64
|
+
|
|
65
|
+
The OCID of the Management Agent
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Optional Parameters
|
|
69
|
+
===================
|
|
70
|
+
|
|
71
|
+
--defined-tags [complex type]
|
|
72
|
+
|
|
73
|
+
Defined tags for this resource. Each key is predefined and scoped to a
|
|
74
|
+
namespace. Example: *{“foo-namespace”: {“bar-key”: “value”}}* This is
|
|
75
|
+
a complex type whose value must be valid JSON. The value can be
|
|
76
|
+
provided as a string on the command line or passed in as a file using
|
|
77
|
+
the file://path/to/file syntax.
|
|
78
|
+
|
|
79
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
80
|
+
example of the JSON which must be provided. We recommend storing this
|
|
81
|
+
example in a file, modifying it as needed and then passing it back in
|
|
82
|
+
via the file:// syntax.
|
|
83
|
+
|
|
84
|
+
--freeform-tags [complex type]
|
|
85
|
+
|
|
86
|
+
Simple key-value pair that is applied without any predefined name,
|
|
87
|
+
type or scope. Exists for cross-compatibility only. Example: *{“bar-
|
|
88
|
+
key”: “value”}* This is a complex type whose value must be valid JSON.
|
|
89
|
+
The value can be provided as a string on the command line or passed in
|
|
90
|
+
as a file using the file://path/to/file syntax.
|
|
91
|
+
|
|
92
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
93
|
+
example of the JSON which must be provided. We recommend storing this
|
|
94
|
+
example in a file, modifying it as needed and then passing it back in
|
|
95
|
+
via the file:// syntax.
|
|
96
|
+
|
|
97
|
+
--from-json [text]
|
|
98
|
+
|
|
99
|
+
Provide input to this command as a JSON document from a file using the
|
|
100
|
+
file://path-to/file syntax.
|
|
101
|
+
|
|
102
|
+
The "--generate-full-command-json-input" option can be used to
|
|
103
|
+
generate a sample json file to be used with this command option. The
|
|
104
|
+
key names are pre-populated and match the command option names
|
|
105
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
106
|
+
while the values of the keys need to be populated by the user before
|
|
107
|
+
using the sample file as an input to this command. For any command
|
|
108
|
+
option that accepts multiple values, the value of the key can be a
|
|
109
|
+
JSON array.
|
|
110
|
+
|
|
111
|
+
Options can still be provided on the command line. If an option exists
|
|
112
|
+
in both the JSON document and the command line then the command line
|
|
113
|
+
specified value will be used.
|
|
114
|
+
|
|
115
|
+
For examples on usage of this option, please see our “using CLI with
|
|
116
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
117
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
118
|
+
|
|
119
|
+
--if-match [text]
|
|
120
|
+
|
|
121
|
+
Used for optimistic concurrency control. In the update or delete call
|
|
122
|
+
for a resource, set the *if-match* parameter to the value of the etag
|
|
123
|
+
from a previous get, create, or update response for that resource.
|
|
124
|
+
The resource will be updated or deleted only if the etag you provide
|
|
125
|
+
matches the resource’s current etag value.
|
|
126
|
+
|
|
127
|
+
--max-wait-seconds [integer]
|
|
128
|
+
|
|
129
|
+
The maximum time to wait for the work request to reach the state
|
|
130
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
131
|
+
|
|
132
|
+
--system-tags [complex type]
|
|
133
|
+
|
|
134
|
+
System tags for this resource. Each key is predefined and scoped to a
|
|
135
|
+
namespace. Example: *{“orcl-cloud”: {“free-tier-retained”: “true”}}*
|
|
136
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
137
|
+
be provided as a string on the command line or passed in as a file
|
|
138
|
+
using the file://path/to/file syntax.
|
|
139
|
+
|
|
140
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
141
|
+
example of the JSON which must be provided. We recommend storing this
|
|
142
|
+
example in a file, modifying it as needed and then passing it back in
|
|
143
|
+
via the file:// syntax.
|
|
144
|
+
|
|
145
|
+
--wait-for-state [text]
|
|
146
|
+
|
|
147
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
148
|
+
and uses a work request to track the progress of the operation.
|
|
149
|
+
Specify this option to perform the action and then wait until the work
|
|
150
|
+
request reaches a certain state. Multiple states can be specified,
|
|
151
|
+
returning on the first state. For example, "--wait-for-state"
|
|
152
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
153
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
154
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
155
|
+
|
|
156
|
+
Accepted values are:
|
|
157
|
+
|
|
158
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
|
|
159
|
+
|
|
160
|
+
--wait-interval-seconds [integer]
|
|
161
|
+
|
|
162
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
163
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
164
|
+
seconds.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
Global Parameters
|
|
168
|
+
=================
|
|
169
|
+
|
|
170
|
+
Use "oci --help" for help on global parameters.
|
|
171
|
+
|
|
172
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
173
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
174
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
175
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
176
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
177
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
178
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
179
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
Example using required parameter
|
|
183
|
+
================================
|
|
184
|
+
|
|
185
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
186
|
+
example parameters with your own.
|
|
187
|
+
|
|
188
|
+
oci opsi database-insights enable-macs-managed-autonomous-database-insight --generate-param-json-input connection-credential-details > connection-credential-details.json
|
|
189
|
+
oci opsi database-insights enable-macs-managed-autonomous-database-insight --generate-param-json-input connection-details > connection-details.json
|
|
190
|
+
|
|
191
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
192
|
+
command by typing “bash example.sh” and replacing the example
|
|
193
|
+
parameters with your own.
|
|
194
|
+
|
|
195
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
196
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
197
|
+
security policies before trying the examples.
|
|
198
|
+
|
|
199
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/enable-macs-managed-autonomous-database-insight.html#cmdoption-compartment-id
|
|
200
|
+
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/enable-macs-managed-autonomous-database-insight.html#cmdoption-database-insight-id
|
|
201
|
+
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/enable-macs-managed-autonomous-database-insight.html#cmdoption-management-agent-id
|
|
202
|
+
|
|
203
|
+
oci opsi database-insights enable-macs-managed-autonomous-database-insight --compartment-id $compartment_id --connection-credential-details file://connection-credential-details.json --connection-details file://connection-details.json --database-insight-id $database_insight_id --management-agent-id $management_agent_id
|
|
@@ -61,7 +61,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
|
|
|
61
61
|
|
|
62
62
|
Accepted values are:
|
|
63
63
|
|
|
64
|
-
ADW-D, ADW-S, ATP-D, ATP-S, COMANAGED-BM-CDB, COMANAGED-BM-NONCDB, COMANAGED-BM-PDB, COMANAGED-EXACC-CDB, COMANAGED-EXACC-NONCDB, COMANAGED-EXACC-PDB, COMANAGED-EXACS-CDB, COMANAGED-EXACS-NONCDB, COMANAGED-EXACS-PDB, COMANAGED-VM-CDB, COMANAGED-VM-NONCDB, COMANAGED-VM-PDB, EXTERNAL-MYSQL, EXTERNAL-NONCDB, EXTERNAL-PDB, MDS-MYSQL
|
|
64
|
+
ADW-D, ADW-EXACC, ADW-S, ATP-D, ATP-EXACC, ATP-S, COMANAGED-BM-CDB, COMANAGED-BM-NONCDB, COMANAGED-BM-PDB, COMANAGED-EXACC-CDB, COMANAGED-EXACC-NONCDB, COMANAGED-EXACC-PDB, COMANAGED-EXACS-CDB, COMANAGED-EXACS-NONCDB, COMANAGED-EXACS-PDB, COMANAGED-VM-CDB, COMANAGED-VM-NONCDB, COMANAGED-VM-PDB, EXTERNAL-ADW, EXTERNAL-ATP, EXTERNAL-MYSQL, EXTERNAL-NONCDB, EXTERNAL-PDB, MDS-MYSQL
|
|
65
65
|
|
|
66
66
|
--defined-tag-equals [text]
|
|
67
67
|
|