- What's New
- Function Overview
- Service Overview
- Billing
- Getting Started
-
User Guide
- Getting Started with EG
- Permissions Management
- Event Sources
- Event Channels
- Event Subscriptions
- Event Streams
- Events
- Event Rules
- Event Targets
- Network Management
- IAM Projects and Enterprise Projects
- Authorization
- Event Monitoring
- Auditing
- Best Practices
-
API Reference
- Before You Start
- API Overview
- Calling APIs
- Getting Started
-
APIs
-
Event Subscription Management
- Creating an Event Subscription
- Obtaining the Event Subscription List
- Updating an Event Subscription
- Obtaining Event Subscription Details
- Deleting an Event Subscription
- Updating an Event Subscription Source
- Creating an Event Subscription Target
- Updating an Event Subscription Target
- Obtaining Event Subscription Target Details
- Deleting an Event Subscription Target
- Enabling or Disabling Event Subscriptions
- Event Channel Management
- Event Management
- Event Source Management
- Event Target Catalog Management
-
Event Schema Management
- Starting Automatic Event Schema Discovery
- Creating a Custom Event Schema
- Obtaining the Event Schema List
- Updating a Custom Event Schema
- Obtaining Event Schema Details
- Deleting an Event Schema
- Creating a Custom Event Schema Version
- Obtaining the Event Schema Version List
- Obtaining Event Schema Version Details
- Deleting an Event Schema Version
- Connection Management
- Service Agency Management
- Quota Management
- API Version Management
- Trigger Management
- Endpoint Management
- OBS Bucket Management
- Metric Management
- Event Stream Management
- Event Example Management
-
Professional Event Stream Job Management
- Create a Professional Event Stream Job
- Querying Professional Event Stream Jobs
- Deleting a Professional Event Stream Job
- Querying Details About a Professional Event Stream Job
- Updating a Professional Event Stream Job
- Performing Operations on a Professional Event Stream Job
- Verifying Professional Event Stream Jobs
- Querying the Synchronization Status of a Professional Event Job
- Professional Event Stream Cluster Management
-
Event Subscription Management
- Permissions Policies and Supported Actions
- Appendix
- Description
- SDK Reference
-
FAQs
- How Is EG Billed?
- Why Did My Event Source Creation Fail?
- How Do I Configure a Security Group When Creating an Event Source?
- Why Did My Event Publishing Fail?
- Why Was the Target Not Triggered?
- Can I Push Custom Events to EG?
- How Do I Filter Events to Transmit to the Target?
- How Do I Transfer Custom Event Content to the Target?
- How Do I Obtain the SASL Certificate Address of a DMS for Kafka Instance?
- General Reference
Copied.
Updating a Professional Event Stream Cluster
Function
This API is used to update a professional event stream cluster.
URI
PUT /v1/{project_id}/eventrouter/clusters/{cluster_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Tenant resource space ID. |
cluster_id |
Yes |
String |
Cluster ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
No |
String |
Cluster name. Start with a letter or digit, and only include letters, digits, periods (.), underscores (_), and hyphens (-). (Max. 128 characters) |
description |
No |
String |
Cluster description. The description can contain a maximum of 256 characters. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
X-Request-Id |
String |
Request ID. |
Parameter |
Type |
Description |
---|---|---|
cluster_id |
String |
Professional event stream cluster ID. |
name |
String |
Cluster name. Start with a letter or digit, and only include letters, digits, periods (.), underscores (_), and hyphens (-). (Max. 128 characters) |
description |
String |
Cluster description. The description can contain a maximum of 256 characters. |
source_type |
String |
Source type. |
sink_type |
String |
Target type. |
subnet_id |
String |
Subnet ID. |
vpc_id |
String |
VPC ID. |
zone_names |
String |
AZ name. |
status |
String |
Job status. |
job_count |
Number |
Number of jobs in the current cluster. |
flavor |
String |
Flavor. |
charging_mode |
String |
Billing mode. |
err_code |
String |
Error code. |
err_message |
String |
Error cause. |
created_time |
String |
UTC time when the event source is created. |
updated_time |
String |
UTC time when the event source is updated. |
Example Requests
Update the description of the professional event stream cluster cluster-xspx0v5v.
PUT https://{eg_endpoint}/v1/{project_id}/eventrouter/clusters/{cluster_id}
{
"name" : "cluster-xspx0v5v",
"description" : "xxx"
}
Example Responses
Status code: 200
Request succeeded.
{
"cluster_id" : "fac59513-6c18-4266-bc81-5d412dfc1925",
"name" : "cluster-ifpcv5u4",
"description" : null,
"source_type" : "KAFKA",
"sink_type" : "KAFKA",
"status" : "RUNNING",
"job_count" : 1,
"err_code" : null,
"err_message" : null,
"created_time" : "2024-05-16T11:46:07Z",
"updated_time" : "2024-05-16T11:46:07Z",
"vpc_id" : "199f632d-34e7-4915-b4d8-1bc4e2824867",
"subnet_id" : "0d1799e1-116e-4551-92dc-02dd8a860072"
}
Status Codes
Status Code |
Description |
---|---|
200 |
Request succeeded. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot