1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. oracledatabase
  5. CloudVmCluster
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.oracledatabase.CloudVmCluster

Explore with Pulumi AI

A CloudVmCluster resource.

To get more information about CloudVmCluster, see:

Example Usage

Oracledatabase Cloud Vmcluster Basic

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

const cloudExadataInfrastructures = new gcp.oracledatabase.CloudExadataInfrastructure("cloudExadataInfrastructures", {
    cloudExadataInfrastructureId: "my-exadata",
    displayName: "my-exadata displayname",
    location: "us-east4",
    project: "my-project",
    properties: {
        shape: "Exadata.X9M",
        computeCount: 2,
        storageCount: 3,
    },
    deletionProtection: true,
});
const _default = gcp.compute.getNetwork({
    name: "new",
    project: "my-project",
});
const myVmcluster = new gcp.oracledatabase.CloudVmCluster("my_vmcluster", {
    cloudVmClusterId: "my-instance",
    displayName: "my-instance displayname",
    location: "us-east4",
    project: "my-project",
    exadataInfrastructure: cloudExadataInfrastructures.id,
    network: _default.then(_default => _default.id),
    cidr: "10.5.0.0/24",
    backupSubnetCidr: "10.6.0.0/24",
    properties: {
        licenseType: "LICENSE_INCLUDED",
        sshPublicKeys: ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
        cpuCoreCount: 4,
        giVersion: "19.0.0.0",
        hostnamePrefix: "hostname1",
    },
    deletionProtection: true,
});
Copy
import pulumi
import pulumi_gcp as gcp

cloud_exadata_infrastructures = gcp.oracledatabase.CloudExadataInfrastructure("cloudExadataInfrastructures",
    cloud_exadata_infrastructure_id="my-exadata",
    display_name="my-exadata displayname",
    location="us-east4",
    project="my-project",
    properties={
        "shape": "Exadata.X9M",
        "compute_count": 2,
        "storage_count": 3,
    },
    deletion_protection=True)
default = gcp.compute.get_network(name="new",
    project="my-project")
