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,135 @@
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 consumer group resource by identifier.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci queue queue-admin consumer-group delete [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --consumer-group-id [text]
33
+
34
+ The unique consumer group identifier.
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 the following CLI commands into a file named example.sh. Run the
121
+ command by typing “bash example.sh” and replacing the example
122
+ parameters with your own.
123
+
124
+ Please note this sample will only work in the POSIX-compliant bash-
125
+ like shell. You need to set up the OCI configuration and appropriate
126
+ security policies before trying the examples.
127
+
128
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/queue/queue-admin/queue/create.html#cmdoption-compartment-id
129
+ export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/queue/queue-admin/queue/create.html#cmdoption-display-name
130
+
131
+ queue_id=$(oci queue queue-admin queue create --compartment-id $compartment_id --display-name $display_name --query data.id --raw-output)
132
+
133
+ consumer_group_id=$(oci queue queue-admin consumer-group create --display-name $display_name --queue-id $queue_id --query data.id --raw-output)
134
+
135
+ oci queue queue-admin consumer-group delete --consumer-group-id $consumer_group_id
@@ -0,0 +1,97 @@
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 a consumer group by identifier.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci queue queue-admin consumer-group get [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --consumer-group-id [text]
33
+
34
+ The unique consumer group identifier.
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 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 compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/queue/queue-admin/queue/create.html#cmdoption-compartment-id
91
+ export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/queue/queue-admin/queue/create.html#cmdoption-display-name
92
+
93
+ queue_id=$(oci queue queue-admin queue create --compartment-id $compartment_id --display-name $display_name --query data.id --raw-output)
94
+
95
+ consumer_group_id=$(oci queue queue-admin consumer-group create --display-name $display_name --queue-id $queue_id --query data.id --raw-output)
96
+
97
+ oci queue queue-admin consumer-group get --consumer-group-id $consumer_group_id
@@ -0,0 +1,185 @@
1
+ "update"
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
+ Updates the specified consumer group.
21
+
22
+
23
+ Usage
24
+ =====
25
+
26
+ oci queue queue-admin consumer-group update [OPTIONS]
27
+
28
+
29
+ Required Parameters
30
+ ===================
31
+
32
+ --consumer-group-id [text]
33
+
34
+ The unique consumer group identifier.
35
+
36
+
37
+ Optional Parameters
38
+ ===================
39
+
40
+ --defined-tags [complex type]
41
+
42
+ Defined tags for this resource. Each key is predefined and scoped to a
43
+ namespace. Example: *{“foo-namespace”: {“bar-key”: “value”}}* This is
44
+ a complex type whose value must be valid JSON. The value can be
45
+ provided as a string on the command line or passed in as a file using
46
+ the file://path/to/file syntax.
47
+
48
+ The "--generate-param-json-input" option can be used to generate an
49
+ example of the JSON which must be provided. We recommend storing this
50
+ example in a file, modifying it as needed and then passing it back in
51
+ via the file:// syntax.
52
+
53
+ --display-name [text]
54
+
55
+ The OCID of the consumer group.
56
+
57
+ --dlq-delivery-count [integer]
58
+
59
+ The number of times a message can be delivered to a consumer before
60
+ being moved to the dead letter queue. A value of 0 indicates that the
61
+ DLQ is not used. Changing that value to a lower threshold does not
62
+ retroactively move in-flight messages in the dead letter queue. A
63
+ value of -1 unsets the delivery count for the consumer group (i.e. it
64
+ will now be using the value set at the queue level).
65
+
66
+ --filter [text]
67
+
68
+ The filter used by the consumer group. Only messages matching the
69
+ filter will be available by consumers of the group.
70
+
71
+ --force
72
+
73
+ Perform update without prompting for confirmation.
74
+
75
+ --freeform-tags [complex type]
76
+
77
+ Simple key-value pair that is applied without any predefined name,
78
+ type or scope. Exists for cross-compatibility only. Example: *{“bar-
79
+ key”: “value”}* This is a complex type whose value must be valid JSON.
80
+ The value can be provided as a string on the command line or passed in
81
+ as a file 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
+ --from-json [text]
89
+
90
+ Provide input to this command as a JSON document from a file using the
91
+ file://path-to/file syntax.
92
+
93
+ The "--generate-full-command-json-input" option can be used to
94
+ generate a sample json file to be used with this command option. The
95
+ key names are pre-populated and match the command option names
96
+ (converted to camelCase format, e.g. compartment-id –> compartmentId),
97
+ while the values of the keys need to be populated by the user before
98
+ using the sample file as an input to this command. For any command
99
+ option that accepts multiple values, the value of the key can be a
100
+ JSON array.
101
+
102
+ Options can still be provided on the command line. If an option exists
103
+ in both the JSON document and the command line then the command line
104
+ specified value will be used.
105
+
106
+ For examples on usage of this option, please see our “using CLI with
107
+ advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
108
+ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
109
+
110
+ --if-match [text]
111
+
112
+ For optimistic concurrency control. In the PUT or DELETE call for a
113
+ resource, set the *if-match* parameter to the value of the etag from a
114
+ previous GET or POST response for that resource. The resource will be
115
+ updated or deleted only if the etag you provide matches the resource’s
116
+ current etag value.
117
+
118
+ --is-enabled [boolean]
119
+
120
+ Used to enable or disable the consumer group. An enabled consumer
121
+ group will have a lifecycle state of ACTIVE, while a disabled will
122
+ have its state as INACTIVE.
123
+
124
+ --max-wait-seconds [integer]
125
+
126
+ The maximum time to wait for the work request to reach the state
127
+ defined by "--wait-for-state". Defaults to 1200 seconds.
128
+
129
+ --wait-for-state [text]
130
+
131
+ This operation asynchronously creates, modifies or deletes a resource
132
+ and uses a work request to track the progress of the operation.
133
+ Specify this option to perform the action and then wait until the work
134
+ request reaches a certain state. Multiple states can be specified,
135
+ returning on the first state. For example, "--wait-for-state"
136
+ SUCCEEDED "--wait-for-state" FAILED would return on whichever
137
+ lifecycle state is reached first. If timeout is reached, a return code
138
+ of 2 is returned. For any other error, a return code of 1 is returned.
139
+
140
+ Accepted values are:
141
+
142
+ ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED
143
+
144
+ --wait-interval-seconds [integer]
145
+
146
+ Check every "--wait-interval-seconds" to see whether the work request
147
+ has reached the state defined by "--wait-for-state". Defaults to 30
148
+ seconds.
149
+
150
+
151
+ Global Parameters
152
+ =================
153
+
154
+ Use "oci --help" for help on global parameters.
155
+
156
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
157
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
158
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
159
+ endpoint", "--generate-full-command-json-input", "--generate-param-
160
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
161
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
162
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
163
+ realm-specific-endpoint", "--region", "--release-info", "--request-
164
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
165
+
166
+
167
+ Example using required parameter
168
+ ================================
169
+
170
+ Copy the following CLI commands into a file named example.sh. Run the
171
+ command by typing “bash example.sh” and replacing the example
172
+ parameters with your own.
173
+
174
+ Please note this sample will only work in the POSIX-compliant bash-
175
+ like shell. You need to set up the OCI configuration and appropriate
176
+ security policies before trying the examples.
177
+
178
+ export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/queue/queue-admin/queue/create.html#cmdoption-compartment-id
179
+ export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/queue/queue-admin/queue/create.html#cmdoption-display-name
180
+
181
+ queue_id=$(oci queue queue-admin queue create --compartment-id $compartment_id --display-name $display_name --query data.id --raw-output)
182
+
183
+ consumer_group_id=$(oci queue queue-admin consumer-group create --display-name $display_name --queue-id $queue_id --query data.id --raw-output)
184
+
185
+ oci queue queue-admin consumer-group update --consumer-group-id $consumer_group_id
@@ -0,0 +1,142 @@
1
+ "list-consumer-groups"
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
+ Returns a list of consumer groups.
19
+
20
+
21
+ Usage
22
+ =====
23
+
24
+ oci queue queue-admin consumer-group-collection list-consumer-groups [OPTIONS]
25
+
26
+
27
+ Optional Parameters
28
+ ===================
29
+
30
+ --all
31
+
32
+ Fetches all pages of results. If you provide this option, then you
33
+ cannot provide the "--limit" option.
34
+
35
+ --display-name [text]
36
+
37
+ A filter to return only resources that match the entire display name
38
+ given.
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
+ --id [text]
63
+
64
+ The unique consumer group identifier.
65
+
66
+ --lifecycle-state [text]
67
+
68
+ A filter to return only resources their lifecycleState matches the
69
+ given lifecycleState.
70
+
71
+ Accepted values are:
72
+
73
+ ACTIVE, CREATING, DELETED, DELETING, FAILED, INACTIVE, UPDATING
74
+
75
+ --limit [integer]
76
+
77
+ For list pagination. The maximum number of results per page, or items
78
+ to return in a paginated “List” call. For important details about how
79
+ pagination works, see List Pagination.
80
+
81
+ --page [text]
82
+
83
+ For list pagination. The value of the opc-next-page response header
84
+ from the previous “List” call. For important details about how
85
+ pagination works, see List Pagination.
86
+
87
+ --page-size [integer]
88
+
89
+ When fetching results, the number of results to fetch per call. Only
90
+ valid when used with "--all" or "--limit", and ignored otherwise.
91
+
92
+ --queue-id [text]
93
+
94
+ The unique queue identifier.
95
+
96
+ --sort-by [text]
97
+
98
+ The field to sort by. Only one sort order may be provided. Default
99
+ order for timeCreated is descending. Default order for displayName is
100
+ ascending. If no value is specified timeCreated is default.
101
+
102
+ Accepted values are:
103
+
104
+ displayName, timeCreated
105
+
106
+ --sort-order [text]
107
+
108
+ The sort order to use, either ‘asc’ or ‘desc’.
109
+
110
+ Accepted values are:
111
+
112
+ ASC, DESC
113
+
114
+
115
+ Global Parameters
116
+ =================
117
+
118
+ Use "oci --help" for help on global parameters.
119
+
120
+ "--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
121
+ cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
122
+ defaults-file", "--enable-dual-stack", "--enable-propagation", "--
123
+ endpoint", "--generate-full-command-json-input", "--generate-param-
124
+ json-input", "--help", "--latest-version", "--max-retries", "--no-
125
+ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
126
+ profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
127
+ realm-specific-endpoint", "--region", "--release-info", "--request-
128
+ id", "--version", "-?", "-d", "-h", "-i", "-v"
129
+
130
+
131
+ Example using required parameter
132
+ ================================
133
+
134
+ Copy the following CLI commands into a file named example.sh. Run the
135
+ command by typing “bash example.sh” and replacing the example
136
+ parameters with your own.
137
+
138
+ Please note this sample will only work in the POSIX-compliant bash-
139
+ like shell. You need to set up the OCI configuration and appropriate
140
+ security policies before trying the examples.
141
+
142
+ oci queue queue-admin consumer-group-collection list-consumer-groups
@@ -0,0 +1,15 @@
1
+ consumer-group-collection
2
+ *************************
3
+
4
+
5
+ Description
6
+ ===========
7
+
8
+ Results of a consumer group search. Contains both ConsumerGroupSummary
9
+ items and other information, such as metadata.
10
+
11
+
12
+ Available Commands
13
+ ==================
14
+
15
+ * list-consumer-groups
@@ -0,0 +1,20 @@
1
+ consumer-group
2
+ **************
3
+
4
+
5
+ Description
6
+ ===========
7
+
8
+ A detailed representation of a consumer group.
9
+
10
+
11
+ Available Commands
12
+ ==================
13
+
14
+ * create
15
+
16
+ * delete
17
+
18
+ * get
19
+
20
+ * update
@@ -41,6 +41,22 @@ The user-friendly name of the queue.
41
41
  Optional Parameters
42
42
  ===================
43
43
 
44
+ --capabilities [complex type]
45
+
46
+ The capability to add on the queue
47
+
48
+ This option is a JSON list with items of type CapabilityDetails. For
49
+ documentation on CapabilityDetails please see our API reference: http
50
+ s://docs.cloud.oracle.com/api/#/en/queueadmin/20210201/datatypes/Capa
51
+ bilityDetails. This is a complex type whose value must be valid JSON.
52
+ The value can be provided as a string on the command line or passed in
53
+ as a file using the file://path/to/file syntax.
54
+
55
+ The "--generate-param-json-input" option can be used to generate an
56
+ example of the JSON which must be provided. We recommend storing this
57
+ example in a file, modifying it as needed and then passing it back in
58
+ via the file:// syntax.
59
+
44
60
  --channel-consumption-limit [integer]
45
61
 
46
62
  The percentage of allocated queue resources that can be consumed by a
@@ -52,8 +68,8 @@ allocated queue’s resources.
52
68
 
53
69
  --custom-key [text]
54
70
 
55
- Id of the custom master encryption key which will be used to encrypt
56
- messages content
71
+ The OCID of the custom encryption key to be used to encrypt messages
72
+ content.
57
73
 
58
74
  --defined-tags [complex type]
59
75
 
@@ -17,12 +17,17 @@
17
17
  Description
18
18
  ===========
19
19
 
20
- Deletes all messages present in the queue, or deletes all the messages
21
- in the specific channel at the time of invocation. Only one concurrent
22
- purge operation is supported for any given queue. However multiple
23
- concurrent purge operations are supported for different queues. Purge
24
- request without specification of target channels will clean up all
25
- messages in the queue and in the child channels.
20
+ Deletes all messages present in the queue or in the specified consumer
21
+ group, or deletes all the messages in the specific channel at the time
22
+ of invocation. Only one concurrent purge operation is supported for
23
+ any given queue. However multiple concurrent purge operations are
24
+ supported for different queues. Purge request without specification of
25
+ target channels will clean up all messages in the queue and in the
26
+ child channels. Purge request without specification of consumer group
27
+ will either clean up all messages in the queue or in the primary
28
+ consumer group, depending on the presence of the CONSUMER_GROUPS
29
+ capability on the queue. To purge all consumer groups, the special
30
+ value ‘all’ can be used.
26
31
 
27
32
 
28
33
  Usage
@@ -67,6 +72,14 @@ example of the JSON which must be provided. We recommend storing this
67
72
  example in a file, modifying it as needed and then passing it back in
68
73
  via the file:// syntax.
69
74
 
75
+ --consumer-group-id [text]
76
+
77
+ The consumer group ID to purge. If the CONSUMER_GROUPS capability is
78
+ enabled on the queue, omitting that field will purge the “Primary
79
+ Consumer Group”, otherwise it will purge the queue. If you wish to
80
+ purge all consumer groups in the queue, you can pass the special value
81
+ ‘all’.
82
+
70
83
  --from-json [text]
71
84
 
72
85
  Provide input to this command as a JSON document from a file using the