AvailabilityDomain¶
-
class
oci.identity.models.
AvailabilityDomain
(**kwargs)¶ Bases:
object
One or more isolated, fault-tolerant Oracle data centers that host cloud resources such as instances, volumes, and subnets. A region contains several Availability Domains. For more information, see Regions and Availability Domains.
Methods
__init__
(**kwargs)Initializes a new AvailabilityDomain object with values from keyword arguments. Attributes
compartment_id
Gets the compartment_id of this AvailabilityDomain. id
Gets the id of this AvailabilityDomain. name
Gets the name of this AvailabilityDomain. -
__init__
(**kwargs)¶ Initializes a new AvailabilityDomain 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 AvailabilityDomain.
- id (str) – The value to assign to the id property of this AvailabilityDomain.
- compartment_id (str) – The value to assign to the compartment_id property of this AvailabilityDomain.
-
compartment_id
¶ Gets the compartment_id of this AvailabilityDomain. The OCID of the tenancy.
Returns: The compartment_id of this AvailabilityDomain. Return type: str
-
id
¶ Gets the id of this AvailabilityDomain. The OCID of the Availability Domain.
Returns: The id of this AvailabilityDomain. Return type: str
-
name
¶ Gets the name of this AvailabilityDomain. The name of the Availability Domain.
Returns: The name of this AvailabilityDomain. Return type: str
-