1. Packages
  2. Cyral Provider
  3. API Docs
  4. getPolicySet
cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc

cyral.getPolicySet

Explore with Pulumi AI

cyral logo
cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc

    This data source provides information about a policy set.

    Using getPolicySet

    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 getPolicySet(args: GetPolicySetArgs, opts?: InvokeOptions): Promise<GetPolicySetResult>
    function getPolicySetOutput(args: GetPolicySetOutputArgs, opts?: InvokeOptions): Output<GetPolicySetResult>
    def get_policy_set(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPolicySetResult
    def get_policy_set_output(id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPolicySetResult]
    func LookupPolicySet(ctx *Context, args *LookupPolicySetArgs, opts ...InvokeOption) (*LookupPolicySetResult, error)
    func LookupPolicySetOutput(ctx *Context, args *LookupPolicySetOutputArgs, opts ...InvokeOption) LookupPolicySetResultOutput

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

    public static class GetPolicySet 
    {
        public static Task<GetPolicySetResult> InvokeAsync(GetPolicySetArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicySetResult> Invoke(GetPolicySetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicySetResult> getPolicySet(GetPolicySetArgs args, InvokeOptions options)
    public static Output<GetPolicySetResult> getPolicySet(GetPolicySetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cyral:index/getPolicySet:getPolicySet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Identifier for the policy set.
    Id string
    Identifier for the policy set.
    id String
    Identifier for the policy set.
    id string
    Identifier for the policy set.
    id str
    Identifier for the policy set.
    id String
    Identifier for the policy set.

    getPolicySet Result

    The following output properties are available:

    Created Dictionary<string, string>
    Information about when and by whom the policy set was created.
    Description string
    Description of the policy set.
    Enabled bool
    Indicates if the policy set is enabled.
    Id string
    Identifier for the policy set.
    LastUpdated Dictionary<string, string>
    Information about when and by whom the policy set was last updated.
    Name string
    Name of the policy set.
    Policies List<GetPolicySetPolicy>
    List of policies that comprise the policy set.
    Scopes List<GetPolicySetScope>
    Scope of the policy set.
    Tags List<string>
    Tags associated with the policy set.
    WizardId string
    The ID of the policy wizard used to create this policy set.
    WizardParameters string
    Parameters passed to the wizard while creating the policy set.
    Created map[string]string
    Information about when and by whom the policy set was created.
    Description string
    Description of the policy set.
    Enabled bool
    Indicates if the policy set is enabled.
    Id string
    Identifier for the policy set.
    LastUpdated map[string]string
    Information about when and by whom the policy set was last updated.
    Name string
    Name of the policy set.
    Policies []GetPolicySetPolicy
    List of policies that comprise the policy set.
    Scopes []GetPolicySetScope
    Scope of the policy set.
    Tags []string
    Tags associated with the policy set.
    WizardId string
    The ID of the policy wizard used to create this policy set.
    WizardParameters string
    Parameters passed to the wizard while creating the policy set.
    created Map<String,String>
    Information about when and by whom the policy set was created.
    description String
    Description of the policy set.
    enabled Boolean
    Indicates if the policy set is enabled.
    id String
    Identifier for the policy set.
    lastUpdated Map<String,String>
    Information about when and by whom the policy set was last updated.
    name String
    Name of the policy set.
    policies List<GetPolicySetPolicy>
    List of policies that comprise the policy set.
    scopes List<GetPolicySetScope>
    Scope of the policy set.
    tags List<String>
    Tags associated with the policy set.
    wizardId String
    The ID of the policy wizard used to create this policy set.
    wizardParameters String
    Parameters passed to the wizard while creating the policy set.
    created {[key: string]: string}
    Information about when and by whom the policy set was created.
    description string
    Description of the policy set.
    enabled boolean
    Indicates if the policy set is enabled.
    id string
    Identifier for the policy set.
    lastUpdated {[key: string]: string}
    Information about when and by whom the policy set was last updated.
    name string
    Name of the policy set.
    policies GetPolicySetPolicy[]
    List of policies that comprise the policy set.
    scopes GetPolicySetScope[]
    Scope of the policy set.
    tags string[]
    Tags associated with the policy set.
    wizardId string
    The ID of the policy wizard used to create this policy set.
    wizardParameters string
    Parameters passed to the wizard while creating the policy set.
    created Mapping[str, str]
    Information about when and by whom the policy set was created.
    description str
    Description of the policy set.
    enabled bool
    Indicates if the policy set is enabled.
    id str
    Identifier for the policy set.
    last_updated Mapping[str, str]
    Information about when and by whom the policy set was last updated.
    name str
    Name of the policy set.
    policies Sequence[GetPolicySetPolicy]
    List of policies that comprise the policy set.
    scopes Sequence[GetPolicySetScope]
    Scope of the policy set.
    tags Sequence[str]
    Tags associated with the policy set.
    wizard_id str
    The ID of the policy wizard used to create this policy set.
    wizard_parameters str
    Parameters passed to the wizard while creating the policy set.
    created Map<String>
    Information about when and by whom the policy set was created.
    description String
    Description of the policy set.
    enabled Boolean
    Indicates if the policy set is enabled.
    id String
    Identifier for the policy set.
    lastUpdated Map<String>
    Information about when and by whom the policy set was last updated.
    name String
    Name of the policy set.
    policies List<Property Map>
    List of policies that comprise the policy set.
    scopes List<Property Map>
    Scope of the policy set.
    tags List<String>
    Tags associated with the policy set.
    wizardId String
    The ID of the policy wizard used to create this policy set.
    wizardParameters String
    Parameters passed to the wizard while creating the policy set.

    Supporting Types

    GetPolicySetPolicy

    Id string
    Type string
    Id string
    Type string
    id String
    type String
    id string
    type string
    id str
    type str
    id String
    type String

    GetPolicySetScope

    RepoIds List<string>
    RepoIds []string
    repoIds List<String>
    repoIds string[]
    repo_ids Sequence[str]
    repoIds List<String>

    Package Details

    Repository
    cyral cyralinc/terraform-provider-cyral
    License
    Notes
    This Pulumi package is based on the cyral Terraform Provider.
    cyral logo
    cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc