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 Model Groups in Oracle Cloud Infrastructure Data Science service. * * Lists all the modelGroups in the specified compartment. The query must include compartmentId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModelGroups = oci.datascience.getModelGroups({ * compartmentId: compartmentId, * createdBy: modelGroupCreatedBy, * displayName: modelGroupDisplayName, * id: modelGroupId, * modelGroupVersionHistoryId: testModelGroupVersionHistory.id, * projectId: testProject.id, * state: modelGroupState, * }); * ``` */ export declare function getModelGroups(args: GetModelGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getModelGroups. */ export interface GetModelGroupsArgs { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. */ createdBy?: string; /** * Filter results by its user-friendly name. */ displayName?: string; filters?: inputs.DataScience.GetModelGroupsFilter[]; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroupVersionHistory. */ modelGroupVersionHistoryId?: string; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. */ projectId?: string; /** * A filter to return resources matching the given lifecycleState. */ state?: string; } /** * A collection of values returned by getModelGroups. */ export interface GetModelGroupsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup's compartment. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the modelGroup. */ readonly createdBy?: string; /** * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.DataScience.GetModelGroupsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup. */ readonly id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model group version history to which the modelGroup is associated. */ readonly modelGroupVersionHistoryId?: string; /** * The list of model_groups. */ readonly modelGroups: outputs.DataScience.GetModelGroupsModelGroup[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the modelGroup. */ readonly projectId?: string; /** * The state of the modelGroup. */ readonly state?: string; } /** * This data source provides the list of Model Groups in Oracle Cloud Infrastructure Data Science service. * * Lists all the modelGroups in the specified compartment. The query must include compartmentId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModelGroups = oci.datascience.getModelGroups({ * compartmentId: compartmentId, * createdBy: modelGroupCreatedBy, * displayName: modelGroupDisplayName, * id: modelGroupId, * modelGroupVersionHistoryId: testModelGroupVersionHistory.id, * projectId: testProject.id, * state: modelGroupState, * }); * ``` */ export declare function getModelGroupsOutput(args: GetModelGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getModelGroups. */ export interface GetModelGroupsOutputArgs { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. */ createdBy?: pulumi.Input; /** * Filter results by its user-friendly name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroupVersionHistory. */ modelGroupVersionHistoryId?: pulumi.Input; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. */ projectId?: pulumi.Input; /** * A filter to return resources matching the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getModelGroups.d.ts.map