Instance class

A Parallelstore Instance.

Example Usage

Parallelstore Instance Basic Beta

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

const network = new gcp.compute.Network("network", {
    name: "network",
    autoCreateSubnetworks: true,
    mtu: 8896,
});
// Create an IP address
const privateIpAlloc = new gcp.compute.GlobalAddress("private_ip_alloc", {
    name: "address",
    purpose: "VPC_PEERING",
    addressType: "INTERNAL",
    prefixLength: 24,
    network: network.id,
});
// Create a private connection
const _default = new gcp.servicenetworking.Connection("default", {
    network: network.id,
    service: "servicenetworking.googleapis.com",
    reservedPeeringRanges: [privateIpAlloc.name],
});
const instance = new gcp.parallelstore.Instance("instance", {
    instanceId: "instance",
    location: "us-central1-a",
    description: "test instance",
    capacityGib: "12000",
    network: network.name,
    fileStripeLevel: "FILE_STRIPE_LEVEL_MIN",
    directoryStripeLevel: "DIRECTORY_STRIPE_LEVEL_MIN",
    deploymentType: "SCRATCH",
    labels: {
        test: "value",
    },
}, {
    dependsOn: [_default],
});
import pulumi
import pulumi_gcp as gcp

network = gcp.compute.Network("network",
    name="network",
    auto_create_subnetworks=True,
    mtu=8896)
# Create an IP address
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
    name="address",
    purpose="VPC_PEERING",
    address_type="INTERNAL",
    prefix_length=24,
    network=network.id)
# Create a private connection
default = gcp.servicenetworking.Connection("default",
    network=network.id,
    service="servicenetworking.googleapis.com",
    reserved_peering_ranges=[private_ip_alloc.name])
