oci-cli 3.69.0__py3-none-any.whl → 3.70.0__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/psa.psm1 +51 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool/create.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/attach.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/termination-proceed.txt +116 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/delete.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/list.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/mount.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/unmount.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/add.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +14 -0
- 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.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/change-distributed-autonomous-db-backup-config.txt +159 -0
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.txt +42 -12
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/rotate-distributed-autonomous-database-passwords.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-db-service/distributed-database/create.txt +31 -11
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-db-service/distributed-database/rotate-distributed-database-passwords.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log/list.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/create.txt +214 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/list.txt +152 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/update.txt +211 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/psa-services/list.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/psa-services.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-error/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-log/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-log.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa.txt +47 -0
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/METADATA +2 -2
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/RECORD +81 -45
- services/core/src/oci_cli_compute_management/generated/computemanagement_cli.py +44 -9
- services/database/src/oci_cli_database/generated/database_cli.py +309 -0
- services/distributed_database/src/oci_cli_distributed_autonomous_db_service/generated/distributedautonomousdbservice_cli.py +77 -12
- services/distributed_database/src/oci_cli_distributed_db_service/generated/distributeddbservice_cli.py +8 -8
- services/psa/__init__.py +4 -0
- services/psa/src/__init__.py +4 -0
- services/psa/src/oci_cli_private_service_access/__init__.py +4 -0
- services/psa/src/oci_cli_private_service_access/generated/__init__.py +4 -0
- services/psa/src/oci_cli_private_service_access/generated/client_mappings.py +14 -0
- services/psa/src/oci_cli_private_service_access/generated/privateserviceaccess_cli.py +738 -0
- services/psa/src/oci_cli_private_service_access/privateserviceaccess_cli_extended.py +92 -0
- services/psa/tests/__init__.py +4 -0
- /oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane → delegate-access-control}/work-request/work-request-log.txt +0 -0
- /oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control → governance-rules-control-plane}/work-request/work-request-log-entry.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"change-distributed-autonomous-db-backup-config"
|
|
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 DbBackupConfig for the Globally distributed autonomous
|
|
21
|
+
database.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
Usage
|
|
25
|
+
=====
|
|
26
|
+
|
|
27
|
+
oci distributed-database distributed-autonomous-db-service distributed-autonomous-database change-distributed-autonomous-db-backup-config [OPTIONS]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
Required Parameters
|
|
31
|
+
===================
|
|
32
|
+
|
|
33
|
+
--db-backup-config [complex type]
|
|
34
|
+
|
|
35
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
36
|
+
be provided as a string on the command line or passed in as a file
|
|
37
|
+
using the file://path/to/file syntax.
|
|
38
|
+
|
|
39
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
40
|
+
example of the JSON which must be provided. We recommend storing this
|
|
41
|
+
example in a file, modifying it as needed and then passing it back in
|
|
42
|
+
via the file:// syntax.
|
|
43
|
+
|
|
44
|
+
--distributed-autonomous-database-id [text]
|
|
45
|
+
|
|
46
|
+
Globally distributed autonomous database identifier
|
|
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
|
+
--max-wait-seconds [integer]
|
|
83
|
+
|
|
84
|
+
The maximum time to wait for the work request to reach the state
|
|
85
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
86
|
+
|
|
87
|
+
--wait-for-state [text]
|
|
88
|
+
|
|
89
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
90
|
+
and uses a work request to track the progress of the operation.
|
|
91
|
+
Specify this option to perform the action and then wait until the work
|
|
92
|
+
request reaches a certain state. Multiple states can be specified,
|
|
93
|
+
returning on the first state. For example, "--wait-for-state"
|
|
94
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
95
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
96
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
97
|
+
|
|
98
|
+
Accepted values are:
|
|
99
|
+
|
|
100
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
|
|
101
|
+
|
|
102
|
+
--wait-interval-seconds [integer]
|
|
103
|
+
|
|
104
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
105
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
106
|
+
seconds.
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
Global Parameters
|
|
110
|
+
=================
|
|
111
|
+
|
|
112
|
+
Use "oci --help" for help on global parameters.
|
|
113
|
+
|
|
114
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
115
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
116
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
117
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
118
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
119
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
120
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
121
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
Example using required parameter
|
|
125
|
+
================================
|
|
126
|
+
|
|
127
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
128
|
+
example parameters with your own.
|
|
129
|
+
|
|
130
|
+
oci distributed-database distributed-autonomous-db-service distributed-autonomous-database create --generate-param-json-input catalog-details > catalog-details.json
|
|
131
|
+
oci distributed-database distributed-autonomous-db-service distributed-autonomous-database create --generate-param-json-input private-endpoint-ids > private-endpoint-ids.json
|
|
132
|
+
oci distributed-database distributed-autonomous-db-service distributed-autonomous-database create --generate-param-json-input shard-details > shard-details.json
|
|
133
|
+
|
|
134
|
+
oci distributed-database distributed-autonomous-db-service distributed-autonomous-database change-distributed-autonomous-db-backup-config --generate-param-json-input db-backup-config > db-backup-config.json
|
|
135
|
+
|
|
136
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
137
|
+
command by typing “bash example.sh” and replacing the example
|
|
138
|
+
parameters with your own.
|
|
139
|
+
|
|
140
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
141
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
142
|
+
security policies before trying the examples.
|
|
143
|
+
|
|
144
|
+
export character_set=<substitute-value-of-character_set> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-character-set
|
|
145
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-compartment-id
|
|
146
|
+
export database_version=<substitute-value-of-database_version> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-database-version
|
|
147
|
+
export db_deployment_type=<substitute-value-of-db_deployment_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-db-deployment-type
|
|
148
|
+
export db_workload=<substitute-value-of-db_workload> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-db-workload
|
|
149
|
+
export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-display-name
|
|
150
|
+
export listener_port=<substitute-value-of-listener_port> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-listener-port
|
|
151
|
+
export ncharacter_set=<substitute-value-of-ncharacter_set> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-ncharacter-set
|
|
152
|
+
export ons_port_local=<substitute-value-of-ons_port_local> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-ons-port-local
|
|
153
|
+
export ons_port_remote=<substitute-value-of-ons_port_remote> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-ons-port-remote
|
|
154
|
+
export prefix=<substitute-value-of-prefix> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-prefix
|
|
155
|
+
export sharding_method=<substitute-value-of-sharding_method> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.html#cmdoption-sharding-method
|
|
156
|
+
|
|
157
|
+
distributed_autonomous_database_id=$(oci distributed-database distributed-autonomous-db-service distributed-autonomous-database create --catalog-details file://catalog-details.json --character-set $character_set --compartment-id $compartment_id --database-version $database_version --db-deployment-type $db_deployment_type --db-workload $db_workload --display-name $display_name --listener-port $listener_port --ncharacter-set $ncharacter_set --ons-port-local $ons_port_local --ons-port-remote $ons_port_remote --prefix $prefix --private-endpoint-ids file://private-endpoint-ids.json --shard-details file://shard-details.json --sharding-method $sharding_method --query data.id --raw-output)
|
|
158
|
+
|
|
159
|
+
oci distributed-database distributed-autonomous-db-service distributed-autonomous-database change-distributed-autonomous-db-backup-config --db-backup-config file://db-backup-config.json --distributed-autonomous-database-id $distributed_autonomous_database_id
|
|
@@ -64,7 +64,8 @@ Accepted values are:
|
|
|
64
64
|
|
|
65
65
|
--db-workload [text]
|
|
66
66
|
|
|
67
|
-
Possible workload types.
|
|
67
|
+
Possible workload types. Currently only OLTP workload type is
|
|
68
|
+
supported.
|
|
68
69
|
|
|
69
70
|
Accepted values are:
|
|
70
71
|
|
|
@@ -77,7 +78,9 @@ The display name of the Globally distributed autonomous database.
|
|
|
77
78
|
--listener-port [integer]
|
|
78
79
|
|
|
79
80
|
The listener port number for the Globally distributed autonomous
|
|
80
|
-
database.
|
|
81
|
+
database. The listener port number has to be unique for a customer
|
|
82
|
+
tenancy across all distributed autonomous databases. Same port number
|
|
83
|
+
should not be re-used for any other distributed autonomous database.
|
|
81
84
|
|
|
82
85
|
--ncharacter-set [text]
|
|
83
86
|
|
|
@@ -85,11 +88,17 @@ The national character set for the database.
|
|
|
85
88
|
|
|
86
89
|
--ons-port-local [integer]
|
|
87
90
|
|
|
88
|
-
Ons local port number.
|
|
91
|
+
Ons local port number for Globally distributed autonomous database.
|
|
92
|
+
The onsPortLocal has to be unique for a customer tenancy across all
|
|
93
|
+
distributed autonomous databases. Same port number should not be re-
|
|
94
|
+
used for any other distributed autonomous database.
|
|
89
95
|
|
|
90
96
|
--ons-port-remote [integer]
|
|
91
97
|
|
|
92
|
-
Ons remote port number.
|
|
98
|
+
Ons remote port number for Globally distributed autonomous database.
|
|
99
|
+
The onsPortRemote has to be unique for a customer tenancy across all
|
|
100
|
+
distributed autonomous databases. Same port number should not be re-
|
|
101
|
+
used for any other distributed autonomous database.
|
|
93
102
|
|
|
94
103
|
--prefix [text]
|
|
95
104
|
|
|
@@ -136,9 +145,22 @@ Optional Parameters
|
|
|
136
145
|
|
|
137
146
|
--chunks [integer]
|
|
138
147
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
148
|
+
Number of chunks in a shardspace. The value of chunks must be greater
|
|
149
|
+
than 2 times the size of the largest shardgroup in any shardspace.
|
|
150
|
+
Chunks is required to be provided for distributed autonomous databases
|
|
151
|
+
being created with SYSTEM shardingMethod. For USER shardingMethod,
|
|
152
|
+
chunks should not be set in create payload.
|
|
153
|
+
|
|
154
|
+
--db-backup-config [complex type]
|
|
155
|
+
|
|
156
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
157
|
+
be provided as a string on the command line or passed in as a file
|
|
158
|
+
using the file://path/to/file syntax.
|
|
159
|
+
|
|
160
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
161
|
+
example of the JSON which must be provided. We recommend storing this
|
|
162
|
+
example in a file, modifying it as needed and then passing it back in
|
|
163
|
+
via the file:// syntax.
|
|
142
164
|
|
|
143
165
|
--defined-tags [complex type]
|
|
144
166
|
|
|
@@ -191,7 +213,11 @@ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
|
191
213
|
--listener-port-tls [integer]
|
|
192
214
|
|
|
193
215
|
The TLS listener port number for Globally distributed autonomous
|
|
194
|
-
database.
|
|
216
|
+
database. The TLS listener port number has to be unique for a customer
|
|
217
|
+
tenancy across all distributed autonomous databases. Same port number
|
|
218
|
+
should not be re-used for any other distributed autonomous database.
|
|
219
|
+
The listenerPortTls is mandatory for dedicated infrastructure based
|
|
220
|
+
distributed autonomous databases.
|
|
195
221
|
|
|
196
222
|
--max-wait-seconds [integer]
|
|
197
223
|
|
|
@@ -206,8 +232,11 @@ autonomous database. Currently supported values are 3, 5 and 7.
|
|
|
206
232
|
--replication-method [text]
|
|
207
233
|
|
|
208
234
|
The Replication method for Globally distributed autonomous database.
|
|
209
|
-
Use RAFT for Raft replication
|
|
210
|
-
|
|
235
|
+
Use RAFT for Raft based replication. With RAFT replication, shards
|
|
236
|
+
cannot have peers details set on them. In case shards need to have
|
|
237
|
+
peers, please do not set RAFT replicationMethod. For all non RAFT
|
|
238
|
+
replication cases (with or without peers), please set
|
|
239
|
+
replicationMethod as DG or do not set any value for replicationMethod.
|
|
211
240
|
|
|
212
241
|
Accepted values are:
|
|
213
242
|
|
|
@@ -215,8 +244,9 @@ Accepted values are:
|
|
|
215
244
|
|
|
216
245
|
--replication-unit [integer]
|
|
217
246
|
|
|
218
|
-
|
|
219
|
-
|
|
247
|
+
The replication unit count for RAFT based distributed autonomous
|
|
248
|
+
database. For RAFT replication based Globally distributed autonomous
|
|
249
|
+
database, the value should be at least twice the number of shards.
|
|
220
250
|
|
|
221
251
|
--wait-for-state [text]
|
|
222
252
|
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
Description
|
|
18
18
|
===========
|
|
19
19
|
|
|
20
|
-
Rotate passwords for
|
|
21
|
-
autonomous database.
|
|
20
|
+
Rotate the gsmuser and gsmcatuser passwords for shards and catalog of
|
|
21
|
+
the Globally distributed autonomous database. This operation will also
|
|
22
|
+
remove GdsCtlNodes if present.
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
Usage
|
|
@@ -68,7 +68,10 @@ The display name of the Globally distributed database.
|
|
|
68
68
|
|
|
69
69
|
--listener-port [integer]
|
|
70
70
|
|
|
71
|
-
The listener port number for the Globally distributed database.
|
|
71
|
+
The listener port number for the Globally distributed database. The
|
|
72
|
+
listener port number has to be unique for a customer tenancy across
|
|
73
|
+
all distributed databases. Same port number should not be re-used for
|
|
74
|
+
any other distributed database.
|
|
72
75
|
|
|
73
76
|
--ncharacter-set [text]
|
|
74
77
|
|
|
@@ -76,11 +79,17 @@ The national character set for the database.
|
|
|
76
79
|
|
|
77
80
|
--ons-port-local [integer]
|
|
78
81
|
|
|
79
|
-
|
|
82
|
+
The ons local port number for the Globally distributed database. The
|
|
83
|
+
onsPortLocal has to be unique for a customer tenancy across all
|
|
84
|
+
distributed databases. Same port number should not be re-used for any
|
|
85
|
+
other distributed database.
|
|
80
86
|
|
|
81
87
|
--ons-port-remote [integer]
|
|
82
88
|
|
|
83
|
-
|
|
89
|
+
The ons remote port number for the Globally distributed database. The
|
|
90
|
+
onsPortRemote has to be unique for a customer tenancy across all
|
|
91
|
+
distributed databases. Same port number should not be re-used for any
|
|
92
|
+
other distributed database.
|
|
84
93
|
|
|
85
94
|
--prefix [text]
|
|
86
95
|
|
|
@@ -127,9 +136,11 @@ Optional Parameters
|
|
|
127
136
|
|
|
128
137
|
--chunks [integer]
|
|
129
138
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
139
|
+
Number of chunks in a shardspace. The value of chunks must be greater
|
|
140
|
+
than 2 times the size of the largest shardgroup in any shardspace.
|
|
141
|
+
Chunks is required to be provided for distributed databases being
|
|
142
|
+
created with SYSTEM shardingMethod. For USER shardingMethod, chunks
|
|
143
|
+
should not be set in create payload.
|
|
133
144
|
|
|
134
145
|
--db-backup-config [complex type]
|
|
135
146
|
|
|
@@ -196,7 +207,12 @@ The SSH public key for Global service manager instances.
|
|
|
196
207
|
|
|
197
208
|
--listener-port-tls [integer]
|
|
198
209
|
|
|
199
|
-
The TLS listener port number for Globally distributed database.
|
|
210
|
+
The TLS listener port number for the Globally distributed database.
|
|
211
|
+
The TLS listener port number has to be unique for a customer tenancy
|
|
212
|
+
across all distributed databases. Same port number should not be re-
|
|
213
|
+
used for any other distributed database. For BASE_DB and EXADB_XS
|
|
214
|
+
based distributed databases, tls is not supported hence the
|
|
215
|
+
listenerPortTls is not needed to be provided in create payload.
|
|
200
216
|
|
|
201
217
|
--max-wait-seconds [integer]
|
|
202
218
|
|
|
@@ -211,8 +227,11 @@ database. Currently supported values are 3, 5 and 7.
|
|
|
211
227
|
--replication-method [text]
|
|
212
228
|
|
|
213
229
|
The Replication method for Globally distributed database. Use RAFT for
|
|
214
|
-
Raft replication
|
|
215
|
-
|
|
230
|
+
Raft based replication. With RAFT replication, shards cannot have
|
|
231
|
+
peers details set on them. In case shards need to have peers, please
|
|
232
|
+
do not set RAFT replicationMethod. For all non RAFT replication cases
|
|
233
|
+
(with or without peers), please set replicationMethod as DG or do not
|
|
234
|
+
set any value for replicationMethod.
|
|
216
235
|
|
|
217
236
|
Accepted values are:
|
|
218
237
|
|
|
@@ -220,8 +239,9 @@ Accepted values are:
|
|
|
220
239
|
|
|
221
240
|
--replication-unit [integer]
|
|
222
241
|
|
|
223
|
-
|
|
224
|
-
|
|
242
|
+
The replication unit count for RAFT based distributed database. For
|
|
243
|
+
RAFT replication based Globally distributed database, the value should
|
|
244
|
+
be at least twice the number of shards.
|
|
225
245
|
|
|
226
246
|
--wait-for-state [text]
|
|
227
247
|
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
Description
|
|
18
18
|
===========
|
|
19
19
|
|
|
20
|
-
Rotate passwords for
|
|
21
|
-
database.
|
|
20
|
+
Rotate the gsmuser and gsmcatuser passwords for shards and catalog of
|
|
21
|
+
the Globally distributed database. This operation will also remove
|
|
22
|
+
GdsCtlNodes if present.
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
Usage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"list
|
|
2
|
-
|
|
1
|
+
"list"
|
|
2
|
+
******
|
|
3
3
|
|
|
4
4
|
* Description
|
|
5
5
|
|
|
@@ -24,7 +24,7 @@ given ID.
|
|
|
24
24
|
Usage
|
|
25
25
|
=====
|
|
26
26
|
|
|
27
|
-
oci governance-rules-control-plane work-request work-request-error list
|
|
27
|
+
oci governance-rules-control-plane work-request work-request-error list [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-error/list
|
|
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-error/list.html#cmdoption-work-request-id
|
|
128
128
|
|
|
129
|
-
oci governance-rules-control-plane work-request work-request-error list
|
|
129
|
+
oci governance-rules-control-plane work-request work-request-error list --work-request-id $work_request_id
|
|
@@ -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
|
oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/change-compartment.txt
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"change-compartment"
|
|
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
|
+
Moves a PrivateServiceAccess into a different compartment within the
|
|
21
|
+
same tenancy. For information about moving resources between
|
|
22
|
+
compartments, see Moving Resources to a Different Compartment.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Usage
|
|
26
|
+
=====
|
|
27
|
+
|
|
28
|
+
oci psa private-service-access change-compartment [OPTIONS]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Required Parameters
|
|
32
|
+
===================
|
|
33
|
+
|
|
34
|
+
--compartment-id, -c [text]
|
|
35
|
+
|
|
36
|
+
The OCID of the compartment into which the private service access
|
|
37
|
+
should be moved.
|
|
38
|
+
|
|
39
|
+
--private-service-access-id [text]
|
|
40
|
+
|
|
41
|
+
The OCID of the PrivateServiceAccess.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
Optional Parameters
|
|
45
|
+
===================
|
|
46
|
+
|
|
47
|
+
--from-json [text]
|
|
48
|
+
|
|
49
|
+
Provide input to this command as a JSON document from a file using the
|
|
50
|
+
file://path-to/file syntax.
|
|
51
|
+
|
|
52
|
+
The "--generate-full-command-json-input" option can be used to
|
|
53
|
+
generate a sample json file to be used with this command option. The
|
|
54
|
+
key names are pre-populated and match the command option names
|
|
55
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
56
|
+
while the values of the keys need to be populated by the user before
|
|
57
|
+
using the sample file as an input to this command. For any command
|
|
58
|
+
option that accepts multiple values, the value of the key can be a
|
|
59
|
+
JSON array.
|
|
60
|
+
|
|
61
|
+
Options can still be provided on the command line. If an option exists
|
|
62
|
+
in both the JSON document and the command line then the command line
|
|
63
|
+
specified value will be used.
|
|
64
|
+
|
|
65
|
+
For examples on usage of this option, please see our “using CLI with
|
|
66
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
67
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
68
|
+
|
|
69
|
+
--if-match [text]
|
|
70
|
+
|
|
71
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
72
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
73
|
+
previous GET or POST response for that resource. The resource will be
|
|
74
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
75
|
+
current etag value.
|
|
76
|
+
|
|
77
|
+
--max-wait-seconds [integer]
|
|
78
|
+
|
|
79
|
+
The maximum time to wait for the work request to reach the state
|
|
80
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
81
|
+
|
|
82
|
+
--wait-for-state [text]
|
|
83
|
+
|
|
84
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
85
|
+
and uses a work request to track the progress of the operation.
|
|
86
|
+
Specify this option to perform the action and then wait until the work
|
|
87
|
+
request reaches a certain state. Multiple states can be specified,
|
|
88
|
+
returning on the first state. For example, "--wait-for-state"
|
|
89
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
90
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
91
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
92
|
+
|
|
93
|
+
Accepted values are:
|
|
94
|
+
|
|
95
|
+
ACCEPTED, CANCELLED, CANCELLING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
|
|
96
|
+
|
|
97
|
+
--wait-interval-seconds [integer]
|
|
98
|
+
|
|
99
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
100
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
101
|
+
seconds.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
Global Parameters
|
|
105
|
+
=================
|
|
106
|
+
|
|
107
|
+
Use "oci --help" for help on global parameters.
|
|
108
|
+
|
|
109
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
110
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
111
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
112
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
113
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
114
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
115
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
116
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
Example using required parameter
|
|
120
|
+
================================
|
|
121
|
+
|
|
122
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
123
|
+
command by typing “bash example.sh” and replacing the example
|
|
124
|
+
parameters with your own.
|
|
125
|
+
|
|
126
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
127
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
128
|
+
security policies before trying the examples.
|
|
129
|
+
|
|
130
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/psa/private-service-access/create.html#cmdoption-compartment-id
|
|
131
|
+
export service_id=<substitute-value-of-service_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/psa/private-service-access/create.html#cmdoption-service-id
|
|
132
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/psa/private-service-access/create.html#cmdoption-subnet-id
|
|
133
|
+
|
|
134
|
+
private_service_access_id=$(oci psa private-service-access create --compartment-id $compartment_id --service-id $service_id --subnet-id $subnet_id --query data.id --raw-output)
|
|
135
|
+
|
|
136
|
+
oci psa private-service-access change-compartment --compartment-id $compartment_id --private-service-access-id $private_service_access_id
|