1. Packages
  2. Google Cloud Native
  3. API Docs
  4. spanner
  5. spanner/v1
  6. Instance

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.spanner/v1.Instance

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates an instance and begins preparing it to begin serving. The returned long-running operation can be used to track the progress of preparing the new instance. The instance name is assigned by the caller. If the named instance already exists, CreateInstance returns ALREADY_EXISTS. Immediately upon completion of this request: * The instance is readable via the API, with all requested attributes but no allocated resources. Its state is CREATING. Until completion of the returned operation: * Cancelling the operation renders the instance immediately unreadable via the API. * The instance can be deleted. * All other attempts to modify the instance are rejected. Upon completion of the returned operation: * Billing for all successfully-allocated resources begins (some types may have lower than the requested levels). * Databases can be created in the instance. * The instance’s allocated resource levels are readable via the API. * The instance’s state becomes READY. The returned long-running operation will have a name of the format /operations/ and can be used to track creation of the instance. The metadata field type is CreateInstanceMetadata. The response field type is Instance, if successful.

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,
             config: Optional[str] = None,
             display_name: Optional[str] = None,
             instance_id: Optional[str] = None,
             autoscaling_config: Optional[AutoscalingConfigArgs] = None,
             endpoint_uris: Optional[Sequence[str]] = None,
             free_instance_metadata: Optional[FreeInstanceMetadataArgs] = None,
             instance_type: Optional[InstanceInstanceType] = None,
             labels: Optional[Mapping[str, str]] = None,
             name: Optional[str] = None,
             node_count: Optional[int] = None,
             processing_units: Optional[int] = None,
             project: Optional[str] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: google-native:spanner/v1:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 exampleinstanceResourceResourceFromSpannerv1 = new GoogleNative.Spanner.V1.Instance("exampleinstanceResourceResourceFromSpannerv1", new()
{
    Config = "string",
    DisplayName = "string",
    InstanceId = "string",
    AutoscalingConfig = new GoogleNative.Spanner.V1.Inputs.AutoscalingConfigArgs
    {
        AutoscalingLimits = new GoogleNative.Spanner.V1.Inputs.AutoscalingLimitsArgs
        {
            MaxNodes = 0,
            MaxProcessingUnits = 0,
            MinNodes = 0,
            MinProcessingUnits = 0,
        },
        AutoscalingTargets = new GoogleNative.Spanner.V1.Inputs.AutoscalingTargetsArgs
        {
            HighPriorityCpuUtilizationPercent = 0,
            StorageUtilizationPercent = 0,
        },
    },
    FreeInstanceMetadata = new GoogleNative.Spanner.V1.Inputs.FreeInstanceMetadataArgs
    {
        ExpireBehavior = GoogleNative.Spanner.V1.FreeInstanceMetadataExpireBehavior.ExpireBehaviorUnspecified,
    },
    InstanceType = GoogleNative.Spanner.V1.InstanceInstanceType.InstanceTypeUnspecified,
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    NodeCount = 0,
    ProcessingUnits = 0,
    Project = "string",
});
Copy
example, err := spanner.NewInstance(ctx, "exampleinstanceResourceResourceFromSpannerv1", &spanner.InstanceArgs{
	Config:      pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	InstanceId:  pulumi.String("string"),
	AutoscalingConfig: &spanner.AutoscalingConfigArgs{
		AutoscalingLimits: &spanner.AutoscalingLimitsArgs{
			MaxNodes:           pulumi.Int(0),
			MaxProcessingUnits: pulumi.Int(0),
			MinNodes:           pulumi.Int(0),
			MinProcessingUnits: pulumi.Int(0),
		},
		AutoscalingTargets: &spanner.AutoscalingTargetsArgs{
			HighPriorityCpuUtilizationPercent: pulumi.Int(0),
			StorageUtilizationPercent:         pulumi.Int(0),
		},
	},
	FreeInstanceMetadata: &spanner.FreeInstanceMetadataArgs{
		ExpireBehavior: spanner.FreeInstanceMetadataExpireBehaviorExpireBehaviorUnspecified,
	},
	InstanceType: spanner.InstanceInstanceTypeInstanceTypeUnspecified,
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name:            pulumi.String("string"),
	NodeCount:       pulumi.Int(0),
	ProcessingUnits: pulumi.Int(0),
	Project:         pulumi.String("string"),
})
Copy
var exampleinstanceResourceResourceFromSpannerv1 = new Instance("exampleinstanceResourceResourceFromSpannerv1", InstanceArgs.builder()
    .config("string")
    .displayName("string")
    .instanceId("string")
    .autoscalingConfig(AutoscalingConfigArgs.builder()
        .autoscalingLimits(AutoscalingLimitsArgs.builder()
            .maxNodes(0)
            .maxProcessingUnits(0)
            .minNodes(0)
            .minProcessingUnits(0)
            .build())
        .autoscalingTargets(AutoscalingTargetsArgs.builder()
            .highPriorityCpuUtilizationPercent(0)
            .storageUtilizationPercent(0)
            .build())
        .build())
    .freeInstanceMetadata(FreeInstanceMetadataArgs.builder()
        .expireBehavior("EXPIRE_BEHAVIOR_UNSPECIFIED")
        .build())
    .instanceType("INSTANCE_TYPE_UNSPECIFIED")
    .labels(Map.of("string", "string"))
    .name("string")
    .nodeCount(0)
    .processingUnits(0)
    .project("string")
    .build());
