oci.DatabaseManagement.CloudAsm
Explore with Pulumi AI
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:
- Cloud
Asm stringId - The OCID of the cloud ASM.
- Cloud
Connector stringId - (Updatable) The OCID of the cloud connector.
- 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"}
- 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
- Cloud
Asm stringId - The OCID of the cloud ASM.
- Cloud
Connector stringId - (Updatable) The OCID of the cloud connector.
- 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"}
- 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
- cloud
Asm StringId - The OCID of the cloud ASM.
- cloud
Connector StringId - (Updatable) The OCID of the cloud connector.
- 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"}
- 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
- cloud
Asm stringId - The OCID of the cloud ASM.
- cloud
Connector stringId - (Updatable) The OCID of the cloud connector.
- {[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"}
- {[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_ strid - The OCID of the cloud ASM.
- cloud_
connector_ strid - (Updatable) The OCID of the cloud connector.
- 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"}
- 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
- cloud
Asm StringId - The OCID of the cloud ASM.
- cloud
Connector StringId - (Updatable) The OCID of the cloud connector.
- 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"}
- 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:
- Additional
Details Dictionary<string, string> - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Cloud
Db stringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- Compartment
Id string - The OCID of the compartment in which the cloud database resides.
- Component
Name string - The name of the cloud ASM.
- Dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- Display
Name string - The user-friendly name for the database. The name does not have to be unique.
- Grid
Home 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.
- Is
Cluster bool - Indicates whether the ASM is a cluster ASM or not.
- Is
Flex boolEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Serviced
Databases List<CloudAsm Serviced Database> - The list of databases that are serviced by the ASM.
- State string
- The current lifecycle state of the cloud ASM.
- 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"}
- Time
Created string - The date and time the cloud ASM was created.
- Time
Updated string - The date and time the cloud ASM was last updated.
- Version string
- The ASM version.
- Additional
Details map[string]string - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Cloud
Db stringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- Compartment
Id string - The OCID of the compartment in which the cloud database resides.
- Component
Name string - The name of the cloud ASM.
- Dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- Display
Name string - The user-friendly name for the database. The name does not have to be unique.
- Grid
Home 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.
- Is
Cluster bool - Indicates whether the ASM is a cluster ASM or not.
- Is
Flex boolEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Serviced
Databases []CloudAsm Serviced Database - The list of databases that are serviced by the ASM.
- State string
- The current lifecycle state of the cloud ASM.
- 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"}
- Time
Created string - The date and time the cloud ASM was created.
- Time
Updated string - The date and time the cloud ASM was last updated.
- Version string
- The ASM version.
- additional
Details Map<String,String> - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Db StringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- compartment
Id String - The OCID of the compartment in which the cloud database resides.
- component
Name String - The name of the cloud ASM.
- dbaas
Id String - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- display
Name String - The user-friendly name for the database. The name does not have to be unique.
- grid
Home 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.
- is
Cluster Boolean - Indicates whether the ASM is a cluster ASM or not.
- is
Flex BooleanEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- serviced
Databases List<CloudAsm Serviced Database> - The list of databases that are serviced by the ASM.
- state String
- The current lifecycle state of the cloud ASM.
- 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"}
- time
Created String - The date and time the cloud ASM was created.
- time
Updated String - The date and time the cloud ASM was last updated.
- version String
- The ASM version.
- additional
Details {[key: string]: string} - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Db stringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- compartment
Id string - The OCID of the compartment in which the cloud database resides.
- component
Name string - The name of the cloud ASM.
- dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- display
Name string - The user-friendly name for the database. The name does not have to be unique.
- grid
Home 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.
- is
Cluster boolean - Indicates whether the ASM is a cluster ASM or not.
- is
Flex booleanEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle
Details string - Additional information about the current lifecycle state.
- serviced
Databases CloudAsm Serviced Database[] - The list of databases that are serviced by the ASM.
- state string
- The current lifecycle state of the cloud ASM.
- {[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"}
- time
Created string - The date and time the cloud ASM was created.
- time
Updated 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_ strsystem_ id - 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_ boolenabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle_
details str - Additional information about the current lifecycle state.
- serviced_
databases Sequence[CloudAsm Serviced Database] - The list of databases that are serviced by the ASM.
- state str
- The current lifecycle state of the cloud ASM.
- 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.
- additional
Details Map<String> - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Db StringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- compartment
Id String - The OCID of the compartment in which the cloud database resides.
- component
Name String - The name of the cloud ASM.
- dbaas
Id String - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- display
Name String - The user-friendly name for the database. The name does not have to be unique.
- grid
Home 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.
- is
Cluster Boolean - Indicates whether the ASM is a cluster ASM or not.
- is
Flex BooleanEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- serviced
Databases List<Property Map> - The list of databases that are serviced by the ASM.
- state String
- The current lifecycle state of the cloud ASM.
- 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"}
- time
Created String - The date and time the cloud ASM was created.
- time
Updated 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.
- Additional
Details Dictionary<string, string> - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Cloud
Asm stringId - The OCID of the cloud ASM.
- Cloud
Connector stringId - (Updatable) The OCID of the cloud connector.
- Cloud
Db stringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- Compartment
Id string - The OCID of the compartment in which the cloud database resides.
- Component
Name string - The name of the cloud ASM.
- Dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- 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"}
- Display
Name string - The user-friendly name for the database. The name does not have to be unique.
- 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
- Grid
Home string - 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 boolEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Serviced
Databases List<CloudAsm Serviced Database> - The list of databases that are serviced by the ASM.
- State string
- The current lifecycle state of the cloud ASM.
- 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"}
- Time
Created string - The date and time the cloud ASM was created.
- Time
Updated string - The date and time the cloud ASM was last updated.
- Version string
- The ASM version.
- Additional
Details map[string]string - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Cloud
Asm stringId - The OCID of the cloud ASM.
- Cloud
Connector stringId - (Updatable) The OCID of the cloud connector.
- Cloud
Db stringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- Compartment
Id string - The OCID of the compartment in which the cloud database resides.
- Component
Name string - The name of the cloud ASM.
- Dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- 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"}
- Display
Name string - The user-friendly name for the database. The name does not have to be unique.
- 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
- Grid
Home string - 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 boolEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Serviced
Databases []CloudAsm Serviced Database Args - The list of databases that are serviced by the ASM.
- State string
- The current lifecycle state of the cloud ASM.
- 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"}
- Time
Created string - The date and time the cloud ASM was created.
- Time
Updated string - The date and time the cloud ASM was last updated.
- Version string
- The ASM version.
- additional
Details Map<String,String> - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Asm StringId - The OCID of the cloud ASM.
- cloud
Connector StringId - (Updatable) The OCID of the cloud connector.
- cloud
Db StringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- compartment
Id String - The OCID of the compartment in which the cloud database resides.
- component
Name String - The name of the cloud ASM.
- dbaas
Id String - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- 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"}
- display
Name String - The user-friendly name for the database. The name does not have to be unique.
- 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
- grid
Home String - The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
- is
Cluster Boolean - Indicates whether the ASM is a cluster ASM or not.
- is
Flex BooleanEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- serviced
Databases List<CloudAsm Serviced Database> - The list of databases that are serviced by the ASM.
- state String
- The current lifecycle state of the cloud ASM.
- 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"}
- time
Created String - The date and time the cloud ASM was created.
- time
Updated String - The date and time the cloud ASM was last updated.
- version String
- The ASM version.
- additional
Details {[key: string]: string} - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Asm stringId - The OCID of the cloud ASM.
- cloud
Connector stringId - (Updatable) The OCID of the cloud connector.
- cloud
Db stringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- compartment
Id string - The OCID of the compartment in which the cloud database resides.
- component
Name string - The name of the cloud ASM.
- dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- {[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"}
- display
Name string - The user-friendly name for the database. The name does not have to be unique.
- {[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
- grid
Home string - The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
- is
Cluster boolean - Indicates whether the ASM is a cluster ASM or not.
- is
Flex booleanEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle
Details string - Additional information about the current lifecycle state.
- serviced
Databases CloudAsm Serviced Database[] - The list of databases that are serviced by the ASM.
- state string
- The current lifecycle state of the cloud ASM.
- {[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"}
- time
Created string - The date and time the cloud ASM was created.
- time
Updated 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_ strid - The OCID of the cloud ASM.
- cloud_
connector_ strid - (Updatable) The OCID of the cloud connector.
- cloud_
db_ strsystem_ id - 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.
- 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.
- 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_ boolenabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle_
details str - Additional information about the current lifecycle state.
- serviced_
databases Sequence[CloudAsm Serviced Database Args] - The list of databases that are serviced by the ASM.
- state str
- The current lifecycle state of the cloud ASM.
- 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.
- additional
Details Map<String> - The additional details of the cloud ASM defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Asm StringId - The OCID of the cloud ASM.
- cloud
Connector StringId - (Updatable) The OCID of the cloud connector.
- cloud
Db StringSystem Id - The OCID of the cloud DB system that the ASM is a part of.
- compartment
Id String - The OCID of the compartment in which the cloud database resides.
- component
Name String - The name of the cloud ASM.
- dbaas
Id String - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- 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"}
- display
Name String - The user-friendly name for the database. The name does not have to be unique.
- 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
- grid
Home String - The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed.
- is
Cluster Boolean - Indicates whether the ASM is a cluster ASM or not.
- is
Flex BooleanEnabled - Indicates whether Oracle Flex ASM is enabled or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- serviced
Databases List<Property Map> - The list of databases that are serviced by the ASM.
- state String
- The current lifecycle state of the cloud ASM.
- 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"}
- time
Created String - The date and time the cloud ASM was created.
- time
Updated String - The date and time the cloud ASM was last updated.
- version String
- The ASM version.
Supporting Types
CloudAsmServicedDatabase, CloudAsmServicedDatabaseArgs
- Compartment
Id string - The OCID of the compartment in which the cloud database resides.
- Database
Sub stringType - 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 string - The type of Oracle Database installation.
- Db
Unique stringName - The unique name of the cloud database.
- Dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- Disk
Groups List<string> - The list of ASM disk groups used by the database.
- Display
Name string - The user-friendly name for the database. The name does not have to be unique.
- Id string
- The OCID of the cloud database.
- Is
Managed bool - Indicates whether the database is a Managed Database or not.
- Compartment
Id string - The OCID of the compartment in which the cloud database resides.
- Database
Sub stringType - 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 string - The type of Oracle Database installation.
- Db
Unique stringName - The unique name of the cloud database.
- Dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- Disk
Groups []string - The list of ASM disk groups used by the database.
- Display
Name string - The user-friendly name for the database. The name does not have to be unique.
- Id string
- The OCID of the cloud database.
- Is
Managed bool - Indicates whether the database is a Managed Database or not.
- compartment
Id String - The OCID of the compartment in which the cloud database resides.
- database
Sub StringType - 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 String - The type of Oracle Database installation.
- db
Unique StringName - The unique name of the cloud database.
- dbaas
Id String - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- disk
Groups List<String> - The list of ASM disk groups used by the database.
- display
Name String - The user-friendly name for the database. The name does not have to be unique.
- id String
- The OCID of the cloud database.
- is
Managed Boolean - Indicates whether the database is a Managed Database or not.
- compartment
Id string - The OCID of the compartment in which the cloud database resides.
- database
Sub stringType - 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 string - The type of Oracle Database installation.
- db
Unique stringName - The unique name of the cloud database.
- dbaas
Id string - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- disk
Groups string[] - The list of ASM disk groups used by the database.
- display
Name string - The user-friendly name for the database. The name does not have to be unique.
- id string
- The OCID of the cloud database.
- is
Managed 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_ strtype - 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_ strname - 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.
- compartment
Id String - The OCID of the compartment in which the cloud database resides.
- database
Sub StringType - 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 String - The type of Oracle Database installation.
- db
Unique StringName - The unique name of the cloud database.
- dbaas
Id String - The OCID of the existing Dbaas Oracle Cloud Infrastructure resource matching the discovered DB system component.
- disk
Groups List<String> - The list of ASM disk groups used by the database.
- display
Name String - The user-friendly name for the database. The name does not have to be unique.
- id String
- The OCID of the cloud database.
- is
Managed 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.