1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getSccReportRule
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud

    Using getSccReportRule

    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 getSccReportRule(args: GetSccReportRuleArgs, opts?: InvokeOptions): Promise<GetSccReportRuleResult>
    function getSccReportRuleOutput(args: GetSccReportRuleOutputArgs, opts?: InvokeOptions): Output<GetSccReportRuleResult>
    def get_scc_report_rule(instance_id: Optional[str] = None,
                            report_id: Optional[str] = None,
                            rule_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetSccReportRuleResult
    def get_scc_report_rule_output(instance_id: pulumi.Input[Optional[str]] = None,
                            report_id: pulumi.Input[Optional[str]] = None,
                            rule_id: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetSccReportRuleResult]
    func GetSccReportRule(ctx *Context, args *GetSccReportRuleArgs, opts ...InvokeOption) (*GetSccReportRuleResult, error)
    func GetSccReportRuleOutput(ctx *Context, args *GetSccReportRuleOutputArgs, opts ...InvokeOption) GetSccReportRuleResultOutput

    > Note: This function is named GetSccReportRule in the Go SDK.

    public static class GetSccReportRule 
    {
        public static Task<GetSccReportRuleResult> InvokeAsync(GetSccReportRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetSccReportRuleResult> Invoke(GetSccReportRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSccReportRuleResult> getSccReportRule(GetSccReportRuleArgs args, InvokeOptions options)
    public static Output<GetSccReportRuleResult> getSccReportRule(GetSccReportRuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSccReportRule:getSccReportRule
      arguments:
        # arguments dictionary
    data "ibm_getsccreportrule" "name" {
        # arguments
    }

    The following arguments are supported:

    InstanceId string
    ReportId string
    RuleId string
    InstanceId string
    ReportId string
    RuleId string
    instance_id string
    report_id string
    rule_id string
    instanceId String
    reportId String
    ruleId String
    instanceId string
    reportId string
    ruleId string
    instanceId String
    reportId String
    ruleId String

    getSccReportRule Result

    The following output properties are available:

    AccountId string
    CreatedBy string
    CreatedOn string
    Description string
    Id string
    InstanceId string
    Labels List<string>
    ReportId string
    RuleId string
    Type string
    UpdatedBy string
    UpdatedOn string
    Version string
    AccountId string
    CreatedBy string
    CreatedOn string
    Description string
    Id string
    InstanceId string
    Labels []string
    ReportId string
    RuleId string
    Type string
    UpdatedBy string
    UpdatedOn string
    Version string
    account_id string
    created_by string
    created_on string
    description string
    id string
    instance_id string
    labels list(string)
    report_id string
    rule_id string
    type string
    updated_by string
    updated_on string
    version string
    accountId String
    createdBy String
    createdOn String
    description String
    id String
    instanceId String
    labels List<String>
    reportId String
    ruleId String
    type String
    updatedBy String
    updatedOn String
    version String
    accountId string
    createdBy string
    createdOn string
    description string
    id string
    instanceId string
    labels string[]
    reportId string
    ruleId string
    type string
    updatedBy string
    updatedOn string
    version string
    accountId String
    createdBy String
    createdOn String
    description String
    id String
    instanceId String
    labels List<String>
    reportId String
    ruleId String
    type String
    updatedBy String
    updatedOn String
    version String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    Viewing docs for ibm 2.1.0
    published on Tuesday, May 5, 2026 by ibm-cloud
      Try Pulumi Cloud free. Your team will thank you.