UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

68 lines 1.83 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get details about a specific version of a policy pack. */ export declare function getPolicyPack(args: GetPolicyPackArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyPackResult>; export interface GetPolicyPackArgs { /** * The name of the Pulumi organization. */ organizationName: string; /** * The name of the policy pack. */ policyPackName: string; /** * The version number of the policy pack. If not specified, returns the latest version. */ version?: number; } export interface GetPolicyPackResult { /** * Configuration for the policy pack. */ readonly config?: { [key: string]: any; }; /** * The display name of the policy pack. */ readonly displayName: string; /** * The name of the policy pack. */ readonly name: string; /** * List of policies in this pack. */ readonly policies?: { [key: string]: string; }[]; /** * The version number. */ readonly version: number; /** * The version tag (if any). */ readonly versionTag?: string; } /** * Get details about a specific version of a policy pack. */ export declare function getPolicyPackOutput(args: GetPolicyPackOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyPackResult>; export interface GetPolicyPackOutputArgs { /** * The name of the Pulumi organization. */ organizationName: pulumi.Input<string>; /** * The name of the policy pack. */ policyPackName: pulumi.Input<string>; /** * The version number of the policy pack. If not specified, returns the latest version. */ version?: pulumi.Input<number | undefined>; } //# sourceMappingURL=getPolicyPack.d.ts.map