1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. governance
  6. getPackRules
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 getPackRules

    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 getPackRules(args: GetPackRulesArgs, opts?: InvokeOptions): Promise<GetPackRulesResult>
    function getPackRulesOutput(args: GetPackRulesOutputArgs, opts?: InvokeOptions): Output<GetPackRulesResult>
    def get_pack_rules(pack_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPackRulesResult
    def get_pack_rules_output(pack_id: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPackRulesResult]
    func GetPackRules(ctx *Context, args *GetPackRulesArgs, opts ...InvokeOption) (*GetPackRulesResult, error)
    func GetPackRulesOutput(ctx *Context, args *GetPackRulesOutputArgs, opts ...InvokeOption) GetPackRulesResultOutput

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

    public static class GetPackRules 
    {
        public static Task<GetPackRulesResult> InvokeAsync(GetPackRulesArgs args, InvokeOptions? opts = null)
        public static Output<GetPackRulesResult> Invoke(GetPackRulesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPackRulesResult> getPackRules(GetPackRulesArgs args, InvokeOptions options)
    public static Output<GetPackRulesResult> getPackRules(GetPackRulesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: thoth:governance/getPackRules:getPackRules
      arguments:
        # arguments dictionary
    data "thoth_governance_get_pack_rules" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getPackRules Result

    The following output properties are available:

    BasePackVersion string
    CurrentVersionJson string
    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    PackId string
    Regulation string
    ResponseJson string
    TotalVersions int
    BasePackVersion string
    CurrentVersionJson string
    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    PackId string
    Regulation string
    ResponseJson string
    TotalVersions int
    base_pack_version string
    current_version_json string
    display_name string
    id string
    The provider-assigned unique ID for this managed resource.
    pack_id string
    regulation string
    response_json string
    total_versions number
    basePackVersion String
    currentVersionJson String
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.
    packId String
    regulation String
    responseJson String
    totalVersions Integer
    basePackVersion string
    currentVersionJson string
    displayName string
    id string
    The provider-assigned unique ID for this managed resource.
    packId string
    regulation string
    responseJson string
    totalVersions number
    base_pack_version str
    current_version_json str
    display_name str
    id str
    The provider-assigned unique ID for this managed resource.
    pack_id str
    regulation str
    response_json str
    total_versions int
    basePackVersion String
    currentVersionJson String
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.
    packId String
    regulation String
    responseJson String
    totalVersions Number

    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