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 Network Sources in Oracle Cloud Infrastructure Identity service. * * Lists the network sources in your tenancy. You must specify your tenancy's OCID as the value for * the compartment ID (remember that the tenancy is simply the root compartment). * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkSources = oci.identity.getNetworkSources({ * compartmentId: tenancyOcid, * name: networkSourceName, * state: networkSourceState, * }); * ``` */ export declare function getNetworkSources(args: GetNetworkSourcesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNetworkSources. */ export interface GetNetworkSourcesArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: string; filters?: inputs.Identity.GetNetworkSourcesFilter[]; /** * A filter to only return resources that match the given name exactly. */ name?: string; /** * 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 getNetworkSources. */ export interface GetNetworkSourcesResult { /** * The OCID of the tenancy containing the network source. The tenancy is the root compartment. */ readonly compartmentId: string; readonly filters?: outputs.Identity.GetNetworkSourcesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name you assign to the network source during creation. The name must be unique across the tenancy and cannot be changed. */ readonly name?: string; /** * The list of network_sources. */ readonly networkSources: outputs.Identity.GetNetworkSourcesNetworkSource[]; /** * The network source object's current state. After creating a network source, make sure its `lifecycleState` changes from CREATING to ACTIVE before using it. */ readonly state?: string; } /** * This data source provides the list of Network Sources in Oracle Cloud Infrastructure Identity service. * * Lists the network sources in your tenancy. You must specify your tenancy's OCID as the value for * the compartment ID (remember that the tenancy is simply the root compartment). * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkSources = oci.identity.getNetworkSources({ * compartmentId: tenancyOcid, * name: networkSourceName, * state: networkSourceState, * }); * ``` */ export declare function getNetworkSourcesOutput(args: GetNetworkSourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNetworkSources. */ export interface GetNetworkSourcesOutputArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given name exactly. */ name?: pulumi.Input; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getNetworkSources.d.ts.map