import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Cloud Asm resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the cloud ASM specified by `cloudAsmId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCloudAsm = oci.databasemanagement.getCloudAsm({ * cloudAsmId: testCloudAsmOciDatabaseManagementCloudAsm.id, * }); * ``` */ export declare function getCloudAsm(args: GetCloudAsmArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudAsm. */ export interface GetCloudAsmArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud ASM. */ cloudAsmId: string; } /** * A collection of values returned by getCloudAsm. */ export interface GetCloudAsmResult { /** * The additional details of the cloud ASM defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ readonly additionalDetails: { [key: string]: string; }; readonly cloudAsmId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud connector. */ readonly cloudConnectorId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud DB system that the ASM is a part of. */ readonly cloudDbSystemId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud database resides. */ readonly compartmentId: string; /** * The name of the cloud ASM. */ readonly componentName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the existing DBaas Oracle Cloud Infrastructure resource matching the discovered DB system component. */ readonly dbaasId: 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; /** * 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 cloud 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.GetCloudAsmServicedDatabase[]; /** * The current lifecycle state of the cloud 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 cloud ASM was created. */ readonly timeCreated: string; /** * The date and time the cloud ASM was last updated. */ readonly timeUpdated: string; /** * The ASM version. */ readonly version: string; } /** * This data source provides details about a specific Cloud Asm resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the cloud ASM specified by `cloudAsmId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCloudAsm = oci.databasemanagement.getCloudAsm({ * cloudAsmId: testCloudAsmOciDatabaseManagementCloudAsm.id, * }); * ``` */ export declare function getCloudAsmOutput(args: GetCloudAsmOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudAsm. */ export interface GetCloudAsmOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud ASM. */ cloudAsmId: pulumi.Input; } //# sourceMappingURL=getCloudAsm.d.ts.map