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 Container Instances in Oracle Cloud Infrastructure Container Instances service. * * Returns a list of container instances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerInstances = oci.containerinstances.getContainerInstances({ * compartmentId: compartmentId, * availabilityDomain: containerInstanceAvailabilityDomain, * displayName: containerInstanceDisplayName, * state: containerInstanceState, * }); * ``` */ export declare function getContainerInstances(args: GetContainerInstancesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getContainerInstances. */ export interface GetContainerInstancesArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: 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 entire display name given. */ displayName?: string; filters?: inputs.ContainerInstances.GetContainerInstancesFilter[]; /** * A filter to only return resources that match the given lifecycle state. */ state?: string; } /** * A collection of values returned by getContainerInstances. */ export interface GetContainerInstancesResult { /** * The availability domain to place the container instance. */ readonly availabilityDomain?: string; /** * The OCID of the compartment. */ readonly compartmentId: string; /** * The list of container_instance_collection. */ readonly containerInstanceCollections: outputs.ContainerInstances.GetContainerInstancesContainerInstanceCollection[]; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.ContainerInstances.GetContainerInstancesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the container instance. */ readonly state?: string; } /** * This data source provides the list of Container Instances in Oracle Cloud Infrastructure Container Instances service. * * Returns a list of container instances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerInstances = oci.containerinstances.getContainerInstances({ * compartmentId: compartmentId, * availabilityDomain: containerInstanceAvailabilityDomain, * displayName: containerInstanceDisplayName, * state: containerInstanceState, * }); * ``` */ export declare function getContainerInstancesOutput(args: GetContainerInstancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getContainerInstances. */ export interface GetContainerInstancesOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: 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 entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getContainerInstances.d.ts.map