1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. lustre
  5. Instance
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi

    A Managed Lustre instance

    To get more information about Instance, see:

    Example Usage

    Lustre Instance Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    // This example assumes this network already exists.
    // The API creates a tenant network per network authorized for a
    // Lustre instance and that network is not deleted when the user-created
    // network (authorized_network) is deleted, so this prevents issues
    // with tenant network quota.
    // If this network hasn't been created and you are using this example in your
    // config, add an additional network resource or change
    // this from "data"to "resource"
    const lustre_network = gcp.compute.getNetwork({
        name: "my-network",
    });
    const instance = new gcp.lustre.Instance("instance", {
        instanceId: "my-instance",
        location: "us-central1-a",
        description: "test lustre instance",
        filesystem: "testfs",
        capacityGib: "18000",
        network: lustre_network.then(lustre_network => lustre_network.id),
        perUnitStorageThroughput: "1000",
        labels: {
            test: "value",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    # This example assumes this network already exists.
    # The API creates a tenant network per network authorized for a
    # Lustre instance and that network is not deleted when the user-created
    # network (authorized_network) is deleted, so this prevents issues
    # with tenant network quota.
    # If this network hasn't been created and you are using this example in your
    # config, add an additional network resource or change
    # this from "data"to "resource"
    lustre_network = gcp.compute.get_network(name="my-network")
    instance = gcp.lustre.Instance("instance",
        instance_id="my-instance",
        location="us-central1-a",
        description="test lustre instance",
        filesystem="testfs",
        capacity_gib="18000",
        network=lustre_network.id,
        per_unit_storage_throughput="1000",
        labels={
            "test": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/lustre"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// This example assumes this network already exists.
    		// The API creates a tenant network per network authorized for a
    		// Lustre instance and that network is not deleted when the user-created
    		// network (authorized_network) is deleted, so this prevents issues
    		// with tenant network quota.
    		// If this network hasn't been created and you are using this example in your
    		// config, add an additional network resource or change
    		// this from "data"to "resource"
    		lustre_network, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
    			Name: "my-network",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = lustre.NewInstance(ctx, "instance", &lustre.InstanceArgs{
    			InstanceId:               pulumi.String("my-instance"),
    			Location:                 pulumi.String("us-central1-a"),
    			Description:              pulumi.String("test lustre instance"),
    			Filesystem:               pulumi.String("testfs"),
    			CapacityGib:              pulumi.String("18000"),
    			Network:                  pulumi.String(lustre_network.Id),
    			PerUnitStorageThroughput: pulumi.String("1000"),
    			Labels: pulumi.StringMap{
    				"test": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        // This example assumes this network already exists.
        // The API creates a tenant network per network authorized for a
        // Lustre instance and that network is not deleted when the user-created
        // network (authorized_network) is deleted, so this prevents issues
        // with tenant network quota.
        // If this network hasn't been created and you are using this example in your
        // config, add an additional network resource or change
        // this from "data"to "resource"
        var lustre_network = Gcp.Compute.GetNetwork.Invoke(new()
        {
            Name = "my-network",
        });
    
        var instance = new Gcp.Lustre.Instance("instance", new()
        {
            InstanceId = "my-instance",
            Location = "us-central1-a",
            Description = "test lustre instance",
            Filesystem = "testfs",
            CapacityGib = "18000",
            Network = lustre_network.Apply(lustre_network => lustre_network.Apply(getNetworkResult => getNetworkResult.Id)),
            PerUnitStorageThroughput = "1000",
            Labels = 
            {
                { "test", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.ComputeFunctions;
    import com.pulumi.gcp.compute.inputs.GetNetworkArgs;
    import com.pulumi.gcp.lustre.Instance;
    import com.pulumi.gcp.lustre.InstanceArgs;
    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) {
            // This example assumes this network already exists.
            // The API creates a tenant network per network authorized for a
            // Lustre instance and that network is not deleted when the user-created
            // network (authorized_network) is deleted, so this prevents issues
            // with tenant network quota.
            // If this network hasn't been created and you are using this example in your
            // config, add an additional network resource or change
            // this from "data"to "resource"
            final var lustre-network = ComputeFunctions.getNetwork(GetNetworkArgs.builder()
                .name("my-network")
                .build());
    
            var instance = new Instance("instance", InstanceArgs.builder()
                .instanceId("my-instance")
                .location("us-central1-a")
                .description("test lustre instance")
                .filesystem("testfs")
                .capacityGib("18000")
                .network(lustre_network.id())
                .perUnitStorageThroughput("1000")
                .labels(Map.of("test", "value"))
                .build());
    
        }
    }
    
    resources:
      instance:
        type: gcp:lustre:Instance
        properties:
          instanceId: my-instance
          location: us-central1-a
          description: test lustre instance
          filesystem: testfs
          capacityGib: 18000
          network: ${["lustre-network"].id}
          perUnitStorageThroughput: 1000
          labels:
            test: value
    variables:
      # This example assumes this network already exists.
      # // The API creates a tenant network per network authorized for a
      # // Lustre instance and that network is not deleted when the user-created
      # // network (authorized_network) is deleted, so this prevents issues
      # // with tenant network quota.
      # // If this network hasn't been created and you are using this example in your
      # // config, add an additional network resource or change
      # // this from "data"to "resource"
      lustre-network:
        fn::invoke:
          function: gcp:compute:getNetwork
          arguments:
            name: my-network
    

    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,
                 network: Optional[str] = None,
                 capacity_gib: Optional[str] = None,
                 filesystem: Optional[str] = None,
                 instance_id: Optional[str] = None,
                 location: Optional[str] = None,
                 per_unit_storage_throughput: Optional[str] = None,
                 description: Optional[str] = None,
                 gke_support_enabled: Optional[bool] = None,
                 kms_key: Optional[str] = None,
                 labels: Optional[Mapping[str, str]] = None,
                 access_rules_options: Optional[InstanceAccessRulesOptionsArgs] = None,
                 placement_policy: Optional[str] = None,
                 project: 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:lustre: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 exampleinstanceResourceResourceFromLustreinstance = new Gcp.Lustre.Instance("exampleinstanceResourceResourceFromLustreinstance", new()
    {
        Network = "string",
        CapacityGib = "string",
        Filesystem = "string",
        InstanceId = "string",
        Location = "string",
        PerUnitStorageThroughput = "string",
        Description = "string",
        GkeSupportEnabled = false,
        KmsKey = "string",
        Labels = 
        {
            { "string", "string" },
        },
        AccessRulesOptions = new Gcp.Lustre.Inputs.InstanceAccessRulesOptionsArgs
        {
            DefaultSquashMode = "string",
            AccessRules = new[]
            {
                new Gcp.Lustre.Inputs.InstanceAccessRulesOptionsAccessRuleArgs
                {
                    IpAddressRanges = new[]
                    {
                        "string",
                    },
                    Name = "string",
                    SquashMode = "string",
                },
            },
            DefaultSquashGid = 0,
            DefaultSquashUid = 0,
        },
        PlacementPolicy = "string",
        Project = "string",
    });
    
    example, err := lustre.NewInstance(ctx, "exampleinstanceResourceResourceFromLustreinstance", &lustre.InstanceArgs{
    	Network:                  pulumi.String("string"),
    	CapacityGib:              pulumi.String("string"),
    	Filesystem:               pulumi.String("string"),
    	InstanceId:               pulumi.String("string"),
    	Location:                 pulumi.String("string"),
    	PerUnitStorageThroughput: pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	GkeSupportEnabled:        pulumi.Bool(false),
    	KmsKey:                   pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	AccessRulesOptions: &lustre.InstanceAccessRulesOptionsArgs{
    		DefaultSquashMode: pulumi.String("string"),
    		AccessRules: lustre.InstanceAccessRulesOptionsAccessRuleArray{
    			&lustre.InstanceAccessRulesOptionsAccessRuleArgs{
    				IpAddressRanges: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Name:       pulumi.String("string"),
    				SquashMode: pulumi.String("string"),
    			},
    		},
    		DefaultSquashGid: pulumi.Int(0),
    		DefaultSquashUid: pulumi.Int(0),
    	},
    	PlacementPolicy: pulumi.String("string"),
    	Project:         pulumi.String("string"),
    })
    
    var exampleinstanceResourceResourceFromLustreinstance = new com.pulumi.gcp.lustre.Instance("exampleinstanceResourceResourceFromLustreinstance", com.pulumi.gcp.lustre.InstanceArgs.builder()
        .network("string")
        .capacityGib("string")
        .filesystem("string")
        .instanceId("string")
        .location("string")
        .perUnitStorageThroughput("string")
        .description("string")
        .gkeSupportEnabled(false)
        .kmsKey("string")
        .labels(Map.of("string", "string"))
        .accessRulesOptions(InstanceAccessRulesOptionsArgs.builder()
            .defaultSquashMode("string")
            .accessRules(InstanceAccessRulesOptionsAccessRuleArgs.builder()
                .ipAddressRanges("string")
                .name("string")
                .squashMode("string")
                .build())
            .defaultSquashGid(0)
            .defaultSquashUid(0)
            .build())
        .placementPolicy("string")
        .project("string")
        .build());
    
    exampleinstance_resource_resource_from_lustreinstance = gcp.lustre.Instance("exampleinstanceResourceResourceFromLustreinstance",
        network="string",
        capacity_gib="string",
        filesystem="string",
        instance_id="string",
        location="string",
        per_unit_storage_throughput="string",
        description="string",
        gke_support_enabled=False,
        kms_key="string",
        labels={
            "string": "string",
        },
        access_rules_options={
            "default_squash_mode": "string",
            "access_rules": [{
                "ip_address_ranges": ["string"],
                "name": "string",
                "squash_mode": "string",
            }],
            "default_squash_gid": 0,
            "default_squash_uid": 0,
        },
        placement_policy="string",
        project="string")
    
    const exampleinstanceResourceResourceFromLustreinstance = new gcp.lustre.Instance("exampleinstanceResourceResourceFromLustreinstance", {
        network: "string",
        capacityGib: "string",
        filesystem: "string",
        instanceId: "string",
        location: "string",
        perUnitStorageThroughput: "string",
        description: "string",
        gkeSupportEnabled: false,
        kmsKey: "string",
        labels: {
            string: "string",
        },
        accessRulesOptions: {
            defaultSquashMode: "string",
            accessRules: [{
                ipAddressRanges: ["string"],
                name: "string",
                squashMode: "string",
            }],
            defaultSquashGid: 0,
            defaultSquashUid: 0,
        },
        placementPolicy: "string",
        project: "string",
    });
    
    type: gcp:lustre:Instance
    properties:
        accessRulesOptions:
            accessRules:
                - ipAddressRanges:
                    - string
                  name: string
                  squashMode: string
            defaultSquashGid: 0
            defaultSquashMode: string
            defaultSquashUid: 0
        capacityGib: string
        description: string
        filesystem: string
        gkeSupportEnabled: false
        instanceId: string
        kmsKey: string
        labels:
            string: string
        location: string
        network: string
        perUnitStorageThroughput: string
        placementPolicy: string
        project: 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
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    Filesystem string
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    InstanceId string
    The name of the Managed Lustre instance.

    • 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.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Network string
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    PerUnitStorageThroughput string
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    AccessRulesOptions InstanceAccessRulesOptions
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    Description string
    A user-readable description of the instance.
    GkeSupportEnabled bool
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    KmsKey string
    The KMS key id to use for encryption of the Lustre instance.
    Labels Dictionary<string, string>
    Labels as key value pairs. 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.
    PlacementPolicy string
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    CapacityGib string
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    Filesystem string
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    InstanceId string
    The name of the Managed Lustre instance.

    • 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.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Network string
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    PerUnitStorageThroughput string
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    AccessRulesOptions InstanceAccessRulesOptionsArgs
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    Description string
    A user-readable description of the instance.
    GkeSupportEnabled bool
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    KmsKey string
    The KMS key id to use for encryption of the Lustre instance.
    Labels map[string]string
    Labels as key value pairs. 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.
    PlacementPolicy string
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    capacityGib String
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    filesystem String
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    instanceId String
    The name of the Managed Lustre instance.

    • 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.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    network String
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    perUnitStorageThroughput String
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    accessRulesOptions InstanceAccessRulesOptions
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    description String
    A user-readable description of the instance.
    gkeSupportEnabled Boolean
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    kmsKey String
    The KMS key id to use for encryption of the Lustre instance.
    labels Map<String,String>
    Labels as key value pairs. 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.
    placementPolicy String
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    capacityGib string
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    filesystem string
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    instanceId string
    The name of the Managed Lustre instance.

    • 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.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    network string
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    perUnitStorageThroughput string
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    accessRulesOptions InstanceAccessRulesOptions
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    description string
    A user-readable description of the instance.
    gkeSupportEnabled boolean
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    kmsKey string
    The KMS key id to use for encryption of the Lustre instance.
    labels {[key: string]: string}
    Labels as key value pairs. 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.
    placementPolicy string
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    capacity_gib str
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    filesystem str
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    instance_id str
    The name of the Managed Lustre instance.

    • 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.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    network str
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    per_unit_storage_throughput str
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    access_rules_options InstanceAccessRulesOptionsArgs
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    description str
    A user-readable description of the instance.
    gke_support_enabled bool
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    kms_key str
    The KMS key id to use for encryption of the Lustre instance.
    labels Mapping[str, str]
    Labels as key value pairs. 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.
    placement_policy str
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    capacityGib String
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    filesystem String
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    instanceId String
    The name of the Managed Lustre instance.

    • 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.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    network String
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    perUnitStorageThroughput String
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    accessRulesOptions Property Map
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    description String
    A user-readable description of the instance.
    gkeSupportEnabled Boolean
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    kmsKey String
    The KMS key id to use for encryption of the Lustre instance.
    labels Map<String>
    Labels as key value pairs. 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.
    placementPolicy String
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Outputs

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

    CreateTime string
    Timestamp when the instance was created.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    MountPoint string
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    Name string
    Identifier. The name of the instance.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    StateReason string
    The reason why the instance is in a certain state.
    UpdateTime string
    Timestamp when the instance was last updated.
    CreateTime string
    Timestamp when the instance was created.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    MountPoint string
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    Name string
    Identifier. The name of the instance.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    StateReason string
    The reason why the instance is in a certain state.
    UpdateTime string
    Timestamp when the instance was last updated.
    createTime String
    Timestamp when the instance was created.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    mountPoint String
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name String
    Identifier. The name of the instance.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    stateReason String
    The reason why the instance is in a certain state.
    updateTime String
    Timestamp when the instance was last updated.
    createTime string
    Timestamp when the instance was created.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    mountPoint string
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name string
    Identifier. The name of the instance.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    stateReason string
    The reason why the instance is in a certain state.
    updateTime string
    Timestamp when the instance was last updated.
    create_time str
    Timestamp when the instance was created.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    mount_point str
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name str
    Identifier. The name of the instance.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state str
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    state_reason str
    The reason why the instance is in a certain state.
    update_time str
    Timestamp when the instance was last updated.
    createTime String
    Timestamp when the instance was created.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    mountPoint String
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name String
    Identifier. The name of the instance.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    stateReason String
    The reason why the instance is in a certain state.
    updateTime String
    Timestamp when the instance was last 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_rules_options: Optional[InstanceAccessRulesOptionsArgs] = None,
            capacity_gib: Optional[str] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            filesystem: Optional[str] = None,
            gke_support_enabled: Optional[bool] = None,
            instance_id: Optional[str] = None,
            kms_key: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            mount_point: Optional[str] = None,
            name: Optional[str] = None,
            network: Optional[str] = None,
            per_unit_storage_throughput: Optional[str] = None,
            placement_policy: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            state_reason: 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)
    resources:  _:    type: gcp:lustre:Instance    get:      id: ${id}
    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:
    AccessRulesOptions InstanceAccessRulesOptions
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    CapacityGib string
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    CreateTime string
    Timestamp when the instance was created.
    Description string
    A user-readable description of 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.
    Filesystem string
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    GkeSupportEnabled bool
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    InstanceId string
    The name of the Managed Lustre instance.

    • 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.
    KmsKey string
    The KMS key id to use for encryption of the Lustre instance.
    Labels Dictionary<string, string>
    Labels as key value pairs. 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
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    MountPoint string
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    Name string
    Identifier. The name of the instance.
    Network string
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    PerUnitStorageThroughput string
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    PlacementPolicy string
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    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.
    State string
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    StateReason string
    The reason why the instance is in a certain state.
    UpdateTime string
    Timestamp when the instance was last updated.
    AccessRulesOptions InstanceAccessRulesOptionsArgs
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    CapacityGib string
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    CreateTime string
    Timestamp when the instance was created.
    Description string
    A user-readable description of 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.
    Filesystem string
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    GkeSupportEnabled bool
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    InstanceId string
    The name of the Managed Lustre instance.

    • 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.
    KmsKey string
    The KMS key id to use for encryption of the Lustre instance.
    Labels map[string]string
    Labels as key value pairs. 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
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    MountPoint string
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    Name string
    Identifier. The name of the instance.
    Network string
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    PerUnitStorageThroughput string
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    PlacementPolicy string
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    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.
    State string
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    StateReason string
    The reason why the instance is in a certain state.
    UpdateTime string
    Timestamp when the instance was last updated.
    accessRulesOptions InstanceAccessRulesOptions
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    capacityGib String
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    createTime String
    Timestamp when the instance was created.
    description String
    A user-readable description of 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.
    filesystem String
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    gkeSupportEnabled Boolean
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    instanceId String
    The name of the Managed Lustre instance.

    • 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.
    kmsKey String
    The KMS key id to use for encryption of the Lustre instance.
    labels Map<String,String>
    Labels as key value pairs. 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
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    mountPoint String
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name String
    Identifier. The name of the instance.
    network String
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    perUnitStorageThroughput String
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    placementPolicy String
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    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.
    state String
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    stateReason String
    The reason why the instance is in a certain state.
    updateTime String
    Timestamp when the instance was last updated.
    accessRulesOptions InstanceAccessRulesOptions
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    capacityGib string
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    createTime string
    Timestamp when the instance was created.
    description string
    A user-readable description of 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.
    filesystem string
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    gkeSupportEnabled boolean
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    instanceId string
    The name of the Managed Lustre instance.

    • 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.
    kmsKey string
    The KMS key id to use for encryption of the Lustre instance.
    labels {[key: string]: string}
    Labels as key value pairs. 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
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    mountPoint string
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name string
    Identifier. The name of the instance.
    network string
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    perUnitStorageThroughput string
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    placementPolicy string
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    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.
    state string
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    stateReason string
    The reason why the instance is in a certain state.
    updateTime string
    Timestamp when the instance was last updated.
    access_rules_options InstanceAccessRulesOptionsArgs
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    capacity_gib str
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    create_time str
    Timestamp when the instance was created.
    description str
    A user-readable description of 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.
    filesystem str
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    gke_support_enabled bool
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    instance_id str
    The name of the Managed Lustre instance.

    • 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.
    kms_key str
    The KMS key id to use for encryption of the Lustre instance.
    labels Mapping[str, str]
    Labels as key value pairs. 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
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    mount_point str
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name str
    Identifier. The name of the instance.
    network str
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    per_unit_storage_throughput str
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    placement_policy str
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    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.
    state str
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    state_reason str
    The reason why the instance is in a certain state.
    update_time str
    Timestamp when the instance was last updated.
    accessRulesOptions Property Map
    Access control rules for the Lustre instance. Configures default root squashing behavior and specific access rules based on IP addresses. Structure is documented below.
    capacityGib String
    The storage capacity of the instance in gibibytes (GiB). Allowed values are from 18000 to 954000, in increments of 9000.
    createTime String
    Timestamp when the instance was created.
    description String
    A user-readable description of 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.
    filesystem String
    The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
    gkeSupportEnabled Boolean
    Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
    instanceId String
    The name of the Managed Lustre instance.

    • 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.
    kmsKey String
    The KMS key id to use for encryption of the Lustre instance.
    labels Map<String>
    Labels as key value pairs. 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
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    mountPoint String
    Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
    name String
    Identifier. The name of the instance.
    network String
    The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
    perUnitStorageThroughput String
    The throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000.
    placementPolicy String
    The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
    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.
    state String
    The state of the instance. Please see https://cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances#state for values
    stateReason String
    The reason why the instance is in a certain state.
    updateTime String
    Timestamp when the instance was last updated.

    Supporting Types

    InstanceAccessRulesOptions, InstanceAccessRulesOptionsArgs

    DefaultSquashMode string
    Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values are: ROOT_SQUASH, NO_SQUASH.
    AccessRules List<InstanceAccessRulesOptionsAccessRule>
    An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default. Structure is documented below.
    DefaultSquashGid int
    The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    DefaultSquashUid int
    The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    DefaultSquashMode string
    Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values are: ROOT_SQUASH, NO_SQUASH.
    AccessRules []InstanceAccessRulesOptionsAccessRule
    An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default. Structure is documented below.
    DefaultSquashGid int
    The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    DefaultSquashUid int
    The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    defaultSquashMode String
    Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values are: ROOT_SQUASH, NO_SQUASH.
    accessRules List<InstanceAccessRulesOptionsAccessRule>
    An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default. Structure is documented below.
    defaultSquashGid Integer
    The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    defaultSquashUid Integer
    The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    defaultSquashMode string
    Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values are: ROOT_SQUASH, NO_SQUASH.
    accessRules InstanceAccessRulesOptionsAccessRule[]
    An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default. Structure is documented below.
    defaultSquashGid number
    The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    defaultSquashUid number
    The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    default_squash_mode str
    Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values are: ROOT_SQUASH, NO_SQUASH.
    access_rules Sequence[InstanceAccessRulesOptionsAccessRule]
    An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default. Structure is documented below.
    default_squash_gid int
    The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    default_squash_uid int
    The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    defaultSquashMode String
    Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values are: ROOT_SQUASH, NO_SQUASH.
    accessRules List<Property Map>
    An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default. Structure is documented below.
    defaultSquashGid Number
    The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
    defaultSquashUid Number
    The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).

    InstanceAccessRulesOptionsAccessRule, InstanceAccessRulesOptionsAccessRuleArgs

    IpAddressRanges List<string>
    An array of IP address strings or CIDR ranges that this rule applies to.
    Name string
    A unique identifier for the access rule.
    SquashMode string
    The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values are: NO_SQUASH.
    IpAddressRanges []string
    An array of IP address strings or CIDR ranges that this rule applies to.
    Name string
    A unique identifier for the access rule.
    SquashMode string
    The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values are: NO_SQUASH.
    ipAddressRanges List<String>
    An array of IP address strings or CIDR ranges that this rule applies to.
    name String
    A unique identifier for the access rule.
    squashMode String
    The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values are: NO_SQUASH.
    ipAddressRanges string[]
    An array of IP address strings or CIDR ranges that this rule applies to.
    name string
    A unique identifier for the access rule.
    squashMode string
    The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values are: NO_SQUASH.
    ip_address_ranges Sequence[str]
    An array of IP address strings or CIDR ranges that this rule applies to.
    name str
    A unique identifier for the access rule.
    squash_mode str
    The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values are: NO_SQUASH.
    ipAddressRanges List<String>
    An array of IP address strings or CIDR ranges that this rule applies to.
    name String
    A unique identifier for the access rule.
    squashMode String
    The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values are: NO_SQUASH.

    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:lustre/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{instance_id}}
    $ pulumi import gcp:lustre/instance:Instance default {{project}}/{{location}}/{{instance_id}}
    $ pulumi import gcp:lustre/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
    Viewing docs for Google Cloud v9.15.0
    published on Thursday, Mar 12, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.