1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. governance
  6. getPackRuleVersions
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security

    Using getPackRuleVersions

    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 getPackRuleVersions(args: GetPackRuleVersionsArgs, opts?: InvokeOptions): Promise<GetPackRuleVersionsResult>
    function getPackRuleVersionsOutput(args: GetPackRuleVersionsOutputArgs, opts?: InvokeOptions): Output<GetPackRuleVersionsResult>
    def get_pack_rule_versions(pack_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetPackRuleVersionsResult
    def get_pack_rule_versions_output(pack_id: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetPackRuleVersionsResult]
    func GetPackRuleVersions(ctx *Context, args *GetPackRuleVersionsArgs, opts ...InvokeOption) (*GetPackRuleVersionsResult, error)
    func GetPackRuleVersionsOutput(ctx *Context, args *GetPackRuleVersionsOutputArgs, opts ...InvokeOption) GetPackRuleVersionsResultOutput

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

    public static class GetPackRuleVersions 
    {
        public static Task<GetPackRuleVersionsResult> InvokeAsync(GetPackRuleVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetPackRuleVersionsResult> Invoke(GetPackRuleVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPackRuleVersionsResult> getPackRuleVersions(GetPackRuleVersionsArgs args, InvokeOptions options)
    public static Output<GetPackRuleVersionsResult> getPackRuleVersions(GetPackRuleVersionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: thoth:governance/getPackRuleVersions:getPackRuleVersions
      arguments:
        # arguments dictionary
    data "thoth_governance_get_pack_rule_versions" "name" {
        # arguments
    }

    The following arguments are supported:

    PackId string
    PackId string
    pack_id string
    packId String
    packId string
    packId String

    getPackRuleVersions Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    PackId string
    ResponseJson string
    Total int
    VersionsJson string
    Id string
    The provider-assigned unique ID for this managed resource.
    PackId string
    ResponseJson string
    Total int
    VersionsJson string
    id string
    The provider-assigned unique ID for this managed resource.
    pack_id string
    response_json string
    total number
    versions_json string
    id String
    The provider-assigned unique ID for this managed resource.
    packId String
    responseJson String
    total Integer
    versionsJson String
    id string
    The provider-assigned unique ID for this managed resource.
    packId string
    responseJson string
    total number
    versionsJson string
    id str
    The provider-assigned unique ID for this managed resource.
    pack_id str
    response_json str
    total int
    versions_json str
    id String
    The provider-assigned unique ID for this managed resource.
    packId String
    responseJson String
    total Number
    versionsJson String

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo
    Viewing docs for Thoth v0.1.15
    published on Thursday, Jul 23, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial