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 Vm Instances in Oracle Cloud Infrastructure Datacc service. * * Obtain a list of VM instances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmInstances = oci.oci.getDataccVmInstances({ * compartmentId: compartmentId, * baseServerId: testBaseServer.id, * displayName: vmInstanceDisplayName, * infrastructureId: testInfrastructure.id, * states: vmInstanceState, * }); * ``` */ export declare function getDataccVmInstances(args: GetDataccVmInstancesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataccVmInstances. */ export interface GetDataccVmInstancesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure Server Id. */ baseServerId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied). */ compartmentId: string; /** * A filter to return resources that match the entire display name given. The match is case sensitive. */ displayName?: string; filters?: inputs.oci.GetDataccVmInstancesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ infrastructureId?: string; /** * A filter to return resources that match the specified lifecycle state. */ states?: string[]; } /** * A collection of values returned by getDataccVmInstances. */ export interface GetDataccVmInstancesResult { readonly baseServerId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VM instance. */ readonly compartmentId: string; /** * VM instance display name. This name does not have to be unique, and is changeable. */ readonly displayName?: string; readonly filters?: outputs.oci.GetDataccVmInstancesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ readonly infrastructureId?: string; /** * The current state of the VM instance. */ readonly states?: string[]; /** * The list of vm_instance_collection. */ readonly vmInstanceCollections: outputs.oci.GetDataccVmInstancesVmInstanceCollection[]; } /** * This data source provides the list of Vm Instances in Oracle Cloud Infrastructure Datacc service. * * Obtain a list of VM instances. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmInstances = oci.oci.getDataccVmInstances({ * compartmentId: compartmentId, * baseServerId: testBaseServer.id, * displayName: vmInstanceDisplayName, * infrastructureId: testInfrastructure.id, * states: vmInstanceState, * }); * ``` */ export declare function getDataccVmInstancesOutput(args: GetDataccVmInstancesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataccVmInstances. */ export interface GetDataccVmInstancesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure Server Id. */ baseServerId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied). */ compartmentId: pulumi.Input; /** * A filter to return resources that match the entire display name given. The match is case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ infrastructureId?: pulumi.Input; /** * A filter to return resources that match the specified lifecycle state. */ states?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getDataccVmInstances.d.ts.map