FaultDomain¶
- class oci.identity.models.FaultDomain(**kwargs)¶
Bases:
objectA Fault Domain is a logical grouping of hardware and infrastructure within an Availability Domain that can become unavailable in its entirety either due to hardware failure such as Top-of-rack (TOR) switch failure or due to planned software maintenance such as security updates that reboot your instances.
Methods:
__init__(**kwargs)Initializes a new FaultDomain object with values from keyword arguments.
Attributes:
Gets the availability_domain of this FaultDomain.
Gets the compartment_id of this FaultDomain.
Gets the id of this FaultDomain.
Gets the name of this FaultDomain.
- __init__(**kwargs)¶
Initializes a new FaultDomain 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 FaultDomain.
id (str) – The value to assign to the id property of this FaultDomain.
compartment_id (str) – The value to assign to the compartment_id property of this FaultDomain.
availability_domain (str) – The value to assign to the availability_domain property of this FaultDomain.
- property availability_domain¶
Gets the availability_domain of this FaultDomain. The name of the availabilityDomain where the Fault Domain belongs.
- Returns
The availability_domain of this FaultDomain.
- Return type
str
- property compartment_id¶
Gets the compartment_id of this FaultDomain. The OCID of the compartment. Currently only tenancy (root) compartment can be provided.
- Returns
The compartment_id of this FaultDomain.
- Return type
str
- property id¶
Gets the id of this FaultDomain. The OCID of the Fault Domain.
- Returns
The id of this FaultDomain.
- Return type
str
- property name¶
Gets the name of this FaultDomain. The name of the Fault Domain.
- Returns
The name of this FaultDomain.
- Return type
str