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 Resolvers in Oracle Cloud Infrastructure DNS service. * * Gets a list of all resolvers within a compartment. * * The collection can be filtered by display name, id, or lifecycle state. It can be sorted * on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState * query parameter is provided, the collection does not include resolvers in the DELETED * lifecycleState to be consistent with other operations of the API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testResolvers = oci.dns.getResolvers({ * compartmentId: compartmentId, * scope: "PRIVATE", * displayName: resolverDisplayName, * id: resolverId, * state: resolverState, * }); * ``` */ export declare function getResolvers(args: GetResolversArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getResolvers. */ export interface GetResolversArgs { /** * The OCID of the compartment the resource belongs to. */ compartmentId: string; /** * The displayName of a resource. */ displayName?: string; filters?: inputs.Dns.GetResolversFilter[]; /** * The OCID of a resource. */ id?: string; /** * Value must be `PRIVATE` when listing private resolvers. */ scope: string; /** * The state of a resource. */ state?: string; } /** * A collection of values returned by getResolvers. */ export interface GetResolversResult { /** * The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed. */ readonly compartmentId: string; /** * The display name of the resolver. */ readonly displayName?: string; readonly filters?: outputs.Dns.GetResolversFilter[]; /** * The OCID of the resolver. */ readonly id?: string; /** * The list of resolvers. */ readonly resolvers: outputs.Dns.GetResolversResolver[]; readonly scope: string; /** * The current state of the resource. */ readonly state?: string; } /** * This data source provides the list of Resolvers in Oracle Cloud Infrastructure DNS service. * * Gets a list of all resolvers within a compartment. * * The collection can be filtered by display name, id, or lifecycle state. It can be sorted * on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState * query parameter is provided, the collection does not include resolvers in the DELETED * lifecycleState to be consistent with other operations of the API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testResolvers = oci.dns.getResolvers({ * compartmentId: compartmentId, * scope: "PRIVATE", * displayName: resolverDisplayName, * id: resolverId, * state: resolverState, * }); * ``` */ export declare function getResolversOutput(args: GetResolversOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getResolvers. */ export interface GetResolversOutputArgs { /** * The OCID of the compartment the resource belongs to. */ compartmentId: pulumi.Input; /** * The displayName of a resource. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of a resource. */ id?: pulumi.Input; /** * Value must be `PRIVATE` when listing private resolvers. */ scope: pulumi.Input; /** * The state of a resource. */ state?: pulumi.Input; } //# sourceMappingURL=getResolvers.d.ts.map