import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a platform policy. Returns `NOT_FOUND` if the policy doesn't exist. */ export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPolicyArgs { platformId: string; policyId: string; project?: string; } export interface GetPolicyResult { /** * Optional. A description comment about the policy. */ readonly description: string; /** * Optional. GKE platform-specific policy. */ readonly gkePolicy: outputs.binaryauthorization.v1.GkePolicyResponse; /** * The relative resource name of the Binary Authorization platform policy, in the form of `projects/*/platforms/*/policies/*`. */ readonly name: string; /** * Time when the policy was last updated. */ readonly updateTime: string; } /** * Gets a platform policy. Returns `NOT_FOUND` if the policy doesn't exist. */ export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetPolicyOutputArgs { platformId: pulumi.Input; policyId: pulumi.Input; project?: pulumi.Input; }