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

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

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 autoscaling_config: Optional[AutoscalingConfigArgs] = 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.
    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 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.
    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 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.
    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 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.
    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 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.
    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 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.
    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 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 AutoscalingLimits
    Autoscaling limits for an instance.
    AutoscalingTargets AutoscalingTargets
    The autoscaling targets for an instance.
    autoscalingLimits AutoscalingLimits
    Autoscaling limits for an instance.
    autoscalingTargets AutoscalingTargets
    The autoscaling targets for an instance.
    autoscalingLimits AutoscalingLimits
    Autoscaling limits for an instance.
    autoscalingTargets AutoscalingTargets
    The autoscaling targets for an instance.
    autoscaling_limits AutoscalingLimits
    Autoscaling limits for an instance.
    autoscaling_targets AutoscalingTargets
    The autoscaling targets for an instance.
    autoscalingLimits Property Map
    Autoscaling limits for an instance.
    autoscalingTargets Property Map
    The autoscaling targets for an instance.

    AutoscalingConfigResponse, AutoscalingConfigResponseArgs

    AutoscalingLimits AutoscalingLimitsResponse
    Autoscaling limits for an instance.
    AutoscalingTargets AutoscalingTargetsResponse
    The autoscaling targets for an instance.
    autoscalingLimits AutoscalingLimitsResponse
    Autoscaling limits for an instance.
    autoscalingTargets AutoscalingTargetsResponse
    The autoscaling targets for an instance.
    autoscalingLimits AutoscalingLimitsResponse
    Autoscaling limits for an instance.
    autoscalingTargets AutoscalingTargetsResponse
    The autoscaling targets for an instance.
    autoscaling_limits AutoscalingLimitsResponse
    Autoscaling limits for an instance.
    autoscaling_targets AutoscalingTargetsResponse
    The autoscaling targets for an instance.
    autoscalingLimits Property Map
    Autoscaling limits for an instance.
    autoscalingTargets 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 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.

    AutoscalingTargets, AutoscalingTargetsArgs

    HighPriorityCpuUtilizationPercent 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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_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-native logo

    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