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.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.spanner/v1.Instance

Explore with Pulumi AI

google-native logo

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

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 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

    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.

    DisplayName 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 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.

    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 string
    Config string

    The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.

    DisplayName 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 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.

    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 string
    config String

    The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.

    displayName 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 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.

    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 String
    config string

    The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.

    displayName 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 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.

    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 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:

    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 str
    config String

    The name of the instance's configuration. Values are of the form projects//instanceConfigs/. See also InstanceConfig and ListInstanceConfigs.

    displayName 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 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.

    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 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

    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_UNSPECIFIED

    Not specified.

    FreeToProvisioned
    FREE_TO_PROVISIONED

    When the free instance expires, upgrade the instance to a provisioned instance.

    RemoveAfterGracePeriod
    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.

    FreeInstanceMetadataExpireBehaviorExpireBehaviorUnspecified
    EXPIRE_BEHAVIOR_UNSPECIFIED

    Not specified.

    FreeInstanceMetadataExpireBehaviorFreeToProvisioned
    FREE_TO_PROVISIONED

    When the free instance expires, upgrade the instance to a provisioned instance.

    FreeInstanceMetadataExpireBehaviorRemoveAfterGracePeriod
    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.

    ExpireBehaviorUnspecified
    EXPIRE_BEHAVIOR_UNSPECIFIED

    Not specified.

    FreeToProvisioned
    FREE_TO_PROVISIONED

    When the free instance expires, upgrade the instance to a provisioned instance.

    RemoveAfterGracePeriod
    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.

    ExpireBehaviorUnspecified
    EXPIRE_BEHAVIOR_UNSPECIFIED

    Not specified.

    FreeToProvisioned
    FREE_TO_PROVISIONED

    When the free instance expires, upgrade the instance to a provisioned instance.

    RemoveAfterGracePeriod
    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

    ExpireBehavior 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 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 string

    If present, the timestamp at which the free instance was upgraded to a provisioned instance.

    ExpireBehavior 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 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 string

    If present, the timestamp at which the free instance was upgraded to a provisioned instance.

    expireBehavior 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 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 String

    If present, the timestamp at which the free instance was upgraded to a provisioned instance.

    expireBehavior 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 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 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.

    expireBehavior 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 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 String

    If present, the timestamp at which the free instance was upgraded to a provisioned instance.

    InstanceInstanceType, InstanceInstanceTypeArgs

    InstanceTypeUnspecified
    INSTANCE_TYPE_UNSPECIFIED

    Not specified.

    Provisioned
    PROVISIONED

    Provisioned instances have dedicated resources, standard usage limits and support.

    FreeInstance
    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.

    InstanceInstanceTypeInstanceTypeUnspecified
    INSTANCE_TYPE_UNSPECIFIED

    Not specified.

    InstanceInstanceTypeProvisioned
    PROVISIONED

    Provisioned instances have dedicated resources, standard usage limits and support.

    InstanceInstanceTypeFreeInstance
    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.

    InstanceTypeUnspecified
    INSTANCE_TYPE_UNSPECIFIED

    Not specified.

    Provisioned
    PROVISIONED

    Provisioned instances have dedicated resources, standard usage limits and support.

    FreeInstance
    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.

    InstanceTypeUnspecified
    INSTANCE_TYPE_UNSPECIFIED

    Not specified.

    Provisioned
    PROVISIONED

    Provisioned instances have dedicated resources, standard usage limits and support.

    FreeInstance
    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-native logo

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

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi