AvailabilityDomain

class oci.blockchain.models.AvailabilityDomain(**kwargs)

Bases: object

Availability Domains

Attributes:

ADS_AD1

A constant which can be used with the ads property of a AvailabilityDomain.

ADS_AD2

A constant which can be used with the ads property of a AvailabilityDomain.

ADS_AD3

A constant which can be used with the ads property of a AvailabilityDomain.

ads

Gets the ads of this AvailabilityDomain.

Methods:

__init__(**kwargs)

Initializes a new AvailabilityDomain object with values from keyword arguments.

ADS_AD1 = 'AD1'

A constant which can be used with the ads property of a AvailabilityDomain. This constant has a value of “AD1”

ADS_AD2 = 'AD2'

A constant which can be used with the ads property of a AvailabilityDomain. This constant has a value of “AD2”

ADS_AD3 = 'AD3'

A constant which can be used with the ads property of a AvailabilityDomain. This constant has a value of “AD3”

__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

ads (str) – The value to assign to the ads property of this AvailabilityDomain. Allowed values for this property are: “AD1”, “AD2”, “AD3”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property ads

Gets the ads of this AvailabilityDomain. Availability Domain Identifiers

Allowed values for this property are: “AD1”, “AD2”, “AD3”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The ads of this AvailabilityDomain.

Return type

str