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.
Files changed (74) hide show
  1. oci_cli/bin/opsi.psm1 +25 -8
  2. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-inline-document-details.txt +12 -0
  3. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-object-storage-document-details.txt +12 -0
  4. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/create.txt +22 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/update.txt +4 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info/get-model-type.txt +99 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info.txt +14 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-inline-document-content.txt +12 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-invoice-processor-config.txt +165 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job.txt +2 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/ai-document.txt +6 -0
  12. 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
  13. 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
  14. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  15. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  16. 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
  17. 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
  18. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
  19. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.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/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
  23. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-pe-comanaged-database-detail.txt +7 -7
  30. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.txt +210 -0
  31. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
  32. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
  33. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-macs-managed-autonomous-database-insight.txt +203 -0
  34. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list-database-configurations.txt +1 -1
  35. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list.txt +1 -1
  36. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-capacity-trend.txt +1 -1
  37. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-forecast-trend.txt +1 -1
  38. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-statistics.txt +1 -1
  39. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage-trend.txt +1 -1
  40. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage.txt +1 -1
  41. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-utilization-insight.txt +1 -1
  42. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-insights.txt +1 -1
  43. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-statistics.txt +1 -1
  44. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/synchronize-autonomous-database-to-exadata.txt +152 -0
  45. 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
  46. 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
  47. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/update-macs-managed-autonomous-database-insight.txt +155 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights.txt +23 -0
  49. oci_cli/help_text_producer/data_files/text/cmdref/opsi/{news-report → news-reports}/list.txt +2 -2
  50. oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-reports.txt +2 -0
  51. oci_cli/help_text_producer/data_files/text/cmdref/opsi.txt +25 -4
  52. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
  53. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  54. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  55. oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +1 -1
  56. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +4 -4
  57. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  58. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  59. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  60. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  61. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  62. oci_cli/version.py +1 -1
  63. {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/METADATA +2 -2
  64. {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/RECORD +73 -62
  65. services/ai_document/src/oci_cli_ai_service_document/generated/aiservicedocument_cli.py +142 -13
  66. services/log_analytics/src/oci_cli_log_analytics/log_analytics_cli_extended.py +17 -6
  67. services/opsi/src/oci_cli_operations_insights/generated/operationsinsights_cli.py +4541 -3121
  68. services/opsi/src/oci_cli_operations_insights/operationsinsights_cli_extended.py +82 -10
  69. oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-report.txt +0 -14
  70. {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/LICENSE.txt +0 -0
  71. {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  72. {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/WHEEL +0 -0
  73. {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/entry_points.txt +0 -0
  74. {oci_cli-3.62.0.dist-info → oci_cli-3.62.1.dist-info}/top_level.txt +0 -0
@@ -96,6 +96,6 @@ Available Commands
96
96
 
97
97
  * list
98
98
 
99
- * work-request-log
99
+ * work-request-log-entry
100
100
 
101
- * list
101
+ * list-work-request-logs
@@ -1,5 +1,5 @@
1
- "list"
2
- ******
1
+ "list-work-request-logs"
2
+ ************************
3
3
 
4
4
  * Description
5
5
 
@@ -24,7 +24,7 @@ ID.
24
24
  Usage
25
25
  =====
26
26
 
27
- oci governance-rules-control-plane work-request work-request-log list [OPTIONS]
27
+ oci governance-rules-control-plane work-request work-request-log-entry list-work-request-logs [OPTIONS]
28
28
 
29
29
 
30
30
  Required Parameters
@@ -124,6 +124,6 @@ Please note this sample will only work in the POSIX-compliant bash-
124
124
  like shell. You need to set up the OCI configuration and appropriate
125
125
  security policies before trying the examples.
126
126
 
127
- 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/governance-rules-control-plane/work-request/work-request-log/list.html#cmdoption-work-request-id
127
+ 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/governance-rules-control-plane/work-request/work-request-log-entry/list-work-request-logs.html#cmdoption-work-request-id
128
128
 
129
- oci governance-rules-control-plane work-request work-request-log list --work-request-id $work_request_id
129
+ oci governance-rules-control-plane work-request work-request-log-entry list-work-request-logs --work-request-id $work_request_id
@@ -1,5 +1,5 @@
1
- work-request-log
2
- ****************
1
+ work-request-log-entry
2
+ **********************
3
3
 
4
4
 
5
5
  Description
@@ -11,4 +11,4 @@ A log message from the execution of a work request.
11
11
  Available Commands
12
12
  ==================
13
13
 
14
- * list
14
+ * list-work-request-logs
@@ -23,6 +23,6 @@ Available Commands
23
23
 
24
24
  * list
25
25
 
26
- * work-request-log
26
+ * work-request-log-entry
27
27
 
28
- * list
28
+ * list-work-request-logs
@@ -79,6 +79,6 @@ Available Commands
79
79
 
80
80
  * list
81
81
 
82
- * work-request-log
82
+ * work-request-log-entry
83
83
 
84
- * list
84
+ * list-work-request-logs
@@ -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 Lustre.
9
+ related resources. For more information, see [File Storage with
10
+ Lustre].
10
11
 
11
12
 
12
13
  Available Commands
@@ -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 --credential-details-credential-source-name $credential_details_credential_source_name --database-insight-id $database_insight_id
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 --credential-source-name $credential_source_name --database-insight-id $database_insight_id
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
@@ -31,11 +31,6 @@ Usage
31
31
  Required Parameters
32
32
  ===================
33
33
 
34
- --connection-credential-details-credential-source-name [text]
35
-
36
- Credential source name that had been added in Management Agent wallet.
37
- This is supplied in the External Database Service.
38
-
39
34
  --connection-details [complex type]
40
35
 
41
36
  This is a complex type whose value must be valid JSON. The value can
@@ -59,6 +54,12 @@ The OCID of the Management Agent
59
54
  Optional Parameters
60
55
  ===================
61
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
+
62
63
  --from-json [text]
63
64
 
64
65
  Provide input to this command as a JSON document from a file using the
@@ -147,8 +148,7 @@ 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 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/change-macs-managed-cloud-database-insight-connection-credential-by-iam.html#cmdoption-connection-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/change-macs-managed-cloud-database-insight-connection-credential-by-iam.html#cmdoption-database-insight-id
152
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-cloud-database-insight-connection-credential-by-iam.html#cmdoption-management-agent-id
153
153
 
154
- oci opsi database-insights change-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 --database-insight-id $database_insight_id --management-agent-id $management_agent_id
154
+ oci opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-iam --connection-details file://connection-details.json --database-insight-id $database_insight_id --management-agent-id $management_agent_id