1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. ComputeCapacityReport
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Core.ComputeCapacityReport

Explore with Pulumi AI

This resource provides the Compute Capacity Report resource in Oracle Cloud Infrastructure Core service.

Generates 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.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testComputeCapacityReport = new oci.core.ComputeCapacityReport("test_compute_capacity_report", {
    availabilityDomain: computeCapacityReportAvailabilityDomain,
    compartmentId: compartmentId,
    shapeAvailabilities: [{
        instanceShape: computeCapacityReportShapeAvailabilitiesInstanceShape,
        faultDomain: computeCapacityReportShapeAvailabilitiesFaultDomain,
        instanceShapeConfig: {
            memoryInGbs: computeCapacityReportShapeAvailabilitiesInstanceShapeConfigMemoryInGbs,
            nvmes: computeCapacityReportShapeAvailabilitiesInstanceShapeConfigNvmes,
            ocpus: computeCapacityReportShapeAvailabilitiesInstanceShapeConfigOcpus,
        },
    }],
});
Copy
import pulumi
import pulumi_oci as oci

test_compute_capacity_report = oci.core.ComputeCapacityReport("test_compute_capacity_report",
    availability_domain=compute_capacity_report_availability_domain,
    compartment_id=compartment_id,
    shape_availabilities=[{
        "instance_shape": compute_capacity_report_shape_availabilities_instance_shape,
        "fault_domain": compute_capacity_report_shape_availabilities_fault_domain,
        "instance_shape_config": {
            "memory_in_gbs": compute_capacity_report_shape_availabilities_instance_shape_config_memory_in_gbs,
            "nvmes": compute_capacity_report_shape_availabilities_instance_shape_config_nvmes,
            "ocpus": compute_capacity_report_shape_availabilities_instance_shape_config_ocpus,
        },
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.NewComputeCapacityReport(ctx, "test_compute_capacity_report", &core.ComputeCapacityReportArgs{
			AvailabilityDomain: pulumi.Any(computeCapacityReportAvailabilityDomain),
			CompartmentId:      pulumi.Any(compartmentId),
			ShapeAvailabilities: core.ComputeCapacityReportShapeAvailabilityArray{
				&core.ComputeCapacityReportShapeAvailabilityArgs{
					InstanceShape: pulumi.Any(computeCapacityReportShapeAvailabilitiesInstanceShape),
					FaultDomain:   pulumi.Any(computeCapacityReportShapeAvailabilitiesFaultDomain),
					InstanceShapeConfig: &core.ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs{
						MemoryInGbs: pulumi.Any(computeCapacityReportShapeAvailabilitiesInstanceShapeConfigMemoryInGbs),
						Nvmes:       pulumi.Any(computeCapacityReportShapeAvailabilitiesInstanceShapeConfigNvmes),
						Ocpus:       pulumi.Any(computeCapacityReportShapeAvailabilitiesInstanceShapeConfigOcpus),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testComputeCapacityReport = new Oci.Core.ComputeCapacityReport("test_compute_capacity_report", new()
    {
        AvailabilityDomain = computeCapacityReportAvailabilityDomain,
        CompartmentId = compartmentId,
        ShapeAvailabilities = new[]
        {
            new Oci.Core.Inputs.ComputeCapacityReportShapeAvailabilityArgs
            {
                InstanceShape = computeCapacityReportShapeAvailabilitiesInstanceShape,
                FaultDomain = computeCapacityReportShapeAvailabilitiesFaultDomain,
                InstanceShapeConfig = new Oci.Core.Inputs.ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs
                {
                    MemoryInGbs = computeCapacityReportShapeAvailabilitiesInstanceShapeConfigMemoryInGbs,
                    Nvmes = computeCapacityReportShapeAvailabilitiesInstanceShapeConfigNvmes,
                    Ocpus = computeCapacityReportShapeAvailabilitiesInstanceShapeConfigOcpus,
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.ComputeCapacityReport;
import com.pulumi.oci.Core.ComputeCapacityReportArgs;
import com.pulumi.oci.Core.inputs.ComputeCapacityReportShapeAvailabilityArgs;
import com.pulumi.oci.Core.inputs.ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testComputeCapacityReport = new ComputeCapacityReport("testComputeCapacityReport", ComputeCapacityReportArgs.builder()
            .availabilityDomain(computeCapacityReportAvailabilityDomain)
            .compartmentId(compartmentId)
            .shapeAvailabilities(ComputeCapacityReportShapeAvailabilityArgs.builder()
                .instanceShape(computeCapacityReportShapeAvailabilitiesInstanceShape)
                .faultDomain(computeCapacityReportShapeAvailabilitiesFaultDomain)
                .instanceShapeConfig(ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs.builder()
                    .memoryInGbs(computeCapacityReportShapeAvailabilitiesInstanceShapeConfigMemoryInGbs)
                    .nvmes(computeCapacityReportShapeAvailabilitiesInstanceShapeConfigNvmes)
                    .ocpus(computeCapacityReportShapeAvailabilitiesInstanceShapeConfigOcpus)
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  testComputeCapacityReport:
    type: oci:Core:ComputeCapacityReport
    name: test_compute_capacity_report
    properties:
      availabilityDomain: ${computeCapacityReportAvailabilityDomain}
      compartmentId: ${compartmentId}
      shapeAvailabilities:
        - instanceShape: ${computeCapacityReportShapeAvailabilitiesInstanceShape}
          faultDomain: ${computeCapacityReportShapeAvailabilitiesFaultDomain}
          instanceShapeConfig:
            memoryInGbs: ${computeCapacityReportShapeAvailabilitiesInstanceShapeConfigMemoryInGbs}
            nvmes: ${computeCapacityReportShapeAvailabilitiesInstanceShapeConfigNvmes}
            ocpus: ${computeCapacityReportShapeAvailabilitiesInstanceShapeConfigOcpus}
Copy

Create ComputeCapacityReport Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ComputeCapacityReport(name: string, args: ComputeCapacityReportArgs, opts?: CustomResourceOptions);
@overload
def ComputeCapacityReport(resource_name: str,
                          args: ComputeCapacityReportArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def ComputeCapacityReport(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          availability_domain: Optional[str] = None,
                          compartment_id: Optional[str] = None,
                          shape_availabilities: Optional[Sequence[_core.ComputeCapacityReportShapeAvailabilityArgs]] = None)
func NewComputeCapacityReport(ctx *Context, name string, args ComputeCapacityReportArgs, opts ...ResourceOption) (*ComputeCapacityReport, error)
public ComputeCapacityReport(string name, ComputeCapacityReportArgs args, CustomResourceOptions? opts = null)
public ComputeCapacityReport(String name, ComputeCapacityReportArgs args)
public ComputeCapacityReport(String name, ComputeCapacityReportArgs args, CustomResourceOptions options)
type: oci:Core:ComputeCapacityReport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ComputeCapacityReportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ComputeCapacityReportArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ComputeCapacityReportArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ComputeCapacityReportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ComputeCapacityReportArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var computeCapacityReportResource = new Oci.Core.ComputeCapacityReport("computeCapacityReportResource", new()
{
    AvailabilityDomain = "string",
    CompartmentId = "string",
    ShapeAvailabilities = new[]
    {
        new Oci.Core.Inputs.ComputeCapacityReportShapeAvailabilityArgs
        {
            InstanceShape = "string",
            AvailabilityStatus = "string",
            AvailableCount = "string",
            FaultDomain = "string",
            InstanceShapeConfig = new Oci.Core.Inputs.ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs
            {
                MemoryInGbs = 0,
                Nvmes = 0,
                Ocpus = 0,
            },
        },
    },
});
Copy
example, err := core.NewComputeCapacityReport(ctx, "computeCapacityReportResource", &core.ComputeCapacityReportArgs{
	AvailabilityDomain: pulumi.String("string"),
	CompartmentId:      pulumi.String("string"),
	ShapeAvailabilities: core.ComputeCapacityReportShapeAvailabilityArray{
		&core.ComputeCapacityReportShapeAvailabilityArgs{
			InstanceShape:      pulumi.String("string"),
			AvailabilityStatus: pulumi.String("string"),
			AvailableCount:     pulumi.String("string"),
			FaultDomain:        pulumi.String("string"),
			InstanceShapeConfig: &core.ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs{
				MemoryInGbs: pulumi.Float64(0),
				Nvmes:       pulumi.Int(0),
				Ocpus:       pulumi.Float64(0),
			},
		},
	},
})
Copy
var computeCapacityReportResource = new ComputeCapacityReport("computeCapacityReportResource", ComputeCapacityReportArgs.builder()
    .availabilityDomain("string")
    .compartmentId("string")
    .shapeAvailabilities(ComputeCapacityReportShapeAvailabilityArgs.builder()
        .instanceShape("string")
        .availabilityStatus("string")
        .availableCount("string")
        .faultDomain("string")
        .instanceShapeConfig(ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs.builder()
            .memoryInGbs(0)
            .nvmes(0)
            .ocpus(0)
            .build())
        .build())
    .build());
Copy
compute_capacity_report_resource = oci.core.ComputeCapacityReport("computeCapacityReportResource",
    availability_domain="string",
    compartment_id="string",
    shape_availabilities=[{
        "instance_shape": "string",
        "availability_status": "string",
        "available_count": "string",
        "fault_domain": "string",
        "instance_shape_config": {
            "memory_in_gbs": 0,
            "nvmes": 0,
            "ocpus": 0,
        },
    }])
Copy
const computeCapacityReportResource = new oci.core.ComputeCapacityReport("computeCapacityReportResource", {
    availabilityDomain: "string",
    compartmentId: "string",
    shapeAvailabilities: [{
        instanceShape: "string",
        availabilityStatus: "string",
        availableCount: "string",
        faultDomain: "string",
        instanceShapeConfig: {
            memoryInGbs: 0,
            nvmes: 0,
            ocpus: 0,
        },
    }],
});
Copy
type: oci:Core:ComputeCapacityReport
properties:
    availabilityDomain: string
    compartmentId: string
    shapeAvailabilities:
        - availabilityStatus: string
          availableCount: string
          faultDomain: string
          instanceShape: string
          instanceShapeConfig:
            memoryInGbs: 0
            nvmes: 0
            ocpus: 0
Copy

ComputeCapacityReport Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ComputeCapacityReport resource accepts the following input properties:

AvailabilityDomain
This property is required.
Changes to this property will trigger replacement.
string
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
CompartmentId
This property is required.
Changes to this property will trigger replacement.
string
The OCID for the compartment. This should always be the root compartment.
ShapeAvailabilities
This property is required.
Changes to this property will trigger replacement.
List<ComputeCapacityReportShapeAvailability>
Information about the shapes in the capacity report.
AvailabilityDomain
This property is required.
Changes to this property will trigger replacement.
string
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
CompartmentId
This property is required.
Changes to this property will trigger replacement.
string
The OCID for the compartment. This should always be the root compartment.
ShapeAvailabilities
This property is required.
Changes to this property will trigger replacement.
[]ComputeCapacityReportShapeAvailabilityArgs
Information about the shapes in the capacity report.
availabilityDomain
This property is required.
Changes to this property will trigger replacement.
String
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartmentId
This property is required.
Changes to this property will trigger replacement.
String
The OCID for the compartment. This should always be the root compartment.
shapeAvailabilities
This property is required.
Changes to this property will trigger replacement.
List<ComputeCapacityReportShapeAvailability>
Information about the shapes in the capacity report.
availabilityDomain
This property is required.
Changes to this property will trigger replacement.
string
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartmentId
This property is required.
Changes to this property will trigger replacement.
string
The OCID for the compartment. This should always be the root compartment.
shapeAvailabilities
This property is required.
Changes to this property will trigger replacement.
ComputeCapacityReportShapeAvailability[]
Information about the shapes in the capacity report.
availability_domain
This property is required.
Changes to this property will trigger replacement.
str
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartment_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID for the compartment. This should always be the root compartment.
shape_availabilities
This property is required.
Changes to this property will trigger replacement.
Sequence[core.ComputeCapacityReportShapeAvailabilityArgs]
Information about the shapes in the capacity report.
availabilityDomain
This property is required.
Changes to this property will trigger replacement.
String
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartmentId
This property is required.
Changes to this property will trigger replacement.
String
The OCID for the compartment. This should always be the root compartment.
shapeAvailabilities
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
Information about the shapes in the capacity report.

Outputs

All input properties are implicitly available as output properties. Additionally, the ComputeCapacityReport resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
TimeCreated string
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
Id string
The provider-assigned unique ID for this managed resource.
TimeCreated string
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
id String
The provider-assigned unique ID for this managed resource.
timeCreated String
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
id string
The provider-assigned unique ID for this managed resource.
timeCreated string
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
id str
The provider-assigned unique ID for this managed resource.
time_created str
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
id String
The provider-assigned unique ID for this managed resource.
timeCreated String
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Look up Existing ComputeCapacityReport Resource

Get an existing ComputeCapacityReport resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ComputeCapacityReportState, opts?: CustomResourceOptions): ComputeCapacityReport
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        availability_domain: Optional[str] = None,
        compartment_id: Optional[str] = None,
        shape_availabilities: Optional[Sequence[_core.ComputeCapacityReportShapeAvailabilityArgs]] = None,
        time_created: Optional[str] = None) -> ComputeCapacityReport
func GetComputeCapacityReport(ctx *Context, name string, id IDInput, state *ComputeCapacityReportState, opts ...ResourceOption) (*ComputeCapacityReport, error)
public static ComputeCapacityReport Get(string name, Input<string> id, ComputeCapacityReportState? state, CustomResourceOptions? opts = null)
public static ComputeCapacityReport get(String name, Output<String> id, ComputeCapacityReportState state, CustomResourceOptions options)
resources:  _:    type: oci:Core:ComputeCapacityReport    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AvailabilityDomain Changes to this property will trigger replacement. string
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
CompartmentId Changes to this property will trigger replacement. string
The OCID for the compartment. This should always be the root compartment.
ShapeAvailabilities Changes to this property will trigger replacement. List<ComputeCapacityReportShapeAvailability>
Information about the shapes in the capacity report.
TimeCreated string
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
AvailabilityDomain Changes to this property will trigger replacement. string
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
CompartmentId Changes to this property will trigger replacement. string
The OCID for the compartment. This should always be the root compartment.
ShapeAvailabilities Changes to this property will trigger replacement. []ComputeCapacityReportShapeAvailabilityArgs
Information about the shapes in the capacity report.
TimeCreated string
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
availabilityDomain Changes to this property will trigger replacement. String
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartmentId Changes to this property will trigger replacement. String
The OCID for the compartment. This should always be the root compartment.
shapeAvailabilities Changes to this property will trigger replacement. List<ComputeCapacityReportShapeAvailability>
Information about the shapes in the capacity report.
timeCreated String
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
availabilityDomain Changes to this property will trigger replacement. string
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartmentId Changes to this property will trigger replacement. string
The OCID for the compartment. This should always be the root compartment.
shapeAvailabilities Changes to this property will trigger replacement. ComputeCapacityReportShapeAvailability[]
Information about the shapes in the capacity report.
timeCreated string
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
availability_domain Changes to this property will trigger replacement. str
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartment_id Changes to this property will trigger replacement. str
The OCID for the compartment. This should always be the root compartment.
shape_availabilities Changes to this property will trigger replacement. Sequence[core.ComputeCapacityReportShapeAvailabilityArgs]
Information about the shapes in the capacity report.
time_created str
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
availabilityDomain Changes to this property will trigger replacement. String
The availability domain for the capacity report. Example: Uocm:PHX-AD-1
compartmentId Changes to this property will trigger replacement. String
The OCID for the compartment. This should always be the root compartment.
shapeAvailabilities Changes to this property will trigger replacement. List<Property Map>
Information about the shapes in the capacity report.
timeCreated String
The date and time the capacity report was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Supporting Types

ComputeCapacityReportShapeAvailability
, ComputeCapacityReportShapeAvailabilityArgs

InstanceShape
This property is required.
Changes to this property will trigger replacement.
string
The shape that you want to request a capacity report for. You can enumerate all available shapes by calling ListShapes.
AvailabilityStatus string
A flag denoting whether capacity is available.
AvailableCount string
The total number of new instances that can be created with the specified shape configuration.
FaultDomain Changes to this property will trigger replacement. string

The fault domain for the capacity report.

If you do not specify a fault domain, the capacity report includes information about all fault domains.

InstanceShapeConfig Changes to this property will trigger replacement. ComputeCapacityReportShapeAvailabilityInstanceShapeConfig
The shape configuration for a shape in a capacity report.
InstanceShape
This property is required.
Changes to this property will trigger replacement.
string
The shape that you want to request a capacity report for. You can enumerate all available shapes by calling ListShapes.
AvailabilityStatus string
A flag denoting whether capacity is available.
AvailableCount string
The total number of new instances that can be created with the specified shape configuration.
FaultDomain Changes to this property will trigger replacement. string

The fault domain for the capacity report.

If you do not specify a fault domain, the capacity report includes information about all fault domains.

InstanceShapeConfig Changes to this property will trigger replacement. ComputeCapacityReportShapeAvailabilityInstanceShapeConfig
The shape configuration for a shape in a capacity report.
instanceShape
This property is required.
Changes to this property will trigger replacement.
String
The shape that you want to request a capacity report for. You can enumerate all available shapes by calling ListShapes.
availabilityStatus String
A flag denoting whether capacity is available.
availableCount String
The total number of new instances that can be created with the specified shape configuration.
faultDomain Changes to this property will trigger replacement. String

The fault domain for the capacity report.

If you do not specify a fault domain, the capacity report includes information about all fault domains.

instanceShapeConfig Changes to this property will trigger replacement. ComputeCapacityReportShapeAvailabilityInstanceShapeConfig
The shape configuration for a shape in a capacity report.
instanceShape
This property is required.
Changes to this property will trigger replacement.
string
The shape that you want to request a capacity report for. You can enumerate all available shapes by calling ListShapes.
availabilityStatus string
A flag denoting whether capacity is available.
availableCount string
The total number of new instances that can be created with the specified shape configuration.
faultDomain Changes to this property will trigger replacement. string

The fault domain for the capacity report.

If you do not specify a fault domain, the capacity report includes information about all fault domains.

instanceShapeConfig Changes to this property will trigger replacement. ComputeCapacityReportShapeAvailabilityInstanceShapeConfig
The shape configuration for a shape in a capacity report.
instance_shape
This property is required.
Changes to this property will trigger replacement.
str
The shape that you want to request a capacity report for. You can enumerate all available shapes by calling ListShapes.
availability_status str
A flag denoting whether capacity is available.
available_count str
The total number of new instances that can be created with the specified shape configuration.
fault_domain Changes to this property will trigger replacement. str

The fault domain for the capacity report.

If you do not specify a fault domain, the capacity report includes information about all fault domains.

instance_shape_config Changes to this property will trigger replacement. core.ComputeCapacityReportShapeAvailabilityInstanceShapeConfig
The shape configuration for a shape in a capacity report.
instanceShape
This property is required.
Changes to this property will trigger replacement.
String
The shape that you want to request a capacity report for. You can enumerate all available shapes by calling ListShapes.
availabilityStatus String
A flag denoting whether capacity is available.
availableCount String
The total number of new instances that can be created with the specified shape configuration.
faultDomain Changes to this property will trigger replacement. String

The fault domain for the capacity report.

If you do not specify a fault domain, the capacity report includes information about all fault domains.

instanceShapeConfig Changes to this property will trigger replacement. Property Map
The shape configuration for a shape in a capacity report.

ComputeCapacityReportShapeAvailabilityInstanceShapeConfig
, ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs

MemoryInGbs Changes to this property will trigger replacement. double
The total amount of memory available to the instance, in gigabytes.
Nvmes Changes to this property will trigger replacement. int
The number of NVMe drives to be used for storage.
Ocpus Changes to this property will trigger replacement. double

The total number of OCPUs available to the instance.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

MemoryInGbs Changes to this property will trigger replacement. float64
The total amount of memory available to the instance, in gigabytes.
Nvmes Changes to this property will trigger replacement. int
The number of NVMe drives to be used for storage.
Ocpus Changes to this property will trigger replacement. float64

The total number of OCPUs available to the instance.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

memoryInGbs Changes to this property will trigger replacement. Double
The total amount of memory available to the instance, in gigabytes.
nvmes Changes to this property will trigger replacement. Integer
The number of NVMe drives to be used for storage.
ocpus Changes to this property will trigger replacement. Double

The total number of OCPUs available to the instance.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

memoryInGbs Changes to this property will trigger replacement. number
The total amount of memory available to the instance, in gigabytes.
nvmes Changes to this property will trigger replacement. number
The number of NVMe drives to be used for storage.
ocpus Changes to this property will trigger replacement. number

The total number of OCPUs available to the instance.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

memory_in_gbs Changes to this property will trigger replacement. float
The total amount of memory available to the instance, in gigabytes.
nvmes Changes to this property will trigger replacement. int
The number of NVMe drives to be used for storage.
ocpus Changes to this property will trigger replacement. float

The total number of OCPUs available to the instance.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

memoryInGbs Changes to this property will trigger replacement. Number
The total amount of memory available to the instance, in gigabytes.
nvmes Changes to this property will trigger replacement. Number
The number of NVMe drives to be used for storage.
ocpus Changes to this property will trigger replacement. Number

The total number of OCPUs available to the instance.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Import

ComputeCapacityReports can be imported using the id, e.g.

$ pulumi import oci:Core/computeCapacityReport:ComputeCapacityReport test_compute_capacity_report "id"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.