Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 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 dictionaryThe following arguments are supported:
- Rule
Set stringId - Id of rule set.
- Rule
Set stringId - Id of rule set.
- rule
Set StringId - Id of rule set.
- rule
Set stringId - Id of rule set.
- rule_
set_ strid - Id of rule set.
- rule
Set StringId - Id of rule set.
getRuleSet Result
The following output properties are available:
- Cloud
Provider 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.
- Rule
Ids List<string> - List of target regions.
- Rule
Set stringId - Id of rule set.
- Cloud
Provider 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.
- Rule
Ids []string - List of target regions.
- Rule
Set stringId - Id of rule set.
- cloud
Provider 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.
- rule
Ids List<String> - List of target regions.
- rule
Set StringId - Id of rule set.
- cloud
Provider 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.
- rule
Ids string[] - List of target regions.
- rule
Set stringId - 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_ strid - Id of rule set.
- cloud
Provider 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.
- rule
Ids List<String> - List of target regions.
- rule
Set StringId - Id of rule set.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
