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 Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Return a (paginated) list of domains. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomains = oci.tenantmanagercontrolplane.getDomains({ * compartmentId: compartmentId, * domainId: testDomain.id, * name: domainName, * state: domainState, * status: domainStatus, * }); * ``` */ export declare function getDomains(args: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDomains. */ export interface GetDomainsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * The domain OCID. */ domainId?: string; filters?: inputs.Tenantmanagercontrolplane.GetDomainsFilter[]; /** * A filter to return only resources that exactly match the name given. */ name?: string; /** * The lifecycle state of the resource. */ state?: string; /** * The status of the domain. */ status?: string; } /** * A collection of values returned by getDomains. */ export interface GetDomainsResult { /** * The OCID of the tenancy that has started the registration process for this domain. */ readonly compartmentId: string; /** * The list of domain_collection. */ readonly domainCollections: outputs.Tenantmanagercontrolplane.GetDomainsDomainCollection[]; readonly domainId?: string; readonly filters?: outputs.Tenantmanagercontrolplane.GetDomainsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * Lifecycle state of the domain. */ readonly state?: string; /** * Status of the domain. */ readonly status?: string; } /** * This data source provides the list of Domains in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Return a (paginated) list of domains. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomains = oci.tenantmanagercontrolplane.getDomains({ * compartmentId: compartmentId, * domainId: testDomain.id, * name: domainName, * state: domainState, * status: domainStatus, * }); * ``` */ export declare function getDomainsOutput(args: GetDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDomains. */ export interface GetDomainsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * The domain OCID. */ domainId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that exactly match the name given. */ name?: pulumi.Input; /** * The lifecycle state of the resource. */ state?: pulumi.Input; /** * The status of the domain. */ status?: pulumi.Input; } //# sourceMappingURL=getDomains.d.ts.map