gcp.parallelstore.Instance
Explore with Pulumi AI
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", ¶llelstore.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", ¶llelstore.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:
- Capacity
Gib string - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- Instance
Id 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 ofprojectsId
. - Description string
- The description of the instance. 2048 characters or less.
- Directory
Stripe stringLevel - 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 stringLevel - 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- 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.
- Reserved
Ip stringRange - 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 string - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- Instance
Id 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 ofprojectsId
. - Description string
- The description of the instance. 2048 characters or less.
- Directory
Stripe stringLevel - 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 stringLevel - 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- 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.
- Reserved
Ip stringRange - 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 String - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- instance
Id 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 ofprojectsId
. - description String
- The description of the instance. 2048 characters or less.
- directory
Stripe StringLevel - 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 StringLevel - 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- 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.
- reserved
Ip StringRange - 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 string - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- instance
Id 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 ofprojectsId
. - description string
- The description of the instance. 2048 characters or less.
- directory
Stripe stringLevel - 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 stringLevel - 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- 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.
- reserved
Ip stringRange - 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 ofprojectsId
. - description str
- The description of the instance. 2048 characters or less.
- directory_
stripe_ strlevel - 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_ strlevel - 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- 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_ strrange - 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 String - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- instance
Id 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 ofprojectsId
. - description String
- The description of the instance. 2048 characters or less.
- directory
Stripe StringLevel - 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 StringLevel - 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- 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.
- reserved
Ip StringRange - 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:
- Access
Points List<string> - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- Create
Time string - The time when the instance was created.
- Daos
Version string - The version of DAOS software running in the instance.
- Effective
Labels 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.
- Effective
Reserved stringIp Range - 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}
- Pulumi
Labels 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
- Update
Time string - The time when the instance was updated.
- Access
Points []string - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- Create
Time string - The time when the instance was created.
- Daos
Version string - The version of DAOS software running in the instance.
- Effective
Labels 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.
- Effective
Reserved stringIp Range - 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}
- Pulumi
Labels 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
- Update
Time string - The time when the instance was updated.
- access
Points List<String> - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- create
Time String - The time when the instance was created.
- daos
Version String - The version of DAOS software running in the instance.
- effective
Labels 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.
- effective
Reserved StringIp Range - 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}
- pulumi
Labels 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
- update
Time String - The time when the instance was updated.
- access
Points string[] - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- create
Time string - The time when the instance was created.
- daos
Version string - The version of DAOS software running in the instance.
- effective
Labels {[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.
- effective
Reserved stringIp Range - 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}
- pulumi
Labels {[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
- update
Time 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_ strip_ range - 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.
- access
Points List<String> - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- create
Time String - The time when the instance was created.
- daos
Version String - The version of DAOS software running in the instance.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- effective
Reserved StringIp Range - 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}
- pulumi
Labels 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
- update
Time 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.
- Access
Points List<string> - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- Capacity
Gib string - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- Create
Time string - The time when the instance was created.
- Daos
Version string - The version of DAOS software running in the instance.
- Description string
- The description of the instance. 2048 characters or less.
- Directory
Stripe stringLevel - 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 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.
- Effective
Reserved stringIp Range - 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 stringLevel - 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 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- Location string
- Part of
parent
. See documentation ofprojectsId
. - 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.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reserved
Ip stringRange - 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
- Update
Time string - The time when the instance was updated.
- Access
Points []string - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- Capacity
Gib string - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- Create
Time string - The time when the instance was created.
- Daos
Version string - The version of DAOS software running in the instance.
- Description string
- The description of the instance. 2048 characters or less.
- Directory
Stripe stringLevel - 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 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.
- Effective
Reserved stringIp Range - 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 stringLevel - 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 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- Location string
- Part of
parent
. See documentation ofprojectsId
. - 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.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reserved
Ip stringRange - 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
- Update
Time string - The time when the instance was updated.
- access
Points List<String> - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- capacity
Gib String - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- create
Time String - The time when the instance was created.
- daos
Version String - The version of DAOS software running in the instance.
- description String
- The description of the instance. 2048 characters or less.
- directory
Stripe StringLevel - 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 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.
- effective
Reserved StringIp Range - 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 StringLevel - 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 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- location String
- Part of
parent
. See documentation ofprojectsId
. - 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.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reserved
Ip StringRange - 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
- update
Time String - The time when the instance was updated.
- access
Points string[] - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- capacity
Gib string - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- create
Time string - The time when the instance was created.
- daos
Version string - The version of DAOS software running in the instance.
- description string
- The description of the instance. 2048 characters or less.
- directory
Stripe stringLevel - 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 {[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.
- effective
Reserved stringIp Range - 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 stringLevel - 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 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- location string
- Part of
parent
. See documentation ofprojectsId
. - 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.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- reserved
Ip stringRange - 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
- update
Time 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_ strlevel - 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_ strip_ range - 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_ strlevel - 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- location str
- Part of
parent
. See documentation ofprojectsId
. - 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_ strrange - 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.
- access
Points List<String> - Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
- capacity
Gib String - Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
- create
Time String - The time when the instance was created.
- daos
Version String - The version of DAOS software running in the instance.
- description String
- The description of the instance. 2048 characters or less.
- directory
Stripe StringLevel - 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 Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- effective
Reserved StringIp Range - 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 StringLevel - 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 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.- Label keys must be between 1 and 63 characters long and must conform to
the following regular expression:
- location String
- Part of
parent
. See documentation ofprojectsId
. - 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.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reserved
Ip StringRange - 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
- update
Time 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.