-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(eg/source): add a new data source to query all kinds of the event sources #5446
feat(eg/source): add a new data source to query all kinds of the event sources #5446
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This PR has been approved by: @Lance52259 |
6009e76
to
f15f9ff
Compare
* `region` - (Optional, String) Specifies the region where the event sources are located. | ||
If omitted, the provider-level region will be used. | ||
|
||
* `provider_type` - (Optional, String) Specifies the type of the event sources to be queried. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please list the enumeration values for this field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all enums are supported.
|
||
* `description` - The description of the event source. | ||
|
||
* `status` - The status of the event source. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please list the enumeration values for this field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
%[1]s | ||
|
||
resource "huaweicloud_eg_custom_event_source" "test" { | ||
channel_id = huaweicloud_eg_custom_event_channel.test.id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
channel_id = huaweicloud_eg_custom_event_channel.test.id | |
channel_id = huaweicloud_eg_custom_event_channel.test.id |
Aligning fields of scripts.
Same to line 161
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all be done.
f15f9ff
to
620a979
Compare
/lgtm |
What this PR does / why we need it:
Add a new data source to query all kinds of the event sources.
Which issue this PR fixes:
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)fixes #xxx
Special notes for your reviewer:
Release note:
PR Checklist
Documentation updated.
Schema updated.
CheckDeleted.
a. During query operation (Read Context)
aa. Resource not found
>>>>>> Paste the screenshot here <<<<<<
b. During delete/disassociate/unbind operation (Delete Context)
ba. Resource not found
>>>>>> Paste the screenshot here <<<<<<