oci-cli 3.72.1__py3-none-any.whl → 3.73.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. oci_cli/bin/dif.psm1 +3 -3
  2. oci_cli/bin/mysql.psm1 +6 -2
  3. oci_cli/bin/opensearch.psm1 +2 -2
  4. oci_cli/bin/queue.psm1 +23 -11
  5. oci_cli/help_text_producer/data_files/text/cmdref/certificates/ca-bundle/get.txt +1 -1
  6. oci_cli/help_text_producer/data_files/text/cmdref/certificates/certificate-authority-bundle/get.txt +5 -5
  7. oci_cli/help_text_producer/data_files/text/cmdref/certificates/certificate-authority-bundle-version/list.txt +1 -2
  8. oci_cli/help_text_producer/data_files/text/cmdref/certificates/certificate-bundle/get.txt +6 -5
  9. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-root-ca-by-generating-config-details.txt +12 -8
  10. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-root-ca-managed-externally.txt +206 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-subordinate-ca-issued-by-internal-ca.txt +12 -8
  12. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-subordinate-ca-managed-internally-issued-by-external-ca.txt +229 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/list.txt +1 -1
  14. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-root-ca-by-generating-config-details.txt +8 -2
  15. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-root-ca-managed-externally.txt +222 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-subordinate-ca-issued-by-internal-ca.txt +8 -2
  17. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-subordinate-ca-managed-internally-issued-by-external-ca.txt +233 -0
  18. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority.txt +8 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt.txt +8 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/apply-host-configuration.txt +0 -26
  21. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/attach.txt +0 -26
  22. oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/check-host-configuration.txt +0 -26
  23. oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/create-dedicated-vm-host-compute-bare-metal-host-placement-constraint-details.txt +12 -0
  24. oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/create-dedicated-vm-host-host-group-placement-constraint-details.txt +12 -0
  25. oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/create.txt +12 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/list.txt +5 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host-instance/list.txt +5 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-configuration/launch-compute-instance.txt +4 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool/create.txt +5 -4
  30. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restart.txt +4 -0
  31. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
  32. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  33. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log/{list-logs.txt → list.txt} +5 -5
  34. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.txt +1 -1
  35. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  36. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  37. oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/add.txt +51 -2
  38. oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/create.txt +50 -2
  39. oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/deploy-artifacts.txt +36 -4
  40. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/agent-endpoint/create.txt +11 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/agent-endpoint/update.txt +11 -0
  42. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/change-compartment.txt +136 -0
  43. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/create.txt +170 -0
  44. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/delete.txt +134 -0
  45. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/get.txt +96 -0
  46. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/list.txt +143 -0
  47. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/update.txt +184 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity.txt +31 -0
  49. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/create-tool-rag-tool-config.txt +37 -0
  50. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/create-tool-sql-tool-config.txt +4 -0
  51. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-rag-tool-config.txt +37 -0
  52. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-sql-tool-config.txt +4 -0
  53. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent.txt +14 -0
  54. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
  55. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry.txt → work-request-log.txt} +3 -3
  56. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
  57. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
  58. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster/list-node-shapes.txt +129 -0
  59. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +2 -0
  60. oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +2 -0
  61. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/export.txt +154 -0
  62. oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
  63. oci_cli/help_text_producer/data_files/text/cmdref/mysql/work-request/cancel.txt +104 -0
  64. oci_cli/help_text_producer/data_files/text/cmdref/mysql/work-request.txt +2 -0
  65. oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +4 -0
  66. oci_cli/help_text_producer/data_files/text/cmdref/network/vcn/create.txt +1 -1
  67. oci_cli/help_text_producer/data_files/text/cmdref/network/vcn/update.txt +1 -1
  68. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/create.txt +205 -0
  69. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/delete.txt +146 -0
  70. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/get.txt +108 -0
  71. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/list.txt +160 -0
  72. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/update.txt +217 -0
  73. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance.txt +22 -0
  74. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance.txt +25 -0
  75. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +14 -0
  76. oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/create.txt +11 -0
  77. oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/update.txt +11 -0
  78. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list-errors.txt → list.txt} +5 -5
  79. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  80. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  81. oci_cli/help_text_producer/data_files/text/cmdref/queue/channels/list-channels.txt +4 -0
  82. oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/delete-message.txt +4 -0
  83. oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/delete-messages.txt +4 -0
  84. oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/get-messages.txt +4 -0
  85. oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/get-stats.txt +4 -0
  86. oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/update-message.txt +4 -0
  87. oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/update-messages.txt +4 -0
  88. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/create.txt +169 -0
  89. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/delete.txt +135 -0
  90. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/get.txt +97 -0
  91. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/update.txt +185 -0
  92. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group-collection/list-consumer-groups.txt +142 -0
  93. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group-collection.txt +15 -0
  94. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group.txt +20 -0
  95. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/queue/create.txt +18 -2
  96. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/queue/purge.txt +19 -6
  97. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/queue/update.txt +16 -0
  98. oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin.txt +14 -0
  99. oci_cli/help_text_producer/data_files/text/cmdref/queue.txt +14 -0
  100. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
  101. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  102. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  103. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  104. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  105. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  106. oci_cli/version.py +1 -1
  107. {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/METADATA +2 -2
  108. {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/RECORD +134 -102
  109. services/certificates/src/oci_cli_certificates/generated/certificates_cli.py +6 -6
  110. services/certificates_management/src/oci_cli_certificates_management/certificatesmanagement_cli_extended.py +126 -0
  111. services/certificates_management/src/oci_cli_certificates_management/generated/certificatesmanagement_cli.py +447 -25
  112. services/core/src/oci_cli_compute/generated/compute_cli.py +126 -174
  113. services/core/src/oci_cli_compute_management/generated/computemanagement_cli.py +13 -4
  114. services/core/src/oci_cli_virtual_network/generated/virtualnetwork_cli.py +2 -2
  115. services/database/src/oci_cli_database/generated/database_cli.py +4 -1
  116. services/dif/src/oci_cli_stack/generated/stack_cli.py +65 -17
  117. services/dif/src/oci_cli_stack/stack_cli_extended.py +9 -9
  118. services/generative_ai_agent/src/oci_cli_generative_ai_agent/generated/generativeaiagent_cli.py +435 -16
  119. services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +56 -0
  120. services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -0
  121. services/mysql/src/oci_cli_work_requests/generated/workrequests_cli.py +26 -0
  122. services/ocvp/src/oci_cli_management_appliance/__init__.py +4 -0
  123. services/ocvp/src/oci_cli_management_appliance/generated/__init__.py +4 -0
  124. services/ocvp/src/oci_cli_management_appliance/generated/client_mappings.py +14 -0
  125. services/ocvp/src/oci_cli_management_appliance/generated/managementappliance_cli.py +341 -0
  126. services/opensearch/src/oci_cli_opensearch_cluster/generated/opensearchcluster_cli.py +16 -8
  127. services/queue/src/oci_cli_queue/generated/queue_cli.py +28 -7
  128. services/queue/src/oci_cli_queue_admin/generated/queueadmin_cli.py +343 -10
  129. services/queue/src/oci_cli_queue_admin/queueadmin_cli_extended.py +54 -7
  130. {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/LICENSE.txt +0 -0
  131. {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  132. {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/WHEEL +0 -0
  133. {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/entry_points.txt +0 -0
  134. {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,205 @@
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 management appliance.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci ocvs management-appliance management-appliance create [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --configuration [complex type]
33
+
34
+ This is a complex type whose value must be valid JSON. The value can
35
+ be provided as a string on the command line or passed in as a file
36
+ using the file://path/to/file syntax.
37
+
38
+ The "--generate-param-json-input" option can be used to generate an
39
+ example of the JSON which must be provided. We recommend storing this
40
+ example in a file, modifying it as needed and then passing it back in
41
+ via the file:// syntax.
42
+
43
+ --connections [complex type]
44
+
45
+ Array of connections for management appliance. This is a complex type
46
+ whose value must be valid JSON. The value can be provided as a string
47
+ on the command line or passed in as a file using the
48
+ file://path/to/file syntax.
49
+
50
+ The "--generate-param-json-input" option can be used to generate an
51
+ example of the JSON which must be provided. We recommend storing this
52
+ example in a file, modifying it as needed and then passing it back in
53
+ via the file:// syntax.
54
+
55
+ --display-name [text]
56
+
57
+ A descriptive name for the management appliance. It must be unique,
58
+ start with a letter, and contain only letters, digits, whitespaces,
59
+ dashes and underscores. Avoid entering confidential information.
60
+
61
+ --sddc-id [text]
62
+
63
+ The OCID of SDDC in OCI, that this appliance is going to be registered
64
+ in.
65
+
66
+
67
+ Optional Parameters
68
+ ===================
69
+
70
+ --defined-tags [complex type]
71
+
72
+ Defined tags for this resource. Each key is predefined and scoped to a
73
+ namespace. For more information, see Resource Tags.
74
+
75
+ Example:
76
+
77
+ {"Operations": {"CostCenter": "42"}}
78
+
79
+ This is a complex type whose value must be valid JSON. The value can
80
+ be provided as a string on the command line or passed in as a file
81
+ using the file://path/to/file syntax.
82
+
83
+ The "--generate-param-json-input" option can be used to generate an
84
+ example of the JSON which must be provided. We recommend storing this
85
+ example in a file, modifying it as needed and then passing it back in
86
+ via the file:// syntax.
87
+
88
+ --freeform-tags [complex type]
89
+
90
+ Free-form tags for this resource. Each tag is a simple key-value pair
91
+ with no predefined name, type, or namespace. For more information, see
92
+ Resource Tags.
93
+
94
+ Example:
95
+
96
+ {"Department": "Finance"}
97
+
98
+ This is a complex type whose value must be valid JSON. The value can
99
+ be provided as a string on the command line or passed in as a file
100
+ using the file://path/to/file syntax.
101
+
102
+ The "--generate-param-json-input" option can be used to generate an
103
+ example of the JSON which must be provided. We recommend storing this
104
+ example in a file, modifying it as needed and then passing it back in
105
+ via the file:// syntax.
106
+
107
+ --from-json [text]
108
+
109
+ Provide input to this command as a JSON document from a file using the
110
+ file://path-to/file syntax.
111
+
112
+ The "--generate-full-command-json-input" option can be used to
113
+ generate a sample json file to be used with this command option. The
114
+ key names are pre-populated and match the command option names
115
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
116
+ while the values of the keys need to be populated by the user before
117
+ using the sample file as an input to this command. For any command
118
+ option that accepts multiple values, the value of the key can be a
119
+ JSON array.
120
+
121
+ Options can still be provided on the command line. If an option exists
122
+ in both the JSON document and the command line then the command line
123
+ specified value will be used.
124
+
125
+ For examples on usage of this option, please see our “using CLI with
126
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
127
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
128
+
129
+ --max-wait-seconds [integer]
130
+
131
+ The maximum time to wait for the work request to reach the state
132
+ defined by "--wait-for-state". Defaults to 1200 seconds.
133
+
134
+ --public-ssh-keys [text]
135
+
136
+ One or more public SSH keys to be included in *~/.ssh/authorized_keys*
137
+ file for Management Appliance compute instance. Several public SSH
138
+ keys must be separate by newline character.
139
+
140
+ --wait-for-state [text]
141
+
142
+ This operation asynchronously creates, modifies or deletes a resource
143
+ and uses a work request to track the progress of the operation.
144
+ Specify this option to perform the action and then wait until the work
145
+ request reaches a certain state. Multiple states can be specified,
146
+ returning on the first state. For example, "--wait-for-state"
147
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
148
+ lifecycle state is reached first. If timeout is reached, a return code
149
+ of 2 is returned. For any other error, a return code of 1 is returned.
150
+
151
+ Accepted values are:
152
+
153
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED
154
+
155
+ --wait-interval-seconds [integer]
156
+
157
+ Check every "--wait-interval-seconds" to see whether the work request
158
+ has reached the state defined by "--wait-for-state". Defaults to 30
159
+ seconds.
160
+
161
+
162
+ Global Parameters
163
+ =================
164
+
165
+ Use "oci --help" for help on global parameters.
166
+
167
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
168
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
169
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
170
+ endpoint", "--generate-full-command-json-input", "--generate-param-
171
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
172
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
173
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
174
+ realm-specific-endpoint", "--region", "--release-info", "--request-
175
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
176
+
177
+
178
+ Example using required parameter
179
+ ================================
180
+
181
+ Copy and paste the following example into a JSON file, replacing the
182
+ example parameters with your own.
183
+
184
+ oci ocvs sddc create --generate-param-json-input initial-configuration > initial-configuration.json
185
+
186
+ oci ocvs management-appliance management-appliance create --generate-param-json-input configuration > configuration.json
187
+ oci ocvs management-appliance management-appliance create --generate-param-json-input connections > connections.json
188
+
189
+ Copy the following CLI commands into a file named example.sh. Run the
190
+ command by typing “bash example.sh” and replacing the example
191
+ parameters with your own.
192
+
193
+ Please note this sample will only work in the POSIX-compliant bash-
194
+ like shell. You need to set up the OCI configuration and appropriate
195
+ security policies before trying the examples.
196
+
197
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-compartment-id
198
+ export hcx_mode=<substitute-value-of-hcx_mode> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-hcx-mode
199
+ export ssh_authorized_keys=<substitute-value-of-ssh_authorized_keys> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-ssh-authorized-keys
200
+ export vmware_version=<substitute-value-of-vmware_version> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-vmware-version
201
+ export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/management-appliance/management-appliance/create.html#cmdoption-display-name
202
+
203
+ sddc_id=$(oci ocvs sddc create --compartment-id $compartment_id --hcx-mode $hcx_mode --initial-configuration file://initial-configuration.json --ssh-authorized-keys $ssh_authorized_keys --vmware-version $vmware_version --query data.id --raw-output)
204
+
205
+ oci ocvs management-appliance management-appliance create --configuration file://configuration.json --connections file://connections.json --display-name $display_name --sddc-id $sddc_id
@@ -0,0 +1,146 @@
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 management appliance specified.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci ocvs management-appliance management-appliance delete [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --management-appliance-id [text]
33
+
34
+ The OCID of the management appliance.
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, CANCELED, CANCELING, 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", "--enable-dual-stack", "--enable-propagation", "--
109
+ endpoint", "--generate-full-command-json-input", "--generate-param-
110
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
111
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
112
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
113
+ realm-specific-endpoint", "--region", "--release-info", "--request-
114
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
115
+
116
+
117
+ Example using required parameter
118
+ ================================
119
+
120
+ Copy and paste the following example into a JSON file, replacing the
121
+ example parameters with your own.
122
+
123
+ oci ocvs sddc create --generate-param-json-input initial-configuration > initial-configuration.json
124
+
125
+ oci ocvs management-appliance management-appliance create --generate-param-json-input configuration > configuration.json
126
+ oci ocvs management-appliance management-appliance create --generate-param-json-input connections > connections.json
127
+
128
+ Copy the following CLI commands into a file named example.sh. Run the
129
+ command by typing “bash example.sh” and replacing the example
130
+ parameters with your own.
131
+
132
+ Please note this sample will only work in the POSIX-compliant bash-
133
+ like shell. You need to set up the OCI configuration and appropriate
134
+ security policies before trying the examples.
135
+
136
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-compartment-id
137
+ export hcx_mode=<substitute-value-of-hcx_mode> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-hcx-mode
138
+ export ssh_authorized_keys=<substitute-value-of-ssh_authorized_keys> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-ssh-authorized-keys
139
+ export vmware_version=<substitute-value-of-vmware_version> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-vmware-version
140
+ export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/management-appliance/management-appliance/create.html#cmdoption-display-name
141
+
142
+ sddc_id=$(oci ocvs sddc create --compartment-id $compartment_id --hcx-mode $hcx_mode --initial-configuration file://initial-configuration.json --ssh-authorized-keys $ssh_authorized_keys --vmware-version $vmware_version --query data.id --raw-output)
143
+
144
+ management_appliance_id=$(oci ocvs management-appliance management-appliance create --configuration file://configuration.json --connections file://connections.json --display-name $display_name --sddc-id $sddc_id --query data.id --raw-output)
145
+
146
+ oci ocvs management-appliance management-appliance delete --management-appliance-id $management_appliance_id
@@ -0,0 +1,108 @@
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
+ Get the specified management appliance information.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci ocvs management-appliance management-appliance get [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --management-appliance-id [text]
33
+
34
+ The OCID of the management appliance.
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", "--enable-dual-stack", "--enable-propagation", "--
71
+ endpoint", "--generate-full-command-json-input", "--generate-param-
72
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
73
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
74
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
75
+ realm-specific-endpoint", "--region", "--release-info", "--request-
76
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
77
+
78
+
79
+ Example using required parameter
80
+ ================================
81
+
82
+ Copy and paste the following example into a JSON file, replacing the
83
+ example parameters with your own.
84
+
85
+ oci ocvs sddc create --generate-param-json-input initial-configuration > initial-configuration.json
86
+
87
+ oci ocvs management-appliance management-appliance create --generate-param-json-input configuration > configuration.json
88
+ oci ocvs management-appliance management-appliance create --generate-param-json-input connections > connections.json
89
+
90
+ Copy the following CLI commands into a file named example.sh. Run the
91
+ command by typing “bash example.sh” and replacing the example
92
+ parameters with your own.
93
+
94
+ Please note this sample will only work in the POSIX-compliant bash-
95
+ like shell. You need to set up the OCI configuration and appropriate
96
+ security policies before trying the examples.
97
+
98
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-compartment-id
99
+ export hcx_mode=<substitute-value-of-hcx_mode> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-hcx-mode
100
+ export ssh_authorized_keys=<substitute-value-of-ssh_authorized_keys> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-ssh-authorized-keys
101
+ export vmware_version=<substitute-value-of-vmware_version> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/sddc/create.html#cmdoption-vmware-version
102
+ export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/management-appliance/management-appliance/create.html#cmdoption-display-name
103
+
104
+ sddc_id=$(oci ocvs sddc create --compartment-id $compartment_id --hcx-mode $hcx_mode --initial-configuration file://initial-configuration.json --ssh-authorized-keys $ssh_authorized_keys --vmware-version $vmware_version --query data.id --raw-output)
105
+
106
+ management_appliance_id=$(oci ocvs management-appliance management-appliance create --configuration file://configuration.json --connections file://connections.json --display-name $display_name --sddc-id $sddc_id --query data.id --raw-output)
107
+
108
+ oci ocvs management-appliance management-appliance get --management-appliance-id $management_appliance_id
@@ -0,0 +1,160 @@
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
+ Lists management appliances in compartment specified. List can be
21
+ filtered by management appliance, compartment, name and lifecycle
22
+ state.
23
+
24
+
25
+ Usage
26
+ =====
27
+
28
+ oci ocvs management-appliance management-appliance list [OPTIONS]
29
+
30
+
31
+ Required Parameters
32
+ ===================
33
+
34
+ --compartment-id, -c [text]
35
+
36
+ The OCID of the compartment.
37
+
38
+
39
+ Optional Parameters
40
+ ===================
41
+
42
+ --all
43
+
44
+ Fetches all pages of results. If you provide this option, then you
45
+ cannot provide the "--limit" option.
46
+
47
+ --display-name [text]
48
+
49
+ A filter to return only resources that match the given display name
50
+ exactly.
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
+ --lifecycle-state [text]
75
+
76
+ The lifecycle state of the management appliance.
77
+
78
+ Accepted values are:
79
+
80
+ ACTIVE, CREATING, DELETED, DELETING, FAILED, NEEDS_ATTENTION, UPDATING
81
+
82
+ --limit [integer]
83
+
84
+ For list pagination. The maximum number of results per page, or items
85
+ to return in a paginated “List” call. For important details about how
86
+ pagination works, see List Pagination.
87
+
88
+ --management-appliance-id [text]
89
+
90
+ The OCID of the management appliance.
91
+
92
+ --page [text]
93
+
94
+ For list pagination. The value of the *opc-next-page* response header
95
+ from the previous “List” call. For important details about how
96
+ pagination works, see List Pagination.
97
+
98
+ --page-size [integer]
99
+
100
+ When fetching results, the number of results to fetch per call. Only
101
+ valid when used with "--all" or "--limit", and ignored otherwise.
102
+
103
+ --sort-by [text]
104
+
105
+ The field to sort by. You can provide one sort order (*sortOrder*).
106
+ Default order for TIMECREATED is descending. Default order for
107
+ DISPLAYNAME is ascending. The DISPLAYNAME sort order is case
108
+ sensitive.
109
+
110
+ **Note:** In general, some “List” operations (for example,
111
+ *ListInstances*) let you optionally filter by availability domain if
112
+ the scope of the resource type is within a single availability domain.
113
+ If you call one of these “List” operations without specifying an
114
+ availability domain, the resources are grouped by availability domain,
115
+ then sorted.
116
+
117
+ Accepted values are:
118
+
119
+ displayName, timeCreated
120
+
121
+ --sort-order [text]
122
+
123
+ The sort order to use, either ascending (*ASC*) or descending
124
+ (*DESC*). The DISPLAYNAME sort order is case sensitive.
125
+
126
+ Accepted values are:
127
+
128
+ ASC, DESC
129
+
130
+
131
+ Global Parameters
132
+ =================
133
+
134
+ Use "oci --help" for help on global parameters.
135
+
136
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
137
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
138
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
139
+ endpoint", "--generate-full-command-json-input", "--generate-param-
140
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
141
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
142
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
143
+ realm-specific-endpoint", "--region", "--release-info", "--request-
144
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
145
+
146
+
147
+ Example using required parameter
148
+ ================================
149
+
150
+ Copy the following CLI commands into a file named example.sh. Run the
151
+ command by typing “bash example.sh” and replacing the example
152
+ parameters with your own.
153
+
154
+ Please note this sample will only work in the POSIX-compliant bash-
155
+ like shell. You need to set up the OCI configuration and appropriate
156
+ security policies before trying the examples.
157
+
158
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ocvs/management-appliance/management-appliance/list.html#cmdoption-compartment-id
159
+
160
+ oci ocvs management-appliance management-appliance list --compartment-id $compartment_id