UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

69 lines 2.07 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for firewallpolicy * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.compute.getFirewallPolicyIamPolicy({ * name: _default.name, * }); * ``` */ export declare function getFirewallPolicyIamPolicy(args: GetFirewallPolicyIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallPolicyIamPolicyResult>; /** * A collection of arguments for invoking getFirewallPolicyIamPolicy. */ export interface GetFirewallPolicyIamPolicyArgs { /** * Used to find the parent resource to bind the IAM policy to */ name: string; } /** * A collection of values returned by getFirewallPolicyIamPolicy. */ export interface GetFirewallPolicyIamPolicyResult { /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * (Required only by `gcp.compute.FirewallPolicyIamPolicy`) The policy data generated by * a `gcp.organizations.getIAMPolicy` data source. */ readonly policyData: string; } /** * Retrieves the current IAM policy data for firewallpolicy * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.compute.getFirewallPolicyIamPolicy({ * name: _default.name, * }); * ``` */ export declare function getFirewallPolicyIamPolicyOutput(args: GetFirewallPolicyIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFirewallPolicyIamPolicyResult>; /** * A collection of arguments for invoking getFirewallPolicyIamPolicy. */ export interface GetFirewallPolicyIamPolicyOutputArgs { /** * Used to find the parent resource to bind the IAM policy to */ name: pulumi.Input<string>; } //# sourceMappingURL=getFirewallPolicyIamPolicy.d.ts.map