Copy
exampleinstance_resource_resource_from_spannerv1 = google_native.spanner.v1.Instance("exampleinstanceResourceResourceFromSpannerv1",
    config="string",
    display_name="string",
    instance_id="string",
    autoscaling_config={
        "autoscaling_limits": {
            "max_nodes": 0,
            "max_processing_units": 0,
            "min_nodes": 0,
            "min_processing_units": 0,
        },
        "autoscaling_targets": {
            "high_priority_cpu_utilization_percent": 0,
            "storage_utilization_percent": 0,
        },
    },
    free_instance_metadata={
        "expire_behavior": google_native.spanner.v1.FreeInstanceMetadataExpireBehavior.EXPIRE_BEHAVIOR_UNSPECIFIED,
    },
    instance_type=google_native.spanner.v1.InstanceInstanceType.INSTANCE_TYPE_UNSPECIFIED,
    labels={
        "string": "string",
    },
    name="string",
    node_count=0,
    processing_units=0,
    project="string")
Copy
const exampleinstanceResourceResourceFromSpannerv1 = new google_native.spanner.v1.Instance("exampleinstanceResourceResourceFromSpannerv1", {
    config: "string",
    displayName: "string",
    instanceId: "string",
    autoscalingConfig: {
        autoscalingLimits: {
            maxNodes: 0,
            maxProcessingUnits: 0,
            minNodes: 0,
            minProcessingUnits: 0,
        },
        autoscalingTargets: {
            highPriorityCpuUtilizationPercent: 0,
            storageUtilizationPercent: 0,
        },
    },
    freeInstanceMetadata: {
        expireBehavior: google_native.spanner.v1.FreeInstanceMetadataExpireBehavior.ExpireBehaviorUnspecified,
    },
    instanceType: google_native.spanner.v1.InstanceInstanceType.InstanceTypeUnspecified,
    labels: {
        string: "string",
    },
    name: "string",
    nodeCount: 0,
    processingUnits: 0,
    project: "string",
});
Copy
type: google-native:spanner/v1:Instance
properties:
    autoscalingConfig:
        autoscalingLimits:
            maxNodes: 0
            maxProcessingUnits: 0
            minNodes: 0
            minProcessingUnits: 0
        autoscalingTargets:
            highPriorityCpuUtilizationPercent: 0
            storageUtilizationPercent: 0
    config: string
    displayName: string
    freeInstanceMetadata:
        expireBehavior: EXPIRE_BEHAVIOR_UNSPECIFIED
    instanceId: string
    instanceType: INSTANCE_TYPE_UNSPECIFIED
    labels:
        string: string
    name: string
    nodeCount: 0
    processingUnits: 0
    project: string
Copy

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:

Config This property is required. string
The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.
DisplayName This property is required. string
The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
InstanceId This property is required. string
The ID of the instance to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.
AutoscalingConfig Pulumi.GoogleNative.Spanner.V1.Inputs.AutoscalingConfig
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance.
EndpointUris List<string>
Deprecated. This field is not populated.

Deprecated: Deprecated. This field is not populated.

