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 Deployments in Oracle Cloud Infrastructure API Gateway service. * * Returns a list of deployments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeployments = oci.apigateway.getDeployments({ * compartmentId: compartmentId, * displayName: deploymentDisplayName, * gatewayId: testGateway.id, * state: deploymentState, * }); * ``` */ export declare function getDeployments(args: GetDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDeployments. */ export interface GetDeploymentsArgs { /** * The ocid of the compartment in which to list resources. */ compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: string; filters?: inputs.ApiGateway.GetDeploymentsFilter[]; /** * Filter deployments by the gateway ocid. */ gatewayId?: string; /** * A filter to return only resources that match the given lifecycle state. Example: `SUCCEEDED` */ state?: string; } /** * A collection of values returned by getDeployments. */ export interface GetDeploymentsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the resource is created. */ readonly compartmentId: string; /** * The list of deployment_collection. */ readonly deploymentCollections: outputs.ApiGateway.GetDeploymentsDeploymentCollection[]; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName?: string; readonly filters?: outputs.ApiGateway.GetDeploymentsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ readonly gatewayId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the deployment. */ readonly state?: string; } /** * This data source provides the list of Deployments in Oracle Cloud Infrastructure API Gateway service. * * Returns a list of deployments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeployments = oci.apigateway.getDeployments({ * compartmentId: compartmentId, * displayName: deploymentDisplayName, * gatewayId: testGateway.id, * state: deploymentState, * }); * ``` */ export declare function getDeploymentsOutput(args: GetDeploymentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDeployments. */ export interface GetDeploymentsOutputArgs { /** * The ocid of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter deployments by the gateway ocid. */ gatewayId?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. Example: `SUCCEEDED` */ state?: pulumi.Input; } //# sourceMappingURL=getDeployments.d.ts.map