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
oci_cli/bin/psa.psm1 ADDED
@@ -0,0 +1,51 @@
1
+ function GetOciTopLevelCommand_psa() {
2
+ return 'psa'
3
+ }
4
+
5
+ function GetOciSubcommands_psa() {
6
+ $ociSubcommands = @{
7
+ 'psa' = 'private-service-access psa-services work-request work-request-error work-request-log'
8
+ 'psa private-service-access' = 'change-compartment create delete get list update'
9
+ 'psa psa-services' = 'list'
10
+ 'psa work-request' = 'cancel get list'
11
+ 'psa work-request-error' = 'list'
12
+ 'psa work-request-log' = 'list'
13
+ }
14
+ return $ociSubcommands
15
+ }
16
+
17
+ function GetOciCommandsToLongParams_psa() {
18
+ $ociCommandsToLongParams = @{
19
+ 'psa private-service-access change-compartment' = 'compartment-id from-json help if-match max-wait-seconds private-service-access-id wait-for-state wait-interval-seconds'
20
+ 'psa private-service-access create' = 'compartment-id defined-tags description display-name freeform-tags from-json help ipv4-ip max-wait-seconds nsg-ids security-attributes service-id subnet-id wait-for-state wait-interval-seconds'
21
+ 'psa private-service-access delete' = 'force from-json help if-match max-wait-seconds private-service-access-id wait-for-state wait-interval-seconds'
22
+ 'psa private-service-access get' = 'from-json help private-service-access-id'
23
+ 'psa private-service-access list' = 'all compartment-id display-name from-json help id lifecycle-state limit page page-size service-id sort-by sort-order vcn-id'
24
+ 'psa private-service-access update' = 'defined-tags description display-name force freeform-tags from-json help if-match max-wait-seconds nsg-ids private-service-access-id security-attributes wait-for-state wait-interval-seconds'
25
+ 'psa psa-services list' = 'all display-name from-json help limit page page-size service-id sort-by sort-order'
26
+ 'psa work-request cancel' = 'force from-json help if-match work-request-id'
27
+ 'psa work-request get' = 'from-json help work-request-id'
28
+ 'psa work-request list' = 'all compartment-id from-json help limit page page-size resource-id sort-by sort-order status work-request-id'
29
+ 'psa work-request-error list' = 'all from-json help limit page page-size sort-by sort-order work-request-id'
30
+ 'psa work-request-log list' = 'all from-json help limit page page-size sort-by sort-order work-request-id'
31
+ }
32
+ return $ociCommandsToLongParams
33
+ }
34
+
35
+ function GetOciCommandsToShortParams_psa() {
36
+ $ociCommandsToShortParams = @{
37
+ 'psa private-service-access change-compartment' = '? c h'
38
+ 'psa private-service-access create' = '? c h'
39
+ 'psa private-service-access delete' = '? h'
40
+ 'psa private-service-access get' = '? h'
41
+ 'psa private-service-access list' = '? c h'
42
+ 'psa private-service-access update' = '? h'
43
+ 'psa psa-services list' = '? h'
44
+ 'psa work-request cancel' = '? h'
45
+ 'psa work-request get' = '? h'
46
+ 'psa work-request list' = '? c h'
47
+ 'psa work-request-error list' = '? h'
48
+ 'psa work-request-log list' = '? h'
49
+ }
50
+ return $ociCommandsToShortParams
51
+ }
@@ -145,6 +145,17 @@ hostnames follow the format. The formatter does not retroactively
145
145
  change instance’s hostnames, only instance hostnames in the future
146
146
  follow the format
147
147
 
148
+ --lifecycle-management [complex type]
149
+
150
+ This is a complex type whose value must be valid JSON. The value can
151
+ be provided as a string on the command line or passed in as a file
152
+ using the file://path/to/file syntax.
153
+
154
+ The "--generate-param-json-input" option can be used to generate an
155
+ example of the JSON which must be provided. We recommend storing this
156
+ example in a file, modifying it as needed and then passing it back in
157
+ via the file:// syntax.
158
+
148
159
  --load-balancers [complex type]
