1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. cloudmonitor
  6. getEventRule
Viewing docs for bytepluscc v0.0.41
published on Thursday, Jul 16, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.41
published on Thursday, Jul 16, 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 dictionary
    data "bytepluscc_cloudmonitor_geteventrule" "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:

    AccountId string
    Main account ID
    CreatedAt 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
    EnableState string
    Rule status
    EventBusName string
    EventSource string
    EventTypes List<string>
    FilterPattern string
    FilterPatternInput string
    Id string
    Uniquely identifies the resource.
    Level string
    NotificationId string
    RuleId string
    RuleName string
    UpdatedAt int
    AccountId string
    Main account ID
    CreatedAt 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
    EnableState string
    Rule status
    EventBusName string
    EventSource string
    EventTypes []string
    FilterPattern string
    FilterPatternInput string
    Id string
    Uniquely identifies the resource.
    Level string
    NotificationId string
    RuleId string
    RuleName string
    UpdatedAt 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_name string
    event_source string
    event_types list(string)
    filter_pattern string
    filter_pattern_input string
    id string
    Uniquely identifies the resource.
    level string
    notification_id string
    rule_id string
    rule_name string
    updated_at number
    accountId String
    Main account ID
    createdAt 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
    enableState String
    Rule status
    eventBusName String
    eventSource String
    eventTypes List<String>
    filterPattern String
    filterPatternInput String
    id String
    Uniquely identifies the resource.
    level String
    notificationId String
    ruleId String
    ruleName String
    updatedAt Integer
    accountId string
    Main account ID
    createdAt 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
    enableState string
    Rule status
    eventBusName string
    eventSource string
    eventTypes string[]
    filterPattern string
    filterPatternInput string
    id string
    Uniquely identifies the resource.
    level string
    notificationId string
    ruleId string
    ruleName string
    updatedAt 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_name str
    event_source str
    event_types Sequence[str]
    filter_pattern str
    filter_pattern_input str
    id str
    Uniquely identifies the resource.
    level str
    notification_id str
    rule_id str
    rule_name str
    updated_at int
    accountId String
    Main account ID
    createdAt 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
    enableState String
    Rule status
    eventBusName String
    eventSource String
    eventTypes List<String>
    filterPattern String
    filterPatternInput String
    id String
    Uniquely identifies the resource.
    level String
    notificationId String
    ruleId String
    ruleName String
    updatedAt Number

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.41
    published on Thursday, Jul 16, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial