Class ComputeCapacityReport
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.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class ComputeCapacityReport
Properties
AvailabilityDomain
Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain for the capacity report.
|
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for the compartment. This should always be the root compartment. |
Remarks
Required
ShapeAvailabilities
Declaration
[Required(ErrorMessage = "ShapeAvailabilities is required.")]
[JsonProperty(PropertyName = "shapeAvailabilities")]
public List<CapacityReportShapeAvailability> ShapeAvailabilities { get; set; }
Property Value
Type | Description |
---|---|
List<CapacityReportShapeAvailability> | Information about the available capacity for each shape in a capacity report. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the capacity report was created, in the format defined by
RFC3339.
|
Remarks
Required