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 Dynamic Groups in Oracle Cloud Infrastructure Identity service. * * Lists the dynamic groups 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 testDynamicGroups = oci.identity.getDynamicGroups({ * compartmentId: tenancyOcid, * name: dynamicGroupName, * state: dynamicGroupState, * }); * ``` */ export declare function getDynamicGroups(args: GetDynamicGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDynamicGroups. */ export interface GetDynamicGroupsArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: string; filters?: inputs.Identity.GetDynamicGroupsFilter[]; /** * 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 getDynamicGroups. */ export interface GetDynamicGroupsResult { /** * The OCID of the tenancy containing the group. */ readonly compartmentId: string; /** * The list of dynamic_groups. */ readonly dynamicGroups: outputs.Identity.GetDynamicGroupsDynamicGroup[]; readonly filters?: outputs.Identity.GetDynamicGroupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name you assign to the group during creation. The name must be unique across all groups in the tenancy and cannot be changed. */ readonly name?: string; /** * The group's current state. */ readonly state?: string; } /** * This data source provides the list of Dynamic Groups in Oracle Cloud Infrastructure Identity service. * * Lists the dynamic groups 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 testDynamicGroups = oci.identity.getDynamicGroups({ * compartmentId: tenancyOcid, * name: dynamicGroupName, * state: dynamicGroupState, * }); * ``` */ export declare function getDynamicGroupsOutput(args: GetDynamicGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDynamicGroups. */ export interface GetDynamicGroupsOutputArgs { /** * 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=getDynamicGroups.d.ts.map