FreeInstanceMetadata Pulumi.GoogleNative.Spanner.V1.Inputs.FreeInstanceMetadata
Free instance metadata. Only populated for free instances.
InstanceType Pulumi.GoogleNative.Spanner.V1.InstanceInstanceType
The InstanceType of the current instance.
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. And so 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.
Name string
A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form projects//instances/a-z*[a-z0-9]. The final segment of the name must be between 2 and 64 characters in length.
NodeCount int
The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
ProcessingUnits int
The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
Project Changes to this property will trigger replacement. string
Config This property is required. string
The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.
DisplayName This property is required. string
The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
InstanceId This property is required. string
The ID of the instance to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.
AutoscalingConfig AutoscalingConfigArgs
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance.
EndpointUris []string
Deprecated. This field is not populated.

Deprecated: Deprecated. This field is not populated.

FreeInstanceMetadata FreeInstanceMetadataArgs
Free instance metadata. Only populated for free instances.
InstanceType InstanceInstanceType
The InstanceType of the current instance.
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. And so 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.
Name string
A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form projects//instances/a-z*[a-z0-9]. The final segment of the name must be between 2 and 64 characters in length.
NodeCount int
The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
ProcessingUnits int
The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
Project Changes to this property will trigger replacement. string
config This property is required. String
The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.
displayName This property is required. String
The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
instanceId This property is required. String
The ID of the instance to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.
autoscalingConfig AutoscalingConfig
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance.
endpointUris List<String>
Deprecated. This field is not populated.

Deprecated: Deprecated. This field is not populated.

freeInstanceMetadata FreeInstanceMetadata
Free instance metadata. Only populated for free instances.
instanceType InstanceInstanceType
The InstanceType of the current instance.
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. And so 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.
name String
A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form projects//instances/a-z*[a-z0-9]. The final segment of the name must be between 2 and 64 characters in length.
nodeCount Integer
The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
processingUnits Integer
The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
project Changes to this property will trigger replacement. String
config This property is required. string
The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.
displayName This property is required. string
The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
instanceId This property is required. string
The ID of the instance to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.
autoscalingConfig AutoscalingConfig
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance.
endpointUris string[]
Deprecated. This field is not populated.

Deprecated: Deprecated. This field is not populated.

freeInstanceMetadata FreeInstanceMetadata
Free instance metadata. Only populated for free instances.
instanceType InstanceInstanceType
The InstanceType of the current instance.
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. And so 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.
name string
A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form projects//instances/a-z*[a-z0-9]. The final segment of the name must be between 2 and 64 characters in length.
nodeCount number
The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
processingUnits number
The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
project Changes to this property will trigger replacement. string
config This property is required. str
The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.
display_name This property is required. str
The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
instance_id This property is required. str
The ID of the instance to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.
autoscaling_config AutoscalingConfigArgs
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance.
endpoint_uris Sequence[str]
Deprecated. This field is not populated.

Deprecated: Deprecated. This field is not populated.

free_instance_metadata FreeInstanceMetadataArgs
Free instance metadata. Only populated for free instances.
instance_type InstanceInstanceType
The InstanceType of the current instance.
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. And so 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.
name str
A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form projects//instances/a-z*[a-z0-9]. The final segment of the name must be between 2 and 64 characters in length.
node_count int
The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
processing_units int
The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
project Changes to this property will trigger replacement. str
config This property is required. String
The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.
displayName This property is required. String
The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
instanceId This property is required. String
The ID of the instance to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.
autoscalingConfig Property Map
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance.
endpointUris List<String>
Deprecated. This field is not populated.

Deprecated: Deprecated. This field is not populated.

freeInstanceMetadata Property Map
Free instance metadata. Only populated for free instances.
instanceType "INSTANCE_TYPE_UNSPECIFIED" | "PROVISIONED" | "FREE_INSTANCE"
The InstanceType of the current instance.
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. And so 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.
name String
A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form projects//instances/a-z*[a-z0-9]. The final segment of the name must be between 2 and 64 characters in length.
nodeCount Number
The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
processingUnits Number
The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state READY. See the documentation for more information about nodes and processing units.
project Changes to this property will trigger replacement. String

Outputs

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

CreateTime string
The time at which the instance was created.
Id string
The provider-assigned unique ID for this managed resource.
State string
The current instance state. For CreateInstance, the state must be either omitted or set to CREATING. For UpdateInstance, the state must be either omitted or set to READY.
UpdateTime string
The time at which the instance was most recently updated.
CreateTime string
The time at which the instance was created.
Id string
The provider-assigned unique ID for this managed resource.
State string
The current instance state. For CreateInstance, the state must be either omitted or set to CREATING. For UpdateInstance, the state must be either omitted or set to READY.
UpdateTime string
The time at which the instance was most recently updated.
createTime String
The time at which the instance was created.
id String
The provider-assigned unique ID for this managed resource.
state String
The current instance state. For CreateInstance, the state must be either omitted or set to CREATING. For UpdateInstance, the state must be either omitted or set to READY.
updateTime String
The time at which the instance was most recently updated.
createTime string
The time at which the instance was created.
id string
The provider-assigned unique ID for this managed resource.
state string
The current instance state. For CreateInstance, the state must be either omitted or set to CREATING. For UpdateInstance, the state must be either omitted or set to READY.
updateTime string
The time at which the instance was most recently updated.
create_time str
The time at which the instance was created.
id str
The provider-assigned unique ID for this managed resource.
state str
The current instance state. For CreateInstance, the state must be either omitted or set to CREATING. For UpdateInstance, the state must be either omitted or set to READY.
update_time str
The time at which the instance was most recently updated.
createTime String
The time at which the instance was created.
id String
The provider-assigned unique ID for this managed resource.
state String
The current instance state. For CreateInstance, the state must be either omitted or set to CREATING. For UpdateInstance, the state must be either omitted or set to READY.
updateTime String
The time at which the instance was most recently updated.

Supporting Types

AutoscalingConfig
, AutoscalingConfigArgs

AutoscalingLimits This property is required. Pulumi.GoogleNative.Spanner.V1.Inputs.AutoscalingLimits
Autoscaling limits for an instance.
AutoscalingTargets This property is required. Pulumi.GoogleNative.Spanner.V1.Inputs.AutoscalingTargets
The autoscaling targets for an instance.
AutoscalingLimits This property is required. AutoscalingLimits
Autoscaling limits for an instance.
AutoscalingTargets This property is required. AutoscalingTargets
The autoscaling targets for an instance.
autoscalingLimits This property is required. AutoscalingLimits
Autoscaling limits for an instance.
autoscalingTargets This property is required. AutoscalingTargets
The autoscaling targets for an instance.
autoscalingLimits This property is required. AutoscalingLimits
Autoscaling limits for an instance.
autoscalingTargets This property is required. AutoscalingTargets
The autoscaling targets for an instance.
autoscaling_limits This property is required. AutoscalingLimits
Autoscaling limits for an instance.
autoscaling_targets This property is required. AutoscalingTargets
The autoscaling targets for an instance.
autoscalingLimits This property is required. Property Map
Autoscaling limits for an instance.
autoscalingTargets This property is required. Property Map
The autoscaling targets for an instance.

AutoscalingConfigResponse
, AutoscalingConfigResponseArgs

AutoscalingLimits This property is required. Pulumi.GoogleNative.Spanner.V1.Inputs.AutoscalingLimitsResponse
Autoscaling limits for an instance.
AutoscalingTargets This property is required. Pulumi.GoogleNative.Spanner.V1.Inputs.AutoscalingTargetsResponse
The autoscaling targets for an instance.
AutoscalingLimits This property is required. AutoscalingLimitsResponse
Autoscaling limits for an instance.
AutoscalingTargets This property is required. AutoscalingTargetsResponse
The autoscaling targets for an instance.
autoscalingLimits This property is required. AutoscalingLimitsResponse
Autoscaling limits for an instance.
autoscalingTargets This property is required. AutoscalingTargetsResponse
The autoscaling targets for an instance.
autoscalingLimits This property is required. AutoscalingLimitsResponse
Autoscaling limits for an instance.
autoscalingTargets This property is required. AutoscalingTargetsResponse
The autoscaling targets for an instance.
autoscaling_limits This property is required. AutoscalingLimitsResponse
Autoscaling limits for an instance.
autoscaling_targets This property is required. AutoscalingTargetsResponse
The autoscaling targets for an instance.
autoscalingLimits This property is required. Property Map
Autoscaling limits for an instance.
autoscalingTargets This property is required. Property Map
The autoscaling targets for an instance.

AutoscalingLimits
, AutoscalingLimitsArgs

MaxNodes int
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
MaxProcessingUnits int
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
MinNodes int
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
MinProcessingUnits int
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
MaxNodes int
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
MaxProcessingUnits int
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
MinNodes int
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
MinProcessingUnits int
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
maxNodes Integer
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
maxProcessingUnits Integer
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
minNodes Integer
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
minProcessingUnits Integer
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
maxNodes number
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
maxProcessingUnits number
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
minNodes number
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
minProcessingUnits number
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
max_nodes int
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
max_processing_units int
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
min_nodes int
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
min_processing_units int
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
maxNodes Number
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
maxProcessingUnits Number
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
minNodes Number
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
minProcessingUnits Number
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.

