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.
Files changed (81) hide show
  1. oci_cli/bin/psa.psm1 +51 -0
  2. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool/create.txt +11 -0
  3. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool/update.txt +11 -0
  4. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/attach.txt +1 -1
  5. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/termination-proceed.txt +116 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance.txt +2 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/compute-management.txt +2 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/delete.txt +129 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/get.txt +92 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/list.txt +153 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/mount.txt +131 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/unmount.txt +131 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot.txt +22 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/add.txt +154 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster.txt +2 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/db.txt +14 -0
  17. 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
  18. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  19. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  20. oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/change-distributed-autonomous-db-backup-config.txt +159 -0
  21. oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.txt +42 -12
  22. 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
  23. oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database.txt +2 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service.txt +2 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-db-service/distributed-database/create.txt +31 -11
  26. oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-db-service/distributed-database/rotate-distributed-database-passwords.txt +3 -2
  27. oci_cli/help_text_producer/data_files/text/cmdref/distributed-database.txt +2 -0
  28. 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
  29. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  30. 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
  31. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
  32. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
  33. oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/change-compartment.txt +136 -0
  34. oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/create.txt +214 -0
  35. oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/delete.txt +133 -0
  36. oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/get.txt +95 -0
  37. oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/list.txt +152 -0
  38. oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/update.txt +211 -0
  39. oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access.txt +25 -0
  40. oci_cli/help_text_producer/data_files/text/cmdref/psa/psa-services/list.txt +129 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/psa/psa-services.txt +16 -0
  42. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/cancel.txt +103 -0
  43. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/get.txt +91 -0
  44. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/list.txt +140 -0
  45. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-error/list.txt +131 -0
  46. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-error.txt +15 -0
  47. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-log/list.txt +131 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-log.txt +15 -0
  49. oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request.txt +23 -0
  50. oci_cli/help_text_producer/data_files/text/cmdref/psa.txt +47 -0
  51. oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +9 -9
  52. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
  53. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  54. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  55. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  56. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  57. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  58. oci_cli/help_text_producer/data_files/text/index.txt +2 -0
  59. oci_cli/service_mapping.py +5 -0
  60. oci_cli/version.py +1 -1
  61. {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/METADATA +2 -2
  62. {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/RECORD +81 -45
  63. services/core/src/oci_cli_compute_management/generated/computemanagement_cli.py +44 -9
  64. services/database/src/oci_cli_database/generated/database_cli.py +309 -0
  65. services/distributed_database/src/oci_cli_distributed_autonomous_db_service/generated/distributedautonomousdbservice_cli.py +77 -12
  66. services/distributed_database/src/oci_cli_distributed_db_service/generated/distributeddbservice_cli.py +8 -8
  67. services/psa/__init__.py +4 -0
  68. services/psa/src/__init__.py +4 -0
  69. services/psa/src/oci_cli_private_service_access/__init__.py +4 -0
  70. services/psa/src/oci_cli_private_service_access/generated/__init__.py +4 -0
  71. services/psa/src/oci_cli_private_service_access/generated/client_mappings.py +14 -0
  72. services/psa/src/oci_cli_private_service_access/generated/privateserviceaccess_cli.py +738 -0
  73. services/psa/src/oci_cli_private_service_access/privateserviceaccess_cli_extended.py +92 -0
  74. services/psa/tests/__init__.py +4 -0
  75. /oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane → delegate-access-control}/work-request/work-request-log.txt +0 -0
  76. /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
  77. {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/LICENSE.txt +0 -0
  78. {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  79. {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/WHEEL +0 -0
  80. {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/entry_points.txt +0 -0
  81. {oci_cli-3.69.0.dist-info → oci_cli-3.70.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,214 @@
1
+ "create"
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
+ Creates a private service access in the specified subnet (in the
21
+ consumer’s VCN) and the specified compartment for a particular
22
+ service.
23
+
24
+
25
+ Usage
26
+ =====
27
+
28
+ oci psa private-service-access create [OPTIONS]
29
+
30
+
31
+ Required Parameters
32
+ ===================
33
+
34
+ --compartment-id, -c [text]
35
+
36
+ The OCID of the compartment to contain the private service access.
37
+
38
+ --service-id [text]
39
+
40
+ A unique service identifier for which the private service access was
41
+ created.
42
+
43
+ --subnet-id [text]
44
+
45
+ The OCID of the VCN’s subnet where the private service access’s VNIC
46
+ will reside.
47
+
48
+
49
+ Optional Parameters
50
+ ===================
51
+
52
+ --defined-tags [complex type]
53
+
54
+ Defined tags for this resource. Each key is predefined and scoped to a
55
+ namespace. For more information, see Resource Tags.
56
+
57
+ Example:
58
+
59
+ {"Operations": {"CostCenter": "42"}}
60
+
61
+ This is a complex type whose value must be valid JSON. The value can
62
+ be provided as a string on the command line or passed in as a file
63
+ using the file://path/to/file syntax.
64
+
65
+ The "--generate-param-json-input" option can be used to generate an
66
+ example of the JSON which must be provided. We recommend storing this
67
+ example in a file, modifying it as needed and then passing it back in
68
+ via the file:// syntax.
69
+
70
+ --description [text]
71
+
72
+ A description of this private service accesss.
73
+
74
+ --display-name [text]
75
+
76
+ A user-friendly name. Does not have to be unique, and it’s changeable.
77
+ Avoid entering confidential information.
78
+
79
+ --freeform-tags [complex type]
80
+
81
+ Free-form tags for this resource. Each tag is a simple key-value pair
82
+ with no predefined name, type, or namespace. For more information, see
83
+ Resource Tags.
84
+
85
+ Example:
86
+
87
+ {"Department": "Finance"}
88
+
89
+ This is a complex type whose value must be valid JSON. The value can
90
+ be provided as a string on the command line or passed in as a file
91
+ using the file://path/to/file syntax.
92
+
93
+ The "--generate-param-json-input" option can be used to generate an
94
+ example of the JSON which must be provided. We recommend storing this
95
+ example in a file, modifying it as needed and then passing it back in
96
+ via the file:// syntax.
97
+
98
+ --from-json [text]
99
+
100
+ Provide input to this command as a JSON document from a file using the
101
+ file://path-to/file syntax.
102
+
103
+ The "--generate-full-command-json-input" option can be used to
104
+ generate a sample json file to be used with this command option. The
105
+ key names are pre-populated and match the command option names
106
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
107
+ while the values of the keys need to be populated by the user before
108
+ using the sample file as an input to this command. For any command
109
+ option that accepts multiple values, the value of the key can be a
110
+ JSON array.
111
+
112
+ Options can still be provided on the command line. If an option exists
113
+ in both the JSON document and the command line then the command line
114
+ specified value will be used.
115
+
116
+ For examples on usage of this option, please see our “using CLI with
117
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
118
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
119
+
120
+ --ipv4-ip [text]
121
+
122
+ The private IPv4 address (in the consumer’s VCN) that represents the
123
+ access point for the associated service.
124
+
125
+ --max-wait-seconds [integer]
126
+
127
+ The maximum time to wait for the work request to reach the state
128
+ defined by "--wait-for-state". Defaults to 1200 seconds.
129
+
130
+ --nsg-ids [complex type]
131
+
132
+ A list of the OCIDs of the network security groups (NSGs) to add the
133
+ private service access’s VNIC to. For more information about NSGs, see
134
+ NetworkSecurityGroup. This is a complex type whose value must be valid
135
+ JSON. The value can be provided as a string on the command line or
136
+ passed in as a file using the file://path/to/file syntax.
137
+
138
+ The "--generate-param-json-input" option can be used to generate an
139
+ example of the JSON which must be provided. We recommend storing this
140
+ example in a file, modifying it as needed and then passing it back in
141
+ via the file:// syntax.
142
+
143
+ --security-attributes [complex type]
144
+
145
+ Security attributes are labels for a resource that can be referenced
146
+ in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-
147
+ supported resources.
148
+
149
+ Example:
150
+
151
+ {"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
152
+
153
+ This is a complex type whose value must be valid JSON. The value can
154
+ be provided as a string on the command line or passed in as a file
155
+ using the file://path/to/file syntax.
156
+
157
+ The "--generate-param-json-input" option can be used to generate an
158
+ example of the JSON which must be provided. We recommend storing this
159
+ example in a file, modifying it as needed and then passing it back in
160
+ via the file:// syntax.
161
+
162
+ --wait-for-state [text]
163
+
164
+ This operation asynchronously creates, modifies or deletes a resource
165
+ and uses a work request to track the progress of the operation.
166
+ Specify this option to perform the action and then wait until the work
167
+ request reaches a certain state. Multiple states can be specified,
168
+ returning on the first state. For example, "--wait-for-state"
169
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
170
+ lifecycle state is reached first. If timeout is reached, a return code
171
+ of 2 is returned. For any other error, a return code of 1 is returned.
172
+
173
+ Accepted values are:
174
+
175
+ ACCEPTED, CANCELLED, CANCELLING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
176
+
177
+ --wait-interval-seconds [integer]
178
+
179
+ Check every "--wait-interval-seconds" to see whether the work request
180
+ has reached the state defined by "--wait-for-state". Defaults to 30
181
+ seconds.
182
+
183
+
184
+ Global Parameters
185
+ =================
186
+
187
+ Use "oci --help" for help on global parameters.
188
+
189
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
190
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
191
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
192
+ --generate-param-json-input", "--help", "--latest-version", "--max-
193
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
194
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
195
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
196
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
197
+
198
+
199
+ Example using required parameter
200
+ ================================
201
+
202
+ Copy the following CLI commands into a file named example.sh. Run the
203
+ command by typing “bash example.sh” and replacing the example
204
+ parameters with your own.
205
+
206
+ Please note this sample will only work in the POSIX-compliant bash-
207
+ like shell. You need to set up the OCI configuration and appropriate
208
+ security policies before trying the examples.
209
+
210
+ 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
211
+ 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
212
+ 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
213
+
214
+ oci psa private-service-access create --compartment-id $compartment_id --service-id $service_id --subnet-id $subnet_id
@@ -0,0 +1,133 @@
1
+ "delete"
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
+ Deletes a PrivateServiceAccess.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci psa private-service-access delete [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --private-service-access-id [text]
33
+
34
+ The OCID of the PrivateServiceAccess.
35
+
36
+
37
+ Optional Parameters
38
+ ===================
39
+
40
+ --force
41
+
42
+ Perform deletion without prompting for confirmation.
43
+
44
+ --from-json [text]
45
+
46
+ Provide input to this command as a JSON document from a file using the
47
+ file://path-to/file syntax.
48
+
49
+ The "--generate-full-command-json-input" option can be used to
50
+ generate a sample json file to be used with this command option. The
51
+ key names are pre-populated and match the command option names
52
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
53
+ while the values of the keys need to be populated by the user before
54
+ using the sample file as an input to this command. For any command
55
+ option that accepts multiple values, the value of the key can be a
56
+ JSON array.
57
+
58
+ Options can still be provided on the command line. If an option exists
59
+ in both the JSON document and the command line then the command line
60
+ specified value will be used.
61
+
62
+ For examples on usage of this option, please see our “using CLI with
63
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
64
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
65
+
66
+ --if-match [text]
67
+
68
+ For optimistic concurrency control. In the PUT or DELETE call for a
69
+ resource, set the *if-match* parameter to the value of the etag from a
70
+ previous GET or POST response for that resource. The resource will be
71
+ updated or deleted only if the etag you provide matches the resource’s
72
+ current etag value.
73
+
74
+ --max-wait-seconds [integer]
75
+
76
+ The maximum time to wait for the work request to reach the state
77
+ defined by "--wait-for-state". Defaults to 1200 seconds.
78
+
79
+ --wait-for-state [text]
80
+
81
+ This operation asynchronously creates, modifies or deletes a resource
82
+ and uses a work request to track the progress of the operation.
83
+ Specify this option to perform the action and then wait until the work
84
+ request reaches a certain state. Multiple states can be specified,
85
+ returning on the first state. For example, "--wait-for-state"
86
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
87
+ lifecycle state is reached first. If timeout is reached, a return code
88
+ of 2 is returned. For any other error, a return code of 1 is returned.
89
+
90
+ Accepted values are:
91
+
92
+ ACCEPTED, CANCELLED, CANCELLING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
93
+
94
+ --wait-interval-seconds [integer]
95
+
96
+ Check every "--wait-interval-seconds" to see whether the work request
97
+ has reached the state defined by "--wait-for-state". Defaults to 30
98
+ seconds.
99
+
100
+
101
+ Global Parameters
102
+ =================
103
+
104
+ Use "oci --help" for help on global parameters.
105
+
106
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
107
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
108
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
109
+ --generate-param-json-input", "--help", "--latest-version", "--max-
110
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
111
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
112
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
113
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
114
+
115
+
116
+ Example using required parameter
117
+ ================================
118
+
119
+ Copy the following CLI commands into a file named example.sh. Run the
120
+ command by typing “bash example.sh” and replacing the example
121
+ parameters with your own.
122
+
123
+ Please note this sample will only work in the POSIX-compliant bash-
124
+ like shell. You need to set up the OCI configuration and appropriate
125
+ security policies before trying the examples.
126
+
127
+ 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
128
+ 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
129
+ 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
130
+
131
+ 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)
132
+
133
+ oci psa private-service-access delete --private-service-access-id $private_service_access_id
@@ -0,0 +1,95 @@
1
+ "get"
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
+ Gets information about a PrivateServiceAccess.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci psa private-service-access get [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --private-service-access-id [text]
33
+
34
+ The OCID of the PrivateServiceAccess.
35
+
36
+
37
+ Optional Parameters
38
+ ===================
39
+
40
+ --from-json [text]
41
+
42
+ Provide input to this command as a JSON document from a file using the
43
+ file://path-to/file syntax.
44
+
45
+ The "--generate-full-command-json-input" option can be used to
46
+ generate a sample json file to be used with this command option. The
47
+ key names are pre-populated and match the command option names
48
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
49
+ while the values of the keys need to be populated by the user before
50
+ using the sample file as an input to this command. For any command
51
+ option that accepts multiple values, the value of the key can be a
52
+ JSON array.
53
+
54
+ Options can still be provided on the command line. If an option exists
55
+ in both the JSON document and the command line then the command line
56
+ specified value will be used.
57
+
58
+ For examples on usage of this option, please see our “using CLI with
59
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
60
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
61
+
62
+
63
+ Global Parameters
64
+ =================
65
+
66
+ Use "oci --help" for help on global parameters.
67
+
68
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
69
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
70
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
71
+ --generate-param-json-input", "--help", "--latest-version", "--max-
72
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
73
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
74
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
75
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
76
+
77
+
78
+ Example using required parameter
79
+ ================================
80
+
81
+ Copy the following CLI commands into a file named example.sh. Run the
82
+ command by typing “bash example.sh” and replacing the example
83
+ parameters with your own.
84
+
85
+ Please note this sample will only work in the POSIX-compliant bash-
86
+ like shell. You need to set up the OCI configuration and appropriate
87
+ security policies before trying the examples.
88
+
89
+ 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
90
+ 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
91
+ 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
92
+
93
+ 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)
94
+
95
+ oci psa private-service-access get --private-service-access-id $private_service_access_id
@@ -0,0 +1,152 @@
1
+ "list"
2
+ ******
3
+
4
+ * Description
5
+
6
+ * Usage
7
+
8
+ * Optional Parameters
9
+
10
+ * Global Parameters
11
+
12
+ * Example using required parameter
13
+
14
+
15
+ Description
16
+ ===========
17
+
18
+ List the private service accesses in the specified compartment. You
19
+ can optionally filter the list by specifying the OCID of a subnet in
20
+ the cunsumer’s VCN.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci psa private-service-access list [OPTIONS]
27
+
28
+
29
+ Optional Parameters
30
+ ===================
31
+
32
+ --all
33
+
34
+ Fetches all pages of results. If you provide this option, then you
35
+ cannot provide the "--limit" option.
36
+
37
+ --compartment-id, -c [text]
38
+
39
+ The OCID of the compartment in which to list resources.
40
+
41
+ --display-name [text]
42
+
43
+ A filter to return only resources that match the given display name
44
+ exactly.
45
+
46
+ --from-json [text]
47
+
48
+ Provide input to this command as a JSON document from a file using the
49
+ file://path-to/file syntax.
50
+
51
+ The "--generate-full-command-json-input" option can be used to
52
+ generate a sample json file to be used with this command option. The
53
+ key names are pre-populated and match the command option names
54
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
55
+ while the values of the keys need to be populated by the user before
56
+ using the sample file as an input to this command. For any command
57
+ option that accepts multiple values, the value of the key can be a
58
+ JSON array.
59
+
60
+ Options can still be provided on the command line. If an option exists
61
+ in both the JSON document and the command line then the command line
62
+ specified value will be used.
63
+
64
+ For examples on usage of this option, please see our “using CLI with
65
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
66
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
67
+
68
+ --id [text]
69
+
70
+ The OCID of the resource.
71
+
72
+ --lifecycle-state [text]
73
+
74
+ A filter to return only resources that match the given lifecycle
75
+ state. The state value is case-insensitive.
76
+
77
+ Accepted values are:
78
+
79
+ ACTIVE, CREATING, DELETED, DELETING, FAILED, UPDATING
80
+
81
+ --limit [integer]
82
+
83
+ For list pagination. The maximum number of results per page, or items
84
+ to return in a paginated “List” call. For important details about how
85
+ pagination works, see List Pagination.
86
+
87
+ --page [text]
88
+
89
+ For list pagination. The value of the opc-next-page response header
90
+ from the previous “List” call. For important details about how
91
+ pagination works, see List Pagination.
92
+
93
+ --page-size [integer]
94
+
95
+ When fetching results, the number of results to fetch per call. Only
96
+ valid when used with "--all" or "--limit", and ignored otherwise.
97
+
98
+ --service-id [text]
99
+
100
+ The unique identifier of the OCI service.
101
+
102
+ --sort-by [text]
103
+
104
+ The field to sort by. You can provide only one sort order. Default
105
+ order for *timeCreated* is descending. Default order for *displayName*
106
+ is ascending.
107
+
108
+ Accepted values are:
109
+
110
+ displayName, timeCreated
111
+
112
+ --sort-order [text]
113
+
114
+ The sort order to use, either ascending (*ASC*) or descending
115
+ (*DESC*).
116
+
117
+ Accepted values are:
118
+
119
+ ASC, DESC
120
+
121
+ --vcn-id [text]
122
+
123
+ The OCID of the VCN.
124
+
125
+
126
+ Global Parameters
127
+ =================
128
+
129
+ Use "oci --help" for help on global parameters.
130
+
131
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
132
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
133
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
134
+ --generate-param-json-input", "--help", "--latest-version", "--max-
135
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
136
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
137
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
138
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
139
+
140
+
141
+ Example using required parameter
142
+ ================================
143
+
144
+ Copy the following CLI commands into a file named example.sh. Run the
145
+ command by typing “bash example.sh” and replacing the example
146
+ parameters with your own.
147
+
148
+ Please note this sample will only work in the POSIX-compliant bash-
149
+ like shell. You need to set up the OCI configuration and appropriate
150
+ security policies before trying the examples.
151
+
152
+ oci psa private-service-access list