Documentation ¶
Index ¶
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) AccessPoints() pulumi.StringArrayOutput
- func (o InstanceOutput) CapacityGib() pulumi.StringOutput
- func (o InstanceOutput) CreateTime() pulumi.StringOutput
- func (o InstanceOutput) DaosVersion() pulumi.StringOutput
- func (o InstanceOutput) Description() pulumi.StringPtrOutput
- func (o InstanceOutput) DirectoryStripeLevel() pulumi.StringPtrOutput
- func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput
- func (o InstanceOutput) EffectiveReservedIpRange() pulumi.StringOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) FileStripeLevel() pulumi.StringPtrOutput
- func (o InstanceOutput) InstanceId() pulumi.StringOutput
- func (o InstanceOutput) Labels() pulumi.StringMapOutput
- func (o InstanceOutput) Location() pulumi.StringOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) Network() pulumi.StringPtrOutput
- func (o InstanceOutput) Project() pulumi.StringOutput
- func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
- func (o InstanceOutput) ReservedIpRange() pulumi.StringPtrOutput
- func (o InstanceOutput) State() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) UpdateTime() pulumi.StringOutput
- type InstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { pulumi.CustomResourceState // Output only. List of access_points. // Contains a list of IPv4 addresses used for client side configuration. AccessPoints pulumi.StringArrayOutput `pulumi:"accessPoints"` // Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB). CapacityGib pulumi.StringOutput `pulumi:"capacityGib"` // The time when the instance was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The version of DAOS software running in the instance. DaosVersion pulumi.StringOutput `pulumi:"daosVersion"` // The description of the instance. 2048 characters or less. Description pulumi.StringPtrOutput `pulumi:"description"` // 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 DirectoryStripeLevel pulumi.StringPtrOutput `pulumi:"directoryStripeLevel"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // 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. EffectiveReservedIpRange pulumi.StringOutput `pulumi:"effectiveReservedIpRange"` // 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 FileStripeLevel pulumi.StringPtrOutput `pulumi:"fileStripeLevel"` // 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 // // *** InstanceId pulumi.StringOutput `pulumi:"instanceId"` // 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 `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // Part of `parent`. See documentation of `projectsId`. Location pulumi.StringOutput `pulumi:"location"` // Identifier. The resource name of the instance, in the format // `projects/{project}/locations/{location}/instances/{instance_id}` Name pulumi.StringOutput `pulumi:"name"` // Immutable. The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) // to which the instance is connected. Network pulumi.StringPtrOutput `pulumi:"network"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // 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. ReservedIpRange pulumi.StringPtrOutput `pulumi:"reservedIpRange"` // The instance state. // Possible values: // STATE_UNSPECIFIED // CREATING // ACTIVE // DELETING // FAILED // UPGRADING State pulumi.StringOutput `pulumi:"state"` // The time when the instance was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
## Example Usage
### Parallelstore Instance Basic
```go 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 }) }
```
## 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:
```sh $ pulumi import gcp:parallelstore/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{instance_id}} ```
```sh $ pulumi import gcp:parallelstore/instance:Instance default {{project}}/{{location}}/{{instance_id}} ```
```sh $ pulumi import gcp:parallelstore/instance:Instance default {{location}}/{{instance_id}} ```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB). CapacityGib pulumi.StringInput // The description of the instance. 2048 characters or less. Description pulumi.StringPtrInput // 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 DirectoryStripeLevel pulumi.StringPtrInput // 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 FileStripeLevel pulumi.StringPtrInput // 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 // // *** InstanceId pulumi.StringInput // 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 `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Part of `parent`. See documentation of `projectsId`. Location pulumi.StringInput // Immutable. The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) // to which the instance is connected. Network pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // 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. ReservedIpRange pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AccessPoints ¶
func (o InstanceOutput) AccessPoints() pulumi.StringArrayOutput
Output only. List of access_points. Contains a list of IPv4 addresses used for client side configuration.
func (InstanceOutput) CapacityGib ¶
func (o InstanceOutput) CapacityGib() pulumi.StringOutput
Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
func (InstanceOutput) CreateTime ¶
func (o InstanceOutput) CreateTime() pulumi.StringOutput
The time when the instance was created.
func (InstanceOutput) DaosVersion ¶
func (o InstanceOutput) DaosVersion() pulumi.StringOutput
The version of DAOS software running in the instance.
func (InstanceOutput) Description ¶
func (o InstanceOutput) Description() pulumi.StringPtrOutput
The description of the instance. 2048 characters or less.
func (InstanceOutput) DirectoryStripeLevel ¶
func (o InstanceOutput) DirectoryStripeLevel() pulumi.StringPtrOutput
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
func (InstanceOutput) EffectiveLabels ¶
func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (InstanceOutput) EffectiveReservedIpRange ¶
func (o InstanceOutput) EffectiveReservedIpRange() pulumi.StringOutput
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.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) FileStripeLevel ¶
func (o InstanceOutput) FileStripeLevel() pulumi.StringPtrOutput
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
func (InstanceOutput) InstanceId ¶
func (o InstanceOutput) InstanceId() pulumi.StringOutput
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
***
func (InstanceOutput) Labels ¶
func (o InstanceOutput) Labels() pulumi.StringMapOutput
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 `effectiveLabels` for all of the labels present on the resource.
func (InstanceOutput) Location ¶
func (o InstanceOutput) Location() pulumi.StringOutput
Part of `parent`. See documentation of `projectsId`.
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
Identifier. The resource name of the instance, in the format `projects/{project}/locations/{location}/instances/{instance_id}`
func (InstanceOutput) Network ¶
func (o InstanceOutput) Network() pulumi.StringPtrOutput
Immutable. The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
func (InstanceOutput) Project ¶
func (o InstanceOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (InstanceOutput) PulumiLabels ¶
func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (InstanceOutput) ReservedIpRange ¶
func (o InstanceOutput) ReservedIpRange() pulumi.StringPtrOutput
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.
func (InstanceOutput) State ¶
func (o InstanceOutput) State() pulumi.StringOutput
The instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING FAILED UPGRADING
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) UpdateTime ¶
func (o InstanceOutput) UpdateTime() pulumi.StringOutput
The time when the instance was updated.
type InstanceState ¶
type InstanceState struct { // Output only. List of access_points. // Contains a list of IPv4 addresses used for client side configuration. AccessPoints pulumi.StringArrayInput // Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB). CapacityGib pulumi.StringPtrInput // The time when the instance was created. CreateTime pulumi.StringPtrInput // The version of DAOS software running in the instance. DaosVersion pulumi.StringPtrInput // The description of the instance. 2048 characters or less. Description pulumi.StringPtrInput // 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 DirectoryStripeLevel pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // 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. EffectiveReservedIpRange pulumi.StringPtrInput // 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 FileStripeLevel pulumi.StringPtrInput // 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 // // *** InstanceId pulumi.StringPtrInput // 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 `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Part of `parent`. See documentation of `projectsId`. Location pulumi.StringPtrInput // Identifier. The resource name of the instance, in the format // `projects/{project}/locations/{location}/instances/{instance_id}` Name pulumi.StringPtrInput // Immutable. The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) // to which the instance is connected. Network pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // 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. ReservedIpRange pulumi.StringPtrInput // The instance state. // Possible values: // STATE_UNSPECIFIED // CREATING // ACTIVE // DELETING // FAILED // UPGRADING State pulumi.StringPtrInput // The time when the instance was updated. UpdateTime pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type