1. Packages
  2. Harness Provider
  3. API Docs
  4. governance
  5. getRuleSet
Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi

harness.governance.getRuleSet

Start a Neo task
Explain and create a harness.governance.getRuleSet resource
harness logo
Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi

    Datasource for looking up a rule.

    Using getRuleSet

    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 getRuleSet(args: GetRuleSetArgs, opts?: InvokeOptions): Promise<GetRuleSetResult>
    function getRuleSetOutput(args: GetRuleSetOutputArgs, opts?: InvokeOptions): Output<GetRuleSetResult>
    def get_rule_set(rule_set_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRuleSetResult
    def get_rule_set_output(rule_set_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRuleSetResult]
    func LookupRuleSet(ctx *Context, args *LookupRuleSetArgs, opts ...InvokeOption) (*LookupRuleSetResult, error)
    func LookupRuleSetOutput(ctx *Context, args *LookupRuleSetOutputArgs, opts ...InvokeOption) LookupRuleSetResultOutput

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

    public static class GetRuleSet 
    {
        public static Task<GetRuleSetResult> InvokeAsync(GetRuleSetArgs args, InvokeOptions? opts = null)
        public static Output<GetRuleSetResult> Invoke(GetRuleSetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRuleSetResult> getRuleSet(GetRuleSetArgs args, InvokeOptions options)
    public static Output<GetRuleSetResult> getRuleSet(GetRuleSetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:governance/getRuleSet:getRuleSet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RuleSetId string
    Id of rule set.
    RuleSetId string
    Id of rule set.
    ruleSetId String
    Id of rule set.
    ruleSetId string
    Id of rule set.
    rule_set_id str
    Id of rule set.
    ruleSetId String
    Id of rule set.

    getRuleSet Result

    The following output properties are available:

    CloudProvider string
    The cloud provider for the rule set.
    Description string
    Description for rule set.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the rule set.
    RuleIds List<string>
    List of target regions.
    RuleSetId string
    Id of rule set.
    CloudProvider string
    The cloud provider for the rule set.
    Description string
    Description for rule set.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the rule set.
    RuleIds []string
    List of target regions.
    RuleSetId string
    Id of rule set.
    cloudProvider String
    The cloud provider for the rule set.
    description String
    Description for rule set.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the rule set.
    ruleIds List<String>
    List of target regions.
    ruleSetId String
    Id of rule set.
    cloudProvider string
    The cloud provider for the rule set.
    description string
    Description for rule set.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the rule set.
    ruleIds string[]
    List of target regions.
    ruleSetId string
    Id of rule set.
    cloud_provider str
    The cloud provider for the rule set.
    description str
    Description for rule set.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the rule set.
    rule_ids Sequence[str]
    List of target regions.
    rule_set_id str
    Id of rule set.
    cloudProvider String
    The cloud provider for the rule set.
    description String
    Description for rule set.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the rule set.
    ruleIds List<String>
    List of target regions.
    ruleSetId String
    Id of rule set.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate