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 Vcns in Oracle Cloud Infrastructure Core service. * * Lists the virtual cloud networks (VCNs) in the specified compartment. * * ## Supported Aliases * * * `oci.Core.getVirtualNetworks` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVcns = oci.core.getVcns({ * compartmentId: compartmentId, * displayName: vcnDisplayName, * state: vcnState, * }); * ``` */ export declare function getVcns(args: GetVcnsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVcns. */ export interface GetVcnsArgs { /** * 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.GetVcnsFilter[]; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getVcns. */ export interface GetVcnsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VCN. */ 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.GetVcnsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The VCN's current state. */ readonly state?: string; /** * The list of virtual_networks. */ readonly virtualNetworks: outputs.Core.GetVcnsVirtualNetwork[]; } /** * This data source provides the list of Vcns in Oracle Cloud Infrastructure Core service. * * Lists the virtual cloud networks (VCNs) in the specified compartment. * * ## Supported Aliases * * * `oci.Core.getVirtualNetworks` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVcns = oci.core.getVcns({ * compartmentId: compartmentId, * displayName: vcnDisplayName, * state: vcnState, * }); * ``` */ export declare function getVcnsOutput(args: GetVcnsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVcns. */ export interface GetVcnsOutputArgs { /** * 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 only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getVcns.d.ts.map