ComputeCapacityReport

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

Bases: object

A report of the host capacity within an availability domain that is available for you to create compute instances. Host capacity is the physical infrastructure that resources such as compute instances run on.

Use the capacity report to determine whether sufficient capacity is available for a shape before you create an instance or change the shape of an instance.

Methods

__init__(**kwargs) Initializes a new ComputeCapacityReport object with values from keyword arguments.

Attributes

availability_domain [Required] Gets the availability_domain of this ComputeCapacityReport.
compartment_id [Required] Gets the compartment_id of this ComputeCapacityReport.
shape_availabilities [Required] Gets the shape_availabilities of this ComputeCapacityReport.
time_created [Required] Gets the time_created of this ComputeCapacityReport.
__init__(**kwargs)

Initializes a new ComputeCapacityReport 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 ComputeCapacityReport.
  • availability_domain (str) – The value to assign to the availability_domain property of this ComputeCapacityReport.
  • shape_availabilities (list[oci.core.models.CapacityReportShapeAvailability]) – The value to assign to the shape_availabilities property of this ComputeCapacityReport.
  • time_created (datetime) – The value to assign to the time_created property of this ComputeCapacityReport.
availability_domain

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

Example: Uocm:PHX-AD-1

Returns:The availability_domain of this ComputeCapacityReport.
Return type:str
compartment_id

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

Returns:The compartment_id of this ComputeCapacityReport.
Return type:str
shape_availabilities

[Required] Gets the shape_availabilities of this ComputeCapacityReport. Information about the available capacity for each shape in a capacity report.

Returns:The shape_availabilities of this ComputeCapacityReport.
Return type:list[oci.core.models.CapacityReportShapeAvailability]
time_created

[Required] Gets the time_created of this ComputeCapacityReport. The date and time the capacity report was created, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this ComputeCapacityReport.
Return type:datetime