1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. parallelstore
  5. Instance
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.parallelstore.Instance

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Example Usage

    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",
        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",
        labels={
            "test": "value",
        },
        opts = pulumi.ResourceOptions(depends_on=[default]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/parallelstore"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/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(),
    		})
    		if err != nil {
    			return err
    		}
    		// Create a private connection
    		_, err = servicenetworking.NewConnection(ctx, "default", &servicenetworking.ConnectionArgs{
    			Network: network.ID(),
    			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"),
    			Labels: pulumi.StringMap{
    				"test": pulumi.String("value"),
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			_default,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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",
            Labels = 
            {
                { "test", "value" },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                @default,
            },
        });
    
    });
    
    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.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 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")
                .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
          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}
    

    Create Instance Resource

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

    Constructor syntax

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 args: InstanceArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 capacity_gib: Optional[str] = None,
                 instance_id: Optional[str] = None,
                 location: Optional[str] = None,
                 description: Optional[str] = None,
                 directory_stripe_level: Optional[str] = None,
                 file_stripe_level: Optional[str] = None,
                 labels: Optional[Mapping[str, str]] = None,
                 network: Optional[str] = None,
                 project: Optional[str] = None,
                 reserved_ip_range: Optional[str] = None)
    func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: gcp:parallelstore:Instance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    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 exampleinstanceResourceResourceFromParallelstoreinstance = new Gcp.ParallelStore.Instance("exampleinstanceResourceResourceFromParallelstoreinstance", new()
    {
        CapacityGib = "string",
        InstanceId = "string",
        Location = "string",
        Description = "string",
        DirectoryStripeLevel = "string",
        FileStripeLevel = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Network = "string",
        Project = "string",
        ReservedIpRange = "string",
    });
    
    example, err := parallelstore.NewInstance(ctx, "exampleinstanceResourceResourceFromParallelstoreinstance", &parallelstore.InstanceArgs{
    	CapacityGib:          pulumi.String("string"),
    	InstanceId:           pulumi.String("string"),
    	Location:             pulumi.String("string"),
    	Description:          pulumi.String("string"),
    	DirectoryStripeLevel: pulumi.String("string"),
    	FileStripeLevel:      pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Network:         pulumi.String("string"),
    	Project:         pulumi.String("string"),
    	ReservedIpRange: pulumi.String("string"),
    })
    
    var exampleinstanceResourceResourceFromParallelstoreinstance = new Instance("exampleinstanceResourceResourceFromParallelstoreinstance", InstanceArgs.builder()
        .capacityGib("string")
        .instanceId("string")
        .location("string")
        .description("string")
        .directoryStripeLevel("string")
        .fileStripeLevel("string")
        .labels(Map.of("string", "string"))
        .network("string")
        .project("string")
        .reservedIpRange("string")
        .build());
    
    exampleinstance_resource_resource_from_parallelstoreinstance = gcp.parallelstore.Instance("exampleinstanceResourceResourceFromParallelstoreinstance",
        capacity_gib="string",
        instance_id="string",
        location="string",
        description="string",
        directory_stripe_level="string",
        file_stripe_level="string",
        labels={
            "string": "string",
        },
        network="string",
        project="string",
        reserved_ip_range="string")
    
    const exampleinstanceResourceResourceFromParallelstoreinstance = new gcp.parallelstore.Instance("exampleinstanceResourceResourceFromParallelstoreinstance", {
        capacityGib: "string",
        instanceId: "string",
        location: "string",
        description: "string",
        directoryStripeLevel: "string",
        fileStripeLevel: "string",
        labels: {
            string: "string",
        },
        network: "string",
        project: "string",
        reservedIpRange: "string",
    });
    
    type: gcp:parallelstore:Instance
    properties:
        capacityGib: string
        description: string
        directoryStripeLevel: string
        fileStripeLevel: string
        instanceId: string
        labels:
            string: string
        location: string
        network: string
        project: string
        reservedIpRange: string
    

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

    CapacityGib string
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    InstanceId string
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    Location string
    Part of parent. See documentation of projectsId.
    Description string
    The description of the instance. 2048 characters or less.
    DirectoryStripeLevel 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
    FileStripeLevel 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
    Labels Dictionary<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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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.

    Network string
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ReservedIpRange 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.
    CapacityGib string
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    InstanceId string
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    Location string
    Part of parent. See documentation of projectsId.
    Description string
    The description of the instance. 2048 characters or less.
    DirectoryStripeLevel 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
    FileStripeLevel 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
    Labels 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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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.

    Network string
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ReservedIpRange 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.
    capacityGib String
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    instanceId String
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    location String
    Part of parent. See documentation of projectsId.
    description String
    The description of the instance. 2048 characters or less.
    directoryStripeLevel 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
    fileStripeLevel 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
    labels 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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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.

    network String
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    reservedIpRange 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.
    capacityGib string
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    instanceId string
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    location string
    Part of parent. See documentation of projectsId.
    description string
    The description of the instance. 2048 characters or less.
    directoryStripeLevel 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
    fileStripeLevel 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
    labels {[key: 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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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.

    network string
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    reservedIpRange 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.
    capacity_gib str
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    instance_id str
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    location str
    Part of parent. See documentation of projectsId.
    description str
    The description of the instance. 2048 characters or less.
    directory_stripe_level str
    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
    file_stripe_level str
    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
    labels Mapping[str, str]

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

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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.

    network str
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    reserved_ip_range str
    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.
    capacityGib String
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    instanceId String
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    location String
    Part of parent. See documentation of projectsId.
    description String
    The description of the instance. 2048 characters or less.
    directoryStripeLevel 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
    fileStripeLevel 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
    labels Map<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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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.

    network String
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    reservedIpRange 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.

    Outputs

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

    AccessPoints List<string>
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    CreateTime string
    The time when the instance was created.
    DaosVersion string
    The version of DAOS software running in the instance.
    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.
    EffectiveReservedIpRange 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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    UpdateTime string
    The time when the instance was updated.
    AccessPoints []string
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    CreateTime string
    The time when the instance was created.
    DaosVersion string
    The version of DAOS software running in the instance.
    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.
    EffectiveReservedIpRange 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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    UpdateTime string
    The time when the instance was updated.
    accessPoints List<String>
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    createTime String
    The time when the instance was created.
    daosVersion String
    The version of DAOS software running in the instance.
    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.
    effectiveReservedIpRange 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.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    updateTime String
    The time when the instance was updated.
    accessPoints string[]
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    createTime string
    The time when the instance was created.
    daosVersion string
    The version of DAOS software running in the instance.
    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.
    effectiveReservedIpRange 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.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    updateTime string
    The time when the instance was updated.
    access_points Sequence[str]
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    create_time str
    The time when the instance was created.
    daos_version str
    The version of DAOS software running in the instance.
    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.
    effective_reserved_ip_range str
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state str
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    update_time str
    The time when the instance was updated.
    accessPoints List<String>
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    createTime String
    The time when the instance was created.
    daosVersion String
    The version of DAOS software running in the instance.
    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.
    effectiveReservedIpRange 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.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    updateTime String
    The time when the instance was updated.

    Look up Existing Instance Resource

    Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_points: Optional[Sequence[str]] = None,
            capacity_gib: Optional[str] = None,
            create_time: Optional[str] = None,
            daos_version: Optional[str] = None,
            description: Optional[str] = None,
            directory_stripe_level: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            effective_reserved_ip_range: Optional[str] = None,
            file_stripe_level: Optional[str] = None,
            instance_id: 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,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            reserved_ip_range: Optional[str] = None,
            state: Optional[str] = None,
            update_time: Optional[str] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessPoints List<string>
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    CapacityGib string
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    CreateTime string
    The time when the instance was created.
    DaosVersion string
    The version of DAOS software running in the instance.
    Description string
    The description of the instance. 2048 characters or less.
    DirectoryStripeLevel 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
    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.
    EffectiveReservedIpRange 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.
    FileStripeLevel 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
    InstanceId string
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    Labels Dictionary<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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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 string
    Part of parent. See documentation of projectsId.
    Name string
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    Network string
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ReservedIpRange 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.
    State string
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    UpdateTime string
    The time when the instance was updated.
    AccessPoints []string
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    CapacityGib string
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    CreateTime string
    The time when the instance was created.
    DaosVersion string
    The version of DAOS software running in the instance.
    Description string
    The description of the instance. 2048 characters or less.
    DirectoryStripeLevel 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
    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.
    EffectiveReservedIpRange 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.
    FileStripeLevel 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
    InstanceId string
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    Labels 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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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 string
    Part of parent. See documentation of projectsId.
    Name string
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    Network string
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ReservedIpRange 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.
    State string
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    UpdateTime string
    The time when the instance was updated.
    accessPoints List<String>
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    capacityGib String
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    createTime String
    The time when the instance was created.
    daosVersion String
    The version of DAOS software running in the instance.
    description String
    The description of the instance. 2048 characters or less.
    directoryStripeLevel 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
    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.
    effectiveReservedIpRange 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.
    fileStripeLevel 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
    instanceId String
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    labels 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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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 String
    Part of parent. See documentation of projectsId.
    name String
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    network String
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    reservedIpRange 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.
    state String
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    updateTime String
    The time when the instance was updated.
    accessPoints string[]
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    capacityGib string
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    createTime string
    The time when the instance was created.
    daosVersion string
    The version of DAOS software running in the instance.
    description string
    The description of the instance. 2048 characters or less.
    directoryStripeLevel 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
    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.
    effectiveReservedIpRange 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.
    fileStripeLevel 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
    instanceId string
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    labels {[key: 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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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 string
    Part of parent. See documentation of projectsId.
    name string
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    network string
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    reservedIpRange 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.
    state string
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    updateTime string
    The time when the instance was updated.
    access_points Sequence[str]
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    capacity_gib str
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    create_time str
    The time when the instance was created.
    daos_version str
    The version of DAOS software running in the instance.
    description str
    The description of the instance. 2048 characters or less.
    directory_stripe_level str
    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
    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.
    effective_reserved_ip_range str
    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.
    file_stripe_level str
    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
    instance_id str
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    labels Mapping[str, str]

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

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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 str
    Part of parent. See documentation of projectsId.
    name str
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    network str
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    reserved_ip_range str
    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.
    state str
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    update_time str
    The time when the instance was updated.
    accessPoints List<String>
    Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
    capacityGib String
    Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
    createTime String
    The time when the instance was created.
    daosVersion String
    The version of DAOS software running in the instance.
    description String
    The description of the instance. 2048 characters or less.
    directoryStripeLevel 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
    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.
    effectiveReservedIpRange 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.
    fileStripeLevel 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
    instanceId String
    The logical name of the Parallelstore instance in the user project with the following restrictions:

    • Must contain only lowercase letters, numbers, and hyphens.
    • Must start with a letter.
    • Must be between 1-63 characters.
    • Must end with a number or a letter.
    • Must be unique within the customer project/ location

    labels Map<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.).

    • Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}.
    • Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}.
    • No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + "_" + value would prove problematic if we were to allow "_" in a future release. "

    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 String
    Part of parent. See documentation of projectsId.
    name String
    Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}
    network String
    Immutable. The name of the Google Compute Engine VPC network to which the instance is connected.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    reservedIpRange 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.
    state String
    The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
    updateTime String
    The time when the instance was updated.

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

    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.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi