import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Cloud 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/CloudAsm * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement * * Updates the cloud ASM specified by `cloudAsmId`. * * ## Import * * CloudAsms can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseManagement/cloudAsm:CloudAsm test_cloud_asm "id" * ``` */ export declare class CloudAsm extends pulumi.CustomResource { /** * Get an existing CloudAsm 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?: CloudAsmState, opts?: pulumi.CustomResourceOptions): CloudAsm; /** * Returns true if the given object is an instance of CloudAsm. 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 CloudAsm; /** * The additional details of the cloud 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 cloud ASM. */ readonly cloudAsmId: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud connector. */ readonly cloudConnectorId: pulumi.Output; /** * 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: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud database resides. */ readonly compartmentId: pulumi.Output; /** * The name of the cloud ASM. */ readonly componentName: pulumi.Output; /** * 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: 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; /** * (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 cloud 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 cloud ASM was created. */ readonly timeCreated: pulumi.Output; /** * The date and time the cloud ASM was last updated. */ readonly timeUpdated: pulumi.Output; /** * The ASM version. */ readonly version: pulumi.Output; /** * Create a CloudAsm 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: CloudAsmArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudAsm resources. */ export interface CloudAsmState { /** * The additional details of the cloud 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 cloud ASM. */ cloudAsmId?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud connector. */ cloudConnectorId?: pulumi.Input; /** * 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. */ cloudDbSystemId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud database resides. */ compartmentId?: pulumi.Input; /** * The name of the cloud ASM. */ componentName?: pulumi.Input; /** * 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. */ dbaasId?: 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; /** * (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 cloud 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 cloud ASM was created. */ timeCreated?: pulumi.Input; /** * The date and time the cloud ASM was last updated. */ timeUpdated?: pulumi.Input; /** * The ASM version. */ version?: pulumi.Input; } /** * The set of arguments for constructing a CloudAsm resource. */ export interface CloudAsmArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud ASM. */ cloudAsmId: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud connector. */ cloudConnectorId?: 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>; /** * (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=cloudAsm.d.ts.map