import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the External Asm resource in Oracle Cloud Infrastructure Database Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-management/latest/ExternalAsm * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement * * Updates the external ASM specified by `externalAsmId`. * * ## Import * * ExternalAsms can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseManagement/externalAsm:ExternalAsm test_external_asm "id" * ``` */ export declare class ExternalAsm extends pulumi.CustomResource { /** * Get an existing ExternalAsm resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ExternalAsmState, opts?: pulumi.CustomResourceOptions): ExternalAsm; /** * Returns true if the given object is an instance of ExternalAsm. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ExternalAsm; /** * The additional details of the external ASM defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ readonly additionalDetails: pulumi.Output<{ [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: pulumi.Output; /** * The name of the external ASM. */ readonly componentName: pulumi.Output; /** * (Updatable) 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: pulumi.Output<{ [key: string]: string; }>; /** * The user-friendly name for the database. The name does not have to be unique. */ readonly displayName: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external ASM. */ readonly externalAsmId: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ readonly externalConnectorId: pulumi.Output; /** * 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: pulumi.Output; /** * (Updatable) 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"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed. */ readonly gridHome: pulumi.Output; /** * Indicates whether the ASM is a cluster ASM or not. */ readonly isCluster: pulumi.Output; /** * Indicates whether Oracle Flex ASM is enabled or not. */ readonly isFlexEnabled: pulumi.Output; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The list of databases that are serviced by the ASM. */ readonly servicedDatabases: pulumi.Output; /** * The current lifecycle state of the external ASM. */ readonly state: pulumi.Output; /** * 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: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the external ASM was created. */ readonly timeCreated: pulumi.Output; /** * The date and time the external ASM was last updated. */ readonly timeUpdated: pulumi.Output; /** * The ASM version. */ readonly version: pulumi.Output; /** * Create a ExternalAsm resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ExternalAsmArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalAsm resources. */ export interface ExternalAsmState { /** * The additional details of the external ASM defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ additionalDetails?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. */ compartmentId?: pulumi.Input; /** * The name of the external ASM. */ componentName?: pulumi.Input; /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-friendly name for the database. The name does not have to be unique. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external ASM. */ externalAsmId?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ externalConnectorId?: pulumi.Input; /** * 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. */ externalDbSystemId?: pulumi.Input; /** * (Updatable) 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"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed. */ gridHome?: pulumi.Input; /** * Indicates whether the ASM is a cluster ASM or not. */ isCluster?: pulumi.Input; /** * Indicates whether Oracle Flex ASM is enabled or not. */ isFlexEnabled?: pulumi.Input; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The list of databases that are serviced by the ASM. */ servicedDatabases?: pulumi.Input[] | undefined>; /** * The current lifecycle state of the external ASM. */ state?: pulumi.Input; /** * 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"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the external ASM was created. */ timeCreated?: pulumi.Input; /** * The date and time the external ASM was last updated. */ timeUpdated?: pulumi.Input; /** * The ASM version. */ version?: pulumi.Input; } /** * The set of arguments for constructing a ExternalAsm resource. */ export interface ExternalAsmArgs { /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external ASM. */ externalAsmId: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ externalConnectorId?: pulumi.Input; /** * (Updatable) 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"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=externalAsm.d.ts.map