Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.spanner/v1.Instance
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[str] = None,
display_name: Optional[str] = None,
endpoint_uris: Optional[Sequence[str]] = None,
free_instance_metadata: Optional[FreeInstanceMetadataArgs] = None,
instance_id: Optional[str] = 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)
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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
The Instance resource accepts the following input properties:
- Config string
The name of the instance's configuration. Values are of the form
projects//instanceConfigs/
. See also InstanceConfig and ListInstanceConfigs.- Display
Name 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.
- Instance
Id 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.- Endpoint
Uris List<string> Deprecated. This field is not populated.
Deprecated. This field is not populated.
- Free
Instance Pulumi.Metadata Google Native. Spanner. V1. Inputs. Free Instance Metadata Free instance metadata. Only populated for free instances.
- Instance
Type Pulumi.Google Native. Spanner. V1. Instance Instance Type 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.- 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 string
- Config string
The name of the instance's configuration. Values are of the form
projects//instanceConfigs/
. See also InstanceConfig and ListInstanceConfigs.- Display
Name 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.
- Instance
Id 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.- Endpoint
Uris []string Deprecated. This field is not populated.
Deprecated. This field is not populated.
- Free
Instance FreeMetadata Instance Metadata Args Free instance metadata. Only populated for free instances.
- Instance
Type InstanceInstance Type 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.- 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 string
- config String
The name of the instance's configuration. Values are of the form
projects//instanceConfigs/
. See also InstanceConfig and ListInstanceConfigs.- display
Name 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.
- instance
Id 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.- endpoint
Uris List<String> Deprecated. This field is not populated.
Deprecated. This field is not populated.
- free
Instance FreeMetadata Instance Metadata Free instance metadata. Only populated for free instances.
- instance
Type InstanceInstance Type 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.- node
Count 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.- processing
Units 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 String
- config string
The name of the instance's configuration. Values are of the form
projects//instanceConfigs/
. See also InstanceConfig and ListInstanceConfigs.- display
Name 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.
- instance
Id 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.- endpoint
Uris string[] Deprecated. This field is not populated.
Deprecated. This field is not populated.
- free
Instance FreeMetadata Instance Metadata Free instance metadata. Only populated for free instances.
- instance
Type InstanceInstance Type 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.- node
Count 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.- processing
Units 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 string
- config str
The name of the instance's configuration. Values are of the form
projects//instanceConfigs/
. See also InstanceConfig and ListInstanceConfigs.- display_
name 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 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.- endpoint_
uris Sequence[str] Deprecated. This field is not populated.
Deprecated. This field is not populated.
- free_
instance_ Freemetadata Instance Metadata Args Free instance metadata. Only populated for free instances.
- instance_
type InstanceInstance Type 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 str
- config String
The name of the instance's configuration. Values are of the form
projects//instanceConfigs/
. See also InstanceConfig and ListInstanceConfigs.- display
Name 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.
- instance
Id 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.- endpoint
Uris List<String> Deprecated. This field is not populated.
Deprecated. This field is not populated.
- free
Instance Property MapMetadata Free instance metadata. Only populated for free instances.
- instance
Type "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.- node
Count 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.- processing
Units 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 String
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Create
Time 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 toREADY
.- Update
Time string The time at which the instance was most recently updated.
- Create
Time 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 toREADY
.- Update
Time string The time at which the instance was most recently updated.
- create
Time 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 toREADY
.- update
Time String The time at which the instance was most recently updated.
- create
Time 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 toREADY
.- update
Time 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 toREADY
.- update_
time str The time at which the instance was most recently updated.
- create
Time 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 toREADY
.- update
Time String The time at which the instance was most recently updated.
Supporting Types
FreeInstanceMetadata, FreeInstanceMetadataArgs
- Expire
Behavior Pulumi.Google Native. Spanner. V1. Free Instance Metadata Expire Behavior 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 FreeInstance Metadata Expire Behavior 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 FreeInstance Metadata Expire Behavior 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 FreeInstance Metadata Expire Behavior 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 FreeInstance Metadata Expire Behavior 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 "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
- Expire
Behavior Unspecified - EXPIRE_BEHAVIOR_UNSPECIFIED
Not specified.
- Free
To Provisioned - FREE_TO_PROVISIONED
When the free instance expires, upgrade the instance to a provisioned instance.
- Remove
After Grace Period - REMOVE_AFTER_GRACE_PERIOD
When the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
- Free
Instance Metadata Expire Behavior Expire Behavior Unspecified - EXPIRE_BEHAVIOR_UNSPECIFIED
Not specified.
- Free
Instance Metadata Expire Behavior Free To Provisioned - FREE_TO_PROVISIONED
When the free instance expires, upgrade the instance to a provisioned instance.
- Free
Instance Metadata Expire Behavior Remove After Grace Period - REMOVE_AFTER_GRACE_PERIOD
When 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_UNSPECIFIED
Not specified.
- Free
To Provisioned - FREE_TO_PROVISIONED
When the free instance expires, upgrade the instance to a provisioned instance.
- Remove
After Grace Period - REMOVE_AFTER_GRACE_PERIOD
When 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_UNSPECIFIED
Not specified.
- Free
To Provisioned - FREE_TO_PROVISIONED
When the free instance expires, upgrade the instance to a provisioned instance.
- Remove
After Grace Period - REMOVE_AFTER_GRACE_PERIOD
When 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_UNSPECIFIED
Not specified.
- FREE_TO_PROVISIONED
- FREE_TO_PROVISIONED
When the free instance expires, upgrade the instance to a provisioned instance.
- REMOVE_AFTER_GRACE_PERIOD
- REMOVE_AFTER_GRACE_PERIOD
When 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_UNSPECIFIED
Not specified.
- "FREE_TO_PROVISIONED"
- FREE_TO_PROVISIONED
When the free instance expires, upgrade the instance to a provisioned instance.
- "REMOVE_AFTER_GRACE_PERIOD"
- REMOVE_AFTER_GRACE_PERIOD
When the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
FreeInstanceMetadataResponse, FreeInstanceMetadataResponseArgs
- Expire
Behavior 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.- Expire
Time 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.
- Upgrade
Time string If present, the timestamp at which the free instance was upgraded to a provisioned instance.
- Expire
Behavior 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.- Expire
Time 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.
- Upgrade
Time string If present, the timestamp at which the free instance was upgraded to a provisioned instance.
- expire
Behavior 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.- expire
Time 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.
- upgrade
Time String If present, the timestamp at which the free instance was upgraded to a provisioned instance.
- expire
Behavior 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.- expire
Time 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.
- upgrade
Time string If present, the timestamp at which the free instance was upgraded to a provisioned instance.
- expire_
behavior 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 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 str If present, the timestamp at which the free instance was upgraded to a provisioned instance.
- expire
Behavior 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.- expire
Time 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.
- upgrade
Time String If present, the timestamp at which the free instance was upgraded to a provisioned instance.
InstanceInstanceType, InstanceInstanceTypeArgs
- Instance
Type Unspecified - INSTANCE_TYPE_UNSPECIFIED
Not specified.
- Provisioned
- PROVISIONED
Provisioned instances have dedicated resources, standard usage limits and support.
- Free
Instance - FREE_INSTANCE
Free instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support.
- Instance
Instance Type Instance Type Unspecified - INSTANCE_TYPE_UNSPECIFIED
Not specified.
- Instance
Instance Type Provisioned - PROVISIONED
Provisioned instances have dedicated resources, standard usage limits and support.
- Instance
Instance Type Free Instance - FREE_INSTANCE
Free 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_UNSPECIFIED
Not specified.
- Provisioned
- PROVISIONED
Provisioned instances have dedicated resources, standard usage limits and support.
- Free
Instance - FREE_INSTANCE
Free 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_UNSPECIFIED
Not specified.
- Provisioned
- PROVISIONED
Provisioned instances have dedicated resources, standard usage limits and support.
- Free
Instance - FREE_INSTANCE
Free 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_UNSPECIFIED
Not specified.
- PROVISIONED
- PROVISIONED
Provisioned instances have dedicated resources, standard usage limits and support.
- FREE_INSTANCE
- FREE_INSTANCE
Free 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_UNSPECIFIED
Not specified.
- "PROVISIONED"
- PROVISIONED
Provisioned instances have dedicated resources, standard usage limits and support.
- "FREE_INSTANCE"
- FREE_INSTANCE
Free 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.