CreateComputeCapacityReportDetails

class oci.core.models.CreateComputeCapacityReportDetails(**kwargs)

Bases: object

The data to create a report of available Compute capacity.

Methods:

__init__(**kwargs)

Initializes a new CreateComputeCapacityReportDetails object with values from keyword arguments.

Attributes:

availability_domain

[Required] Gets the availability_domain of this CreateComputeCapacityReportDetails.

compartment_id

[Required] Gets the compartment_id of this CreateComputeCapacityReportDetails.

shape_availabilities

[Required] Gets the shape_availabilities of this CreateComputeCapacityReportDetails.

__init__(**kwargs)

Initializes a new CreateComputeCapacityReportDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateComputeCapacityReportDetails.

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

  • shape_availabilities (list[oci.core.models.CreateCapacityReportShapeAvailabilityDetails]) – The value to assign to the shape_availabilities property of this CreateComputeCapacityReportDetails.

property availability_domain

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

Example: Uocm:PHX-AD-1

Returns

The availability_domain of this CreateComputeCapacityReportDetails.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this CreateComputeCapacityReportDetails. The OCID for the compartment. This should always be the root compartment.

Returns

The compartment_id of this CreateComputeCapacityReportDetails.

Return type

str

property shape_availabilities

[Required] Gets the shape_availabilities of this CreateComputeCapacityReportDetails. Information about the shapes in the capacity report.

Returns

The shape_availabilities of this CreateComputeCapacityReportDetails.

Return type

list[oci.core.models.CreateCapacityReportShapeAvailabilityDetails]