SingleAdCapacityReport

class oci.bds.models.SingleAdCapacityReport(**kwargs)

Bases: DomainTypeCapacityReport

Capacity report for a single-AD region.

Attributes:

DOMAIN_TYPE_MULTI_AD

A constant which can be used with the domain_type property of a DomainTypeCapacityReport.

DOMAIN_TYPE_SINGLE_AD

A constant which can be used with the domain_type property of a DomainTypeCapacityReport.

capacity_availability

[Required] Gets the capacity_availability of this SingleAdCapacityReport.

domain_type

[Required] Gets the domain_type of this DomainTypeCapacityReport.

fault_domain

[Required] Gets the fault_domain of this SingleAdCapacityReport.

Methods:

__init__(**kwargs)

Initializes a new SingleAdCapacityReport object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

DOMAIN_TYPE_MULTI_AD = 'MULTI_AD'

A constant which can be used with the domain_type property of a DomainTypeCapacityReport. This constant has a value of “MULTI_AD”

DOMAIN_TYPE_SINGLE_AD = 'SINGLE_AD'

A constant which can be used with the domain_type property of a DomainTypeCapacityReport. This constant has a value of “SINGLE_AD”

__init__(**kwargs)

Initializes a new SingleAdCapacityReport object with values from keyword arguments. The default value of the domain_type attribute of this class is SINGLE_AD and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • domain_type (str) – The value to assign to the domain_type property of this SingleAdCapacityReport. Allowed values for this property are: “MULTI_AD”, “SINGLE_AD”

  • fault_domain (str) – The value to assign to the fault_domain property of this SingleAdCapacityReport.

  • capacity_availability (oci.bds.models.CapacityAvailability) – The value to assign to the capacity_availability property of this SingleAdCapacityReport.

property capacity_availability

[Required] Gets the capacity_availability of this SingleAdCapacityReport.

Returns

The capacity_availability of this SingleAdCapacityReport.

Return type

oci.bds.models.CapacityAvailability

property domain_type

[Required] Gets the domain_type of this DomainTypeCapacityReport. Type of domain level for the capacity report.

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

Returns

The domain_type of this DomainTypeCapacityReport.

Return type

str

property fault_domain

[Required] Gets the fault_domain of this SingleAdCapacityReport. The fault domain for the capacity report.

Returns

The fault_domain of this SingleAdCapacityReport.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.