CloudExadataInfrastructure

class CloudExadataInfrastructure : KotlinCustomResource

A CloudExadataInfrastructure resource. To get more information about CloudExadataInfrastructure, see:

Example Usage

Oracledatabase Cloud Exadata Infrastructure Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_cloud_exadata = new gcp.oracledatabase.CloudExadataInfrastructure("my-cloud-exadata", {
cloudExadataInfrastructureId: "my-instance",
displayName: "my-instance displayname",
location: "us-east4",
project: "my-project",
properties: {
shape: "Exadata.X9M",
computeCount: 2,
storageCount: 3,
},
deletionProtection: true,
});
import pulumi
import pulumi_gcp as gcp
my_cloud_exadata = gcp.oracledatabase.CloudExadataInfrastructure("my-cloud-exadata",
cloud_exadata_infrastructure_id="my-instance",
display_name="my-instance displayname",
location="us-east4",
project="my-project",
properties={
"shape": "Exadata.X9M",
"compute_count": 2,
"storage_count": 3,
},
deletion_protection=True)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var my_cloud_exadata = new Gcp.OracleDatabase.CloudExadataInfrastructure("my-cloud-exadata", new()
{
CloudExadataInfrastructureId = "my-instance",
DisplayName = "my-instance displayname",
Location = "us-east4",
Project = "my-project",
Properties = new Gcp.OracleDatabase.Inputs.CloudExadataInfrastructurePropertiesArgs
{
Shape = "Exadata.X9M",
ComputeCount = 2,
StorageCount = 3,
},
DeletionProtection = true,
});
});
package main
import (
"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 {
_, err := oracledatabase.NewCloudExadataInfrastructure(ctx, "my-cloud-exadata", &oracledatabase.CloudExadataInfrastructureArgs{
CloudExadataInfrastructureId: pulumi.String("my-instance"),
DisplayName: pulumi.String("my-instance 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
}
return nil
})
}
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 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 my_cloud_exadata = new CloudExadataInfrastructure("my-cloud-exadata", CloudExadataInfrastructureArgs.builder()
.cloudExadataInfrastructureId("my-instance")
.displayName("my-instance displayname")
.location("us-east4")
.project("my-project")
.properties(CloudExadataInfrastructurePropertiesArgs.builder()
.shape("Exadata.X9M")
.computeCount(2)
.storageCount(3)
.build())
.deletionProtection(true)
.build());
}
}
resources:
my-cloud-exadata:
type: gcp:oracledatabase:CloudExadataInfrastructure
properties:
cloudExadataInfrastructureId: my-instance
displayName: my-instance displayname
location: us-east4
project: my-project
properties:
shape: Exadata.X9M
computeCount: '2'
storageCount: '3'
deletionProtection: 'true'