instance = gcp.parallelstore.Instance("instance",
    instance_id="instance",
    location="us-central1-a",
    description="test instance",
    capacity_gib="12000",
    network=network.name,
    file_stripe_level="FILE_STRIPE_LEVEL_MIN",
    directory_stripe_level="DIRECTORY_STRIPE_LEVEL_MIN",
    deployment_type="SCRATCH",
    labels={
        "test": "value",
    },
    opts = pulumi.ResourceOptions(depends_on=[default]))
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() =>
{
    var network = new Gcp.Compute.Network("network", new()
    {
        Name = "network",
        AutoCreateSubnetworks = true,
        Mtu = 8896,
    });

    // Create an IP address
    var privateIpAlloc = new Gcp.Compute.GlobalAddress("private_ip_alloc", new()
    {
        Name = "address",
        Purpose = "VPC_PEERING",
        AddressType = "INTERNAL",
        PrefixLength = 24,
        Network = network.Id,
    });

    // Create a private connection
    var @default = new Gcp.ServiceNetworking.Connection("default", new()
    {
        Network = network.Id,
        Service = "servicenetworking.googleapis.com",
        ReservedPeeringRanges = new[]
        {
            privateIpAlloc.Name,
        },
    });

    var instance = new Gcp.ParallelStore.Instance("instance", new()
    {
        InstanceId = "instance",
        Location = "us-central1-a",
        Description = "test instance",
        CapacityGib = "12000",
        Network = network.Name,
        FileStripeLevel = "FILE_STRIPE_LEVEL_MIN",
        DirectoryStripeLevel = "DIRECTORY_STRIPE_LEVEL_MIN",
        DeploymentType = "SCRATCH",
        Labels =
        {
            { "test", "value" },
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            @default,
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/parallelstore"
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/servicenetworking"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{
			Name:                  pulumi.String("network"),
			AutoCreateSubnetworks: pulumi.Bool(true),
			Mtu:                   pulumi.Int(8896),
		})
		if err != nil {
			return err
		}
		// Create an IP address
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("address"),
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(24),
			Network:      network.ID().ToIDOutput().ToStringOutput(),
		})
		if err != nil {
			return err
		}
		// Create a private connection
		_default, err := servicenetworking.NewConnection(ctx, "default", &servicenetworking.ConnectionArgs{
			Network: network.ID().ToIDOutput().ToStringOutput(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = parallelstore.NewInstance(ctx, "instance", &parallelstore.InstanceArgs{
			InstanceId:           pulumi.String("instance"),
			Location:             pulumi.String("us-central1-a"),
			Description:          pulumi.String("test instance"),
			CapacityGib:          pulumi.String("12000"),
			Network:              network.Name,
			FileStripeLevel:      pulumi.String("FILE_STRIPE_LEVEL_MIN"),
			DirectoryStripeLevel: pulumi.String("DIRECTORY_STRIPE_LEVEL_MIN"),
			DeploymentType:       pulumi.String("SCRATCH"),
			Labels: pulumi.StringMap{
				"test": pulumi.String("value"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			_default,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    gcp = {
      source = "pulumi/gcp"
    }
  }
}

resource "gcp_parallelstore_instance" "instance" {
  depends_on             = [gcp_servicenetworking_connection.default]
  instance_id            = "instance"
  location               = "us-central1-a"
  description            = "test instance"
  capacity_gib           = 12000
  network                = gcp_compute_network.network.name
  file_stripe_level      = "FILE_STRIPE_LEVEL_MIN"
  directory_stripe_level = "DIRECTORY_STRIPE_LEVEL_MIN"
  deployment_type        = "SCRATCH"
  labels = {
    "test" = "value"
  }
}
resource "gcp_compute_network" "network" {
  name                    = "network"
  auto_create_subnetworks = true
  mtu                     = 8896
}
# Create an IP address
resource "gcp_compute_globaladdress" "private_ip_alloc" {
  name          = "address"
  purpose       = "VPC_PEERING"
  address_type  = "INTERNAL"
  prefix_length = 24
  network       = gcp_compute_network.network.id
}
# Create a private connection
resource "gcp_servicenetworking_connection" "default" {
  network                 = gcp_compute_network.network.id
  service                 = "servicenetworking.googleapis.com"
  reserved_peering_ranges = [gcp_compute_globaladdress.private_ip_alloc.name]
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.compute.GlobalAddress;
import com.pulumi.gcp.compute.GlobalAddressArgs;
import com.pulumi.gcp.servicenetworking.Connection;
import com.pulumi.gcp.servicenetworking.ConnectionArgs;
import com.pulumi.gcp.parallelstore.Instance;
import com.pulumi.gcp.parallelstore.InstanceArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
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 network = new Network("network", NetworkArgs.builder()
            .name("network")
            .autoCreateSubnetworks(true)
            .mtu(8896)
            .build());

        // Create an IP address
        var privateIpAlloc = new GlobalAddress("privateIpAlloc", GlobalAddressArgs.builder()
            .name("address")
            .purpose("VPC_PEERING")
            .addressType("INTERNAL")
            .prefixLength(24)
            .network(network.id())
            .build());

        // Create a private connection
        var default_ = new Connection("default", ConnectionArgs.builder()
            .network(network.id())
            .service("servicenetworking.googleapis.com")
            .reservedPeeringRanges(privateIpAlloc.name())
            .build());

        var instance = new Instance("instance", InstanceArgs.builder()
            .instanceId("instance")
            .location("us-central1-a")
            .description("test instance")
            .capacityGib("12000")
            .network(network.name())
            .fileStripeLevel("FILE_STRIPE_LEVEL_MIN")
            .directoryStripeLevel("DIRECTORY_STRIPE_LEVEL_MIN")
            .deploymentType("SCRATCH")
            .labels(Map.of("test", "value"))
            .build(), CustomResourceOptions.builder()
                .dependsOn(default_)
                .build());

    }
}
resources:
  instance:
    type: gcp:parallelstore:Instance
    properties:
      instanceId: instance
      location: us-central1-a
      description: test instance
      capacityGib: 12000
      network: ${network.name}
      fileStripeLevel: FILE_STRIPE_LEVEL_MIN
      directoryStripeLevel: DIRECTORY_STRIPE_LEVEL_MIN
      deploymentType: SCRATCH
      labels:
        test: value
    options:
      dependsOn:
        - ${default}
  network:
    type: gcp:compute:Network
    properties:
      name: network
      autoCreateSubnetworks: true
      mtu: 8896
  # Create an IP address
  privateIpAlloc:
    type: gcp:compute:GlobalAddress
    name: private_ip_alloc
    properties:
      name: address
      purpose: VPC_PEERING
      addressType: INTERNAL
      prefixLength: 24
      network: ${network.id}
  # Create a private connection
  default:
    type: gcp:servicenetworking:Connection
    properties:
      network: ${network.id}
      service: servicenetworking.googleapis.com
      reservedPeeringRanges:
        - ${privateIpAlloc.name}

Parallelstore Instance Basic

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

const network = new gcp.compute.Network("network", {
    name: "network",
    autoCreateSubnetworks: true,
    mtu: 8896,
});
// Create an IP address
const privateIpAlloc = new gcp.compute.GlobalAddress("private_ip_alloc", {
    name: "address",
    purpose: "VPC_PEERING",
    addressType: "INTERNAL",
    prefixLength: 24,
    network: network.id,
});
// Create a private connection
const _default = new gcp.servicenetworking.Connection("default", {
    network: network.id,
    service: "servicenetworking.googleapis.com",
    reservedPeeringRanges: [privateIpAlloc.name],
});
const instance = new gcp.parallelstore.Instance("instance", {
    instanceId: "instance",
    location: "us-central1-a",
    description: "test instance",
    capacityGib: "12000",
    network: network.name,
    fileStripeLevel: "FILE_STRIPE_LEVEL_MIN",
    directoryStripeLevel: "DIRECTORY_STRIPE_LEVEL_MIN",
    deploymentType: "SCRATCH",
    labels: {
        test: "value",
    },
}, {
    dependsOn: [_default],
});
import pulumi
import pulumi_gcp as gcp

network = gcp.compute.Network("network",
    name="network",
    auto_create_subnetworks=True,
    mtu=8896)
# Create an IP address
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
    name="address",
    purpose="VPC_PEERING",
    address_type="INTERNAL",
    prefix_length=24,
    network=network.id)
# Create a private connection
default = gcp.servicenetworking.Connection("default",
    network=network.id,
    service="servicenetworking.googleapis.com",
    reserved_peering_ranges=[private_ip_alloc.name])
instance = gcp.parallelstore.Instance("instance",
    instance_id="instance",
    location="us-central1-a",
    description="test instance",
    capacity_gib="12000",
    network=network.name,
    file_stripe_level="FILE_STRIPE_LEVEL_MIN",
    directory_stripe_level="DIRECTORY_STRIPE_LEVEL_MIN",
    deployment_type="SCRATCH",
    labels={
        "test": "value",
    },
    opts = pulumi.ResourceOptions(depends_on=[default]))
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() =>
{
    var network = new Gcp.Compute.Network("network", new()
    {
        Name = "network",
        AutoCreateSubnetworks = true,
        Mtu = 8896,
    });

    // Create an IP address
    var privateIpAlloc = new Gcp.Compute.GlobalAddress("private_ip_alloc", new()
    {
        Name = "address",
        Purpose = "VPC_PEERING",
        AddressType = "INTERNAL",
        PrefixLength = 24,
        Network = network.Id,
    });

    // Create a private connection
    var @default = new Gcp.ServiceNetworking.Connection("default", new()
    {
        Network = network.Id,
        Service = "servicenetworking.googleapis.com",
        ReservedPeeringRanges = new[]
        {
            privateIpAlloc.Name,
        },
    });

    var instance = new Gcp.ParallelStore.Instance("instance", new()
    {
        InstanceId = "instance",
        Location = "us-central1-a",
        Description = "test instance",
        CapacityGib = "12000",
        Network = network.Name,
        FileStripeLevel = "FILE_STRIPE_LEVEL_MIN",
        DirectoryStripeLevel = "DIRECTORY_STRIPE_LEVEL_MIN",
        DeploymentType = "SCRATCH",
        Labels =
        {
            { "test", "value" },
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            @default,
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/parallelstore"
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/servicenetworking"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{
			Name:                  pulumi.String("network"),
			AutoCreateSubnetworks: pulumi.Bool(true),
			Mtu:                   pulumi.Int(8896),
		})
		if err != nil {
			return err
		}
		// Create an IP address
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("address"),
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(24),
			Network:      network.ID().ToIDOutput().ToStringOutput(),
		})
		if err != nil {
			return err
		}
		// Create a private connection
		_default, err := servicenetworking.NewConnection(ctx, "default", &servicenetworking.ConnectionArgs{
			Network: network.ID().ToIDOutput().ToStringOutput(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = parallelstore.NewInstance(ctx, "instance", &parallelstore.InstanceArgs{
			InstanceId:           pulumi.String("instance"),
			Location:             pulumi.String("us-central1-a"),
			Description:          pulumi.String("test instance"),
			CapacityGib:          pulumi.String("12000"),
			Network:              network.Name,
			FileStripeLevel:      pulumi.String("FILE_STRIPE_LEVEL_MIN"),
			DirectoryStripeLevel: pulumi.String("DIRECTORY_STRIPE_LEVEL_MIN"),
			DeploymentType:       pulumi.String("SCRATCH"),
			Labels: pulumi.StringMap{
				"test": pulumi.String("value"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			_default,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    gcp = {
      source = "pulumi/gcp"
    }
  }
}

resource "gcp_parallelstore_instance" "instance" {
  depends_on             = [gcp_servicenetworking_connection.default]
  instance_id            = "instance"
  location               = "us-central1-a"
  description            = "test instance"
  capacity_gib           = 12000
  network                = gcp_compute_network.network.name
  file_stripe_level      = "FILE_STRIPE_LEVEL_MIN"
  directory_stripe_level = "DIRECTORY_STRIPE_LEVEL_MIN"
  deployment_type        = "SCRATCH"
  labels = {
    "test" = "value"
  }
}
resource "gcp_compute_network" "network" {
  name                    = "network"
  auto_create_subnetworks = true
  mtu                     = 8896
}
# Create an IP address
resource "gcp_compute_globaladdress" "private_ip_alloc" {
  name          = "address"
  purpose       = "VPC_PEERING"
  address_type  = "INTERNAL"
  prefix_length = 24
  network       = gcp_compute_network.network.id
}
# Create a private connection
resource "gcp_servicenetworking_connection" "default" {
  network                 = gcp_compute_network.network.id
  service                 = "servicenetworking.googleapis.com"
  reserved_peering_ranges = [gcp_compute_globaladdress.private_ip_alloc.name]
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.compute.GlobalAddress;
import com.pulumi.gcp.compute.GlobalAddressArgs;
import com.pulumi.gcp.servicenetworking.Connection;
import com.pulumi.gcp.servicenetworking.ConnectionArgs;
import com.pulumi.gcp.parallelstore.Instance;
import com.pulumi.gcp.parallelstore.InstanceArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.ArrayList;
import java.util.Arrays;
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 network = new Network("network", NetworkArgs.builder()
            .name("network")
            .autoCreateSubnetworks(true)
            .mtu(8896)
            .build());

        // Create an IP address
        var privateIpAlloc = new GlobalAddress("privateIpAlloc", GlobalAddressArgs.builder()
            .name("address")
            .purpose("VPC_PEERING")
            .addressType("INTERNAL")
            .prefixLength(24)
            .network(network.id())
            .build());

        // Create a private connection
        var default_ = new Connection("default", ConnectionArgs.builder()
            .network(network.id())
            .service("servicenetworking.googleapis.com")
            .reservedPeeringRanges(privateIpAlloc.name())
            .build());

        var instance = new Instance("instance", InstanceArgs.builder()
            .instanceId("instance")
            .location("us-central1-a")
            .description("test instance")
            .capacityGib("12000")
            .network(network.name())
            .fileStripeLevel("FILE_STRIPE_LEVEL_MIN")
            .directoryStripeLevel("DIRECTORY_STRIPE_LEVEL_MIN")
            .deploymentType("SCRATCH")
            .labels(Map.of("test", "value"))
            .build(), CustomResourceOptions.builder()
                .dependsOn(default_)
                .build());

    }
}
resources:
  instance:
    type: gcp:parallelstore:Instance
    properties:
      instanceId: instance
      location: us-central1-a
      description: test instance
      capacityGib: 12000
      network: ${network.name}
      fileStripeLevel: FILE_STRIPE_LEVEL_MIN
      directoryStripeLevel: DIRECTORY_STRIPE_LEVEL_MIN
      deploymentType: SCRATCH
      labels:
        test: value
    options:
      dependsOn:
        - ${default}
  network:
    type: gcp:compute:Network
    properties:
      name: network
      autoCreateSubnetworks: true
      mtu: 8896
  # Create an IP address
  privateIpAlloc:
    type: gcp:compute:GlobalAddress
    name: private_ip_alloc
    properties:
      name: address
      purpose: VPC_PEERING
      addressType: INTERNAL
      prefixLength: 24
      network: ${network.id}
  # Create a private connection
  default:
    type: gcp:servicenetworking:Connection
    properties:
      network: ${network.id}
      service: servicenetworking.googleapis.com
      reservedPeeringRanges:
        - ${privateIpAlloc.name}

Import

Instance can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/instances/{{instance_id}}
  • {{project}}/{{location}}/{{instance_id}}
  • {{location}}/{{instance_id}}

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

$ pulumi import gcp:parallelstore/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{instance_id}}
$ pulumi import gcp:parallelstore/instance:Instance default {{project}}/{{location}}/{{instance_id}}
$ pulumi import gcp:parallelstore/instance:Instance default {{location}}/{{instance_id}}

Constructors

Instance(String name, {InstanceArgs? args, CustomResourceOptions? options})
Creates a new Instance. name The Pulumi resource name. args Arguments used to configure this Instance. The set of arguments for Instance. options Resource options controlling this resource's behavior.
Instance.reference(String urn)
Creates a typed reference to an existing Instance resource.

Properties

accessPoints ↔ Output<List<String>>
Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
latefinal
capacityGib ↔ Output<String>
Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
latefinal
childResources → Set<Resource>
finalinherited
completionSources ↔ Map<String, IOutputCompletionSource>
latefinalinherited
createTime ↔ Output<String>
The time when the instance was created.
latefinal
daosVersion ↔ Output<String>
The version of DAOS software running in the instance.
latefinal
deletionPolicy ↔ Output<String>
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
latefinal
deploymentType ↔ Output<String?>
Parallelstore Instance deployment type. Possible values: DEPLOYMENT_TYPE_UNSPECIFIED SCRATCH PERSISTENT
latefinal
description ↔ Output<String?>
The description of the instance. 2048 characters or less.
latefinal
directoryStripeLevel ↔ Output<String?>
Stripe level for directories. MIN when directory has a small number of files. MAX when directory has a large number of files. Possible values: DIRECTORY_STRIPE_LEVEL_UNSPECIFIED DIRECTORY_STRIPE_LEVEL_MIN DIRECTORY_STRIPE_LEVEL_BALANCED DIRECTORY_STRIPE_LEVEL_MAX
latefinal
effectiveLabels ↔ Output<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.
latefinal
effectiveReservedIpRange ↔ Output<String>
Immutable. Contains the id of the allocated IP address range associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29. This field is populated by the service and contains the value currently used by the service.
latefinal
fileStripeLevel ↔ Output<String?>
Stripe level for files. MIN better suited for small size files. MAX higher throughput performance for larger files. Possible values: FILE_STRIPE_LEVEL_UNSPECIFIED FILE_STRIPE_LEVEL_MIN FILE_STRIPE_LEVEL_BALANCED FILE_STRIPE_LEVEL_MAX
latefinal
hashCode → int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
instanceId ↔ Output<String>
The logical name of the Parallelstore instance in the user project with the following restrictions:
latefinal
isCustom → bool
Returns whether this resource is provider-managed.
no setterinherited
isProtected → bool
Returns whether this resource is protected from deletion.
no setterinherited
isRemote → bool
Whether this resource is registered as remote.
no setterinherited
isResourceReference → bool
Whether this instance represents a resource value returned over RPC.
finalinherited
labels ↔ Output<Map<String, String>?>
Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. Cloud Labels can be used to filter collections of resources. They can be used to control how resource metrics are aggregated. And they can be used as arguments to policy management rules (e.g. route, firewall, load balancing, etc.).
latefinal
location ↔ Output<String>
Part of parent. See documentation of projectsId.
latefinal
name ↔ Output<String>
Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
latefinal
network ↔ Output<String?>
Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
latefinal
project ↔ Output<String>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
latefinal
pulumiLabels ↔ Output<Map<String, String>>
The combination of labels configured directly on the resource and default labels configured on the provider.
latefinal
reservedIpRange ↔ Output<String?>
Immutable. Contains the id of the allocated IP address range associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29. If no range id is provided all ranges will be considered.
latefinal
resourceTransforms → List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ Output<String>
The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
latefinal
transformations → List<ResourceTransformation>
Inherited/explicit legacy transformations.
no setterinherited
updateTime ↔ Output<String>
The time when the instance was updated.
latefinal
urn ↔ Output<String>
latefinalinherited

Methods

failId(Object error) → void
Completes this resource ID with an error when registration fails.
inherited
failOutputs(Object error) → void
Completes all output properties with error.
inherited
failUrn(Object error) → void
Completes this resource URN with an error when registration fails.
inherited
getProvider(String moduleMember) → ProviderResource?
Returns provider for moduleMember's package, if configured.
inherited
getResourceName() → String
Returns this resource's logical name.
inherited
getResourceType() → String
Returns this resource's Pulumi type token.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOutput<T>(String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output<T>
Registers a dynamic output property for this resource.
inherited
resolveId(String? value, {required bool isKnown}) → void
Resolves the provider-assigned ID for this resource.
inherited
resolveOutputs(Struct outputs) → void
Resolves all output properties from a monitor response payload.
inherited
resolveUrn(String value) → void
Resolves this resource's URN once assigned by the engine.
inherited
serializeProperties(Map<String, dynamic> properties) → Future<Struct>
Serializes resource properties for RPC transmission.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

get(String name, Input<String> id, {InstanceState? state, CustomResourceOptions? options}) → Instance
Gets an existing Instance resource's state with the given name and id.