Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus
Data Source schema for Byteplus::CloudMonitor::EventRule
Using getEventRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEventRule(args: GetEventRuleArgs, opts?: InvokeOptions): Promise<GetEventRuleResult>
function getEventRuleOutput(args: GetEventRuleOutputArgs, opts?: InvokeOptions): Output<GetEventRuleResult>def get_event_rule(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventRuleResult
def get_event_rule_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventRuleResult]func LookupEventRule(ctx *Context, args *LookupEventRuleArgs, opts ...InvokeOption) (*LookupEventRuleResult, error)
func LookupEventRuleOutput(ctx *Context, args *LookupEventRuleOutputArgs, opts ...InvokeOption) LookupEventRuleResultOutput> Note: This function is named LookupEventRule in the Go SDK.
public static class GetEventRule
{
public static Task<GetEventRuleResult> InvokeAsync(GetEventRuleArgs args, InvokeOptions? opts = null)
public static Output<GetEventRuleResult> Invoke(GetEventRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEventRuleResult> getEventRule(GetEventRuleArgs args, InvokeOptions options)
public static Output<GetEventRuleResult> getEventRule(GetEventRuleArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:cloudmonitor/getEventRule:getEventRule
arguments:
# arguments dictionarydata "bytepluscc_cloudmonitor_get_event_rule" "name" {
# arguments
}The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getEventRule Result
The following output properties are available:
- Account
Id string - Main account ID
- Created
At int - Event rule creation time
- Description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- Enable
State string - Rule status
- Event
Bus stringName - Event
Source string - Event
Types List<string> - Filter
Pattern string - Filter
Pattern stringInput - Id string
- Uniquely identifies the resource.
- Level string
- Notification
Id string - Rule
Id string - Rule
Name string - Updated
At int
- Account
Id string - Main account ID
- Created
At int - Event rule creation time
- Description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- Enable
State string - Rule status
- Event
Bus stringName - Event
Source string - Event
Types []string - Filter
Pattern string - Filter
Pattern stringInput - Id string
- Uniquely identifies the resource.
- Level string
- Notification
Id string - Rule
Id string - Rule
Name string - Updated
At int
- account_
id string - Main account ID
- created_
at number - Event rule creation time
- description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable_
state string - Rule status
- event_
bus_ stringname - event_
source string - event_
types list(string) - filter_
pattern string - filter_
pattern_ stringinput - id string
- Uniquely identifies the resource.
- level string
- notification_
id string - rule_
id string - rule_
name string - updated_
at number
- account
Id String - Main account ID
- created
At Integer - Event rule creation time
- description String
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State String - Rule status
- event
Bus StringName - event
Source String - event
Types List<String> - filter
Pattern String - filter
Pattern StringInput - id String
- Uniquely identifies the resource.
- level String
- notification
Id String - rule
Id String - rule
Name String - updated
At Integer
- account
Id string - Main account ID
- created
At number - Event rule creation time
- description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State string - Rule status
- event
Bus stringName - event
Source string - event
Types string[] - filter
Pattern string - filter
Pattern stringInput - id string
- Uniquely identifies the resource.
- level string
- notification
Id string - rule
Id string - rule
Name string - updated
At number
- account_
id str - Main account ID
- created_
at int - Event rule creation time
- description str
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable_
state str - Rule status
- event_
bus_ strname - event_
source str - event_
types Sequence[str] - filter_
pattern str - filter_
pattern_ strinput - id str
- Uniquely identifies the resource.
- level str
- notification_
id str - rule_
id str - rule_
name str - updated_
at int
- account
Id String - Main account ID
- created
At Number - Event rule creation time
- description String
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State String - Rule status
- event
Bus StringName - event
Source String - event
Types List<String> - filter
Pattern String - filter
Pattern StringInput - id String
- Uniquely identifies the resource.
- level String
- notification
Id String - rule
Id String - rule
Name String - updated
At Number
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus