oci-cli 3.72.0__py3-none-any.whl → 3.72.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/iot.psm1 +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/action-param-values-summary/list-params-for-action-type.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-aws-encryption-key-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-azure-encryption-key-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-details.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-external-hsm-encryption-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-google-cloud-provider-encryption-key-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/change-disaster-recovery-configuration.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/configure-saas-admin-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-adb-cross-region-data-guard-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-create-cross-region-disaster-recovery-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-gcp-key-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-undelete-autonomous-database-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-cross-tenancy-disaster-recovery-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-backup-id.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-backup-timestamp.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-clone.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-refreshable-clone.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/fail-over.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/import-transportable-tablespace.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list-clones.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/manual-refresh.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restart.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restore.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/rotate-key.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/shrink.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/start.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/stop.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/switchover.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update-autonomous-database-gcp-key-details.txt +9 -4
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update.txt +9 -4
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster/register-cloud-autonomous-vm-cluster-pkcs.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster/unregister-cloud-autonomous-vm-cluster-pkcs.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/run-data-patch.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle/download.txt +114 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle/list.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/update.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run-history/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/scheduled-action/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry.txt → work-request-log.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/change-compartment.txt +114 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/create.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/delete.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/get.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/renew.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/set-api-key-state.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/update.txt +183 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key-collection/list-api-keys.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/create.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/update.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/create.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/update.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/model-collection/list-models.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-cohere-chat-request-v2.txt +350 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/embed-text-result/embed-text.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/rerank-text-result/rerank-text-dedicated-serving-mode.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/rerank-text-result/rerank-text-on-demand-serving-mode.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/rerank-text-result/rerank-text.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/get-content.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/list.txt +8 -0
- 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/{work-request-log-entry → work-request-log}/list.txt +19 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log-entry.txt → work-request-log.txt} +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +2 -2
- oci_cli/version.py +1 -1
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/METADATA +2 -2
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/RECORD +107 -84
- services/database/src/oci_cli_database/generated/database_cli.py +1446 -140
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +519 -12
- services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +169 -7
- services/identity/src/oci_cli_identity/identity_cli_extended.py +2 -0
- services/iot/src/oci_cli_iot/generated/iot_cli.py +10 -3
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"register-cloud-autonomous-vm-cluster-pkcs"
|
|
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
|
+
Install the PKCS11 driver for given keystore type
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci db cloud-autonomous-vm-cluster register-cloud-autonomous-vm-cluster-pkcs [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--cloud-autonomous-vm-cluster-id [text]
|
|
33
|
+
|
|
34
|
+
The Cloud VM cluster OCID.
|
|
35
|
+
|
|
36
|
+
--tde-key-store-type [text]
|
|
37
|
+
|
|
38
|
+
TDE keystore type
|
|
39
|
+
|
|
40
|
+
Accepted values are:
|
|
41
|
+
|
|
42
|
+
AWS, AZURE, GCP, OCI
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Optional Parameters
|
|
46
|
+
===================
|
|
47
|
+
|
|
48
|
+
--from-json [text]
|
|
49
|
+
|
|
50
|
+
Provide input to this command as a JSON document from a file using the
|
|
51
|
+
file://path-to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-full-command-json-input" option can be used to
|
|
54
|
+
generate a sample json file to be used with this command option. The
|
|
55
|
+
key names are pre-populated and match the command option names
|
|
56
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
57
|
+
while the values of the keys need to be populated by the user before
|
|
58
|
+
using the sample file as an input to this command. For any command
|
|
59
|
+
option that accepts multiple values, the value of the key can be a
|
|
60
|
+
JSON array.
|
|
61
|
+
|
|
62
|
+
Options can still be provided on the command line. If an option exists
|
|
63
|
+
in both the JSON document and the command line then the command line
|
|
64
|
+
specified value will be used.
|
|
65
|
+
|
|
66
|
+
For examples on usage of this option, please see our “using CLI with
|
|
67
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
68
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
69
|
+
|
|
70
|
+
--if-match [text]
|
|
71
|
+
|
|
72
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
73
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
74
|
+
previous GET or POST response for that resource. The resource will be
|
|
75
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
76
|
+
current etag value.
|
|
77
|
+
|
|
78
|
+
--max-wait-seconds [integer]
|
|
79
|
+
|
|
80
|
+
The maximum time to wait for the work request to reach the state
|
|
81
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
82
|
+
|
|
83
|
+
--wait-for-state [text]
|
|
84
|
+
|
|
85
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
86
|
+
and uses a work request to track the progress of the operation.
|
|
87
|
+
Specify this option to perform the action and then wait until the work
|
|
88
|
+
request reaches a certain state. Multiple states can be specified,
|
|
89
|
+
returning on the first state. For example, "--wait-for-state"
|
|
90
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
91
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
92
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
93
|
+
|
|
94
|
+
Accepted values are:
|
|
95
|
+
|
|
96
|
+
ACCEPTED, FAILED, IN_PROGRESS, SUCCEEDED
|
|
97
|
+
|
|
98
|
+
--wait-interval-seconds [integer]
|
|
99
|
+
|
|
100
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
101
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
102
|
+
seconds.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
Global Parameters
|
|
106
|
+
=================
|
|
107
|
+
|
|
108
|
+
Use "oci --help" for help on global parameters.
|
|
109
|
+
|
|
110
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
111
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
112
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
113
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
114
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
115
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
116
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
117
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
118
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
Example using required parameter
|
|
122
|
+
================================
|
|
123
|
+
|
|
124
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
125
|
+
command by typing “bash example.sh” and replacing the example
|
|
126
|
+
parameters with your own.
|
|
127
|
+
|
|
128
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
129
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
130
|
+
security policies before trying the examples.
|
|
131
|
+
|
|
132
|
+
export cloud_exadata_infrastructure_id=<substitute-value-of-cloud_exadata_infrastructure_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-cloud-exadata-infrastructure-id
|
|
133
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-compartment-id
|
|
134
|
+
export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-display-name
|
|
135
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-subnet-id
|
|
136
|
+
export tde_key_store_type=<substitute-value-of-tde_key_store_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/register-cloud-autonomous-vm-cluster-pkcs.html#cmdoption-tde-key-store-type
|
|
137
|
+
|
|
138
|
+
cloud_autonomous_vm_cluster_id=$(oci db cloud-autonomous-vm-cluster create --cloud-exadata-infrastructure-id $cloud_exadata_infrastructure_id --compartment-id $compartment_id --display-name $display_name --subnet-id $subnet_id --query data.id --raw-output)
|
|
139
|
+
|
|
140
|
+
oci db cloud-autonomous-vm-cluster register-cloud-autonomous-vm-cluster-pkcs --cloud-autonomous-vm-cluster-id $cloud_autonomous_vm_cluster_id --tde-key-store-type $tde_key_store_type
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"unregister-cloud-autonomous-vm-cluster-pkcs"
|
|
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
|
+
Uninstall the PKCS11 driver for given keystore type
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci db cloud-autonomous-vm-cluster unregister-cloud-autonomous-vm-cluster-pkcs [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--cloud-autonomous-vm-cluster-id [text]
|
|
33
|
+
|
|
34
|
+
The Cloud VM cluster OCID.
|
|
35
|
+
|
|
36
|
+
--tde-key-store-type [text]
|
|
37
|
+
|
|
38
|
+
TDE keystore type
|
|
39
|
+
|
|
40
|
+
Accepted values are:
|
|
41
|
+
|
|
42
|
+
AWS, AZURE, GCP, OCI
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Optional Parameters
|
|
46
|
+
===================
|
|
47
|
+
|
|
48
|
+
--from-json [text]
|
|
49
|
+
|
|
50
|
+
Provide input to this command as a JSON document from a file using the
|
|
51
|
+
file://path-to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-full-command-json-input" option can be used to
|
|
54
|
+
generate a sample json file to be used with this command option. The
|
|
55
|
+
key names are pre-populated and match the command option names
|
|
56
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
57
|
+
while the values of the keys need to be populated by the user before
|
|
58
|
+
using the sample file as an input to this command. For any command
|
|
59
|
+
option that accepts multiple values, the value of the key can be a
|
|
60
|
+
JSON array.
|
|
61
|
+
|
|
62
|
+
Options can still be provided on the command line. If an option exists
|
|
63
|
+
in both the JSON document and the command line then the command line
|
|
64
|
+
specified value will be used.
|
|
65
|
+
|
|
66
|
+
For examples on usage of this option, please see our “using CLI with
|
|
67
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
68
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
69
|
+
|
|
70
|
+
--if-match [text]
|
|
71
|
+
|
|
72
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
73
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
74
|
+
previous GET or POST response for that resource. The resource will be
|
|
75
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
76
|
+
current etag value.
|
|
77
|
+
|
|
78
|
+
--max-wait-seconds [integer]
|
|
79
|
+
|
|
80
|
+
The maximum time to wait for the work request to reach the state
|
|
81
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
82
|
+
|
|
83
|
+
--wait-for-state [text]
|
|
84
|
+
|
|
85
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
86
|
+
and uses a work request to track the progress of the operation.
|
|
87
|
+
Specify this option to perform the action and then wait until the work
|
|
88
|
+
request reaches a certain state. Multiple states can be specified,
|
|
89
|
+
returning on the first state. For example, "--wait-for-state"
|
|
90
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
91
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
92
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
93
|
+
|
|
94
|
+
Accepted values are:
|
|
95
|
+
|
|
96
|
+
ACCEPTED, FAILED, IN_PROGRESS, SUCCEEDED
|
|
97
|
+
|
|
98
|
+
--wait-interval-seconds [integer]
|
|
99
|
+
|
|
100
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
101
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
102
|
+
seconds.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
Global Parameters
|
|
106
|
+
=================
|
|
107
|
+
|
|
108
|
+
Use "oci --help" for help on global parameters.
|
|
109
|
+
|
|
110
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
111
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
112
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
113
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
114
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
115
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
116
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
117
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
118
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
Example using required parameter
|
|
122
|
+
================================
|
|
123
|
+
|
|
124
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
125
|
+
command by typing “bash example.sh” and replacing the example
|
|
126
|
+
parameters with your own.
|
|
127
|
+
|
|
128
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
129
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
130
|
+
security policies before trying the examples.
|
|
131
|
+
|
|
132
|
+
export cloud_exadata_infrastructure_id=<substitute-value-of-cloud_exadata_infrastructure_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-cloud-exadata-infrastructure-id
|
|
133
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-compartment-id
|
|
134
|
+
export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-display-name
|
|
135
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/create.html#cmdoption-subnet-id
|
|
136
|
+
export tde_key_store_type=<substitute-value-of-tde_key_store_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/cloud-autonomous-vm-cluster/unregister-cloud-autonomous-vm-cluster-pkcs.html#cmdoption-tde-key-store-type
|
|
137
|
+
|
|
138
|
+
cloud_autonomous_vm_cluster_id=$(oci db cloud-autonomous-vm-cluster create --cloud-exadata-infrastructure-id $cloud_exadata_infrastructure_id --compartment-id $compartment_id --display-name $display_name --subnet-id $subnet_id --query data.id --raw-output)
|
|
139
|
+
|
|
140
|
+
oci db cloud-autonomous-vm-cluster unregister-cloud-autonomous-vm-cluster-pkcs --cloud-autonomous-vm-cluster-id $cloud_autonomous_vm_cluster_id --tde-key-store-type $tde_key_store_type
|
|
@@ -27,8 +27,12 @@ Available Commands
|
|
|
27
27
|
|
|
28
28
|
* list-cloud-autonomous-vm-cluster-acd-resource-usage
|
|
29
29
|
|
|
30
|
+
* register-cloud-autonomous-vm-cluster-pkcs
|
|
31
|
+
|
|
30
32
|
* rotate-cloud-autonomous-vm-cluster-ords-certs
|
|
31
33
|
|
|
32
34
|
* rotate-cloud-autonomous-vm-cluster-ssl-certs
|
|
33
35
|
|
|
36
|
+
* unregister-cloud-autonomous-vm-cluster-pkcs
|
|
37
|
+
|
|
34
38
|
* update
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"run-data-patch"
|
|
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
|
+
Run datapatch on the specified Oracle Database and optionally on the
|
|
21
|
+
specified Pluggable databases.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
Usage
|
|
25
|
+
=====
|
|
26
|
+
|
|
27
|
+
oci db database run-data-patch [OPTIONS]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
Required Parameters
|
|
31
|
+
===================
|
|
32
|
+
|
|
33
|
+
--database-id [text]
|
|
34
|
+
|
|
35
|
+
The database OCID.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Optional Parameters
|
|
39
|
+
===================
|
|
40
|
+
|
|
41
|
+
--action [text]
|
|
42
|
+
|
|
43
|
+
The action to perform on run database dataPatch operation
|
|
44
|
+
|
|
45
|
+
Accepted values are:
|
|
46
|
+
|
|
47
|
+
APPLY, PRECHECK
|
|
48
|
+
|
|
49
|
+
--data-patch-options [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
|
+
--from-json [text]
|
|
61
|
+
|
|
62
|
+
Provide input to this command as a JSON document from a file using the
|
|
63
|
+
file://path-to/file syntax.
|
|
64
|
+
|
|
65
|
+
The "--generate-full-command-json-input" option can be used to
|
|
66
|
+
generate a sample json file to be used with this command option. The
|
|
67
|
+
key names are pre-populated and match the command option names
|
|
68
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
69
|
+
while the values of the keys need to be populated by the user before
|
|
70
|
+
using the sample file as an input to this command. For any command
|
|
71
|
+
option that accepts multiple values, the value of the key can be a
|
|
72
|
+
JSON array.
|
|
73
|
+
|
|
74
|
+
Options can still be provided on the command line. If an option exists
|
|
75
|
+
in both the JSON document and the command line then the command line
|
|
76
|
+
specified value will be used.
|
|
77
|
+
|
|
78
|
+
For examples on usage of this option, please see our “using CLI with
|
|
79
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
80
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
81
|
+
|
|
82
|
+
--if-match [text]
|
|
83
|
+
|
|
84
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
85
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
86
|
+
previous GET or POST response for that resource. The resource will be
|
|
87
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
88
|
+
current etag value.
|
|
89
|
+
|
|
90
|
+
--max-wait-seconds [integer]
|
|
91
|
+
|
|
92
|
+
The maximum time to wait for the resource to reach the lifecycle state
|
|
93
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
94
|
+
|
|
95
|
+
--pluggable-databases [complex type]
|
|
96
|
+
|
|
97
|
+
List of Pluggable Database OCIDs to run datapatch on. The datapatch
|
|
98
|
+
would run on the database first and then the given pluggable
|
|
99
|
+
databases. This is a complex type whose value must be valid JSON. The
|
|
100
|
+
value can be provided as a string on the command line or passed in as
|
|
101
|
+
a file using the file://path/to/file syntax.
|
|
102
|
+
|
|
103
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
104
|
+
example of the JSON which must be provided. We recommend storing this
|
|
105
|
+
example in a file, modifying it as needed and then passing it back in
|
|
106
|
+
via the file:// syntax.
|
|
107
|
+
|
|
108
|
+
--wait-for-state [text]
|
|
109
|
+
|
|
110
|
+
This operation creates, modifies or deletes a resource that has a
|
|
111
|
+
defined lifecycle state. Specify this option to perform the action and
|
|
112
|
+
then wait until the resource reaches a given lifecycle state. Multiple
|
|
113
|
+
states can be specified, returning on the first state. For example, "
|
|
114
|
+
--wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
|
|
115
|
+
whichever lifecycle state is reached first. If timeout is reached, a
|
|
116
|
+
return code of 2 is returned. For any other error, a return code of 1
|
|
117
|
+
is returned.
|
|
118
|
+
|
|
119
|
+
Accepted values are:
|
|
120
|
+
|
|
121
|
+
AVAILABLE, BACKUP_IN_PROGRESS, CONVERTING, FAILED, PROVISIONING, RESTORE_FAILED, TERMINATED, TERMINATING, UPDATING, UPGRADING
|
|
122
|
+
|
|
123
|
+
--wait-interval-seconds [integer]
|
|
124
|
+
|
|
125
|
+
Check every "--wait-interval-seconds" to see whether the resource has
|
|
126
|
+
reached the lifecycle state defined by "--wait-for-state". Defaults to
|
|
127
|
+
30 seconds.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Global Parameters
|
|
131
|
+
=================
|
|
132
|
+
|
|
133
|
+
Use "oci --help" for help on global parameters.
|
|
134
|
+
|
|
135
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
136
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
137
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
138
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
139
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
140
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
141
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
142
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
143
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
Example using required parameter
|
|
147
|
+
================================
|
|
148
|
+
|
|
149
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
150
|
+
command by typing “bash example.sh” and replacing the example
|
|
151
|
+
parameters with your own.
|
|
152
|
+
|
|
153
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
154
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
155
|
+
security policies before trying the examples.
|
|
156
|
+
|
|
157
|
+
export db_system_id=<substitute-value-of-db_system_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/db-home/create.html#cmdoption-db-system-id
|
|
158
|
+
export admin_password=<substitute-value-of-admin_password> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/database/create.html#cmdoption-admin-password
|
|
159
|
+
export db_name=<substitute-value-of-db_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/database/create.html#cmdoption-db-name
|
|
160
|
+
|
|
161
|
+
db_home_id=$(oci db db-home create --db-system-id $db_system_id --query data.id --raw-output)
|
|
162
|
+
|
|
163
|
+
database_id=$(oci db database create --admin-password $admin_password --db-home-id $db_home_id --db-name $db_name --db-system-id $db_system_id --query data.id --raw-output)
|
|
164
|
+
|
|
165
|
+
oci db database run-data-patch --database-id $database_id
|
|
@@ -155,6 +155,17 @@ numeric, and two special characters. The special characters must be _,
|
|
|
155
155
|
The existing TDE wallet password. You must provide the existing
|
|
156
156
|
password in order to set a new TDE wallet password.
|
|
157
157
|
|
|
158
|
+
--patch-options [complex type]
|
|
159
|
+
|
|
160
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
161
|
+
be provided as a string on the command line or passed in as a file
|
|
162
|
+
using the file://path/to/file syntax.
|
|
163
|
+
|
|
164
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
165
|
+
example of the JSON which must be provided. We recommend storing this
|
|
166
|
+
example in a file, modifying it as needed and then passing it back in
|
|
167
|
+
via the file:// syntax.
|
|
168
|
+
|
|
158
169
|
--recovery-window-in-days [integer range]
|
|
159
170
|
|
|
160
171
|
The number of days between the current and the earliest point of
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"download"
|
|
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
|
+
Downloads the specified database connection bundle content. The bundle
|
|
21
|
+
is returned as a binary file containing the connection details.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
Usage
|
|
25
|
+
=====
|
|
26
|
+
|
|
27
|
+
oci db db-connection-bundle download [OPTIONS]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
Required Parameters
|
|
31
|
+
===================
|
|
32
|
+
|
|
33
|
+
--db-connection-bundle-id [text]
|
|
34
|
+
|
|
35
|
+
The OCID of the database connection bundle.
|
|
36
|
+
|
|
37
|
+
--file [filename]
|
|
38
|
+
|
|
39
|
+
The name of the file that will receive the response data, or ‘-‘ to
|
|
40
|
+
write to STDOUT.
|
|
41
|
+
|
|
42
|
+
--password [text]
|
|
43
|
+
|
|
44
|
+
The password to encrypt the keys inside the bundle. The password must
|
|
45
|
+
be at least 8 characters long and must include at least 1 letter and
|
|
46
|
+
either 1 numeric character or 1 special character.
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
Optional Parameters
|
|
50
|
+
===================
|
|
51
|
+
|
|
52
|
+
--from-json [text]
|
|
53
|
+
|
|
54
|
+
Provide input to this command as a JSON document from a file using the
|
|
55
|
+
file://path-to/file syntax.
|
|
56
|
+
|
|
57
|
+
The "--generate-full-command-json-input" option can be used to
|
|
58
|
+
generate a sample json file to be used with this command option. The
|
|
59
|
+
key names are pre-populated and match the command option names
|
|
60
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
61
|
+
while the values of the keys need to be populated by the user before
|
|
62
|
+
using the sample file as an input to this command. For any command
|
|
63
|
+
option that accepts multiple values, the value of the key can be a
|
|
64
|
+
JSON array.
|
|
65
|
+
|
|
66
|
+
Options can still be provided on the command line. If an option exists
|
|
67
|
+
in both the JSON document and the command line then the command line
|
|
68
|
+
specified value will be used.
|
|
69
|
+
|
|
70
|
+
For examples on usage of this option, please see our “using CLI with
|
|
71
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
72
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
73
|
+
|
|
74
|
+
--if-match [text]
|
|
75
|
+
|
|
76
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
77
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
78
|
+
previous GET or POST response for that resource. The resource will be
|
|
79
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
80
|
+
current etag value.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
Global Parameters
|
|
84
|
+
=================
|
|
85
|
+
|
|
86
|
+
Use "oci --help" for help on global parameters.
|
|
87
|
+
|
|
88
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
89
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
90
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
91
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
92
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
93
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
94
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
95
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
96
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
Example using required parameter
|
|
100
|
+
================================
|
|
101
|
+
|
|
102
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
103
|
+
command by typing “bash example.sh” and replacing the example
|
|
104
|
+
parameters with your own.
|
|
105
|
+
|
|
106
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
107
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
108
|
+
security policies before trying the examples.
|
|
109
|
+
|
|
110
|
+
export db_connection_bundle_id=<substitute-value-of-db_connection_bundle_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/db-connection-bundle/download.html#cmdoption-db-connection-bundle-id
|
|
111
|
+
export file=<substitute-value-of-file> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/db-connection-bundle/download.html#cmdoption-file
|
|
112
|
+
export password=<substitute-value-of-password> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/db-connection-bundle/download.html#cmdoption-password
|
|
113
|
+
|
|
114
|
+
oci db db-connection-bundle download --db-connection-bundle-id $db_connection_bundle_id --file $file --password $password
|