AutoscalingLimitsResponse
, AutoscalingLimitsResponseArgs

MaxNodes This property is required. int
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
MaxProcessingUnits This property is required. int
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
MinNodes This property is required. int
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
MinProcessingUnits This property is required. int
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
MaxNodes This property is required. int
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
MaxProcessingUnits This property is required. int
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
MinNodes This property is required. int
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
MinProcessingUnits This property is required. int
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
maxNodes This property is required. Integer
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
maxProcessingUnits This property is required. Integer
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
minNodes This property is required. Integer
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
minProcessingUnits This property is required. Integer
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
maxNodes This property is required. number
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
maxProcessingUnits This property is required. number
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
minNodes This property is required. number
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
minProcessingUnits This property is required. number
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
max_nodes This property is required. int
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
max_processing_units This property is required. int
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
min_nodes This property is required. int
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
min_processing_units This property is required. int
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
maxNodes This property is required. Number
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
maxProcessingUnits This property is required. Number
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
minNodes This property is required. Number
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
minProcessingUnits This property is required. Number
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.

AutoscalingTargets
, AutoscalingTargetsArgs

HighPriorityCpuUtilizationPercent This property is required. int
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
StorageUtilizationPercent This property is required. int
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
HighPriorityCpuUtilizationPercent This property is required. int
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
StorageUtilizationPercent This property is required. int
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
highPriorityCpuUtilizationPercent This property is required. Integer
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storageUtilizationPercent This property is required. Integer
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
highPriorityCpuUtilizationPercent This property is required. number
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storageUtilizationPercent This property is required. number
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
high_priority_cpu_utilization_percent This property is required. int
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storage_utilization_percent This property is required. int
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
highPriorityCpuUtilizationPercent This property is required. Number
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storageUtilizationPercent This property is required. Number
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.

AutoscalingTargetsResponse
, AutoscalingTargetsResponseArgs

HighPriorityCpuUtilizationPercent This property is required. int
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
StorageUtilizationPercent This property is required. int
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
HighPriorityCpuUtilizationPercent This property is required. int
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
StorageUtilizationPercent This property is required. int
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
highPriorityCpuUtilizationPercent This property is required. Integer
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storageUtilizationPercent This property is required. Integer
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
highPriorityCpuUtilizationPercent This property is required. number
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storageUtilizationPercent This property is required. number
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
high_priority_cpu_utilization_percent This property is required. int
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storage_utilization_percent This property is required. int
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.
highPriorityCpuUtilizationPercent This property is required. Number
The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive.
storageUtilizationPercent This property is required. Number
The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 100] inclusive.

FreeInstanceMetadata
, FreeInstanceMetadataArgs

ExpireBehavior Pulumi.GoogleNative.Spanner.V1.FreeInstanceMetadataExpireBehavior
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
ExpireBehavior FreeInstanceMetadataExpireBehavior
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expireBehavior FreeInstanceMetadataExpireBehavior
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expireBehavior FreeInstanceMetadataExpireBehavior
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expire_behavior FreeInstanceMetadataExpireBehavior
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expireBehavior "EXPIRE_BEHAVIOR_UNSPECIFIED" | "FREE_TO_PROVISIONED" | "REMOVE_AFTER_GRACE_PERIOD"
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.

FreeInstanceMetadataExpireBehavior
, FreeInstanceMetadataExpireBehaviorArgs

