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 Datastores in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. * * List the Datastores in the specified compartment. The list can be filtered * by compartment, datastore id, display name and lifecycle state. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatastores = oci.ocvp.getDatastores({ * compartmentId: compartmentId, * clusterId: testCluster.id, * datastoreId: testDatastore.id, * displayName: datastoreDisplayName, * state: datastoreState, * }); * ``` */ export declare function getDatastores(args: GetDatastoresArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatastores. */ export interface GetDatastoresArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. */ clusterId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Datastore. */ datastoreId?: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Ocvp.GetDatastoresFilter[]; /** * The lifecycle state of the resource. */ state?: string; } /** * A collection of values returned by getDatastores. */ export interface GetDatastoresResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VMware Cluster that Datastore is attached to. */ readonly clusterId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Datastore. */ readonly compartmentId: string; /** * The list of datastore_collection. */ readonly datastoreCollections: outputs.Ocvp.GetDatastoresDatastoreCollection[]; readonly datastoreId?: string; /** * A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Ocvp.GetDatastoresFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the Datastore. */ readonly state?: string; } /** * This data source provides the list of Datastores in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. * * List the Datastores in the specified compartment. The list can be filtered * by compartment, datastore id, display name and lifecycle state. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatastores = oci.ocvp.getDatastores({ * compartmentId: compartmentId, * clusterId: testCluster.id, * datastoreId: testDatastore.id, * displayName: datastoreDisplayName, * state: datastoreState, * }); * ``` */ export declare function getDatastoresOutput(args: GetDatastoresOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatastores. */ export interface GetDatastoresOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. */ clusterId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Datastore. */ datastoreId?: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The lifecycle state of the resource. */ state?: pulumi.Input; } //# sourceMappingURL=getDatastores.d.ts.map