Class InstanceArgs


  • public final class InstanceArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • configurationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> configurationId()
        Returns:
        Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
      • databases

        public java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceDatabaseArgs>>> databases()
        Returns:
        An array of database name, charset and collate. The database object structure is documented below.
      • datastore

        public com.pulumi.core.Output<InstanceDatastoreArgs> datastore()
        Returns:
        An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
      • flavorId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> flavorId()
        Returns:
        The flavor ID of the desired flavor for the instance. Changing this creates new instance.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        A unique name for the resource.
      • networks

        public java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceNetworkArgs>>> networks()
        Returns:
        An array of one or more networks to attach to the instance. The network object structure is documented below. Changing this creates a new instance.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        The region in which to create the db instance. Changing this creates a new instance.
      • size

        public com.pulumi.core.Output<java.lang.Integer> size()
        Returns:
        Specifies the volume size in GB. Changing this creates new instance.
      • users

        public java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceUserArgs>>> users()
        Returns:
        An array of username, password, host and databases. The user object structure is documented below.