149
160
 
150
161
  The load balancers to attach to the instance pool.
@@ -134,6 +134,17 @@ hostnames follow the format. The formatter does not retroactively
134
134
  change instance’s hostnames, only instance hostnames in the future
135
135
  follow the format
136
136
 
137
+ --lifecycle-management [complex type]
138
+
139
+ This is a complex type whose value must be valid JSON. The value can
140
+ be provided as a string on the command line or passed in as a file
141
+ using the file://path/to/file syntax.
142
+
143
+ The "--generate-param-json-input" option can be used to generate an
144
+ example of the JSON which must be provided. We recommend storing this
145
+ example in a file, modifying it as needed and then passing it back in
146
+ via the file:// syntax.
147
+
137
148
  --max-wait-seconds [integer]
138
149
 
139
150
  The maximum time to wait for the resource to reach the lifecycle state
@@ -83,7 +83,7 @@ is returned.
83
83
 
84
84
  Accepted values are:
85
85
 
86
- ACTIVE, ATTACHING, DETACHING
86
+ ACTIVE, ATTACHING, DETACHING, TERMINATION_AWAIT, TERMINATION_PROCEED
87
87
 
88
88
  --wait-interval-seconds [integer]
89
89
 
@@ -0,0 +1,116 @@
1
+ "termination-proceed"
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
+ Marks an instance in an instance pool to be ready for termination.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci compute-management instance-pool-instance termination-proceed [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --instance-id [text]
33
+
34
+ The OCID of the instance.
35
+
36
+ --instance-pool-id [text]
37
+
38
+ The OCID of the instance pool.
39
+
40
+
41
+ Optional Parameters
42
+ ===================
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
+
67
+ Global Parameters
68
+ =================
69
+
70
+ Use "oci --help" for help on global parameters.
71
+
72
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
73
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
74
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
75
+ --generate-param-json-input", "--help", "--latest-version", "--max-
76
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
77
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
78
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
79
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
80
+
81
+
82
+ Example using required parameter
83
+ ================================
84
+
85
+ Copy and paste the following example into a JSON file, replacing the
86
+ example parameters with your own.
87
+
88
+ oci compute-management instance-configuration create --generate-param-json-input instance-details > instance-details.json
89
+
90
+ oci compute-management instance-pool create --generate-param-json-input placement-configurations > placement-configurations.json
91
+
92
+ Copy the following CLI commands into a file named example.sh. Run the
93
+ command by typing “bash example.sh” and replacing the example
94
+ parameters with your own.
95
+
96
+ Please note this sample will only work in the POSIX-compliant bash-
97
+ like shell. You need to set up the OCI configuration and appropriate
98
+ security policies before trying the examples.
99
+
100
+ export cidr_block=<substitute-value-of-cidr_block> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/network/vcn/create.html#cmdoption-cidr-block
101
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/compute-management/instance-configuration/create.html#cmdoption-compartment-id
102
+ export availability_domain=<substitute-value-of-availability_domain> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/compute/instance/launch.html#cmdoption-availability-domain
103
+ export image_id=<substitute-value-of-image_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/compute/instance/launch.html#cmdoption-image-id
104
+ export size=<substitute-value-of-size> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/compute-management/instance-pool/create.html#cmdoption-size
105
+
106
+ vcn_id=$(oci network vcn create --cidr-block $cidr_block --compartment-id $compartment_id --query data.id --raw-output)
107
+
108
+ subnet_id=$(oci network subnet create --compartment-id $compartment_id --vcn-id $vcn_id --query data.id --raw-output)
109
+
110
+ instance_id=$(oci compute instance launch --availability-domain $availability_domain --compartment-id $compartment_id --image-id $image_id --subnet-id $subnet_id --query data.id --raw-output)
111
+
112
+ instance_configuration_id=$(oci compute-management instance-configuration create --compartment-id $compartment_id --instance-details file://instance-details.json --query data.id --raw-output)
113
+
114
+ instance_pool_id=$(oci compute-management instance-pool create --compartment-id $compartment_id --instance-configuration-id $instance_configuration_id --placement-configurations file://placement-configurations.json --size $size --query data.id --raw-output)
115
+
116
+ oci compute-management instance-pool-instance termination-proceed --instance-id $instance_id --instance-pool-id $instance_pool_id
@@ -16,3 +16,5 @@ Available Commands
16
16
  * detach
17
17
 
18
18
  * get
19
+
20
+ * termination-proceed
@@ -90,3 +90,5 @@ Available Commands
90
90
  * detach
91
91
 
92
92
  * get
93
+
94
+ * termination-proceed
@@ -0,0 +1,129 @@
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 the specified Exadata Database Node Snapshot.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci db dbnode-snapshot delete [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --dbnode-snapshot-id [text]
33
+
34
+ The Exadata Database Node Snapshot OCID.
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, FAILED, IN_PROGRESS, SUCCEEDED
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 dbnode_snapshot_id=<substitute-value-of-dbnode_snapshot_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/dbnode-snapshot/delete.html#cmdoption-dbnode-snapshot-id
128
+
129
+ oci db dbnode-snapshot delete --dbnode-snapshot-id $dbnode_snapshot_id
@@ -0,0 +1,92 @@
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 the specified Exadata Database Node Snapshot in
21
+ the specified compartment.
22
+
23
+
24
+ Usage
25
+ =====
26
+
27
+ oci db dbnode-snapshot get [OPTIONS]
28
+
29
+
30
+ Required Parameters
31
+ ===================
32
+
33
+ --dbnode-snapshot-id [text]
34
+
35
+ The Exadata Database Node Snapshot OCID.
36
+
37
+
38
+ Optional Parameters
39
+ ===================
40
+
41
+ --from-json [text]
42
+
43
+ Provide input to this command as a JSON document from a file using the
44
+ file://path-to/file syntax.
45
+
46
+ The "--generate-full-command-json-input" option can be used to
47
+ generate a sample json file to be used with this command option. The
48
+ key names are pre-populated and match the command option names
49
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
50
+ while the values of the keys need to be populated by the user before
51
+ using the sample file as an input to this command. For any command
52
+ option that accepts multiple values, the value of the key can be a
53
+ JSON array.
54
+
55
+ Options can still be provided on the command line. If an option exists
56
+ in both the JSON document and the command line then the command line
57
+ specified value will be used.
58
+
59
+ For examples on usage of this option, please see our “using CLI with
60
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
61
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
62
+
63
+
64
+ Global Parameters
65
+ =================
66
+
67
+ Use "oci --help" for help on global parameters.
68
+
69
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
70
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
71
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
72
+ --generate-param-json-input", "--help", "--latest-version", "--max-
73
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
74
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
75
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
76
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
77
+
78
+
79
+ Example using required parameter
80
+ ================================
81
+
82
+ Copy the following CLI commands into a file named example.sh. Run the
83
+ command by typing “bash example.sh” and replacing the example
84
+ parameters with your own.
85
+
86
+ Please note this sample will only work in the POSIX-compliant bash-
87
+ like shell. You need to set up the OCI configuration and appropriate
88
+ security policies before trying the examples.
89
+
90
+ export dbnode_snapshot_id=<substitute-value-of-dbnode_snapshot_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/dbnode-snapshot/get.html#cmdoption-dbnode-snapshot-id
91
+
92
+ oci db dbnode-snapshot get --dbnode-snapshot-id $dbnode_snapshot_id
@@ -0,0 +1,153 @@
1
+ "list"
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 a list of the Exadata Database Node Snapshots in the specified
21
+ compartment.
22
+
23
+
24
+ Usage
25
+ =====
26
+
27
+ oci db dbnode-snapshot list [OPTIONS]
28
+
29
+
30
+ Required Parameters
31
+ ===================
32
+
33
+ --compartment-id, -c [text]
34
+
35
+ The compartment OCID.
36
+
37
+
38
+ Optional Parameters
39
+ ===================
40
+
41
+ --all
42
+
43
+ Fetches all pages of results. If you provide this option, then you
44
+ cannot provide the "--limit" option.
45
+
46
+ --cluster-id [text]
47
+
48
+ A filter to return only Exadata Database Node Snapshots that match the
49
+ given VM cluster.
50
+
51
+ --from-json [text]
52
+
53
+ Provide input to this command as a JSON document from a file using the
54
+ file://path-to/file syntax.
55
+
56
+ The "--generate-full-command-json-input" option can be used to
57
+ generate a sample json file to be used with this command option. The
58
+ key names are pre-populated and match the command option names
59
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
60
+ while the values of the keys need to be populated by the user before
61
+ using the sample file as an input to this command. For any command
62
+ option that accepts multiple values, the value of the key can be a
63
+ JSON array.
64
+
65
+ Options can still be provided on the command line. If an option exists
66
+ in both the JSON document and the command line then the command line
67
+ specified value will be used.
68
+
69
+ For examples on usage of this option, please see our “using CLI with
70
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
71
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
72
+
73
+ --lifecycle-state [text]
74
+
75
+ A filter to return only Exadata Database Snapshots that match the
76
+ given lifecycle state exactly.
77
+
78
+ Accepted values are:
79
+
80
+ AVAILABLE, CREATING, FAILED, MOUNTED, MOUNTING, TERMINATED, TERMINATING, UNMOUNTING
81
+
82
+ --limit [integer]
83
+
84
+ The maximum number of items to return per page.
85
+
86
+ --name [text]
87
+
88
+ A filter to return only resources that match the entire name given.
89
+ The match is not case sensitive.
90
+
91
+ --page [text]
92
+
93
+ The pagination token to continue listing from.
94
+
95
+ --page-size [integer]
96
+
97
+ When fetching results, the number of results to fetch per call. Only
98
+ valid when used with "--all" or "--limit", and ignored otherwise.
99
+
100
+ --sort-by [text]
101
+
102
+ The field to sort by. You can provide one sort order (*sortOrder*).
103
+ Default order for TIMECREATED is descending. Default order for NAME
104
+ is ascending. The NAME sort order is case sensitive.
105
+
106
+ Accepted values are:
107
+
108
+ NAME, TIMECREATED
109
+
110
+ --sort-order [text]
111
+
112
+ The sort order to use, either ascending (*ASC*) or descending
113
+ (*DESC*).
114
+
115
+ Accepted values are:
116
+
117
+ ASC, DESC
118
+
119
+ --source-dbnode-id [text]
120
+
121
+ A filter to return only Exadata Database Snapshots that match the
122
+ given database node.
123
+
124
+
125
+ Global Parameters
126
+ =================
127
+
128
+ Use "oci --help" for help on global parameters.
129
+
130
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
131
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
132
+ defaults-file", "--endpoint", "--generate-full-command-json-input", "
133
+ --generate-param-json-input", "--help", "--latest-version", "--max-
134
+ retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
135
+ "--output", "--profile", "--proxy", "--query", "--raw-output", "--
136
+ read-timeout", "--realm-specific-endpoint", "--region", "--release-
137
+ info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
138
+
139
+
140
+ Example using required parameter
141
+ ================================
142
+
143
+ Copy the following CLI commands into a file named example.sh. Run the
144
+ command by typing “bash example.sh” and replacing the example
145
+ parameters with your own.
146
+
147
+ Please note this sample will only work in the POSIX-compliant bash-
148
+ like shell. You need to set up the OCI configuration and appropriate
149
+ security policies before trying the examples.
150
+
151
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/db/dbnode-snapshot/list.html#cmdoption-compartment-id
152
+
153
+ oci db dbnode-snapshot list --compartment-id $compartment_id