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.
Files changed (69) hide show
  1. oci_cli/bin/opsi.psm1 +25 -8
  2. oci_cli/cli_util.py +2 -0
  3. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-inline-document-details.txt +12 -0
  4. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-object-storage-document-details.txt +12 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/create.txt +22 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/update.txt +4 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info/get-model-type.txt +99 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info.txt +14 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-inline-document-content.txt +12 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-invoice-processor-config.txt +165 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job.txt +2 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/ai-document.txt +6 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/ce/cluster/create-kubeconfig.txt +0 -4
  14. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  15. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  16. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log/{list.txt → list-logs.txt} +5 -5
  17. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.txt +1 -1
  18. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  19. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  20. oci_cli/help_text_producer/data_files/text/cmdref/lfs/lustre-file-system.txt +1 -1
  21. oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +2 -1
  22. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  23. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  24. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
  25. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
  26. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-pe-comanaged-database-detail.txt +7 -7
  33. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.txt +210 -0
  34. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
  35. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
  36. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-macs-managed-autonomous-database-insight.txt +203 -0
  37. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list-database-configurations.txt +1 -1
  38. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list.txt +1 -1
  39. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-capacity-trend.txt +1 -1
  40. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-forecast-trend.txt +1 -1
  41. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-statistics.txt +1 -1
  42. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage-trend.txt +1 -1
  43. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage.txt +1 -1
  44. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-utilization-insight.txt +1 -1
  45. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-insights.txt +1 -1
  46. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-statistics.txt +1 -1
  47. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/synchronize-autonomous-database-to-exadata.txt +152 -0
  48. 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
  49. 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
  50. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/update-macs-managed-autonomous-database-insight.txt +155 -0
  51. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights.txt +23 -0
  52. oci_cli/help_text_producer/data_files/text/cmdref/opsi/{news-report → news-reports}/list.txt +2 -2
  53. oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-reports.txt +2 -0
  54. oci_cli/help_text_producer/data_files/text/cmdref/opsi.txt +25 -4
  55. oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +9 -9
  56. oci_cli/version.py +1 -1
  57. {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/METADATA +2 -2
  58. {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/RECORD +68 -57
  59. services/ai_document/src/oci_cli_ai_service_document/generated/aiservicedocument_cli.py +142 -13
  60. services/container_engine/src/oci_cli_container_engine/containerengine_cli_extended.py +1 -1
  61. services/log_analytics/src/oci_cli_log_analytics/log_analytics_cli_extended.py +17 -6
  62. services/opsi/src/oci_cli_operations_insights/generated/operationsinsights_cli.py +4541 -3121
  63. services/opsi/src/oci_cli_operations_insights/operationsinsights_cli_extended.py +82 -10
  64. oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-report.txt +0 -14
  65. {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/LICENSE.txt +0 -0
  66. {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  67. {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/WHEEL +0 -0
  68. {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/entry_points.txt +0 -0
  69. {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/top_level.txt +0 -0
@@ -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
 
@@ -56,7 +56,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
56
56
 
57
57
  Accepted values are:
58
58
 
59
- 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
59
+ 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
60
60
 
61
61
  --em-bridge-id [text]
62
62
 
@@ -75,7 +75,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
75
75
 
76
76
  Accepted values are:
77
77
 
78
- 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
78
+ 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
79
79
 
80
80
  --defined-tag-equals [text]
81
81
 
@@ -81,7 +81,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
81
81
 
82
82
  Accepted values are:
83
83
 
84
- 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
84
+ 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
85
85
 
86
86
  --defined-tag-equals [text]
87
87
 
@@ -74,7 +74,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
74
74
 
75
75
  Accepted values are:
76
76
 
77
- 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
77
+ 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
78
78
 
79
79
  --defined-tag-equals [text]
80
80
 
@@ -75,7 +75,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
75
75
 
76
76
  Accepted values are:
77
77
 
78
- 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
78
+ 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
79
79
 
80
80
  --defined-tag-equals [text]
81
81
 
@@ -77,7 +77,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
77
77
 
78
78
  Accepted values are:
79
79
 
80
- 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
80
+ 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
81
81
 
82
82
  --defined-tag-equals [text]
83
83
 
@@ -74,7 +74,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
74
74
 
75
75
  Accepted values are:
76
76
 
77
- 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
77
+ 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
78
78
 
79
79
  --defined-tag-equals [text]
80
80
 
@@ -73,7 +73,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
73
73
 
74
74
  Accepted values are:
75
75
 
76
- 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
76
+ 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
77
77
 
78
78
  --defined-tag-equals [text]
79
79
 
@@ -81,7 +81,7 @@ ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
81
81
 
82
82
  Accepted values are:
83
83
 
84
- 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
84
+ 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
85
85
 
86
86
  --defined-tag-equals [text]
87
87
 
@@ -0,0 +1,152 @@
1
+ "synchronize-autonomous-database-to-exadata"
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
+ Synchronize infrastructure details that has been missing when
21
+ autonomous database onboarded in Operations Insights. Onboarded Opsi
22
+ ExadataInsight resource need to be provided with compartmentId for
23
+ searching infrastruture details. The query parameters, DatabaseId and
24
+ DatabaseInsightId, are mutually exclusive and provided for searching
25
+ Opsi resources that have been onboarded.
26
+
27
+
28
+ Usage
29
+ =====
30
+
31
+ oci opsi database-insights synchronize-autonomous-database-to-exadata [OPTIONS]
32
+
33
+
34
+ Required Parameters
35
+ ===================
36
+
37
+ --compartment-id, -c [text]
38
+
39
+ The OCID of the compartment.
40
+
41
+ --entity-source [text]
42
+
43
+ Source of the database entity. Currently only AUTONOMOUS_DATABASE
44
+ source is supported.
45
+
46
+ Accepted values are:
47
+
48
+ AUTONOMOUS_DATABASE, EM_MANAGED_EXTERNAL_DATABASE, EXTERNAL_MYSQL_DATABASE_SYSTEM, MACS_MANAGED_AUTONOMOUS_DATABASE, MACS_MANAGED_CLOUD_DATABASE, MACS_MANAGED_EXTERNAL_DATABASE, MDS_MYSQL_DATABASE_SYSTEM, PE_COMANAGED_DATABASE
49
+
50
+
51
+ Optional Parameters
52
+ ===================
53
+
54
+ --database-id [text]
55
+
56
+ Optional OCID of the associated DBaaS entity.
57
+
58
+ --exadata-insight-id [text]
59
+
60
+ OCID of exadata insight resource.
61
+
62
+ --from-json [text]
63
+
64
+ Provide input to this command as a JSON document from a file using the
65
+ file://path-to/file syntax.
66
+
67
+ The "--generate-full-command-json-input" option can be used to
68
+ generate a sample json file to be used with this command option. The
69
+ key names are pre-populated and match the command option names
70
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
71
+ while the values of the keys need to be populated by the user before
72
+ using the sample file as an input to this command. For any command
73
+ option that accepts multiple values, the value of the key can be a
74
+ JSON array.
75
+
76
+ Options can still be provided on the command line. If an option exists
77
+ in both the JSON document and the command line then the command line
78
+ specified value will be used.
79
+
80
+ For examples on usage of this option, please see our “using CLI with
81
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
82
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
83
+
84
+ --id [text]
85
+
86
+ OCID of the database insight resource.
87
+
88
+ --if-match [text]
89
+
90
+ Used for optimistic concurrency control. In the update or delete call
91
+ for a resource, set the *if-match* parameter to the value of the etag
92
+ from a previous get, create, or update response for that resource.
93
+ The resource will be updated or deleted only if the etag you provide
94
+ matches the resource’s current etag value.
95
+
96
+ --max-wait-seconds [integer]
97
+
98
+ The maximum time to wait for the work request to reach the state
99
+ defined by "--wait-for-state". Defaults to 1200 seconds.
100
+
101
+ --wait-for-state [text]
102
+
103
+ This operation asynchronously creates, modifies or deletes a resource
104
+ and uses a work request to track the progress of the operation.
105
+ Specify this option to perform the action and then wait until the work
106
+ request reaches a certain state. Multiple states can be specified,
107
+ returning on the first state. For example, "--wait-for-state"
108
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
109
+ lifecycle state is reached first. If timeout is reached, a return code
110
+ of 2 is returned. For any other error, a return code of 1 is returned.
111
+
112
+ Accepted values are:
113
+
114
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED, WAITING
115
+
116
+ --wait-interval-seconds [integer]
117
+
118
+ Check every "--wait-interval-seconds" to see whether the work request
119
+ has reached the state defined by "--wait-for-state". Defaults to 30
120
+ seconds.
121
+
122
+
123
+ Global Parameters
124
+ =================
125
+
126
+ Use "oci --help" for help on global parameters.
127
+
128
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
129
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
130
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
131
+ --generate-param-json-input", "--help", "--latest-version", "--max-
132
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
133
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
134
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
135
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
136
+
137
+
138
+ Example using required parameter
139
+ ================================
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 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/synchronize-autonomous-database-to-exadata.html#cmdoption-compartment-id
150
+ export entity_source=<substitute-value-of-entity_source> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/synchronize-autonomous-database-to-exadata.html#cmdoption-entity-source
151
+
152
+ oci opsi database-insights synchronize-autonomous-database-to-exadata --compartment-id $compartment_id --entity-source $entity_source
@@ -0,0 +1,151 @@
1
+ "test-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
+ Test the connection details of a MACS-managed autonomous database.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci opsi database-insights test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --connection-details [complex type]
33
+
34
+ This is a complex type whose value must be valid JSON. The value can
35
+ be provided as a string on the command line or passed in as a file
36
+ using the file://path/to/file syntax.
37
+
38
+ The "--generate-param-json-input" option can be used to generate an
39
+ example of the JSON which must be provided. We recommend storing this
40
+ example in a file, modifying it as needed and then passing it back in
41
+ via the file:// syntax.
42
+
43
+ --management-agent-id [text]
44
+
45
+ The OCID of the Management Agent
46
+
47
+
48
+ Optional Parameters
49
+ ===================
50
+
51
+ --connection-credential-details-credential-source-name [text]
52
+
53
+ Credential source name that had been added in Management Agent wallet.
54
+ This value is only required when Credential set by
55
+ CREDENTIALS_BY_SOURCE and is optional properties for ther others.
56
+
57
+ --database-id [text]
58
+
59
+ Optional OCID of the associated DBaaS entity.
60
+
61
+ --from-json [text]
62
+
63
+ Provide input to this command as a JSON document from a file using the
64
+ file://path-to/file syntax.
65
+
66
+ The "--generate-full-command-json-input" option can be used to
67
+ generate a sample json file to be used with this command option. The
68
+ key names are pre-populated and match the command option names
69
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
70
+ while the values of the keys need to be populated by the user before
71
+ using the sample file as an input to this command. For any command
72
+ option that accepts multiple values, the value of the key can be a
73
+ JSON array.
74
+
75
+ Options can still be provided on the command line. If an option exists
76
+ in both the JSON document and the command line then the command line
77
+ specified value will be used.
78
+
79
+ For examples on usage of this option, please see our “using CLI with
80
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
81
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
82
+
83
+ --id [text]
84
+
85
+ OCID of the database insight resource.
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 test-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 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/test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials.html#cmdoption-management-agent-id
150
+
151
+ oci opsi database-insights test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials --connection-details file://connection-details.json --management-agent-id $management_agent_id
@@ -29,11 +29,6 @@ Usage
29
29
  Required Parameters
30
30
  ===================
31
31
 
32
- --connection-credential-details-credential-source-name [text]
33
-
34
- Credential source name that had been added in Management Agent wallet.
35
- This is supplied in the External Database Service.
36
-
37
32
  --connection-details [complex type]
38
33
 
39
34
  This is a complex type whose value must be valid JSON. The value can
@@ -53,6 +48,12 @@ The OCID of the Management Agent
53
48
  Optional Parameters
54
49
  ===================
55
50
 
51
+ --connection-credential-details-credential-source-name [text]
52
+
53
+ Credential source name that had been added in Management Agent wallet.
54
+ This value is only required when Credential set by
55
+ CREDENTIALS_BY_SOURCE and is optional properties for ther others.
56
+
56
57
  --database-id [text]
57
58
 
58
59
  Optional OCID of the associated DBaaS entity.
@@ -141,7 +142,6 @@ Please note this sample will only work in the POSIX-compliant bash-
141
142
  like shell. You need to set up the OCI configuration and appropriate
142
143
  security policies before trying the examples.
143
144
 
144
- export connection_credential_details_credential_source_name=<substitute-value-of-connection_credential_details_credential_source_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/opsi/database-insights/test-macs-managed-cloud-database-insight-connection-credential-by-iam.html#cmdoption-connection-credential-details-credential-source-name
145
145
  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/test-macs-managed-cloud-database-insight-connection-credential-by-iam.html#cmdoption-management-agent-id
146
146
 
147
- oci opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-iam --connection-credential-details-credential-source-name $connection_credential_details_credential_source_name --connection-details file://connection-details.json --management-agent-id $management_agent_id
147
+ oci opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-iam --connection-details file://connection-details.json --management-agent-id $management_agent_id