ExternalAsmDiskGroupSummary¶
- class oci.database_management.models.ExternalAsmDiskGroupSummary(**kwargs)¶
Bases:
objectThe summary of an external ASM disk group.
Attributes:
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary.
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary.
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary.
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary.
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary.
Gets the databases of this ExternalAsmDiskGroupSummary.
Gets the dismounting_instance_count of this ExternalAsmDiskGroupSummary.
Gets the is_sparse of this ExternalAsmDiskGroupSummary.
Gets the mounting_instance_count of this ExternalAsmDiskGroupSummary.
[Required] Gets the name of this ExternalAsmDiskGroupSummary.
Gets the redundancy_type of this ExternalAsmDiskGroupSummary.
Gets the total_size_in_mbs of this ExternalAsmDiskGroupSummary.
Gets the used_percent of this ExternalAsmDiskGroupSummary.
Gets the used_size_in_mbs of this ExternalAsmDiskGroupSummary.
Methods:
__init__(**kwargs)Initializes a new ExternalAsmDiskGroupSummary object with values from keyword arguments.
- REDUNDANCY_TYPE_EXTEND = 'EXTEND'¶
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary. This constant has a value of “EXTEND”
- REDUNDANCY_TYPE_EXTERN = 'EXTERN'¶
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary. This constant has a value of “EXTERN”
- REDUNDANCY_TYPE_FLEX = 'FLEX'¶
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary. This constant has a value of “FLEX”
- REDUNDANCY_TYPE_HIGH = 'HIGH'¶
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary. This constant has a value of “HIGH”
- REDUNDANCY_TYPE_NORMAL = 'NORMAL'¶
A constant which can be used with the redundancy_type property of a ExternalAsmDiskGroupSummary. This constant has a value of “NORMAL”
- __init__(**kwargs)¶
Initializes a new ExternalAsmDiskGroupSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this ExternalAsmDiskGroupSummary.
mounting_instance_count (int) – The value to assign to the mounting_instance_count property of this ExternalAsmDiskGroupSummary.
dismounting_instance_count (int) – The value to assign to the dismounting_instance_count property of this ExternalAsmDiskGroupSummary.
redundancy_type (str) – The value to assign to the redundancy_type property of this ExternalAsmDiskGroupSummary. Allowed values for this property are: “EXTEND”, “EXTERN”, “FLEX”, “HIGH”, “NORMAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
is_sparse (bool) – The value to assign to the is_sparse property of this ExternalAsmDiskGroupSummary.
databases (list[str]) – The value to assign to the databases property of this ExternalAsmDiskGroupSummary.
total_size_in_mbs (int) – The value to assign to the total_size_in_mbs property of this ExternalAsmDiskGroupSummary.
used_size_in_mbs (int) – The value to assign to the used_size_in_mbs property of this ExternalAsmDiskGroupSummary.
used_percent (float) – The value to assign to the used_percent property of this ExternalAsmDiskGroupSummary.
- property databases¶
Gets the databases of this ExternalAsmDiskGroupSummary. The unique names of the databases using the disk group.
- Returns
The databases of this ExternalAsmDiskGroupSummary.
- Return type
list[str]
- property dismounting_instance_count¶
Gets the dismounting_instance_count of this ExternalAsmDiskGroupSummary. The number of ASM instances that have the disk group in dismounted state.
- Returns
The dismounting_instance_count of this ExternalAsmDiskGroupSummary.
- Return type
int
- property is_sparse¶
Gets the is_sparse of this ExternalAsmDiskGroupSummary. Indicates whether the disk group is a sparse disk group or not.
- Returns
The is_sparse of this ExternalAsmDiskGroupSummary.
- Return type
bool
- property mounting_instance_count¶
Gets the mounting_instance_count of this ExternalAsmDiskGroupSummary. The number of ASM instances that have the disk group in mounted state.
- Returns
The mounting_instance_count of this ExternalAsmDiskGroupSummary.
- Return type
int
- property name¶
[Required] Gets the name of this ExternalAsmDiskGroupSummary. The name of the ASM disk group.
- Returns
The name of this ExternalAsmDiskGroupSummary.
- Return type
str
- property redundancy_type¶
Gets the redundancy_type of this ExternalAsmDiskGroupSummary. The redundancy type of the disk group.
Allowed values for this property are: “EXTEND”, “EXTERN”, “FLEX”, “HIGH”, “NORMAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The redundancy_type of this ExternalAsmDiskGroupSummary.
- Return type
str
- property total_size_in_mbs¶
Gets the total_size_in_mbs of this ExternalAsmDiskGroupSummary. The total capacity of the disk group (in megabytes).
- Returns
The total_size_in_mbs of this ExternalAsmDiskGroupSummary.
- Return type
int
- property used_percent¶
Gets the used_percent of this ExternalAsmDiskGroupSummary. The percentage of used space in the disk group.
- Returns
The used_percent of this ExternalAsmDiskGroupSummary.
- Return type
float
- property used_size_in_mbs¶
Gets the used_size_in_mbs of this ExternalAsmDiskGroupSummary. The used capacity of the disk group (in megabytes).
- Returns
The used_size_in_mbs of this ExternalAsmDiskGroupSummary.
- Return type
int