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 Occ Customer Groups in Oracle Cloud Infrastructure Capacity Management service. * * Lists all the customer groups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccCustomerGroups = oci.capacitymanagement.getOccCustomerGroups({ * compartmentId: compartmentId, * displayName: occCustomerGroupDisplayName, * id: occCustomerGroupId, * status: occCustomerGroupStatus, * }); * ``` */ export declare function getOccCustomerGroups(args: GetOccCustomerGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOccCustomerGroups. */ export interface GetOccCustomerGroupsArgs { /** * The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes. */ compartmentId: string; /** * A filter to return only the resources that match the entire display name. The match is not case sensitive. */ displayName?: string; filters?: inputs.CapacityManagement.GetOccCustomerGroupsFilter[]; /** * A query filter to return the list result based on the customer group OCID. This is done for users who have INSPECT permission but do not have READ permission. */ id?: string; /** * A query filter to return the list result based on status. */ status?: string; } /** * A collection of values returned by getOccCustomerGroups. */ export interface GetOccCustomerGroupsResult { /** * The OCID of the tenancy containing the customer group. */ readonly compartmentId: string; /** * The display name of the customer group. */ readonly displayName?: string; readonly filters?: outputs.CapacityManagement.GetOccCustomerGroupsFilter[]; /** * The OCID of the customer group. */ readonly id?: string; /** * The list of occ_customer_group_collection. */ readonly occCustomerGroupCollections: outputs.CapacityManagement.GetOccCustomerGroupsOccCustomerGroupCollection[]; /** * To determine whether the customer group is enabled/disabled. */ readonly status?: string; } /** * This data source provides the list of Occ Customer Groups in Oracle Cloud Infrastructure Capacity Management service. * * Lists all the customer groups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccCustomerGroups = oci.capacitymanagement.getOccCustomerGroups({ * compartmentId: compartmentId, * displayName: occCustomerGroupDisplayName, * id: occCustomerGroupId, * status: occCustomerGroupStatus, * }); * ``` */ export declare function getOccCustomerGroupsOutput(args: GetOccCustomerGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOccCustomerGroups. */ export interface GetOccCustomerGroupsOutputArgs { /** * The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes. */ compartmentId: pulumi.Input; /** * A filter to return only the resources that match the entire display name. The match is not case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A query filter to return the list result based on the customer group OCID. This is done for users who have INSPECT permission but do not have READ permission. */ id?: pulumi.Input; /** * A query filter to return the list result based on status. */ status?: pulumi.Input; } //# sourceMappingURL=getOccCustomerGroups.d.ts.map