CloudAsmInstanceParameters

class oci.database_management.models.CloudAsmInstanceParameters(**kwargs)

Bases: object

The initialization parameters for an ASM instance.

Methods:

__init__(**kwargs)

Initializes a new CloudAsmInstanceParameters object with values from keyword arguments.

Attributes:

asm_instance_display_name

[Required] Gets the asm_instance_display_name of this CloudAsmInstanceParameters.

asm_instance_id

[Required] Gets the asm_instance_id of this CloudAsmInstanceParameters.

auto_mount_disk_groups

[Required] Gets the auto_mount_disk_groups of this CloudAsmInstanceParameters.

disk_discovery_path

[Required] Gets the disk_discovery_path of this CloudAsmInstanceParameters.

preferred_read_failure_groups

[Required] Gets the preferred_read_failure_groups of this CloudAsmInstanceParameters.

rebalance_power

[Required] Gets the rebalance_power of this CloudAsmInstanceParameters.

__init__(**kwargs)

Initializes a new CloudAsmInstanceParameters object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • asm_instance_id (str) – The value to assign to the asm_instance_id property of this CloudAsmInstanceParameters.

  • asm_instance_display_name (str) – The value to assign to the asm_instance_display_name property of this CloudAsmInstanceParameters.

  • disk_discovery_path (str) – The value to assign to the disk_discovery_path property of this CloudAsmInstanceParameters.

  • auto_mount_disk_groups (list[str]) – The value to assign to the auto_mount_disk_groups property of this CloudAsmInstanceParameters.

  • rebalance_power (int) – The value to assign to the rebalance_power property of this CloudAsmInstanceParameters.

  • preferred_read_failure_groups (list[str]) – The value to assign to the preferred_read_failure_groups property of this CloudAsmInstanceParameters.

property asm_instance_display_name

[Required] Gets the asm_instance_display_name of this CloudAsmInstanceParameters. The user-friendly name for the ASM instance. The name does not have to be unique.

Returns

The asm_instance_display_name of this CloudAsmInstanceParameters.

Return type

str

property asm_instance_id

[Required] Gets the asm_instance_id of this CloudAsmInstanceParameters. The OCID of the cloud ASM instance.

Returns

The asm_instance_id of this CloudAsmInstanceParameters.

Return type

str

property auto_mount_disk_groups

[Required] Gets the auto_mount_disk_groups of this CloudAsmInstanceParameters. The list of disk group names that an ASM instance mounts at startup or when the ALTER DISKGROUP ALL MOUNT statement is issued.

Returns

The auto_mount_disk_groups of this CloudAsmInstanceParameters.

Return type

list[str]

property disk_discovery_path

[Required] Gets the disk_discovery_path of this CloudAsmInstanceParameters. An operating system-dependent value used to limit the set of disks considered for discovery.

Returns

The disk_discovery_path of this CloudAsmInstanceParameters.

Return type

str

property preferred_read_failure_groups

[Required] Gets the preferred_read_failure_groups of this CloudAsmInstanceParameters. The list of failure groups that contain preferred read disks.

Returns

The preferred_read_failure_groups of this CloudAsmInstanceParameters.

Return type

list[str]

property rebalance_power

[Required] Gets the rebalance_power of this CloudAsmInstanceParameters. The maximum power on an ASM instance for disk rebalancing.

Returns

The rebalance_power of this CloudAsmInstanceParameters.

Return type

int