1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. CloudAsm
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.DatabaseManagement.CloudAsm

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This resource provides the Cloud Asm resource in Oracle Cloud Infrastructure Database Management service.

    Updates the cloud ASM specified by cloudAsmId.

    Create CloudAsm Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudAsm(name: string, args: CloudAsmArgs, opts?: CustomResourceOptions);
    @overload
    def CloudAsm(resource_name: str,
                 args: CloudAsmArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudAsm(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 cloud_asm_id: Optional[str] = None,
                 cloud_connector_id: Optional[str] = None,
                 defined_tags: Optional[Mapping[str, str]] = None,
                 freeform_tags: Optional[Mapping[str, str]] = None)
    func NewCloudAsm(ctx *Context, name string, args CloudAsmArgs, opts ...ResourceOption) (*CloudAsm, error)
    public CloudAsm(string name, CloudAsmArgs args, CustomResourceOptions? opts = null)
    public CloudAsm(String name, CloudAsmArgs args)
    public CloudAsm(String name, CloudAsmArgs args, CustomResourceOptions options)
    
    type: oci:DatabaseManagement:CloudAsm
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CloudAsmArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudAsmArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudAsmArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudAsmArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudAsmArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cloudAsmResource = new Oci.DatabaseManagement.CloudAsm("cloudAsmResource", new()
    {
        CloudAsmId = "string",
        CloudConnectorId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := databasemanagement.NewCloudAsm(ctx, "cloudAsmResource", &databasemanagement.CloudAsmArgs{
    	CloudAsmId:       pulumi.String("string"),
    	CloudConnectorId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var cloudAsmResource = new CloudAsm("cloudAsmResource", CloudAsmArgs.builder()
        .cloudAsmId("string")
        .cloudConnectorId("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .build());
    
    cloud_asm_resource = oci.databasemanagement.CloudAsm("cloudAsmResource",
        cloud_asm_id="string",
        cloud_connector_id="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        })
    
    const cloudAsmResource = new oci.databasemanagement.CloudAsm("cloudAsmResource", {
        cloudAsmId: "string",
        cloudConnectorId: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:DatabaseManagement:CloudAsm
    properties:
        cloudAsmId: string
        cloudConnectorId: string
        definedTags:
            string: string
        freeformTags:
            string: string
    

    CloudAsm Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudAsm resource accepts the following input properties:

    CloudAsmId string
    The OCID of the cloud ASM.
    CloudConnectorId string
    (Updatable) The OCID of the cloud connector.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, string>

    (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. 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

    CloudAsmId string
    The OCID of the cloud ASM.
    CloudConnectorId string
    (Updatable) The OCID of the cloud connector.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]string

    (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. 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

    cloudAsmId String
    The OCID of the cloud ASM.
    cloudConnectorId String
    (Updatable) The OCID of the cloud connector.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,String>

    (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. 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

    cloudAsmId string
    The OCID of the cloud ASM.
    cloudConnectorId string
    (Updatable) The OCID of the cloud connector.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: string}

    (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. 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

    cloud_asm_id str
    The OCID of the cloud ASM.
    cloud_connector_id str
    (Updatable) The OCID of the cloud connector.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, str]

    (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. 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

    cloudAsmId String
    The OCID of the cloud ASM.
    cloudConnectorId String
    (Updatable) The OCID of the cloud connector.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String>

    (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. 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudAsm resource produces the following output properties:

    AdditionalDetails Dictionary<string, string>
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CloudDbSystemId string
    The OCID of the cloud DB system that the ASM is a part of.
    CompartmentId string
    The OCID of the compartment in which the cloud database resides.
    ComponentName string
    The name of the cloud ASM.
    DbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    GridHome string
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCluster bool
    Indicates whether the ASM is a cluster ASM or not.
    IsFlexEnabled bool
    Indicates whether Oracle Flex ASM is enabled or not.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    ServicedDatabases List<CloudAsmServicedDatabase>
    The list of databases that are serviced by the ASM.
    State string
    The current lifecycle state of the cloud ASM.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the cloud ASM was created.
    TimeUpdated string
    The date and time the cloud ASM was last updated.
    Version string
    The ASM version.
    AdditionalDetails map[string]string
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CloudDbSystemId string
    The OCID of the cloud DB system that the ASM is a part of.
    CompartmentId string
    The OCID of the compartment in which the cloud database resides.
    ComponentName string
    The name of the cloud ASM.
    DbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    GridHome string
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCluster bool
    Indicates whether the ASM is a cluster ASM or not.
    IsFlexEnabled bool
    Indicates whether Oracle Flex ASM is enabled or not.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    ServicedDatabases []CloudAsmServicedDatabase
    The list of databases that are serviced by the ASM.
    State string
    The current lifecycle state of the cloud ASM.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the cloud ASM was created.
    TimeUpdated string
    The date and time the cloud ASM was last updated.
    Version string
    The ASM version.
    additionalDetails Map<String,String>
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloudDbSystemId String
    The OCID of the cloud DB system that the ASM is a part of.
    compartmentId String
    The OCID of the compartment in which the cloud database resides.
    componentName String
    The name of the cloud ASM.
    dbaasId String
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    gridHome String
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    id String
    The provider-assigned unique ID for this managed resource.
    isCluster Boolean
    Indicates whether the ASM is a cluster ASM or not.
    isFlexEnabled Boolean
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    servicedDatabases List<CloudAsmServicedDatabase>
    The list of databases that are serviced by the ASM.
    state String
    The current lifecycle state of the cloud ASM.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the cloud ASM was created.
    timeUpdated String
    The date and time the cloud ASM was last updated.
    version String
    The ASM version.
    additionalDetails {[key: string]: string}
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloudDbSystemId string
    The OCID of the cloud DB system that the ASM is a part of.
    compartmentId string
    The OCID of the compartment in which the cloud database resides.
    componentName string
    The name of the cloud ASM.
    dbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    displayName string
    The user-friendly name for the database. The name does not have to be unique.
    gridHome string
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    id string
    The provider-assigned unique ID for this managed resource.
    isCluster boolean
    Indicates whether the ASM is a cluster ASM or not.
    isFlexEnabled boolean
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    servicedDatabases CloudAsmServicedDatabase[]
    The list of databases that are serviced by the ASM.
    state string
    The current lifecycle state of the cloud ASM.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the cloud ASM was created.
    timeUpdated string
    The date and time the cloud ASM was last updated.
    version string
    The ASM version.
    additional_details Mapping[str, str]
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloud_db_system_id str
    The OCID of the cloud DB system that the ASM is a part of.
    compartment_id str
    The OCID of the compartment in which the cloud database resides.
    component_name str
    The name of the cloud ASM.
    dbaas_id str
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    display_name str
    The user-friendly name for the database. The name does not have to be unique.
    grid_home str
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    id str
    The provider-assigned unique ID for this managed resource.
    is_cluster bool
    Indicates whether the ASM is a cluster ASM or not.
    is_flex_enabled bool
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycle_details str
    Additional information about the current lifecycle state.
    serviced_databases Sequence[CloudAsmServicedDatabase]
    The list of databases that are serviced by the ASM.
    state str
    The current lifecycle state of the cloud ASM.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the cloud ASM was created.
    time_updated str
    The date and time the cloud ASM was last updated.
    version str
    The ASM version.
    additionalDetails Map<String>
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloudDbSystemId String
    The OCID of the cloud DB system that the ASM is a part of.
    compartmentId String
    The OCID of the compartment in which the cloud database resides.
    componentName String
    The name of the cloud ASM.
    dbaasId String
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    gridHome String
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    id String
    The provider-assigned unique ID for this managed resource.
    isCluster Boolean
    Indicates whether the ASM is a cluster ASM or not.
    isFlexEnabled Boolean
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    servicedDatabases List<Property Map>
    The list of databases that are serviced by the ASM.
    state String
    The current lifecycle state of the cloud ASM.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the cloud ASM was created.
    timeUpdated String
    The date and time the cloud ASM was last updated.
    version String
    The ASM version.

    Look up Existing CloudAsm Resource

    Get an existing CloudAsm resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudAsmState, opts?: CustomResourceOptions): CloudAsm
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_details: Optional[Mapping[str, str]] = None,
            cloud_asm_id: Optional[str] = None,
            cloud_connector_id: Optional[str] = None,
            cloud_db_system_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            component_name: Optional[str] = None,
            dbaas_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            grid_home: Optional[str] = None,
            is_cluster: Optional[bool] = None,
            is_flex_enabled: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            serviced_databases: Optional[Sequence[CloudAsmServicedDatabaseArgs]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            version: Optional[str] = None) -> CloudAsm
    func GetCloudAsm(ctx *Context, name string, id IDInput, state *CloudAsmState, opts ...ResourceOption) (*CloudAsm, error)
    public static CloudAsm Get(string name, Input<string> id, CloudAsmState? state, CustomResourceOptions? opts = null)
    public static CloudAsm get(String name, Output<String> id, CloudAsmState state, CustomResourceOptions options)
    resources:  _:    type: oci:DatabaseManagement:CloudAsm    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdditionalDetails Dictionary<string, string>
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CloudAsmId string
    The OCID of the cloud ASM.
    CloudConnectorId string
    (Updatable) The OCID of the cloud connector.
    CloudDbSystemId string
    The OCID of the cloud DB system that the ASM is a part of.
    CompartmentId string
    The OCID of the compartment in which the cloud database resides.
    ComponentName string
    The name of the cloud ASM.
    DbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    FreeformTags Dictionary<string, string>

    (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. 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

    GridHome string
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    IsCluster bool
    Indicates whether the ASM is a cluster ASM or not.
    IsFlexEnabled bool
    Indicates whether Oracle Flex ASM is enabled or not.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    ServicedDatabases List<CloudAsmServicedDatabase>
    The list of databases that are serviced by the ASM.
    State string
    The current lifecycle state of the cloud ASM.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the cloud ASM was created.
    TimeUpdated string
    The date and time the cloud ASM was last updated.
    Version string
    The ASM version.
    AdditionalDetails map[string]string
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CloudAsmId string
    The OCID of the cloud ASM.
    CloudConnectorId string
    (Updatable) The OCID of the cloud connector.
    CloudDbSystemId string
    The OCID of the cloud DB system that the ASM is a part of.
    CompartmentId string
    The OCID of the compartment in which the cloud database resides.
    ComponentName string
    The name of the cloud ASM.
    DbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    FreeformTags map[string]string

    (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. 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

    GridHome string
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    IsCluster bool
    Indicates whether the ASM is a cluster ASM or not.
    IsFlexEnabled bool
    Indicates whether Oracle Flex ASM is enabled or not.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    ServicedDatabases []CloudAsmServicedDatabaseArgs
    The list of databases that are serviced by the ASM.
    State string
    The current lifecycle state of the cloud ASM.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the cloud ASM was created.
    TimeUpdated string
    The date and time the cloud ASM was last updated.
    Version string
    The ASM version.
    additionalDetails Map<String,String>
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloudAsmId String
    The OCID of the cloud ASM.
    cloudConnectorId String
    (Updatable) The OCID of the cloud connector.
    cloudDbSystemId String
    The OCID of the cloud DB system that the ASM is a part of.
    compartmentId String
    The OCID of the compartment in which the cloud database resides.
    componentName String
    The name of the cloud ASM.
    dbaasId String
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    freeformTags Map<String,String>

    (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. 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

    gridHome String
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    isCluster Boolean
    Indicates whether the ASM is a cluster ASM or not.
    isFlexEnabled Boolean
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    servicedDatabases List<CloudAsmServicedDatabase>
    The list of databases that are serviced by the ASM.
    state String
    The current lifecycle state of the cloud ASM.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the cloud ASM was created.
    timeUpdated String
    The date and time the cloud ASM was last updated.
    version String
    The ASM version.
    additionalDetails {[key: string]: string}
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloudAsmId string
    The OCID of the cloud ASM.
    cloudConnectorId string
    (Updatable) The OCID of the cloud connector.
    cloudDbSystemId string
    The OCID of the cloud DB system that the ASM is a part of.
    compartmentId string
    The OCID of the compartment in which the cloud database resides.
    componentName string
    The name of the cloud ASM.
    dbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    The user-friendly name for the database. The name does not have to be unique.
    freeformTags {[key: string]: string}

    (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. 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

    gridHome string
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    isCluster boolean
    Indicates whether the ASM is a cluster ASM or not.
    isFlexEnabled boolean
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    servicedDatabases CloudAsmServicedDatabase[]
    The list of databases that are serviced by the ASM.
    state string
    The current lifecycle state of the cloud ASM.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the cloud ASM was created.
    timeUpdated string
    The date and time the cloud ASM was last updated.
    version string
    The ASM version.
    additional_details Mapping[str, str]
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloud_asm_id str
    The OCID of the cloud ASM.
    cloud_connector_id str
    (Updatable) The OCID of the cloud connector.
    cloud_db_system_id str
    The OCID of the cloud DB system that the ASM is a part of.
    compartment_id str
    The OCID of the compartment in which the cloud database resides.
    component_name str
    The name of the cloud ASM.
    dbaas_id str
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    The user-friendly name for the database. The name does not have to be unique.
    freeform_tags Mapping[str, str]

    (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. 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

    grid_home str
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    is_cluster bool
    Indicates whether the ASM is a cluster ASM or not.
    is_flex_enabled bool
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycle_details str
    Additional information about the current lifecycle state.
    serviced_databases Sequence[CloudAsmServicedDatabaseArgs]
    The list of databases that are serviced by the ASM.
    state str
    The current lifecycle state of the cloud ASM.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the cloud ASM was created.
    time_updated str
    The date and time the cloud ASM was last updated.
    version str
    The ASM version.
    additionalDetails Map<String>
    The additional details of the cloud ASM defined in {"key": "value"} format. Example: {"bar-key": "value"}
    cloudAsmId String
    The OCID of the cloud ASM.
    cloudConnectorId String
    (Updatable) The OCID of the cloud connector.
    cloudDbSystemId String
    The OCID of the cloud DB system that the ASM is a part of.
    compartmentId String
    The OCID of the compartment in which the cloud database resides.
    componentName String
    The name of the cloud ASM.
    dbaasId String
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    freeformTags Map<String>

    (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. 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

    gridHome String
    The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
    isCluster Boolean
    Indicates whether the ASM is a cluster ASM or not.
    isFlexEnabled Boolean
    Indicates whether Oracle Flex ASM is enabled or not.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    servicedDatabases List<Property Map>
    The list of databases that are serviced by the ASM.
    state String
    The current lifecycle state of the cloud ASM.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the cloud ASM was created.
    timeUpdated String
    The date and time the cloud ASM was last updated.
    version String
    The ASM version.

    Supporting Types

    CloudAsmServicedDatabase, CloudAsmServicedDatabaseArgs

    CompartmentId string
    The OCID of the compartment in which the cloud database resides.
    DatabaseSubType string
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
    DatabaseType string
    The type of Oracle Database installation.
    DbUniqueName string
    The unique name of the cloud database.
    DbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    DiskGroups List<string>
    The list of ASM disk groups used by the database.
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    Id string
    The OCID of the cloud database.
    IsManaged bool
    Indicates whether the database is a Managed Database or not.
    CompartmentId string
    The OCID of the compartment in which the cloud database resides.
    DatabaseSubType string
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
    DatabaseType string
    The type of Oracle Database installation.
    DbUniqueName string
    The unique name of the cloud database.
    DbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    DiskGroups []string
    The list of ASM disk groups used by the database.
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    Id string
    The OCID of the cloud database.
    IsManaged bool
    Indicates whether the database is a Managed Database or not.
    compartmentId String
    The OCID of the compartment in which the cloud database resides.
    databaseSubType String
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
    databaseType String
    The type of Oracle Database installation.
    dbUniqueName String
    The unique name of the cloud database.
    dbaasId String
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    diskGroups List<String>
    The list of ASM disk groups used by the database.
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    id String
    The OCID of the cloud database.
    isManaged Boolean
    Indicates whether the database is a Managed Database or not.
    compartmentId string
    The OCID of the compartment in which the cloud database resides.
    databaseSubType string
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
    databaseType string
    The type of Oracle Database installation.
    dbUniqueName string
    The unique name of the cloud database.
    dbaasId string
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    diskGroups string[]
    The list of ASM disk groups used by the database.
    displayName string
    The user-friendly name for the database. The name does not have to be unique.
    id string
    The OCID of the cloud database.
    isManaged boolean
    Indicates whether the database is a Managed Database or not.
    compartment_id str
    The OCID of the compartment in which the cloud database resides.
    database_sub_type str
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
    database_type str
    The type of Oracle Database installation.
    db_unique_name str
    The unique name of the cloud database.
    dbaas_id str
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    disk_groups Sequence[str]
    The list of ASM disk groups used by the database.
    display_name str
    The user-friendly name for the database. The name does not have to be unique.
    id str
    The OCID of the cloud database.
    is_managed bool
    Indicates whether the database is a Managed Database or not.
    compartmentId String
    The OCID of the compartment in which the cloud database resides.
    databaseSubType String
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
    databaseType String
    The type of Oracle Database installation.
    dbUniqueName String
    The unique name of the cloud database.
    dbaasId String
    The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
    diskGroups List<String>
    The list of ASM disk groups used by the database.
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    id String
    The OCID of the cloud database.
    isManaged Boolean
    Indicates whether the database is a Managed Database or not.

    Import

    CloudAsms can be imported using the id, e.g.

    $ pulumi import oci:DatabaseManagement/cloudAsm:CloudAsm test_cloud_asm "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi