Class InstanceArgs


  • public final class InstanceArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  InstanceArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static InstanceArgs.Builder builder()  
      static InstanceArgs.Builder builder​(InstanceArgs defaults)  
      com.pulumi.core.Output<java.lang.String> config()  
      com.pulumi.core.Output<java.lang.String> displayName()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDestroy()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> numNodes()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> processingUnits()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • config

        public com.pulumi.core.Output<java.lang.String> config()
        Returns:
        The name of the instance's configuration (similar but not quite the same as a region) which defines the geographic placement and replication of your databases in this instance. It determines where your data is stored. Values are typically of the form `regional-europe-west1` , `us-central` etc. In order to obtain a valid list please consult the [Configuration section of the docs](https://cloud.google.com/spanner/docs/instances).
      • displayName

        public com.pulumi.core.Output<java.lang.String> displayName()
        Returns:
        The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length. ***
      • forceDestroy

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDestroy()
        Returns:
        When deleting a spanner instance, this boolean option will delete all backups of this instance. This must be set to true if you created a backup manually in the console.
      • labels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        A unique identifier for the instance, which cannot be changed after the instance is created. The name must be between 6 and 30 characters in length. If not provided, a random string starting with `tf-` will be selected.
      • numNodes

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> numNodes()
        Returns:
        The number of nodes allocated to this instance. Exactly one of either node_count or processing_units must be present in terraform.
      • processingUnits

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> processingUnits()
        Returns:
        The number of processing units allocated to this instance. Exactly one of processing_units or node_count must be present in terraform.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The ID of the project in which the resource belongs. If it is not provided, the provider project is used.