ExpireBehaviorUnspecified
EXPIRE_BEHAVIOR_UNSPECIFIEDNot specified.
FreeToProvisioned
FREE_TO_PROVISIONEDWhen the free instance expires, upgrade the instance to a provisioned instance.
RemoveAfterGracePeriod
REMOVE_AFTER_GRACE_PERIODWhen the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
FreeInstanceMetadataExpireBehaviorExpireBehaviorUnspecified
EXPIRE_BEHAVIOR_UNSPECIFIEDNot specified.
FreeInstanceMetadataExpireBehaviorFreeToProvisioned
FREE_TO_PROVISIONEDWhen the free instance expires, upgrade the instance to a provisioned instance.
FreeInstanceMetadataExpireBehaviorRemoveAfterGracePeriod
REMOVE_AFTER_GRACE_PERIODWhen the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
ExpireBehaviorUnspecified
EXPIRE_BEHAVIOR_UNSPECIFIEDNot specified.
FreeToProvisioned
FREE_TO_PROVISIONEDWhen the free instance expires, upgrade the instance to a provisioned instance.
RemoveAfterGracePeriod
REMOVE_AFTER_GRACE_PERIODWhen the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
ExpireBehaviorUnspecified
EXPIRE_BEHAVIOR_UNSPECIFIEDNot specified.
FreeToProvisioned
FREE_TO_PROVISIONEDWhen the free instance expires, upgrade the instance to a provisioned instance.
RemoveAfterGracePeriod
REMOVE_AFTER_GRACE_PERIODWhen the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
EXPIRE_BEHAVIOR_UNSPECIFIED
EXPIRE_BEHAVIOR_UNSPECIFIEDNot specified.
FREE_TO_PROVISIONED
FREE_TO_PROVISIONEDWhen the free instance expires, upgrade the instance to a provisioned instance.
REMOVE_AFTER_GRACE_PERIOD
REMOVE_AFTER_GRACE_PERIODWhen the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
"EXPIRE_BEHAVIOR_UNSPECIFIED"
EXPIRE_BEHAVIOR_UNSPECIFIEDNot specified.
"FREE_TO_PROVISIONED"
FREE_TO_PROVISIONEDWhen the free instance expires, upgrade the instance to a provisioned instance.
"REMOVE_AFTER_GRACE_PERIOD"
REMOVE_AFTER_GRACE_PERIODWhen the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.

FreeInstanceMetadataResponse
, FreeInstanceMetadataResponseArgs

ExpireBehavior This property is required. string
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
ExpireTime This property is required. string
Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
UpgradeTime This property is required. string
If present, the timestamp at which the free instance was upgraded to a provisioned instance.
ExpireBehavior This property is required. string
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
ExpireTime This property is required. string
Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
UpgradeTime This property is required. string
If present, the timestamp at which the free instance was upgraded to a provisioned instance.
expireBehavior This property is required. String
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expireTime This property is required. String
Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
upgradeTime This property is required. String
If present, the timestamp at which the free instance was upgraded to a provisioned instance.
expireBehavior This property is required. string
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expireTime This property is required. string
Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
upgradeTime This property is required. string
If present, the timestamp at which the free instance was upgraded to a provisioned instance.
expire_behavior This property is required. str
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expire_time This property is required. str
Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
upgrade_time This property is required. str
If present, the timestamp at which the free instance was upgraded to a provisioned instance.
expireBehavior This property is required. String
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during or after creation, and before expiration.
expireTime This property is required. String
Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
upgradeTime This property is required. String
If present, the timestamp at which the free instance was upgraded to a provisioned instance.

InstanceInstanceType
, InstanceInstanceTypeArgs

InstanceTypeUnspecified
INSTANCE_TYPE_UNSPECIFIEDNot specified.
Provisioned
PROVISIONEDProvisioned instances have dedicated resources, standard usage limits and support.
FreeInstance
FREE_INSTANCEFree instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support.
InstanceInstanceTypeInstanceTypeUnspecified
INSTANCE_TYPE_UNSPECIFIEDNot specified.
InstanceInstanceTypeProvisioned
PROVISIONEDProvisioned instances have dedicated resources, standard usage limits and support.
InstanceInstanceTypeFreeInstance
FREE_INSTANCEFree instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support.
InstanceTypeUnspecified
INSTANCE_TYPE_UNSPECIFIEDNot specified.
Provisioned
PROVISIONEDProvisioned instances have dedicated resources, standard usage limits and support.
FreeInstance
FREE_INSTANCEFree instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support.
InstanceTypeUnspecified
INSTANCE_TYPE_UNSPECIFIEDNot specified.
Provisioned
PROVISIONEDProvisioned instances have dedicated resources, standard usage limits and support.
FreeInstance
FREE_INSTANCEFree instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support.
INSTANCE_TYPE_UNSPECIFIED
INSTANCE_TYPE_UNSPECIFIEDNot specified.
PROVISIONED
PROVISIONEDProvisioned instances have dedicated resources, standard usage limits and support.
FREE_INSTANCE
FREE_INSTANCEFree instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support.
"INSTANCE_TYPE_UNSPECIFIED"
INSTANCE_TYPE_UNSPECIFIEDNot specified.
"PROVISIONED"
PROVISIONEDProvisioned instances have dedicated resources, standard usage limits and support.
"FREE_INSTANCE"
FREE_INSTANCEFree instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi