MultiAdCapacityReport

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

Bases: DomainTypeCapacityReport

Capacity report for a multi-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.

availability_domain

[Required] Gets the availability_domain of this MultiAdCapacityReport.

capacity_availability

[Required] Gets the capacity_availability of this MultiAdCapacityReport.

domain_type

[Required] Gets the domain_type of this DomainTypeCapacityReport.

Methods:

__init__(**kwargs)

Initializes a new MultiAdCapacityReport 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 MultiAdCapacityReport object with values from keyword arguments. The default value of the domain_type attribute of this class is MULTI_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 MultiAdCapacityReport. Allowed values for this property are: “MULTI_AD”, “SINGLE_AD”

  • availability_domain (str) – The value to assign to the availability_domain property of this MultiAdCapacityReport.

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

property availability_domain

[Required] Gets the availability_domain of this MultiAdCapacityReport. The availability domain for the capacity report.

Returns

The availability_domain of this MultiAdCapacityReport.

Return type

str

property capacity_availability

[Required] Gets the capacity_availability of this MultiAdCapacityReport.

Returns

The capacity_availability of this MultiAdCapacityReport.

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

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.