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 Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Return a (paginated) list of domain governance entities. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomainGovernances = oci.tenantmanagercontrolplane.getDomainGovernances({ * compartmentId: compartmentId, * domainGovernanceId: testDomainGovernance.id, * domainId: testDomain.id, * name: domainGovernanceName, * state: domainGovernanceState, * }); * ``` */ export declare function getDomainGovernances(args: GetDomainGovernancesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDomainGovernances. */ export interface GetDomainGovernancesArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * The domain governance OCID. */ domainGovernanceId?: string; /** * The domain OCID. */ domainId?: string; filters?: inputs.Tenantmanagercontrolplane.GetDomainGovernancesFilter[]; /** * A filter to return only resources that exactly match the name given. */ name?: string; /** * The lifecycle state of the resource. */ state?: string; } /** * A collection of values returned by getDomainGovernances. */ export interface GetDomainGovernancesResult { /** * The OCID of the tenancy that owns this domain governance entity. */ readonly compartmentId: string; /** * The list of domain_governance_collection. */ readonly domainGovernanceCollections: outputs.Tenantmanagercontrolplane.GetDomainGovernancesDomainGovernanceCollection[]; readonly domainGovernanceId?: string; /** * The OCID of the domain associated with this domain governance entity. */ readonly domainId?: string; readonly filters?: outputs.Tenantmanagercontrolplane.GetDomainGovernancesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * Lifecycle state of the domain governance entity. */ readonly state?: string; } /** * This data source provides the list of Domain Governances in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Return a (paginated) list of domain governance entities. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomainGovernances = oci.tenantmanagercontrolplane.getDomainGovernances({ * compartmentId: compartmentId, * domainGovernanceId: testDomainGovernance.id, * domainId: testDomain.id, * name: domainGovernanceName, * state: domainGovernanceState, * }); * ``` */ export declare function getDomainGovernancesOutput(args: GetDomainGovernancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDomainGovernances. */ export interface GetDomainGovernancesOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * The domain governance OCID. */ domainGovernanceId?: 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; } //# sourceMappingURL=getDomainGovernances.d.ts.map