import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific External Asm resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external ASM specified by `externalAsmId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalAsm = oci.databasemanagement.getExternalAsm({ * externalAsmId: testExternalAsmOciDatabaseManagementExternalAsm.id, * }); * ``` */ export declare function getExternalAsm(args: GetExternalAsmArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalAsm. */ export interface GetExternalAsmArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external ASM. */ externalAsmId: string; } /** * A collection of values returned by getExternalAsm. */ export interface GetExternalAsmResult { /** * The additional details of the external ASM defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ readonly additionalDetails: { [key: string]: string; }; /** * 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 name of the external ASM. */ readonly componentName: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The user-friendly name for the database. The name does not have to be unique. */ readonly displayName: string; readonly externalAsmId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ readonly externalConnectorId: string; /** * 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; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed. */ readonly gridHome: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. */ readonly id: string; /** * Indicates whether the ASM is a cluster ASM or not. */ readonly isCluster: boolean; /** * Indicates whether Oracle Flex ASM is enabled or not. */ readonly isFlexEnabled: boolean; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The list of databases that are serviced by the ASM. */ readonly servicedDatabases: outputs.DatabaseManagement.GetExternalAsmServicedDatabase[]; /** * The current lifecycle state of the external ASM. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the external ASM was created. */ readonly timeCreated: string; /** * The date and time the external ASM was last updated. */ readonly timeUpdated: string; /** * The ASM version. */ readonly version: string; } /** * This data source provides details about a specific External Asm resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external ASM specified by `externalAsmId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalAsm = oci.databasemanagement.getExternalAsm({ * externalAsmId: testExternalAsmOciDatabaseManagementExternalAsm.id, * }); * ``` */ export declare function getExternalAsmOutput(args: GetExternalAsmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalAsm. */ export interface GetExternalAsmOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external ASM. */ externalAsmId: pulumi.Input; } //# sourceMappingURL=getExternalAsm.d.ts.map