@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [: 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?: {
[]: 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?: {
[]: 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