Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi
harness.governance.getRuleSet
Explore with Pulumi AI
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:governance/getRuleSet:getRuleSet
arguments:
# arguments dictionary
The 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
harness
Terraform Provider.