Oracledatabase Cloud Exadata Infrastructure Full

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_cloud_exadata = new gcp.oracledatabase.CloudExadataInfrastructure("my-cloud-exadata", {
cloudExadataInfrastructureId: "my-instance",
displayName: "my-instance displayname",
location: "us-east4",
project: "my-project",
gcpOracleZone: "us-east4-b-r1",
properties: {
shape: "Exadata.X9M",
computeCount: 2,
storageCount: 3,
customerContacts: [{
email: "xyz@example.com",
}],
maintenanceWindow: {
customActionTimeoutMins: 20,
daysOfWeeks: ["SUNDAY"],
hoursOfDays: [4],
isCustomActionTimeoutEnabled: false,
leadTimeWeek: 1,
months: [
"JANUARY",
"APRIL",
"MAY",
"OCTOBER",
],
patchingMode: "ROLLING",
preference: "CUSTOM_PREFERENCE",
weeksOfMonths: [4],
},
totalStorageSizeGb: 196608,
},
labels: {
"label-one": "value-one",
},
deletionProtection: true,
});
import pulumi
import pulumi_gcp as gcp
my_cloud_exadata = gcp.oracledatabase.CloudExadataInfrastructure("my-cloud-exadata",
cloud_exadata_infrastructure_id="my-instance",
display_name="my-instance displayname",
location="us-east4",
project="my-project",
gcp_oracle_zone="us-east4-b-r1",
properties={
"shape": "Exadata.X9M",
"compute_count": 2,
"storage_count": 3,
"customer_contacts": [{
"email": "xyz@example.com",
}],
"maintenance_window": {
"custom_action_timeout_mins": 20,
"days_of_weeks": ["SUNDAY"],
"hours_of_days": [4],
"is_custom_action_timeout_enabled": False,
"lead_time_week": 1,
"months": [
"JANUARY",
"APRIL",
"MAY",
"OCTOBER",
],
"patching_mode": "ROLLING",
"preference": "CUSTOM_PREFERENCE",
"weeks_of_months": [4],
},
"total_storage_size_gb": 196608,
},
labels={
"label-one": "value-one",
},
deletion_protection=True)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var my_cloud_exadata = new Gcp.OracleDatabase.CloudExadataInfrastructure("my-cloud-exadata", new()
{
CloudExadataInfrastructureId = "my-instance",
DisplayName = "my-instance displayname",
Location = "us-east4",
Project = "my-project",
GcpOracleZone = "us-east4-b-r1",
Properties = new Gcp.OracleDatabase.Inputs.CloudExadataInfrastructurePropertiesArgs
{
Shape = "Exadata.X9M",
ComputeCount = 2,
StorageCount = 3,
CustomerContacts = new[]
{
new Gcp.OracleDatabase.Inputs.CloudExadataInfrastructurePropertiesCustomerContactArgs
{
Email = "xyz@example.com",
},
},
MaintenanceWindow = new Gcp.OracleDatabase.Inputs.CloudExadataInfrastructurePropertiesMaintenanceWindowArgs
{
CustomActionTimeoutMins = 20,
DaysOfWeeks = new[]
{
"SUNDAY",
},
HoursOfDays = new[]
{
4,
},
IsCustomActionTimeoutEnabled = false,
LeadTimeWeek = 1,
Months = new[]
{
"JANUARY",
"APRIL",
"MAY",
"OCTOBER",
},
PatchingMode = "ROLLING",
Preference = "CUSTOM_PREFERENCE",
WeeksOfMonths = new[]
{
4,
},
},
TotalStorageSizeGb = 196608,
},
Labels =
{
{ "label-one", "value-one" },
},
DeletionProtection = true,
});
});
package main
import (
"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 {
_, err := oracledatabase.NewCloudExadataInfrastructure(ctx, "my-cloud-exadata", &oracledatabase.CloudExadataInfrastructureArgs{
CloudExadataInfrastructureId: pulumi.String("my-instance"),
DisplayName: pulumi.String("my-instance displayname"),
Location: pulumi.String("us-east4"),
Project: pulumi.String("my-project"),
GcpOracleZone: pulumi.String("us-east4-b-r1"),
Properties: &oracledatabase.CloudExadataInfrastructurePropertiesArgs{
Shape: pulumi.String("Exadata.X9M"),
ComputeCount: pulumi.Int(2),
StorageCount: pulumi.Int(3),
CustomerContacts: oracledatabase.CloudExadataInfrastructurePropertiesCustomerContactArray{
&oracledatabase.CloudExadataInfrastructurePropertiesCustomerContactArgs{
Email: pulumi.String("xyz@example.com"),
},
},
MaintenanceWindow: &oracledatabase.CloudExadataInfrastructurePropertiesMaintenanceWindowArgs{
CustomActionTimeoutMins: pulumi.Int(20),
DaysOfWeeks: pulumi.StringArray{
pulumi.String("SUNDAY"),
},
HoursOfDays: pulumi.IntArray{
pulumi.Int(4),
},
IsCustomActionTimeoutEnabled: pulumi.Bool(false),
LeadTimeWeek: pulumi.Int(1),
Months: pulumi.StringArray{
pulumi.String("JANUARY"),
pulumi.String("APRIL"),
pulumi.String("MAY"),
pulumi.String("OCTOBER"),
},
PatchingMode: pulumi.String("ROLLING"),
Preference: pulumi.String("CUSTOM_PREFERENCE"),
WeeksOfMonths: pulumi.IntArray{
pulumi.Int(4),
},
},
TotalStorageSizeGb: pulumi.Int(196608),
},
Labels: pulumi.StringMap{
"label-one": pulumi.String("value-one"),
},
DeletionProtection: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
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.oracledatabase.inputs.CloudExadataInfrastructurePropertiesMaintenanceWindowArgs;
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 my_cloud_exadata = new CloudExadataInfrastructure("my-cloud-exadata", CloudExadataInfrastructureArgs.builder()
.cloudExadataInfrastructureId("my-instance")
.displayName("my-instance displayname")
.location("us-east4")
.project("my-project")
.gcpOracleZone("us-east4-b-r1")
.properties(CloudExadataInfrastructurePropertiesArgs.builder()
.shape("Exadata.X9M")
.computeCount(2)
.storageCount(3)
.customerContacts(CloudExadataInfrastructurePropertiesCustomerContactArgs.builder()
.email("xyz@example.com")
.build())
.maintenanceWindow(CloudExadataInfrastructurePropertiesMaintenanceWindowArgs.builder()
.customActionTimeoutMins(20)
.daysOfWeeks("SUNDAY")
.hoursOfDays(4)
.isCustomActionTimeoutEnabled(false)
.leadTimeWeek(1)
.months(
"JANUARY",
"APRIL",
"MAY",
"OCTOBER")
.patchingMode("ROLLING")
.preference("CUSTOM_PREFERENCE")
.weeksOfMonths(4)
.build())
.totalStorageSizeGb(196608)
.build())
.labels(Map.of("label-one", "value-one"))
.deletionProtection(true)
.build());
}
}
resources:
my-cloud-exadata:
type: gcp:oracledatabase:CloudExadataInfrastructure
properties:
cloudExadataInfrastructureId: my-instance
displayName: my-instance displayname
location: us-east4
project: my-project
gcpOracleZone: us-east4-b-r1
properties:
shape: Exadata.X9M
computeCount: '2'
storageCount: '3'
customerContacts:
- email: xyz@example.com
maintenanceWindow:
customActionTimeoutMins: '20'
daysOfWeeks:
- SUNDAY
hoursOfDays:
- 4
isCustomActionTimeoutEnabled: '0'
leadTimeWeek: '1'
months:
- JANUARY
- APRIL
- MAY
- OCTOBER
patchingMode: ROLLING
preference: CUSTOM_PREFERENCE
weeksOfMonths:
- 4
totalStorageSizeGb: '196608'
labels:
label-one: value-one
deletionProtection: 'true'

Import

CloudExadataInfrastructure can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/cloudExadataInfrastructures/{{cloud_exadata_infrastructure_id}}

  • {{project}}/{{location}}/{{cloud_exadata_infrastructure_id}}

  • {{location}}/{{cloud_exadata_infrastructure_id}} When using the pulumi import command, CloudExadataInfrastructure can be imported using one of the formats above. For example:

$ pulumi import gcp:oracledatabase/cloudExadataInfrastructure:CloudExadataInfrastructure default projects/{{project}}/locations/{{location}}/cloudExadataInfrastructures/{{cloud_exadata_infrastructure_id}}
$ pulumi import gcp:oracledatabase/cloudExadataInfrastructure:CloudExadataInfrastructure default {{project}}/{{location}}/{{cloud_exadata_infrastructure_id}}
$ pulumi import gcp:oracledatabase/cloudExadataInfrastructure:CloudExadataInfrastructure default {{location}}/{{cloud_exadata_infrastructure_id}}

Properties

Link copied to clipboard

The ID of the Exadata Infrastructure 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.

Link copied to clipboard
val createTime: Output<String>

The date and time that the Exadata Infrastructure was created.

Link copied to clipboard
Link copied to clipboard
val displayName: Output<String>?

User friendly name for this resource.

Link copied to clipboard

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

Link copied to clipboard
val entitlementId: Output<String>

Entitlement ID of the private offer against which this infrastructure resource is provisioned.

Link copied to clipboard
val gcpOracleZone: Output<String>

GCP location where Oracle Exadata is hosted.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labels: Output<Map<String, String>>?

Labels or tags associated with the resource. 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.

Link copied to clipboard
val location: Output<String>

Resource ID segment making up resource name. See documentation for resource type oracledatabase.googleapis.com/DbServer.

Link copied to clipboard
val name: Output<String>

Identifier. The name of the Exadata Infrastructure resource with the following format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard

Various properties of Exadata Infrastructure. Structure is documented below.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
val pulumiLabels: Output<Map<String, String>>

The combination of labels configured directly on the resource and default labels configured on the provider.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>