1. Packages
  2. Athenz Provider
  3. API Docs
  4. getPolicyVersion
athenz 1.0.45 published on Tuesday, Apr 15, 2025 by athenz

athenz.getPolicyVersion

Explore with Pulumi AI

athenz logo
athenz 1.0.45 published on Tuesday, Apr 15, 2025 by athenz

    athenz.PolicyVersion provides details about a specific Athenz policy with all its versions.

    Using getPolicyVersion

    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 getPolicyVersion(args: GetPolicyVersionArgs, opts?: InvokeOptions): Promise<GetPolicyVersionResult>
    function getPolicyVersionOutput(args: GetPolicyVersionOutputArgs, opts?: InvokeOptions): Output<GetPolicyVersionResult>
    def get_policy_version(audit_ref: Optional[str] = None,
                           domain: Optional[str] = None,
                           id: Optional[str] = None,
                           name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPolicyVersionResult
    def get_policy_version_output(audit_ref: Optional[pulumi.Input[str]] = None,
                           domain: Optional[pulumi.Input[str]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPolicyVersionResult]
    func LookupPolicyVersion(ctx *Context, args *LookupPolicyVersionArgs, opts ...InvokeOption) (*LookupPolicyVersionResult, error)
    func LookupPolicyVersionOutput(ctx *Context, args *LookupPolicyVersionOutputArgs, opts ...InvokeOption) LookupPolicyVersionResultOutput

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

    public static class GetPolicyVersion 
    {
        public static Task<GetPolicyVersionResult> InvokeAsync(GetPolicyVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyVersionResult> Invoke(GetPolicyVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicyVersionResult> getPolicyVersion(GetPolicyVersionArgs args, InvokeOptions options)
    public static Output<GetPolicyVersionResult> getPolicyVersion(GetPolicyVersionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: athenz:index/getPolicyVersion:getPolicyVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    Name of the domain that policy belongs to
    Name string
    Name of the policy
    AuditRef string
    Id string
    The ID of this resource.
    Domain string
    Name of the domain that policy belongs to
    Name string
    Name of the policy
    AuditRef string
    Id string
    The ID of this resource.
    domain String
    Name of the domain that policy belongs to
    name String
    Name of the policy
    auditRef String
    id String
    The ID of this resource.
    domain string
    Name of the domain that policy belongs to
    name string
    Name of the policy
    auditRef string
    id string
    The ID of this resource.
    domain str
    Name of the domain that policy belongs to
    name str
    Name of the policy
    audit_ref str
    id str
    The ID of this resource.
    domain String
    Name of the domain that policy belongs to
    name String
    Name of the policy
    auditRef String
    id String
    The ID of this resource.

    getPolicyVersion Result

    The following output properties are available:

    ActiveVersion string
    The policy version that will be active
    Domain string
    Name of the domain that policy belongs to
    Id string
    The ID of this resource.
    Name string
    Name of the policy
    Versions List<GetPolicyVersionVersion>
    AuditRef string
    ActiveVersion string
    The policy version that will be active
    Domain string
    Name of the domain that policy belongs to
    Id string
    The ID of this resource.
    Name string
    Name of the policy
    Versions []GetPolicyVersionVersion
    AuditRef string
    activeVersion String
    The policy version that will be active
    domain String
    Name of the domain that policy belongs to
    id String
    The ID of this resource.
    name String
    Name of the policy
    versions List<GetPolicyVersionVersion>
    auditRef String
    activeVersion string
    The policy version that will be active
    domain string
    Name of the domain that policy belongs to
    id string
    The ID of this resource.
    name string
    Name of the policy
    versions GetPolicyVersionVersion[]
    auditRef string
    active_version str
    The policy version that will be active
    domain str
    Name of the domain that policy belongs to
    id str
    The ID of this resource.
    name str
    Name of the policy
    versions Sequence[GetPolicyVersionVersion]
    audit_ref str
    activeVersion String
    The policy version that will be active
    domain String
    Name of the domain that policy belongs to
    id String
    The ID of this resource.
    name String
    Name of the policy
    versions List<Property Map>
    auditRef String

    Supporting Types

    GetPolicyVersionVersion

    GetPolicyVersionVersionAssertion

    GetPolicyVersionVersionAssertionCondition

    GetPolicyVersionVersionAssertionConditionEnforcementstate

    Operator double
    Value string
    Operator float64
    Value string
    operator Double
    value String
    operator number
    value string
    operator float
    value str
    operator Number
    value String

    GetPolicyVersionVersionAssertionConditionId

    Operator double
    Value string
    Operator float64
    Value string
    operator Double
    value String
    operator number
    value string
    operator float
    value str
    operator Number
    value String

    GetPolicyVersionVersionAssertionConditionInstance

    Operator double
    Value string
    Operator float64
    Value string
    operator Double
    value String
    operator number
    value string
    operator float
    value str
    operator Number
    value String

    GetPolicyVersionVersionAssertionConditionScopeall

    Operator double
    Value string
    Operator float64
    Value string
    operator Double
    value String
    operator number
    value string
    operator float
    value str
    operator Number
    value String

    GetPolicyVersionVersionAssertionConditionScopeaw

    Operator double
    Value string
    Operator float64
    Value string
    operator Double
    value String
    operator number
    value string
    operator float
    value str
    operator Number
    value String

    GetPolicyVersionVersionAssertionConditionScopeonprem

    Operator double
    Value string
    Operator float64
    Value string
    operator Double
    value String
    operator number
    value string
    operator float
    value str
    operator Number
    value String

    Package Details

    Repository
    athenz athenz/terraform-provider-athenz
    License
    Notes
    This Pulumi package is based on the athenz Terraform Provider.
    athenz logo
    athenz 1.0.45 published on Tuesday, Apr 15, 2025 by athenz