1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. ComputeCapacityTopology
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.Core.ComputeCapacityTopology

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

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

    Creates a new compute capacity topology in the specified compartment and availability domain.

    Compute capacity topologies provide the RDMA network topology of your bare metal hosts so that you can launch instances on your bare metal hosts with targeted network locations.

    Compute capacity topologies report the health status of your bare metal hosts.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testComputeCapacityTopology = new oci.core.ComputeCapacityTopology("test_compute_capacity_topology", {
        availabilityDomain: computeCapacityTopologyAvailabilityDomain,
        capacitySource: {
            capacityType: computeCapacityTopologyCapacitySourceCapacityType,
            compartmentId: compartmentId,
        },
        compartmentId: compartmentId,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: computeCapacityTopologyDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_compute_capacity_topology = oci.core.ComputeCapacityTopology("test_compute_capacity_topology",
        availability_domain=compute_capacity_topology_availability_domain,
        capacity_source=oci.core.ComputeCapacityTopologyCapacitySourceArgs(
            capacity_type=compute_capacity_topology_capacity_source_capacity_type,
            compartment_id=compartment_id,
        ),
        compartment_id=compartment_id,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=compute_capacity_topology_display_name,
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.NewComputeCapacityTopology(ctx, "test_compute_capacity_topology", &Core.ComputeCapacityTopologyArgs{
    			AvailabilityDomain: pulumi.Any(computeCapacityTopologyAvailabilityDomain),
    			CapacitySource: &core.ComputeCapacityTopologyCapacitySourceArgs{
    				CapacityType:  pulumi.Any(computeCapacityTopologyCapacitySourceCapacityType),
    				CompartmentId: pulumi.Any(compartmentId),
    			},
    			CompartmentId: pulumi.Any(compartmentId),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(computeCapacityTopologyDisplayName),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testComputeCapacityTopology = new Oci.Core.ComputeCapacityTopology("test_compute_capacity_topology", new()
        {
            AvailabilityDomain = computeCapacityTopologyAvailabilityDomain,
            CapacitySource = new Oci.Core.Inputs.ComputeCapacityTopologyCapacitySourceArgs
            {
                CapacityType = computeCapacityTopologyCapacitySourceCapacityType,
                CompartmentId = compartmentId,
            },
            CompartmentId = compartmentId,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = computeCapacityTopologyDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.ComputeCapacityTopology;
    import com.pulumi.oci.Core.ComputeCapacityTopologyArgs;
    import com.pulumi.oci.Core.inputs.ComputeCapacityTopologyCapacitySourceArgs;
    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 testComputeCapacityTopology = new ComputeCapacityTopology("testComputeCapacityTopology", ComputeCapacityTopologyArgs.builder()        
                .availabilityDomain(computeCapacityTopologyAvailabilityDomain)
                .capacitySource(ComputeCapacityTopologyCapacitySourceArgs.builder()
                    .capacityType(computeCapacityTopologyCapacitySourceCapacityType)
                    .compartmentId(compartmentId)
                    .build())
                .compartmentId(compartmentId)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(computeCapacityTopologyDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testComputeCapacityTopology:
        type: oci:Core:ComputeCapacityTopology
        name: test_compute_capacity_topology
        properties:
          availabilityDomain: ${computeCapacityTopologyAvailabilityDomain}
          capacitySource:
            capacityType: ${computeCapacityTopologyCapacitySourceCapacityType}
            compartmentId: ${compartmentId}
          compartmentId: ${compartmentId}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${computeCapacityTopologyDisplayName}
          freeformTags:
            Department: Finance
    

    Create ComputeCapacityTopology Resource

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

    Constructor syntax

    new ComputeCapacityTopology(name: string, args: ComputeCapacityTopologyArgs, opts?: CustomResourceOptions);
    @overload
    def ComputeCapacityTopology(resource_name: str,
                                args: ComputeCapacityTopologyArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ComputeCapacityTopology(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                availability_domain: Optional[str] = None,
                                capacity_source: Optional[_core.ComputeCapacityTopologyCapacitySourceArgs] = None,
                                compartment_id: Optional[str] = None,
                                defined_tags: Optional[Mapping[str, Any]] = None,
                                display_name: Optional[str] = None,
                                freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewComputeCapacityTopology(ctx *Context, name string, args ComputeCapacityTopologyArgs, opts ...ResourceOption) (*ComputeCapacityTopology, error)
    public ComputeCapacityTopology(string name, ComputeCapacityTopologyArgs args, CustomResourceOptions? opts = null)
    public ComputeCapacityTopology(String name, ComputeCapacityTopologyArgs args)
    public ComputeCapacityTopology(String name, ComputeCapacityTopologyArgs args, CustomResourceOptions options)
    
    type: oci:Core:ComputeCapacityTopology
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Example

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

    var computeCapacityTopologyResource = new Oci.Core.ComputeCapacityTopology("computeCapacityTopologyResource", new()
    {
        AvailabilityDomain = "string",
        CapacitySource = new Oci.Core.Inputs.ComputeCapacityTopologyCapacitySourceArgs
        {
            CapacityType = "string",
            CompartmentId = "string",
        },
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := Core.NewComputeCapacityTopology(ctx, "computeCapacityTopologyResource", &Core.ComputeCapacityTopologyArgs{
    	AvailabilityDomain: pulumi.String("string"),
    	CapacitySource: &core.ComputeCapacityTopologyCapacitySourceArgs{
    		CapacityType:  pulumi.String("string"),
    		CompartmentId: pulumi.String("string"),
    	},
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var computeCapacityTopologyResource = new ComputeCapacityTopology("computeCapacityTopologyResource", ComputeCapacityTopologyArgs.builder()        
        .availabilityDomain("string")
        .capacitySource(ComputeCapacityTopologyCapacitySourceArgs.builder()
            .capacityType("string")
            .compartmentId("string")
            .build())
        .compartmentId("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    compute_capacity_topology_resource = oci.core.ComputeCapacityTopology("computeCapacityTopologyResource",
        availability_domain="string",
        capacity_source=oci.core.ComputeCapacityTopologyCapacitySourceArgs(
            capacity_type="string",
            compartment_id="string",
        ),
        compartment_id="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        })
    
    const computeCapacityTopologyResource = new oci.core.ComputeCapacityTopology("computeCapacityTopologyResource", {
        availabilityDomain: "string",
        capacitySource: {
            capacityType: "string",
            compartmentId: "string",
        },
        compartmentId: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:Core:ComputeCapacityTopology
    properties:
        availabilityDomain: string
        capacitySource:
            capacityType: string
            compartmentId: string
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
    

    ComputeCapacityTopology Resource Properties

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

    Inputs

    The ComputeCapacityTopology resource accepts the following input properties:

    AvailabilityDomain string
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    CapacitySource ComputeCapacityTopologyCapacitySource
    (Updatable) A capacity source of bare metal hosts.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    AvailabilityDomain string
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    CapacitySource ComputeCapacityTopologyCapacitySourceArgs
    (Updatable) A capacity source of bare metal hosts.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    availabilityDomain String
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacitySource ComputeCapacityTopologyCapacitySource
    (Updatable) A capacity source of bare metal hosts.
    compartmentId String
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    availabilityDomain string
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacitySource ComputeCapacityTopologyCapacitySource
    (Updatable) A capacity source of bare metal hosts.
    compartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    availability_domain str
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacity_source core.ComputeCapacityTopologyCapacitySourceArgs
    (Updatable) A capacity source of bare metal hosts.
    compartment_id str
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    availabilityDomain String
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacitySource Property Map
    (Updatable) A capacity source of bare metal hosts.
    compartmentId String
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<Any>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the compute capacity topology.
    TimeCreated string
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the compute capacity topology.
    TimeCreated string
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the compute capacity topology.
    timeCreated String
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the compute capacity topology.
    timeCreated string
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the compute capacity topology.
    time_created str
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the compute capacity topology.
    timeCreated String
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing ComputeCapacityTopology Resource

    Get an existing ComputeCapacityTopology 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?: ComputeCapacityTopologyState, opts?: CustomResourceOptions): ComputeCapacityTopology
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            capacity_source: Optional[_core.ComputeCapacityTopologyCapacitySourceArgs] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> ComputeCapacityTopology
    func GetComputeCapacityTopology(ctx *Context, name string, id IDInput, state *ComputeCapacityTopologyState, opts ...ResourceOption) (*ComputeCapacityTopology, error)
    public static ComputeCapacityTopology Get(string name, Input<string> id, ComputeCapacityTopologyState? state, CustomResourceOptions? opts = null)
    public static ComputeCapacityTopology get(String name, Output<String> id, ComputeCapacityTopologyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 string
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    CapacitySource ComputeCapacityTopologyCapacitySource
    (Updatable) A capacity source of bare metal hosts.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    State string
    The current state of the compute capacity topology.
    TimeCreated string
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    AvailabilityDomain string
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    CapacitySource ComputeCapacityTopologyCapacitySourceArgs
    (Updatable) A capacity source of bare metal hosts.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    State string
    The current state of the compute capacity topology.
    TimeCreated string
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacitySource ComputeCapacityTopologyCapacitySource
    (Updatable) A capacity source of bare metal hosts.
    compartmentId String
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    state String
    The current state of the compute capacity topology.
    timeCreated String
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain string
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacitySource ComputeCapacityTopologyCapacitySource
    (Updatable) A capacity source of bare metal hosts.
    compartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    state string
    The current state of the compute capacity topology.
    timeCreated string
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    availability_domain str
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacity_source core.ComputeCapacityTopologyCapacitySourceArgs
    (Updatable) A capacity source of bare metal hosts.
    compartment_id str
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    state str
    The current state of the compute capacity topology.
    time_created str
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    The availability domain of this compute capacity topology. Example: Uocm:US-CHICAGO-1-AD-2
    capacitySource Property Map
    (Updatable) A capacity source of bare metal hosts.
    compartmentId String
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<Any>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    state String
    The current state of the compute capacity topology.
    timeCreated String
    The date and time that the compute capacity topology was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the compute capacity topology was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    ComputeCapacityTopologyCapacitySource, ComputeCapacityTopologyCapacitySourceArgs

    CapacityType string
    (Updatable) The capacity type of bare metal hosts.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    CapacityType string
    (Updatable) The capacity type of bare metal hosts.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    capacityType String
    (Updatable) The capacity type of bare metal hosts.
    compartmentId String
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    capacityType string
    (Updatable) The capacity type of bare metal hosts.
    compartmentId string
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    capacity_type str
    (Updatable) The capacity type of bare metal hosts.
    compartment_id str
    (Updatable) The OCID of the compartment that contains this compute capacity topology.
    capacityType String
    (Updatable) The capacity type of bare metal hosts.
    compartmentId String
    (Updatable) The OCID of the compartment that contains this compute capacity topology.

    Import

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

    $ pulumi import oci:Core/computeCapacityTopology:ComputeCapacityTopology test_compute_capacity_topology "id"
    

    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.
    oci logo
    Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi