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 Hosted Deployments in Oracle Cloud Infrastructure Generative AI service. * * Lists the hosted deployments in a specific compartment. Use `applicationId` to filter by parent; it accepts either an IAM-authenticated or non-IAM Hosted Application OCID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostedDeployments = oci.generativeai.getHostedDeployments({ * compartmentId: compartmentId, * applicationId: testApplication.id, * displayName: hostedDeploymentDisplayName, * id: hostedDeploymentId, * state: hostedDeploymentState, * }); * ``` */ export declare function getHostedDeployments(args: GetHostedDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHostedDeployments. */ export interface GetHostedDeploymentsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application. */ applicationId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.GenerativeAi.GetHostedDeploymentsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the hosted deployment. */ id?: string; /** * A filter to return only the hosted deployments that their lifecycle state matches the given lifecycle state. */ state?: string; } /** * A collection of values returned by getHostedDeployments. */ export interface GetHostedDeploymentsResult { readonly applicationId?: string; /** * The compartment OCID to create the hosted application in. */ readonly compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. */ readonly displayName?: string; readonly filters?: outputs.GenerativeAi.GetHostedDeploymentsFilter[]; /** * The list of hosted_deployment_collection. */ readonly hostedDeploymentCollections: outputs.GenerativeAi.GetHostedDeploymentsHostedDeploymentCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the hosted deployment. */ readonly id?: string; /** * The current state of the hosted deployment. */ readonly state?: string; } /** * This data source provides the list of Hosted Deployments in Oracle Cloud Infrastructure Generative AI service. * * Lists the hosted deployments in a specific compartment. Use `applicationId` to filter by parent; it accepts either an IAM-authenticated or non-IAM Hosted Application OCID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostedDeployments = oci.generativeai.getHostedDeployments({ * compartmentId: compartmentId, * applicationId: testApplication.id, * displayName: hostedDeploymentDisplayName, * id: hostedDeploymentId, * state: hostedDeploymentState, * }); * ``` */ export declare function getHostedDeploymentsOutput(args: GetHostedDeploymentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHostedDeployments. */ export interface GetHostedDeploymentsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Hosted Application. The ID may refer to either an IAM-authenticated or non-IAM Hosted Application. */ applicationId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the hosted deployment. */ id?: pulumi.Input; /** * A filter to return only the hosted deployments that their lifecycle state matches the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getHostedDeployments.d.ts.map