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 External Asms in Oracle Cloud Infrastructure Database Management service. * * Lists the ASMs in the specified external DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalAsms = oci.databasemanagement.getExternalAsms({ * compartmentId: compartmentId, * displayName: externalAsmDisplayName, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalAsms(args?: GetExternalAsmsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalAsms. */ export interface GetExternalAsmsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * A filter to only return the resources that match the entire display name. */ displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: string; filters?: inputs.DatabaseManagement.GetExternalAsmsFilter[]; } /** * A collection of values returned by getExternalAsms. */ export interface GetExternalAsmsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. */ readonly compartmentId?: string; /** * The user-friendly name for the database. The name does not have to be unique. */ readonly displayName?: string; /** * The list of external_asm_collection. */ readonly externalAsmCollections: outputs.DatabaseManagement.GetExternalAsmsExternalAsmCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that the ASM is a part of. */ readonly externalDbSystemId?: string; readonly filters?: outputs.DatabaseManagement.GetExternalAsmsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of External Asms in Oracle Cloud Infrastructure Database Management service. * * Lists the ASMs in the specified external DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalAsms = oci.databasemanagement.getExternalAsms({ * compartmentId: compartmentId, * displayName: externalAsmDisplayName, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalAsmsOutput(args?: GetExternalAsmsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalAsms. */ export interface GetExternalAsmsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * A filter to only return the resources that match the entire display name. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getExternalAsms.d.ts.map