import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Nat Gateways in Oracle Cloud Infrastructure Core service. * * Lists the NAT gateways in the specified compartment. You may optionally specify a VCN OCID * to filter the results by VCN. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNatGateways = oci.core.getNatGateways({ * compartmentId: compartmentId, * displayName: natGatewayDisplayName, * state: natGatewayState, * vcnId: testVcn.id, * }); * ``` */ export declare function getNatGateways(args: GetNatGatewaysArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNatGateways. */ export interface GetNatGatewaysArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Core.GetNatGatewaysFilter[]; /** * A filter to return only resources that match the specified lifecycle state. The value is case insensitive. */ state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: string; } /** * A collection of values returned by getNatGateways. */ export interface GetNatGatewaysResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the NAT gateway. */ readonly compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Core.GetNatGatewaysFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of nat_gateways. */ readonly natGateways: outputs.Core.GetNatGatewaysNatGateway[]; /** * The NAT gateway's current state. */ readonly state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the NAT gateway belongs to. */ readonly vcnId?: string; } /** * This data source provides the list of Nat Gateways in Oracle Cloud Infrastructure Core service. * * Lists the NAT gateways in the specified compartment. You may optionally specify a VCN OCID * to filter the results by VCN. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNatGateways = oci.core.getNatGateways({ * compartmentId: compartmentId, * displayName: natGatewayDisplayName, * state: natGatewayState, * vcnId: testVcn.id, * }); * ``` */ export declare function getNatGatewaysOutput(args: GetNatGatewaysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNatGateways. */ export interface GetNatGatewaysOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the specified lifecycle state. The value is case insensitive. */ state?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: pulumi.Input; } //# sourceMappingURL=getNatGateways.d.ts.map