my_vmcluster = gcp.oracledatabase.CloudVmCluster("my_vmcluster",
    cloud_vm_cluster_id="my-instance",
    display_name="my-instance displayname",
    location="us-east4",
    project="my-project",
    exadata_infrastructure=cloud_exadata_infrastructures.id,
    network=default.id,
    cidr="10.5.0.0/24",
    backup_subnet_cidr="10.6.0.0/24",
    properties={
        "license_type": "LICENSE_INCLUDED",
        "ssh_public_keys": ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
        "cpu_core_count": 4,
        "gi_version": "19.0.0.0",
        "hostname_prefix": "hostname1",
    },
    deletion_protection=True)
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/oracledatabase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cloudExadataInfrastructures, err := oracledatabase.NewCloudExadataInfrastructure(ctx, "cloudExadataInfrastructures", &oracledatabase.CloudExadataInfrastructureArgs{
			CloudExadataInfrastructureId: pulumi.String("my-exadata"),
			DisplayName:                  pulumi.String("my-exadata displayname"),
			Location:                     pulumi.String("us-east4"),
			Project:                      pulumi.String("my-project"),
			Properties: &oracledatabase.CloudExadataInfrastructurePropertiesArgs{
				Shape:        pulumi.String("Exadata.X9M"),
				ComputeCount: pulumi.Int(2),
				StorageCount: pulumi.Int(3),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_default, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name:    "new",
			Project: pulumi.StringRef("my-project"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = oracledatabase.NewCloudVmCluster(ctx, "my_vmcluster", &oracledatabase.CloudVmClusterArgs{
			CloudVmClusterId:      pulumi.String("my-instance"),
			DisplayName:           pulumi.String("my-instance displayname"),
			Location:              pulumi.String("us-east4"),
			Project:               pulumi.String("my-project"),
			ExadataInfrastructure: cloudExadataInfrastructures.ID(),
			Network:               pulumi.String(_default.Id),
			Cidr:                  pulumi.String("10.5.0.0/24"),
			BackupSubnetCidr:      pulumi.String("10.6.0.0/24"),
			Properties: &oracledatabase.CloudVmClusterPropertiesArgs{
				LicenseType: pulumi.String("LICENSE_INCLUDED"),
				SshPublicKeys: pulumi.StringArray{
					pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"),
				},
				CpuCoreCount:   pulumi.Int(4),
				GiVersion:      pulumi.String("19.0.0.0"),
				HostnamePrefix: pulumi.String("hostname1"),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var cloudExadataInfrastructures = new Gcp.OracleDatabase.CloudExadataInfrastructure("cloudExadataInfrastructures", new()
    {
        CloudExadataInfrastructureId = "my-exadata",
        DisplayName = "my-exadata displayname",
        Location = "us-east4",
        Project = "my-project",
        Properties = new Gcp.OracleDatabase.Inputs.CloudExadataInfrastructurePropertiesArgs
        {
            Shape = "Exadata.X9M",
            ComputeCount = 2,
            StorageCount = 3,
        },
        DeletionProtection = true,
    });

    var @default = Gcp.Compute.GetNetwork.Invoke(new()
    {
        Name = "new",
        Project = "my-project",
    });

    var myVmcluster = new Gcp.OracleDatabase.CloudVmCluster("my_vmcluster", new()
    {
        CloudVmClusterId = "my-instance",
        DisplayName = "my-instance displayname",
        Location = "us-east4",
        Project = "my-project",
        ExadataInfrastructure = cloudExadataInfrastructures.Id,
        Network = @default.Apply(@default => @default.Apply(getNetworkResult => getNetworkResult.Id)),
        Cidr = "10.5.0.0/24",
        BackupSubnetCidr = "10.6.0.0/24",
        Properties = new Gcp.OracleDatabase.Inputs.CloudVmClusterPropertiesArgs
        {
            LicenseType = "LICENSE_INCLUDED",
            SshPublicKeys = new[]
            {
                "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com",
            },
            CpuCoreCount = 4,
            GiVersion = "19.0.0.0",
            HostnamePrefix = "hostname1",
        },
        DeletionProtection = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.oracledatabase.CloudExadataInfrastructure;
import com.pulumi.gcp.oracledatabase.CloudExadataInfrastructureArgs;
import com.pulumi.gcp.oracledatabase.inputs.CloudExadataInfrastructurePropertiesArgs;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetNetworkArgs;
import com.pulumi.gcp.oracledatabase.CloudVmCluster;
import com.pulumi.gcp.oracledatabase.CloudVmClusterArgs;
import com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesArgs;
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 cloudExadataInfrastructures = new CloudExadataInfrastructure("cloudExadataInfrastructures", CloudExadataInfrastructureArgs.builder()
            .cloudExadataInfrastructureId("my-exadata")
            .displayName("my-exadata displayname")
            .location("us-east4")
            .project("my-project")
            .properties(CloudExadataInfrastructurePropertiesArgs.builder()
                .shape("Exadata.X9M")
                .computeCount("2")
                .storageCount("3")
                .build())
            .deletionProtection("true")
            .build());

        final var default = ComputeFunctions.getNetwork(GetNetworkArgs.builder()
            .name("new")
            .project("my-project")
            .build());

        var myVmcluster = new CloudVmCluster("myVmcluster", CloudVmClusterArgs.builder()
            .cloudVmClusterId("my-instance")
            .displayName("my-instance displayname")
            .location("us-east4")
            .project("my-project")
            .exadataInfrastructure(cloudExadataInfrastructures.id())
            .network(default_.id())
            .cidr("10.5.0.0/24")
            .backupSubnetCidr("10.6.0.0/24")
            .properties(CloudVmClusterPropertiesArgs.builder()
                .licenseType("LICENSE_INCLUDED")
                .sshPublicKeys("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com")
                .cpuCoreCount("4")
                .giVersion("19.0.0.0")
                .hostnamePrefix("hostname1")
                .build())
            .deletionProtection("true")
            .build());

    }
}
Copy
resources:
  myVmcluster:
    type: gcp:oracledatabase:CloudVmCluster
    name: my_vmcluster
    properties:
      cloudVmClusterId: my-instance
      displayName: my-instance displayname
      location: us-east4
      project: my-project
      exadataInfrastructure: ${cloudExadataInfrastructures.id}
      network: ${default.id}
      cidr: 10.5.0.0/24
      backupSubnetCidr: 10.6.0.0/24
      properties:
        licenseType: LICENSE_INCLUDED
        sshPublicKeys:
          - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com
        cpuCoreCount: '4'
        giVersion: 19.0.0.0
        hostnamePrefix: hostname1
      deletionProtection: 'true'
  cloudExadataInfrastructures:
    type: gcp:oracledatabase:CloudExadataInfrastructure
    properties:
      cloudExadataInfrastructureId: my-exadata
      displayName: my-exadata displayname
      location: us-east4
      project: my-project
      properties:
        shape: Exadata.X9M
        computeCount: '2'
        storageCount: '3'
      deletionProtection: 'true'
variables:
  default:
    fn::invoke:
      function: gcp:compute:getNetwork
      arguments:
        name: new
        project: my-project
Copy

Oracledatabase Cloud Vmcluster Full

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

const cloudExadataInfrastructures = new gcp.oracledatabase.CloudExadataInfrastructure("cloudExadataInfrastructures", {
    cloudExadataInfrastructureId: "my-exadata",
    displayName: "my-exadata displayname",
    location: "us-east4",
    project: "my-project",
    properties: {
        shape: "Exadata.X9M",
        computeCount: 2,
        storageCount: 3,
    },
    deletionProtection: true,
});
const _default = gcp.compute.getNetwork({
    name: "new",
    project: "my-project",
});
const mydbserver = gcp.oracledatabase.getDbServersOutput({
    location: "us-east4",
    project: "my-project",
    cloudExadataInfrastructure: cloudExadataInfrastructures.cloudExadataInfrastructureId,
});
const myVmcluster = new gcp.oracledatabase.CloudVmCluster("my_vmcluster", {
    cloudVmClusterId: "my-instance",
    displayName: "my-instance displayname",
    location: "us-east4",
    project: "my-project",
    exadataInfrastructure: cloudExadataInfrastructures.id,
    network: _default.then(_default => _default.id),
    cidr: "10.5.0.0/24",
    backupSubnetCidr: "10.6.0.0/24",
    labels: {
        "label-one": "value-one",
    },
    properties: {
        licenseType: "LICENSE_INCLUDED",
        sshPublicKeys: ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
        cpuCoreCount: 4,
        giVersion: "19.0.0.0",
        timeZone: {
            id: "UTC",
        },
        nodeCount: 2,
        ocpuCount: 4,
        dataStorageSizeTb: 2,
        dbNodeStorageSizeGb: 120,
        dbServerOcids: [
            mydbserver.apply(mydbserver => mydbserver.dbServers?.[0]?.properties?.[0]?.ocid),
            mydbserver.apply(mydbserver => mydbserver.dbServers?.[1]?.properties?.[0]?.ocid),
        ],
        diskRedundancy: "HIGH",
        sparseDiskgroupEnabled: false,
        localBackupEnabled: false,
        clusterName: "pq-ppat4",
        hostnamePrefix: "hostname1",
        diagnosticsDataCollectionOptions: {
            diagnosticsEventsEnabled: true,
            healthMonitoringEnabled: true,
            incidentLogsEnabled: true,
        },
        memorySizeGb: 60,
    },
    deletionProtection: true,
});
Copy
import pulumi
import pulumi_gcp as gcp

cloud_exadata_infrastructures = gcp.oracledatabase.CloudExadataInfrastructure("cloudExadataInfrastructures",
    cloud_exadata_infrastructure_id="my-exadata",
    display_name="my-exadata displayname",
    location="us-east4",
    project="my-project",
    properties={
        "shape": "Exadata.X9M",
        "compute_count": 2,
        "storage_count": 3,
    },
    deletion_protection=True)
default = gcp.compute.get_network(name="new",
    project="my-project")
mydbserver = gcp.oracledatabase.get_db_servers_output(location="us-east4",
    project="my-project",
    cloud_exadata_infrastructure=cloud_exadata_infrastructures.cloud_exadata_infrastructure_id)
my_vmcluster = gcp.oracledatabase.CloudVmCluster("my_vmcluster",
    cloud_vm_cluster_id="my-instance",
    display_name="my-instance displayname",
    location="us-east4",
    project="my-project",
    exadata_infrastructure=cloud_exadata_infrastructures.id,
    network=default.id,
    cidr="10.5.0.0/24",
    backup_subnet_cidr="10.6.0.0/24",
    labels={
        "label-one": "value-one",
    },
    properties={
        "license_type": "LICENSE_INCLUDED",
        "ssh_public_keys": ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
        "cpu_core_count": 4,
        "gi_version": "19.0.0.0",
        "time_zone": {
            "id": "UTC",
        },
        "node_count": 2,
        "ocpu_count": 4,
        "data_storage_size_tb": 2,
        "db_node_storage_size_gb": 120,
        "db_server_ocids": [
            mydbserver.db_servers[0].properties[0].ocid,
            mydbserver.db_servers[1].properties[0].ocid,
        ],
        "disk_redundancy": "HIGH",
        "sparse_diskgroup_enabled": False,
        "local_backup_enabled": False,
        "cluster_name": "pq-ppat4",
        "hostname_prefix": "hostname1",
        "diagnostics_data_collection_options": {
            "diagnostics_events_enabled": True,
            "health_monitoring_enabled": True,
            "incident_logs_enabled": True,
        },
        "memory_size_gb": 60,
    },
    deletion_protection=True)
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/oracledatabase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cloudExadataInfrastructures, err := oracledatabase.NewCloudExadataInfrastructure(ctx, "cloudExadataInfrastructures", &oracledatabase.CloudExadataInfrastructureArgs{
			CloudExadataInfrastructureId: pulumi.String("my-exadata"),
			DisplayName:                  pulumi.String("my-exadata displayname"),
			Location:                     pulumi.String("us-east4"),
			Project:                      pulumi.String("my-project"),
			Properties: &oracledatabase.CloudExadataInfrastructurePropertiesArgs{
				Shape:        pulumi.String("Exadata.X9M"),
				ComputeCount: pulumi.Int(2),
				StorageCount: pulumi.Int(3),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_default, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name:    "new",
			Project: pulumi.StringRef("my-project"),
		}, nil)
		if err != nil {
			return err
		}
		mydbserver := oracledatabase.GetDbServersOutput(ctx, oracledatabase.GetDbServersOutputArgs{
			Location:                   pulumi.String("us-east4"),
			Project:                    pulumi.String("my-project"),
			CloudExadataInfrastructure: cloudExadataInfrastructures.CloudExadataInfrastructureId,
		}, nil)
		_, err = oracledatabase.NewCloudVmCluster(ctx, "my_vmcluster", &oracledatabase.CloudVmClusterArgs{
			CloudVmClusterId:      pulumi.String("my-instance"),
			DisplayName:           pulumi.String("my-instance displayname"),
			Location:              pulumi.String("us-east4"),
			Project:               pulumi.String("my-project"),
			ExadataInfrastructure: cloudExadataInfrastructures.ID(),
			Network:               pulumi.String(_default.Id),
			Cidr:                  pulumi.String("10.5.0.0/24"),
			BackupSubnetCidr:      pulumi.String("10.6.0.0/24"),
			Labels: pulumi.StringMap{
				"label-one": pulumi.String("value-one"),
			},
			Properties: &oracledatabase.CloudVmClusterPropertiesArgs{
				LicenseType: pulumi.String("LICENSE_INCLUDED"),
				SshPublicKeys: pulumi.StringArray{
					pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"),
				},
				CpuCoreCount: pulumi.Int(4),
				GiVersion:    pulumi.String("19.0.0.0"),
				TimeZone: &oracledatabase.CloudVmClusterPropertiesTimeZoneArgs{
					Id: pulumi.String("UTC"),
				},
				NodeCount:           pulumi.Int(2),
				OcpuCount:           pulumi.Float64(4),
				DataStorageSizeTb:   pulumi.Float64(2),
				DbNodeStorageSizeGb: pulumi.Int(120),
				DbServerOcids: pulumi.StringArray{
					mydbserver.ApplyT(func(mydbserver oracledatabase.GetDbServersResult) (*string, error) {
						return &mydbserver.DbServers[0].Properties[0].Ocid, nil
					}).(pulumi.StringPtrOutput),
					mydbserver.ApplyT(func(mydbserver oracledatabase.GetDbServersResult) (*string, error) {
						return &mydbserver.DbServers[1].Properties[0].Ocid, nil
					}).(pulumi.StringPtrOutput),
				},
				DiskRedundancy:         pulumi.String("HIGH"),
				SparseDiskgroupEnabled: pulumi.Bool(false),
				LocalBackupEnabled:     pulumi.Bool(false),
				ClusterName:            pulumi.String("pq-ppat4"),
				HostnamePrefix:         pulumi.String("hostname1"),
				DiagnosticsDataCollectionOptions: &oracledatabase.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs{
					DiagnosticsEventsEnabled: pulumi.Bool(true),
					HealthMonitoringEnabled:  pulumi.Bool(true),
					IncidentLogsEnabled:      pulumi.Bool(true),
				},
				MemorySizeGb: pulumi.Int(60),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var cloudExadataInfrastructures = new Gcp.OracleDatabase.CloudExadataInfrastructure("cloudExadataInfrastructures", new()
    {
        CloudExadataInfrastructureId = "my-exadata",
        DisplayName = "my-exadata displayname",
        Location = "us-east4",
        Project = "my-project",
        Properties = new Gcp.OracleDatabase.Inputs.CloudExadataInfrastructurePropertiesArgs
        {
            Shape = "Exadata.X9M",
            ComputeCount = 2,
            StorageCount = 3,
        },
        DeletionProtection = true,
    });

    var @default = Gcp.Compute.GetNetwork.Invoke(new()
    {
        Name = "new",
        Project = "my-project",
    });

    var mydbserver = Gcp.OracleDatabase.GetDbServers.Invoke(new()
    {
        Location = "us-east4",
        Project = "my-project",
        CloudExadataInfrastructure = cloudExadataInfrastructures.CloudExadataInfrastructureId,
    });

    var myVmcluster = new Gcp.OracleDatabase.CloudVmCluster("my_vmcluster", new()
    {
        CloudVmClusterId = "my-instance",
        DisplayName = "my-instance displayname",
        Location = "us-east4",
        Project = "my-project",
        ExadataInfrastructure = cloudExadataInfrastructures.Id,
        Network = @default.Apply(@default => @default.Apply(getNetworkResult => getNetworkResult.Id)),
        Cidr = "10.5.0.0/24",
        BackupSubnetCidr = "10.6.0.0/24",
        Labels = 
        {
            { "label-one", "value-one" },
        },
        Properties = new Gcp.OracleDatabase.Inputs.CloudVmClusterPropertiesArgs
        {
            LicenseType = "LICENSE_INCLUDED",
            SshPublicKeys = new[]
            {
                "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com",
            },
            CpuCoreCount = 4,
            GiVersion = "19.0.0.0",
            TimeZone = new Gcp.OracleDatabase.Inputs.CloudVmClusterPropertiesTimeZoneArgs
            {
                Id = "UTC",
            },
            NodeCount = 2,
            OcpuCount = 4,
            DataStorageSizeTb = 2,
            DbNodeStorageSizeGb = 120,
            DbServerOcids = new[]
            {
                mydbserver.Apply(getDbServersResult => getDbServersResult.DbServers[0]?.Properties[0]?.Ocid),
                mydbserver.Apply(getDbServersResult => getDbServersResult.DbServers[1]?.Properties[0]?.Ocid),
            },
            DiskRedundancy = "HIGH",
            SparseDiskgroupEnabled = false,
            LocalBackupEnabled = false,
            ClusterName = "pq-ppat4",
            HostnamePrefix = "hostname1",
            DiagnosticsDataCollectionOptions = new Gcp.OracleDatabase.Inputs.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs
            {
                DiagnosticsEventsEnabled = true,
                HealthMonitoringEnabled = true,
                IncidentLogsEnabled = true,
            },
            MemorySizeGb = 60,
        },
        DeletionProtection = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.oracledatabase.CloudExadataInfrastructure;
import com.pulumi.gcp.oracledatabase.CloudExadataInfrastructureArgs;
import com.pulumi.gcp.oracledatabase.inputs.CloudExadataInfrastructurePropertiesArgs;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetNetworkArgs;
import com.pulumi.gcp.oracledatabase.OracledatabaseFunctions;
import com.pulumi.gcp.oracledatabase.inputs.GetDbServersArgs;
import com.pulumi.gcp.oracledatabase.CloudVmCluster;
import com.pulumi.gcp.oracledatabase.CloudVmClusterArgs;
import com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesArgs;
import com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesTimeZoneArgs;
import com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs;
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 cloudExadataInfrastructures = new CloudExadataInfrastructure("cloudExadataInfrastructures", CloudExadataInfrastructureArgs.builder()
            .cloudExadataInfrastructureId("my-exadata")
            .displayName("my-exadata displayname")
            .location("us-east4")
            .project("my-project")
            .properties(CloudExadataInfrastructurePropertiesArgs.builder()
                .shape("Exadata.X9M")
                .computeCount("2")
                .storageCount("3")
                .build())
            .deletionProtection("true")
            .build());

        final var default = ComputeFunctions.getNetwork(GetNetworkArgs.builder()
            .name("new")
            .project("my-project")
            .build());

        final var mydbserver = OracledatabaseFunctions.getDbServers(GetDbServersArgs.builder()
            .location("us-east4")
            .project("my-project")
            .cloudExadataInfrastructure(cloudExadataInfrastructures.cloudExadataInfrastructureId())
            .build());

        var myVmcluster = new CloudVmCluster("myVmcluster", CloudVmClusterArgs.builder()
            .cloudVmClusterId("my-instance")
            .displayName("my-instance displayname")
            .location("us-east4")
            .project("my-project")
            .exadataInfrastructure(cloudExadataInfrastructures.id())
            .network(default_.id())
            .cidr("10.5.0.0/24")
            .backupSubnetCidr("10.6.0.0/24")
            .labels(Map.of("label-one", "value-one"))
            .properties(CloudVmClusterPropertiesArgs.builder()
                .licenseType("LICENSE_INCLUDED")
                .sshPublicKeys("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com")
                .cpuCoreCount("4")
                .giVersion("19.0.0.0")
                .timeZone(CloudVmClusterPropertiesTimeZoneArgs.builder()
                    .id("UTC")
                    .build())
                .nodeCount("2")
                .ocpuCount("4.0")
                .dataStorageSizeTb(2)
                .dbNodeStorageSizeGb(120)
                .dbServerOcids(                
                    mydbserver.applyValue(getDbServersResult -> getDbServersResult).applyValue(mydbserver -> mydbserver.applyValue(getDbServersResult -> getDbServersResult.dbServers()[0].properties()[0].ocid())),
                    mydbserver.applyValue(getDbServersResult -> getDbServersResult).applyValue(mydbserver -> mydbserver.applyValue(getDbServersResult -> getDbServersResult.dbServers()[1].properties()[0].ocid())))
                .diskRedundancy("HIGH")
                .sparseDiskgroupEnabled(false)
                .localBackupEnabled(false)
                .clusterName("pq-ppat4")
                .hostnamePrefix("hostname1")
                .diagnosticsDataCollectionOptions(CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs.builder()
                    .diagnosticsEventsEnabled(true)
                    .healthMonitoringEnabled(true)
                    .incidentLogsEnabled(true)
                    .build())
                .memorySizeGb(60)
                .build())
            .deletionProtection("true")
            .build());

    }
}
Copy
resources:
  myVmcluster:
    type: gcp:oracledatabase:CloudVmCluster
    name: my_vmcluster
    properties:
      cloudVmClusterId: my-instance
      displayName: my-instance displayname
      location: us-east4
      project: my-project
      exadataInfrastructure: ${cloudExadataInfrastructures.id}
      network: ${default.id}
      cidr: 10.5.0.0/24
      backupSubnetCidr: 10.6.0.0/24
      labels:
        label-one: value-one
      properties:
        licenseType: LICENSE_INCLUDED
        sshPublicKeys:
          - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com
        cpuCoreCount: '4'
        giVersion: 19.0.0.0
        timeZone:
          id: UTC
        nodeCount: '2'
        ocpuCount: '4.0'
        dataStorageSizeTb: 2
        dbNodeStorageSizeGb: 120
        dbServerOcids:
          - ${mydbserver.dbServers[0].properties[0].ocid}
          - ${mydbserver.dbServers[1].properties[0].ocid}
        diskRedundancy: HIGH
        sparseDiskgroupEnabled: false
        localBackupEnabled: false
        clusterName: pq-ppat4
        hostnamePrefix: hostname1
        diagnosticsDataCollectionOptions:
          diagnosticsEventsEnabled: true
          healthMonitoringEnabled: true
          incidentLogsEnabled: true
        memorySizeGb: 60
      deletionProtection: 'true'
  cloudExadataInfrastructures:
    type: gcp:oracledatabase:CloudExadataInfrastructure
    properties:
      cloudExadataInfrastructureId: my-exadata
      displayName: my-exadata displayname
      location: us-east4
      project: my-project
      properties:
        shape: Exadata.X9M
        computeCount: '2'
        storageCount: '3'
      deletionProtection: 'true'
variables:
  default:
    fn::invoke:
      function: gcp:compute:getNetwork
      arguments:
        name: new
        project: my-project
  mydbserver:
    fn::invoke:
      function: gcp:oracledatabase:getDbServers
      arguments:
        location: us-east4
        project: my-project
        cloudExadataInfrastructure: ${cloudExadataInfrastructures.cloudExadataInfrastructureId}
Copy

Create CloudVmCluster Resource

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

Constructor syntax

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

@overload
def CloudVmCluster(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   backup_subnet_cidr: Optional[str] = None,
                   cidr: Optional[str] = None,
                   cloud_vm_cluster_id: Optional[str] = None,
                   exadata_infrastructure: Optional[str] = None,
                   location: Optional[str] = None,
                   network: Optional[str] = None,
                   deletion_protection: Optional[bool] = None,
                   display_name: Optional[str] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   project: Optional[str] = None,
                   properties: Optional[CloudVmClusterPropertiesArgs] = None)
func NewCloudVmCluster(ctx *Context, name string, args CloudVmClusterArgs, opts ...ResourceOption) (*CloudVmCluster, error)
public CloudVmCluster(string name, CloudVmClusterArgs args, CustomResourceOptions? opts = null)
public CloudVmCluster(String name, CloudVmClusterArgs args)
public CloudVmCluster(String name, CloudVmClusterArgs args, CustomResourceOptions options)
type: gcp:oracledatabase:CloudVmCluster
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. CloudVmClusterArgs
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. CloudVmClusterArgs
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. CloudVmClusterArgs
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. CloudVmClusterArgs
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. CloudVmClusterArgs
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 cloudVmClusterResource = new Gcp.OracleDatabase.CloudVmCluster("cloudVmClusterResource", new()
{
    BackupSubnetCidr = "string",
    Cidr = "string",
    CloudVmClusterId = "string",
    ExadataInfrastructure = "string",
    Location = "string",
    Network = "string",
    DeletionProtection = false,
    DisplayName = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
    Properties = new Gcp.OracleDatabase.Inputs.CloudVmClusterPropertiesArgs
    {
        CpuCoreCount = 0,
        LicenseType = "string",
        NodeCount = 0,
        DbNodeStorageSizeGb = 0,
        OciUrl = "string",
        DbServerOcids = new[]
        {
            "string",
        },
        DiagnosticsDataCollectionOptions = new Gcp.OracleDatabase.Inputs.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs
        {
            DiagnosticsEventsEnabled = false,
            HealthMonitoringEnabled = false,
            IncidentLogsEnabled = false,
        },
        DiskRedundancy = "string",
        DnsListenerIp = "string",
        Domain = "string",
        GiVersion = "string",
        Hostname = "string",
        HostnamePrefix = "string",
        CompartmentId = "string",
        LocalBackupEnabled = false,
        MemorySizeGb = 0,
        TimeZone = new Gcp.OracleDatabase.Inputs.CloudVmClusterPropertiesTimeZoneArgs
        {
            Id = "string",
        },
        DataStorageSizeTb = 0,
        Ocid = "string",
        OcpuCount = 0,
        ScanDns = "string",
        ScanDnsRecordId = "string",
        ScanIpIds = new[]
        {
            "string",
        },
        ScanListenerPortTcp = 0,
        ScanListenerPortTcpSsl = 0,
        Shape = "string",
        SparseDiskgroupEnabled = false,
        SshPublicKeys = new[]
        {
            "string",
        },
        State = "string",
        StorageSizeGb = 0,
        SystemVersion = "string",
        ClusterName = "string",
    },
});
Copy
example, err := oracledatabase.NewCloudVmCluster(ctx, "cloudVmClusterResource", &oracledatabase.CloudVmClusterArgs{
	BackupSubnetCidr:      pulumi.String("string"),
	Cidr:                  pulumi.String("string"),
	CloudVmClusterId:      pulumi.String("string"),
	ExadataInfrastructure: pulumi.String("string"),
	Location:              pulumi.String("string"),
	Network:               pulumi.String("string"),
	DeletionProtection:    pulumi.Bool(false),
	DisplayName:           pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
	Properties: &oracledatabase.CloudVmClusterPropertiesArgs{
		CpuCoreCount:        pulumi.Int(0),
		LicenseType:         pulumi.String("string"),
		NodeCount:           pulumi.Int(0),
		DbNodeStorageSizeGb: pulumi.Int(0),
		OciUrl:              pulumi.String("string"),
		DbServerOcids: pulumi.StringArray{
			pulumi.String("string"),
		},
		DiagnosticsDataCollectionOptions: &oracledatabase.CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs{
			DiagnosticsEventsEnabled: pulumi.Bool(false),
			HealthMonitoringEnabled:  pulumi.Bool(false),
			IncidentLogsEnabled:      pulumi.Bool(false),
		},
		DiskRedundancy:     pulumi.String("string"),
		DnsListenerIp:      pulumi.String("string"),
		Domain:             pulumi.String("string"),
		GiVersion:          pulumi.String("string"),
		Hostname:           pulumi.String("string"),
		HostnamePrefix:     pulumi.String("string"),
		CompartmentId:      pulumi.String("string"),
		LocalBackupEnabled: pulumi.Bool(false),
		MemorySizeGb:       pulumi.Int(0),
		TimeZone: &oracledatabase.CloudVmClusterPropertiesTimeZoneArgs{
			Id: pulumi.String("string"),
		},
		DataStorageSizeTb: pulumi.Float64(0),
		Ocid:              pulumi.String("string"),
		OcpuCount:         pulumi.Float64(0),
		ScanDns:           pulumi.String("string"),
		ScanDnsRecordId:   pulumi.String("string"),
		ScanIpIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		ScanListenerPortTcp:    pulumi.Int(0),
		ScanListenerPortTcpSsl: pulumi.Int(0),
		Shape:                  pulumi.String("string"),
		SparseDiskgroupEnabled: pulumi.Bool(false),
		SshPublicKeys: pulumi.StringArray{
			pulumi.String("string"),
		},
		State:         pulumi.String("string"),
		StorageSizeGb: pulumi.Int(0),
		SystemVersion: pulumi.String("string"),
		ClusterName:   pulumi.String("string"),
	},
})
Copy
var cloudVmClusterResource = new CloudVmCluster("cloudVmClusterResource", CloudVmClusterArgs.builder()
    .backupSubnetCidr("string")
    .cidr("string")
    .cloudVmClusterId("string")
    .exadataInfrastructure("string")
    .location("string")
    .network("string")
    .deletionProtection(false)
    .displayName("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .properties(CloudVmClusterPropertiesArgs.builder()
        .cpuCoreCount(0)
        .licenseType("string")
        .nodeCount(0)
        .dbNodeStorageSizeGb(0)
        .ociUrl("string")
        .dbServerOcids("string")
        .diagnosticsDataCollectionOptions(CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs.builder()
            .diagnosticsEventsEnabled(false)
            .healthMonitoringEnabled(false)
            .incidentLogsEnabled(false)
            .build())
        .diskRedundancy("string")
        .dnsListenerIp("string")
        .domain("string")
        .giVersion("string")
        .hostname("string")
        .hostnamePrefix("string")
        .compartmentId("string")
        .localBackupEnabled(false)
        .memorySizeGb(0)
        .timeZone(CloudVmClusterPropertiesTimeZoneArgs.builder()
            .id("string")
            .build())
        .dataStorageSizeTb(0)
        .ocid("string")
        .ocpuCount(0)
        .scanDns("string")
        .scanDnsRecordId("string")
        .scanIpIds("string")
        .scanListenerPortTcp(0)
        .scanListenerPortTcpSsl(0)
        .shape("string")
        .sparseDiskgroupEnabled(false)
        .sshPublicKeys("string")
        .state("string")
        .storageSizeGb(0)
        .systemVersion("string")
        .clusterName("string")
        .build())
    .build());
Copy
cloud_vm_cluster_resource = gcp.oracledatabase.CloudVmCluster("cloudVmClusterResource",
    backup_subnet_cidr="string",
    cidr="string",
    cloud_vm_cluster_id="string",
    exadata_infrastructure="string",
    location="string",
    network="string",
    deletion_protection=False,
    display_name="string",
    labels={
        "string": "string",
    },
    project="string",
    properties={
        "cpu_core_count": 0,
        "license_type": "string",
        "node_count": 0,
        "db_node_storage_size_gb": 0,
        "oci_url": "string",
        "db_server_ocids": ["string"],
        "diagnostics_data_collection_options": {
            "diagnostics_events_enabled": False,
            "health_monitoring_enabled": False,
            "incident_logs_enabled": False,
        },
        "disk_redundancy": "string",
        "dns_listener_ip": "string",
        "domain": "string",
        "gi_version": "string",
        "hostname": "string",
        "hostname_prefix": "string",
        "compartment_id": "string",
        "local_backup_enabled": False,
        "memory_size_gb": 0,
        "time_zone": {
            "id": "string",
        },
        "data_storage_size_tb": 0,
        "ocid": "string",
        "ocpu_count": 0,
        "scan_dns": "string",
        "scan_dns_record_id": "string",
        "scan_ip_ids": ["string"],
        "scan_listener_port_tcp": 0,
        "scan_listener_port_tcp_ssl": 0,
        "shape": "string",
        "sparse_diskgroup_enabled": False,
        "ssh_public_keys": ["string"],
        "state": "string",
        "storage_size_gb": 0,
        "system_version": "string",
        "cluster_name": "string",
    })
Copy
const cloudVmClusterResource = new gcp.oracledatabase.CloudVmCluster("cloudVmClusterResource", {
    backupSubnetCidr: "string",
    cidr: "string",
    cloudVmClusterId: "string",
    exadataInfrastructure: "string",
    location: "string",
    network: "string",
    deletionProtection: false,
    displayName: "string",
    labels: {
        string: "string",
    },
    project: "string",
    properties: {
        cpuCoreCount: 0,
        licenseType: "string",
        nodeCount: 0,
        dbNodeStorageSizeGb: 0,
        ociUrl: "string",
        dbServerOcids: ["string"],
        diagnosticsDataCollectionOptions: {
            diagnosticsEventsEnabled: false,
            healthMonitoringEnabled: false,
            incidentLogsEnabled: false,
        },
        diskRedundancy: "string",
        dnsListenerIp: "string",
        domain: "string",
        giVersion: "string",
        hostname: "string",
        hostnamePrefix: "string",
        compartmentId: "string",
        localBackupEnabled: false,
        memorySizeGb: 0,
        timeZone: {
            id: "string",
        },
        dataStorageSizeTb: 0,
        ocid: "string",
        ocpuCount: 0,
        scanDns: "string",
        scanDnsRecordId: "string",
        scanIpIds: ["string"],
        scanListenerPortTcp: 0,
        scanListenerPortTcpSsl: 0,
        shape: "string",
        sparseDiskgroupEnabled: false,
        sshPublicKeys: ["string"],
        state: "string",
        storageSizeGb: 0,
        systemVersion: "string",
        clusterName: "string",
    },
});
Copy
type: gcp:oracledatabase:CloudVmCluster
properties:
    backupSubnetCidr: string
    cidr: string
    cloudVmClusterId: string
    deletionProtection: false
    displayName: string
    exadataInfrastructure: string
    labels:
        string: string
    location: string
    network: string
    project: string
    properties:
        clusterName: string
        compartmentId: string
        cpuCoreCount: 0
        dataStorageSizeTb: 0
        dbNodeStorageSizeGb: 0
        dbServerOcids:
            - string
        diagnosticsDataCollectionOptions:
            diagnosticsEventsEnabled: false
            healthMonitoringEnabled: false
            incidentLogsEnabled: false
        diskRedundancy: string
        dnsListenerIp: string
        domain: string
        giVersion: string
        hostname: string
        hostnamePrefix: string
        licenseType: string
        localBackupEnabled: false
        memorySizeGb: 0
        nodeCount: 0
        ociUrl: string
        ocid: string
        ocpuCount: 0
        scanDns: string
        scanDnsRecordId: string
        scanIpIds:
            - string
        scanListenerPortTcp: 0
        scanListenerPortTcpSsl: 0
        shape: string
        sparseDiskgroupEnabled: false
        sshPublicKeys:
            - string
        state: string
        storageSizeGb: 0
        systemVersion: string
        timeZone:
            id: string
Copy

CloudVmCluster 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 CloudVmCluster resource accepts the following input properties:

BackupSubnetCidr
This property is required.
Changes to this property will trigger replacement.
string
CIDR range of the backup subnet.
Cidr
This property is required.
Changes to this property will trigger replacement.
string
Network settings. CIDR to use for cluster IP allocation.
CloudVmClusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


ExadataInfrastructure
This property is required.
Changes to this property will trigger replacement.
string
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
Location
This property is required.
Changes to this property will trigger replacement.
string
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
Network
This property is required.
Changes to this property will trigger replacement.
string
The name of the VPC network. Format: projects/{project}/global/networks/{network}
DeletionProtection bool
DisplayName Changes to this property will trigger replacement. string
User friendly name for this resource.
Labels Dictionary<string, string>
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Properties Changes to this property will trigger replacement. CloudVmClusterProperties
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
BackupSubnetCidr
This property is required.
Changes to this property will trigger replacement.
string
CIDR range of the backup subnet.
Cidr
This property is required.
Changes to this property will trigger replacement.
string
Network settings. CIDR to use for cluster IP allocation.
CloudVmClusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


ExadataInfrastructure
This property is required.
Changes to this property will trigger replacement.
string
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
Location
This property is required.
Changes to this property will trigger replacement.
string
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
Network
This property is required.
Changes to this property will trigger replacement.
string
The name of the VPC network. Format: projects/{project}/global/networks/{network}
DeletionProtection bool
DisplayName Changes to this property will trigger replacement. string
User friendly name for this resource.
Labels map[string]string
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Properties Changes to this property will trigger replacement. CloudVmClusterPropertiesArgs
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
backupSubnetCidr
This property is required.
Changes to this property will trigger replacement.
String
CIDR range of the backup subnet.
cidr
This property is required.
Changes to this property will trigger replacement.
String
Network settings. CIDR to use for cluster IP allocation.
cloudVmClusterId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


exadataInfrastructure
This property is required.
Changes to this property will trigger replacement.
String
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
location
This property is required.
Changes to this property will trigger replacement.
String
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
network
This property is required.
Changes to this property will trigger replacement.
String
The name of the VPC network. Format: projects/{project}/global/networks/{network}
deletionProtection Boolean
displayName Changes to this property will trigger replacement. String
User friendly name for this resource.
labels Map<String,String>
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. CloudVmClusterProperties
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
backupSubnetCidr
This property is required.
Changes to this property will trigger replacement.
string
CIDR range of the backup subnet.
cidr
This property is required.
Changes to this property will trigger replacement.
string
Network settings. CIDR to use for cluster IP allocation.
cloudVmClusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


exadataInfrastructure
This property is required.
Changes to this property will trigger replacement.
string
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
location
This property is required.
Changes to this property will trigger replacement.
string
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
network
This property is required.
Changes to this property will trigger replacement.
string
The name of the VPC network. Format: projects/{project}/global/networks/{network}
deletionProtection boolean
displayName Changes to this property will trigger replacement. string
User friendly name for this resource.
labels {[key: string]: string}
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. CloudVmClusterProperties
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
backup_subnet_cidr
This property is required.
Changes to this property will trigger replacement.
str
CIDR range of the backup subnet.
cidr
This property is required.
Changes to this property will trigger replacement.
str
Network settings. CIDR to use for cluster IP allocation.
cloud_vm_cluster_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


exadata_infrastructure
This property is required.
Changes to this property will trigger replacement.
str
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
location
This property is required.
Changes to this property will trigger replacement.
str
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
network
This property is required.
Changes to this property will trigger replacement.
str
The name of the VPC network. Format: projects/{project}/global/networks/{network}
deletion_protection bool
display_name Changes to this property will trigger replacement. str
User friendly name for this resource.
labels Mapping[str, str]
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. CloudVmClusterPropertiesArgs
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
backupSubnetCidr
This property is required.
Changes to this property will trigger replacement.
String
CIDR range of the backup subnet.
cidr
This property is required.
Changes to this property will trigger replacement.
String
Network settings. CIDR to use for cluster IP allocation.
cloudVmClusterId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


exadataInfrastructure
This property is required.
Changes to this property will trigger replacement.
String
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
location
This property is required.
Changes to this property will trigger replacement.
String
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
network
This property is required.
Changes to this property will trigger replacement.
String
The name of the VPC network. Format: projects/{project}/global/networks/{network}
deletionProtection Boolean
displayName Changes to this property will trigger replacement. String
User friendly name for this resource.
labels Map<String>
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. Property Map
Various properties and settings associated with Exadata VM cluster. Structure is documented below.

Outputs

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

CreateTime string
The date and time that the VM cluster was created.
EffectiveLabels Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
GcpOracleZone string
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
CreateTime string
The date and time that the VM cluster was created.
EffectiveLabels map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
GcpOracleZone string
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
createTime String
The date and time that the VM cluster was created.
effectiveLabels Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gcpOracleZone String
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
id String
The provider-assigned unique ID for this managed resource.
name String
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
createTime string
The date and time that the VM cluster was created.
effectiveLabels {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gcpOracleZone string
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
id string
The provider-assigned unique ID for this managed resource.
name string
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
create_time str
The date and time that the VM cluster was created.
effective_labels Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gcp_oracle_zone str
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
id str
The provider-assigned unique ID for this managed resource.
name str
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
createTime String
The date and time that the VM cluster was created.
effectiveLabels Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gcpOracleZone String
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
id String
The provider-assigned unique ID for this managed resource.
name String
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.

Look up Existing CloudVmCluster Resource

Get an existing CloudVmCluster 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?: CloudVmClusterState, opts?: CustomResourceOptions): CloudVmCluster
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backup_subnet_cidr: Optional[str] = None,
        cidr: Optional[str] = None,
        cloud_vm_cluster_id: Optional[str] = None,
        create_time: Optional[str] = None,
        deletion_protection: Optional[bool] = None,
        display_name: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        exadata_infrastructure: Optional[str] = None,
        gcp_oracle_zone: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        network: Optional[str] = None,
        project: Optional[str] = None,
        properties: Optional[CloudVmClusterPropertiesArgs] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None) -> CloudVmCluster
func GetCloudVmCluster(ctx *Context, name string, id IDInput, state *CloudVmClusterState, opts ...ResourceOption) (*CloudVmCluster, error)
public static CloudVmCluster Get(string name, Input<string> id, CloudVmClusterState? state, CustomResourceOptions? opts = null)
public static CloudVmCluster get(String name, Output<String> id, CloudVmClusterState state, CustomResourceOptions options)
resources:  _:    type: gcp:oracledatabase:CloudVmCluster    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:
BackupSubnetCidr Changes to this property will trigger replacement. string
CIDR range of the backup subnet.
Cidr Changes to this property will trigger replacement. string
Network settings. CIDR to use for cluster IP allocation.
CloudVmClusterId Changes to this property will trigger replacement. string
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


CreateTime string
The date and time that the VM cluster was created.
DeletionProtection bool
DisplayName Changes to this property will trigger replacement. string
User friendly name for this resource.
EffectiveLabels Changes to this property will trigger replacement. Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
ExadataInfrastructure Changes to this property will trigger replacement. string
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
GcpOracleZone string
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
Labels Dictionary<string, string>
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Location Changes to this property will trigger replacement. string
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
Name string
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
Network Changes to this property will trigger replacement. string
The name of the VPC network. Format: projects/{project}/global/networks/{network}
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Properties Changes to this property will trigger replacement. CloudVmClusterProperties
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
BackupSubnetCidr Changes to this property will trigger replacement. string
CIDR range of the backup subnet.
Cidr Changes to this property will trigger replacement. string
Network settings. CIDR to use for cluster IP allocation.
CloudVmClusterId Changes to this property will trigger replacement. string
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


CreateTime string
The date and time that the VM cluster was created.
DeletionProtection bool
DisplayName Changes to this property will trigger replacement. string
User friendly name for this resource.
EffectiveLabels Changes to this property will trigger replacement. map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
ExadataInfrastructure Changes to this property will trigger replacement. string
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
GcpOracleZone string
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
Labels map[string]string
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Location Changes to this property will trigger replacement. string
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
Name string
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
Network Changes to this property will trigger replacement. string
The name of the VPC network. Format: projects/{project}/global/networks/{network}
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Properties Changes to this property will trigger replacement. CloudVmClusterPropertiesArgs
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
backupSubnetCidr Changes to this property will trigger replacement. String
CIDR range of the backup subnet.
cidr Changes to this property will trigger replacement. String
Network settings. CIDR to use for cluster IP allocation.
cloudVmClusterId Changes to this property will trigger replacement. String
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


createTime String
The date and time that the VM cluster was created.
deletionProtection Boolean
displayName Changes to this property will trigger replacement. String
User friendly name for this resource.
effectiveLabels Changes to this property will trigger replacement. Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
exadataInfrastructure Changes to this property will trigger replacement. String
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
gcpOracleZone String
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
labels Map<String,String>
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. String
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
name String
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
network Changes to this property will trigger replacement. String
The name of the VPC network. Format: projects/{project}/global/networks/{network}
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. CloudVmClusterProperties
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
backupSubnetCidr Changes to this property will trigger replacement. string
CIDR range of the backup subnet.
cidr Changes to this property will trigger replacement. string
Network settings. CIDR to use for cluster IP allocation.
cloudVmClusterId Changes to this property will trigger replacement. string
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


createTime string
The date and time that the VM cluster was created.
deletionProtection boolean
displayName Changes to this property will trigger replacement. string
User friendly name for this resource.
effectiveLabels Changes to this property will trigger replacement. {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
exadataInfrastructure Changes to this property will trigger replacement. string
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
gcpOracleZone string
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
labels {[key: string]: string}
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. string
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
name string
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
network Changes to this property will trigger replacement. string
The name of the VPC network. Format: projects/{project}/global/networks/{network}
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. CloudVmClusterProperties
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
backup_subnet_cidr Changes to this property will trigger replacement. str
CIDR range of the backup subnet.
cidr Changes to this property will trigger replacement. str
Network settings. CIDR to use for cluster IP allocation.
cloud_vm_cluster_id Changes to this property will trigger replacement. str
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


create_time str
The date and time that the VM cluster was created.
deletion_protection bool
display_name Changes to this property will trigger replacement. str
User friendly name for this resource.
effective_labels Changes to this property will trigger replacement. Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
exadata_infrastructure Changes to this property will trigger replacement. str
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
gcp_oracle_zone str
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
labels Mapping[str, str]
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. str
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
name str
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
network Changes to this property will trigger replacement. str
The name of the VPC network. Format: projects/{project}/global/networks/{network}
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. CloudVmClusterPropertiesArgs
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
backupSubnetCidr Changes to this property will trigger replacement. String
CIDR range of the backup subnet.
cidr Changes to this property will trigger replacement. String
Network settings. CIDR to use for cluster IP allocation.
cloudVmClusterId Changes to this property will trigger replacement. String
The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.


createTime String
The date and time that the VM cluster was created.
deletionProtection Boolean
displayName Changes to this property will trigger replacement. String
User friendly name for this resource.
effectiveLabels Changes to this property will trigger replacement. Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
exadataInfrastructure Changes to this property will trigger replacement. String
The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
gcpOracleZone String
GCP location where Oracle Exadata is hosted. It is same as GCP Oracle zone of Exadata infrastructure.
labels Map<String>
Labels or tags associated with the VM Cluster. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. String
Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbNode.
name String
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
network Changes to this property will trigger replacement. String
The name of the VPC network. Format: projects/{project}/global/networks/{network}
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
properties Changes to this property will trigger replacement. Property Map
Various properties and settings associated with Exadata VM cluster. Structure is documented below.
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.

Supporting Types

CloudVmClusterProperties
, CloudVmClusterPropertiesArgs

CpuCoreCount
This property is required.
Changes to this property will trigger replacement.
int
Number of enabled CPU cores.
LicenseType
This property is required.
Changes to this property will trigger replacement.
string
License type of VM Cluster. Possible values: LICENSE_TYPE_UNSPECIFIED LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
ClusterName Changes to this property will trigger replacement. string
OCI Cluster name.
CompartmentId string
(Output) Compartment ID of cluster.
DataStorageSizeTb Changes to this property will trigger replacement. double
The data disk group size to be allocated in TBs.
DbNodeStorageSizeGb Changes to this property will trigger replacement. int
Local storage per VM
DbServerOcids Changes to this property will trigger replacement. List<string>
OCID of database servers.
DiagnosticsDataCollectionOptions Changes to this property will trigger replacement. CloudVmClusterPropertiesDiagnosticsDataCollectionOptions
Data collection options for diagnostics. Structure is documented below.
DiskRedundancy Changes to this property will trigger replacement. string
The type of redundancy. Possible values: DISK_REDUNDANCY_UNSPECIFIED HIGH NORMAL
DnsListenerIp string
(Output) DNS listener IP.
Domain string
(Output) Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
GiVersion Changes to this property will trigger replacement. string
Grid Infrastructure Version.
Hostname string
(Output) host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostname_prefix.
HostnamePrefix Changes to this property will trigger replacement. string
Prefix for VM cluster host names.
LocalBackupEnabled Changes to this property will trigger replacement. bool
Use local backup.
MemorySizeGb Changes to this property will trigger replacement. int
Memory allocated in GBs.
NodeCount Changes to this property will trigger replacement. int
Number of database servers.
OciUrl string
(Output) Deep link to the OCI console to view this resource.
Ocid string
(Output) Oracle Cloud Infrastructure ID of VM Cluster.
OcpuCount Changes to this property will trigger replacement. double
OCPU count per VM. Minimum is 0.1.
ScanDns string
(Output) SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
ScanDnsRecordId string
(Output) OCID of scan DNS record.
ScanIpIds List<string>
(Output) OCIDs of scan IPs.
ScanListenerPortTcp int
(Output) SCAN listener port - TCP
ScanListenerPortTcpSsl int
(Output) SCAN listener port - TLS
Shape string
(Output) Shape of VM Cluster.
SparseDiskgroupEnabled Changes to this property will trigger replacement. bool
Use exadata sparse snapshots.
SshPublicKeys Changes to this property will trigger replacement. List<string>
SSH public keys to be stored with cluster.
State string
(Output) State of the cluster. Possible values: STATE_UNSPECIFIED PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MAINTENANCE_IN_PROGRESS
StorageSizeGb int
(Output) The storage allocation for the disk group, in gigabytes (GB).
SystemVersion string
(Output) Operating system version of the image.
TimeZone Changes to this property will trigger replacement. CloudVmClusterPropertiesTimeZone
Represents a time zone from the IANA Time Zone Database. Structure is documented below.
CpuCoreCount
This property is required.
Changes to this property will trigger replacement.
int
Number of enabled CPU cores.
LicenseType
This property is required.
Changes to this property will trigger replacement.
string
License type of VM Cluster. Possible values: LICENSE_TYPE_UNSPECIFIED LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
ClusterName Changes to this property will trigger replacement. string
OCI Cluster name.
CompartmentId string
(Output) Compartment ID of cluster.
DataStorageSizeTb Changes to this property will trigger replacement. float64
The data disk group size to be allocated in TBs.
DbNodeStorageSizeGb Changes to this property will trigger replacement. int
Local storage per VM
DbServerOcids Changes to this property will trigger replacement. []string
OCID of database servers.
DiagnosticsDataCollectionOptions Changes to this property will trigger replacement. CloudVmClusterPropertiesDiagnosticsDataCollectionOptions
Data collection options for diagnostics. Structure is documented below.
DiskRedundancy Changes to this property will trigger replacement. string
The type of redundancy. Possible values: DISK_REDUNDANCY_UNSPECIFIED HIGH NORMAL
DnsListenerIp string
(Output) DNS listener IP.
Domain string
(Output) Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
GiVersion Changes to this property will trigger replacement. string
Grid Infrastructure Version.
Hostname string
(Output) host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostname_prefix.
HostnamePrefix Changes to this property will trigger replacement. string
Prefix for VM cluster host names.
LocalBackupEnabled Changes to this property will trigger replacement. bool
Use local backup.
MemorySizeGb Changes to this property will trigger replacement. int
Memory allocated in GBs.
NodeCount Changes to this property will trigger replacement. int
Number of database servers.
OciUrl string
(Output) Deep link to the OCI console to view this resource.
Ocid string
(Output) Oracle Cloud Infrastructure ID of VM Cluster.
OcpuCount Changes to this property will trigger replacement. float64
OCPU count per VM. Minimum is 0.1.
ScanDns string
(Output) SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
ScanDnsRecordId string
(Output) OCID of scan DNS record.
ScanIpIds []string
(Output) OCIDs of scan IPs.
ScanListenerPortTcp int
(Output) SCAN listener port - TCP
ScanListenerPortTcpSsl int
(Output) SCAN listener port - TLS
Shape string
(Output) Shape of VM Cluster.
SparseDiskgroupEnabled Changes to this property will trigger replacement. bool
Use exadata sparse snapshots.
SshPublicKeys Changes to this property will trigger replacement. []string
SSH public keys to be stored with cluster.
State string
(Output) State of the cluster. Possible values: STATE_UNSPECIFIED PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MAINTENANCE_IN_PROGRESS
StorageSizeGb int
(Output) The storage allocation for the disk group, in gigabytes (GB).
SystemVersion string
(Output) Operating system version of the image.
TimeZone Changes to this property will trigger replacement. CloudVmClusterPropertiesTimeZone
Represents a time zone from the IANA Time Zone Database. Structure is documented below.
cpuCoreCount
This property is required.
Changes to this property will trigger replacement.
Integer
Number of enabled CPU cores.
licenseType
This property is required.
Changes to this property will trigger replacement.
String
License type of VM Cluster. Possible values: LICENSE_TYPE_UNSPECIFIED LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
clusterName Changes to this property will trigger replacement. String
OCI Cluster name.
compartmentId String
(Output) Compartment ID of cluster.
dataStorageSizeTb Changes to this property will trigger replacement. Double
The data disk group size to be allocated in TBs.
dbNodeStorageSizeGb Changes to this property will trigger replacement. Integer
Local storage per VM
dbServerOcids Changes to this property will trigger replacement. List<String>
OCID of database servers.
diagnosticsDataCollectionOptions Changes to this property will trigger replacement. CloudVmClusterPropertiesDiagnosticsDataCollectionOptions
Data collection options for diagnostics. Structure is documented below.
diskRedundancy Changes to this property will trigger replacement. String
The type of redundancy. Possible values: DISK_REDUNDANCY_UNSPECIFIED HIGH NORMAL
dnsListenerIp String
(Output) DNS listener IP.
domain String
(Output) Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
giVersion Changes to this property will trigger replacement. String
Grid Infrastructure Version.
hostname String
(Output) host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostname_prefix.
hostnamePrefix Changes to this property will trigger replacement. String
Prefix for VM cluster host names.
localBackupEnabled Changes to this property will trigger replacement. Boolean
Use local backup.
memorySizeGb Changes to this property will trigger replacement. Integer
Memory allocated in GBs.
nodeCount Changes to this property will trigger replacement. Integer
Number of database servers.
ociUrl String
(Output) Deep link to the OCI console to view this resource.
ocid String
(Output) Oracle Cloud Infrastructure ID of VM Cluster.
ocpuCount Changes to this property will trigger replacement. Double
OCPU count per VM. Minimum is 0.1.
scanDns String
(Output) SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
scanDnsRecordId String
(Output) OCID of scan DNS record.
scanIpIds List<String>
(Output) OCIDs of scan IPs.
scanListenerPortTcp Integer
(Output) SCAN listener port - TCP
scanListenerPortTcpSsl Integer
(Output) SCAN listener port - TLS
shape String
(Output) Shape of VM Cluster.
sparseDiskgroupEnabled Changes to this property will trigger replacement. Boolean
Use exadata sparse snapshots.
sshPublicKeys Changes to this property will trigger replacement. List<String>
SSH public keys to be stored with cluster.
state String
(Output) State of the cluster. Possible values: STATE_UNSPECIFIED PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MAINTENANCE_IN_PROGRESS
storageSizeGb Integer
(Output) The storage allocation for the disk group, in gigabytes (GB).
systemVersion String
(Output) Operating system version of the image.
timeZone Changes to this property will trigger replacement. CloudVmClusterPropertiesTimeZone
Represents a time zone from the IANA Time Zone Database. Structure is documented below.
cpuCoreCount
This property is required.
Changes to this property will trigger replacement.
number
Number of enabled CPU cores.
licenseType
This property is required.
Changes to this property will trigger replacement.
string
License type of VM Cluster. Possible values: LICENSE_TYPE_UNSPECIFIED LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
clusterName Changes to this property will trigger replacement. string
OCI Cluster name.
compartmentId string
(Output) Compartment ID of cluster.
dataStorageSizeTb Changes to this property will trigger replacement. number
The data disk group size to be allocated in TBs.
dbNodeStorageSizeGb Changes to this property will trigger replacement. number
Local storage per VM
dbServerOcids Changes to this property will trigger replacement. string[]
OCID of database servers.
diagnosticsDataCollectionOptions Changes to this property will trigger replacement. CloudVmClusterPropertiesDiagnosticsDataCollectionOptions
Data collection options for diagnostics. Structure is documented below.
diskRedundancy Changes to this property will trigger replacement. string
The type of redundancy. Possible values: DISK_REDUNDANCY_UNSPECIFIED HIGH NORMAL
dnsListenerIp string
(Output) DNS listener IP.
domain string
(Output) Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
giVersion Changes to this property will trigger replacement. string
Grid Infrastructure Version.
hostname string
(Output) host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostname_prefix.
hostnamePrefix Changes to this property will trigger replacement. string
Prefix for VM cluster host names.
localBackupEnabled Changes to this property will trigger replacement. boolean
Use local backup.
memorySizeGb Changes to this property will trigger replacement. number
Memory allocated in GBs.
nodeCount Changes to this property will trigger replacement. number
Number of database servers.
ociUrl string
(Output) Deep link to the OCI console to view this resource.
ocid string
(Output) Oracle Cloud Infrastructure ID of VM Cluster.
ocpuCount Changes to this property will trigger replacement. number
OCPU count per VM. Minimum is 0.1.
scanDns string
(Output) SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
scanDnsRecordId string
(Output) OCID of scan DNS record.
scanIpIds string[]
(Output) OCIDs of scan IPs.
scanListenerPortTcp number
(Output) SCAN listener port - TCP
scanListenerPortTcpSsl number
(Output) SCAN listener port - TLS
shape string
(Output) Shape of VM Cluster.
sparseDiskgroupEnabled Changes to this property will trigger replacement. boolean
Use exadata sparse snapshots.
sshPublicKeys Changes to this property will trigger replacement. string[]
SSH public keys to be stored with cluster.
state string
(Output) State of the cluster. Possible values: STATE_UNSPECIFIED PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MAINTENANCE_IN_PROGRESS
storageSizeGb number
(Output) The storage allocation for the disk group, in gigabytes (GB).
systemVersion string
(Output) Operating system version of the image.
timeZone Changes to this property will trigger replacement. CloudVmClusterPropertiesTimeZone
Represents a time zone from the IANA Time Zone Database. Structure is documented below.
cpu_core_count
This property is required.
Changes to this property will trigger replacement.
int
Number of enabled CPU cores.
license_type
This property is required.
Changes to this property will trigger replacement.
str
License type of VM Cluster. Possible values: LICENSE_TYPE_UNSPECIFIED LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
cluster_name Changes to this property will trigger replacement. str
OCI Cluster name.
compartment_id str
(Output) Compartment ID of cluster.
data_storage_size_tb Changes to this property will trigger replacement. float
The data disk group size to be allocated in TBs.
db_node_storage_size_gb Changes to this property will trigger replacement. int
Local storage per VM
db_server_ocids Changes to this property will trigger replacement. Sequence[str]
OCID of database servers.
diagnostics_data_collection_options Changes to this property will trigger replacement. CloudVmClusterPropertiesDiagnosticsDataCollectionOptions
Data collection options for diagnostics. Structure is documented below.
disk_redundancy Changes to this property will trigger replacement. str
The type of redundancy. Possible values: DISK_REDUNDANCY_UNSPECIFIED HIGH NORMAL
dns_listener_ip str
(Output) DNS listener IP.
domain str
(Output) Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
gi_version Changes to this property will trigger replacement. str
Grid Infrastructure Version.
hostname str
(Output) host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostname_prefix.
hostname_prefix Changes to this property will trigger replacement. str
Prefix for VM cluster host names.
local_backup_enabled Changes to this property will trigger replacement. bool
Use local backup.
memory_size_gb Changes to this property will trigger replacement. int
Memory allocated in GBs.
node_count Changes to this property will trigger replacement. int
Number of database servers.
oci_url str
(Output) Deep link to the OCI console to view this resource.
ocid str
(Output) Oracle Cloud Infrastructure ID of VM Cluster.
ocpu_count Changes to this property will trigger replacement. float
OCPU count per VM. Minimum is 0.1.
scan_dns str
(Output) SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
scan_dns_record_id str
(Output) OCID of scan DNS record.
scan_ip_ids Sequence[str]
(Output) OCIDs of scan IPs.
scan_listener_port_tcp int
(Output) SCAN listener port - TCP
scan_listener_port_tcp_ssl int
(Output) SCAN listener port - TLS
shape str
(Output) Shape of VM Cluster.
sparse_diskgroup_enabled Changes to this property will trigger replacement. bool
Use exadata sparse snapshots.
ssh_public_keys Changes to this property will trigger replacement. Sequence[str]
SSH public keys to be stored with cluster.
state str
(Output) State of the cluster. Possible values: STATE_UNSPECIFIED PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MAINTENANCE_IN_PROGRESS
storage_size_gb int
(Output) The storage allocation for the disk group, in gigabytes (GB).
system_version str
(Output) Operating system version of the image.
time_zone Changes to this property will trigger replacement. CloudVmClusterPropertiesTimeZone
Represents a time zone from the IANA Time Zone Database. Structure is documented below.
cpuCoreCount
This property is required.
Changes to this property will trigger replacement.
Number
Number of enabled CPU cores.
licenseType
This property is required.
Changes to this property will trigger replacement.
String
License type of VM Cluster. Possible values: LICENSE_TYPE_UNSPECIFIED LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
clusterName Changes to this property will trigger replacement. String
OCI Cluster name.
compartmentId String
(Output) Compartment ID of cluster.
dataStorageSizeTb Changes to this property will trigger replacement. Number
The data disk group size to be allocated in TBs.
dbNodeStorageSizeGb Changes to this property will trigger replacement. Number
Local storage per VM
dbServerOcids Changes to this property will trigger replacement. List<String>
OCID of database servers.
diagnosticsDataCollectionOptions Changes to this property will trigger replacement. Property Map
Data collection options for diagnostics. Structure is documented below.
diskRedundancy Changes to this property will trigger replacement. String
The type of redundancy. Possible values: DISK_REDUNDANCY_UNSPECIFIED HIGH NORMAL
dnsListenerIp String
(Output) DNS listener IP.
domain String
(Output) Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
giVersion Changes to this property will trigger replacement. String
Grid Infrastructure Version.
hostname String
(Output) host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostname_prefix.
hostnamePrefix Changes to this property will trigger replacement. String
Prefix for VM cluster host names.
localBackupEnabled Changes to this property will trigger replacement. Boolean
Use local backup.
memorySizeGb Changes to this property will trigger replacement. Number
Memory allocated in GBs.
nodeCount Changes to this property will trigger replacement. Number
Number of database servers.
ociUrl String
(Output) Deep link to the OCI console to view this resource.
ocid String
(Output) Oracle Cloud Infrastructure ID of VM Cluster.
ocpuCount Changes to this property will trigger replacement. Number
OCPU count per VM. Minimum is 0.1.
scanDns String
(Output) SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
scanDnsRecordId String
(Output) OCID of scan DNS record.
scanIpIds List<String>
(Output) OCIDs of scan IPs.
scanListenerPortTcp Number
(Output) SCAN listener port - TCP
scanListenerPortTcpSsl Number
(Output) SCAN listener port - TLS
shape String
(Output) Shape of VM Cluster.
sparseDiskgroupEnabled Changes to this property will trigger replacement. Boolean
Use exadata sparse snapshots.
sshPublicKeys Changes to this property will trigger replacement. List<String>
SSH public keys to be stored with cluster.
state String
(Output) State of the cluster. Possible values: STATE_UNSPECIFIED PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MAINTENANCE_IN_PROGRESS
storageSizeGb Number
(Output) The storage allocation for the disk group, in gigabytes (GB).
systemVersion String
(Output) Operating system version of the image.
timeZone Changes to this property will trigger replacement. Property Map
Represents a time zone from the IANA Time Zone Database. Structure is documented below.

CloudVmClusterPropertiesDiagnosticsDataCollectionOptions
, CloudVmClusterPropertiesDiagnosticsDataCollectionOptionsArgs

DiagnosticsEventsEnabled Changes to this property will trigger replacement. bool
Indicates whether diagnostic collection is enabled for the VM cluster
HealthMonitoringEnabled Changes to this property will trigger replacement. bool
Indicates whether health monitoring is enabled for the VM cluster
IncidentLogsEnabled Changes to this property will trigger replacement. bool
Indicates whether incident logs and trace collection are enabled for the VM cluster
DiagnosticsEventsEnabled Changes to this property will trigger replacement. bool
Indicates whether diagnostic collection is enabled for the VM cluster
HealthMonitoringEnabled Changes to this property will trigger replacement. bool
Indicates whether health monitoring is enabled for the VM cluster
IncidentLogsEnabled Changes to this property will trigger replacement. bool
Indicates whether incident logs and trace collection are enabled for the VM cluster
diagnosticsEventsEnabled Changes to this property will trigger replacement. Boolean
Indicates whether diagnostic collection is enabled for the VM cluster
healthMonitoringEnabled Changes to this property will trigger replacement. Boolean
Indicates whether health monitoring is enabled for the VM cluster
incidentLogsEnabled Changes to this property will trigger replacement. Boolean
Indicates whether incident logs and trace collection are enabled for the VM cluster
diagnosticsEventsEnabled Changes to this property will trigger replacement. boolean
Indicates whether diagnostic collection is enabled for the VM cluster
healthMonitoringEnabled Changes to this property will trigger replacement. boolean
Indicates whether health monitoring is enabled for the VM cluster
incidentLogsEnabled Changes to this property will trigger replacement. boolean
Indicates whether incident logs and trace collection are enabled for the VM cluster
diagnostics_events_enabled Changes to this property will trigger replacement. bool
Indicates whether diagnostic collection is enabled for the VM cluster
health_monitoring_enabled Changes to this property will trigger replacement. bool
Indicates whether health monitoring is enabled for the VM cluster
incident_logs_enabled Changes to this property will trigger replacement. bool
Indicates whether incident logs and trace collection are enabled for the VM cluster
diagnosticsEventsEnabled Changes to this property will trigger replacement. Boolean
Indicates whether diagnostic collection is enabled for the VM cluster
healthMonitoringEnabled Changes to this property will trigger replacement. Boolean
Indicates whether health monitoring is enabled for the VM cluster
incidentLogsEnabled Changes to this property will trigger replacement. Boolean
Indicates whether incident logs and trace collection are enabled for the VM cluster

CloudVmClusterPropertiesTimeZone
, CloudVmClusterPropertiesTimeZoneArgs

Id Changes to this property will trigger replacement. string
IANA Time Zone Database time zone, e.g. "America/New_York".
Id Changes to this property will trigger replacement. string
IANA Time Zone Database time zone, e.g. "America/New_York".
id Changes to this property will trigger replacement. String
IANA Time Zone Database time zone, e.g. "America/New_York".
id Changes to this property will trigger replacement. string
IANA Time Zone Database time zone, e.g. "America/New_York".
id Changes to this property will trigger replacement. str
IANA Time Zone Database time zone, e.g. "America/New_York".
id Changes to this property will trigger replacement. String
IANA Time Zone Database time zone, e.g. "America/New_York".

Import

CloudVmCluster can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/cloudVmClusters/{{cloud_vm_cluster_id}}

  • {{project}}/{{location}}/{{cloud_vm_cluster_id}}

  • {{location}}/{{cloud_vm_cluster_id}}

When using the pulumi import command, CloudVmCluster can be imported using one of the formats above. For example:

$ pulumi import gcp:oracledatabase/cloudVmCluster:CloudVmCluster default projects/{{project}}/locations/{{location}}/cloudVmClusters/{{cloud_vm_cluster_id}}
Copy
$ pulumi import gcp:oracledatabase/cloudVmCluster:CloudVmCluster default {{project}}/{{location}}/{{cloud_vm_cluster_id}}
Copy
$ pulumi import gcp:oracledatabase/cloudVmCluster:CloudVmCluster default {{location}}/{{cloud_vm_cluster_id}}
Copy

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

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.