openstack.database.Instance
Explore with Pulumi AI
Manages a V1 DB instance resource within OpenStack.
Note: All arguments including the instance user password will be stored in the raw state as plain-text. Read more about sensitive data in state.
Example Usage
Instance
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const test = new openstack.database.Instance("test", {
region: "region-test",
name: "test",
flavorId: "31792d21-c355-4587-9290-56c1ed0ca376",
size: 8,
networks: [{
uuid: "c0612505-caf2-4fb0-b7cb-56a0240a2b12",
}],
datastore: {
version: "mysql-5.7",
type: "mysql",
},
});
import pulumi
import pulumi_openstack as openstack
test = openstack.database.Instance("test",
region="region-test",
name="test",
flavor_id="31792d21-c355-4587-9290-56c1ed0ca376",
size=8,
networks=[{
"uuid": "c0612505-caf2-4fb0-b7cb-56a0240a2b12",
}],
datastore={
"version": "mysql-5.7",
"type": "mysql",
})
package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.NewInstance(ctx, "test", &database.InstanceArgs{
Region: pulumi.String("region-test"),
Name: pulumi.String("test"),
FlavorId: pulumi.String("31792d21-c355-4587-9290-56c1ed0ca376"),
Size: pulumi.Int(8),
Networks: database.InstanceNetworkArray{
&database.InstanceNetworkArgs{
Uuid: pulumi.String("c0612505-caf2-4fb0-b7cb-56a0240a2b12"),
},
},
Datastore: &database.InstanceDatastoreArgs{
Version: pulumi.String("mysql-5.7"),
Type: pulumi.String("mysql"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using OpenStack = Pulumi.OpenStack;
return await Deployment.RunAsync(() =>
{
var test = new OpenStack.Database.Instance("test", new()
{
Region = "region-test",
Name = "test",
FlavorId = "31792d21-c355-4587-9290-56c1ed0ca376",
Size = 8,
Networks = new[]
{
new OpenStack.Database.Inputs.InstanceNetworkArgs
{
Uuid = "c0612505-caf2-4fb0-b7cb-56a0240a2b12",
},
},
Datastore = new OpenStack.Database.Inputs.InstanceDatastoreArgs
{
Version = "mysql-5.7",
Type = "mysql",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.database.Instance;
import com.pulumi.openstack.database.InstanceArgs;
import com.pulumi.openstack.database.inputs.InstanceNetworkArgs;
import com.pulumi.openstack.database.inputs.InstanceDatastoreArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Instance("test", InstanceArgs.builder()
.region("region-test")
.name("test")
.flavorId("31792d21-c355-4587-9290-56c1ed0ca376")
.size(8)
.networks(InstanceNetworkArgs.builder()
.uuid("c0612505-caf2-4fb0-b7cb-56a0240a2b12")
.build())
.datastore(InstanceDatastoreArgs.builder()
.version("mysql-5.7")
.type("mysql")
.build())
.build());
}
}
resources:
test:
type: openstack:database:Instance
properties:
region: region-test
name: test
flavorId: 31792d21-c355-4587-9290-56c1ed0ca376
size: 8
networks:
- uuid: c0612505-caf2-4fb0-b7cb-56a0240a2b12
datastore:
version: mysql-5.7
type: mysql
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
datastore: Optional[InstanceDatastoreArgs] = None,
size: Optional[int] = None,
configuration_id: Optional[str] = None,
databases: Optional[Sequence[InstanceDatabaseArgs]] = None,
flavor_id: Optional[str] = None,
name: Optional[str] = None,
networks: Optional[Sequence[InstanceNetworkArgs]] = None,
region: Optional[str] = None,
users: Optional[Sequence[InstanceUserArgs]] = 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: openstack:database:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. InstanceArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var openstackInstanceResource = new OpenStack.Database.Instance("openstackInstanceResource", new()
{
Datastore = new OpenStack.Database.Inputs.InstanceDatastoreArgs
{
Type = "string",
Version = "string",
},
Size = 0,
ConfigurationId = "string",
Databases = new[]
{
new OpenStack.Database.Inputs.InstanceDatabaseArgs
{
Name = "string",
Charset = "string",
Collate = "string",
},
},
FlavorId = "string",
Name = "string",
Networks = new[]
{
new OpenStack.Database.Inputs.InstanceNetworkArgs
{
FixedIpV4 = "string",
FixedIpV6 = "string",
Port = "string",
Uuid = "string",
},
},
Region = "string",
Users = new[]
{
new OpenStack.Database.Inputs.InstanceUserArgs
{
Name = "string",
Databases = new[]
{
"string",
},
Host = "string",
Password = "string",
},
},
});
example, err := database.NewInstance(ctx, "openstackInstanceResource", &database.InstanceArgs{
Datastore: &database.InstanceDatastoreArgs{
Type: pulumi.String("string"),
Version: pulumi.String("string"),
},
Size: pulumi.Int(0),
ConfigurationId: pulumi.String("string"),
Databases: database.InstanceDatabaseArray{
&database.InstanceDatabaseArgs{
Name: pulumi.String("string"),
Charset: pulumi.String("string"),
Collate: pulumi.String("string"),
},
},
FlavorId: pulumi.String("string"),
Name: pulumi.String("string"),
Networks: database.InstanceNetworkArray{
&database.InstanceNetworkArgs{
FixedIpV4: pulumi.String("string"),
FixedIpV6: pulumi.String("string"),
Port: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
Users: database.InstanceUserArray{
&database.InstanceUserArgs{
Name: pulumi.String("string"),
Databases: pulumi.StringArray{
pulumi.String("string"),
},
Host: pulumi.String("string"),
Password: pulumi.String("string"),
},
},
})
var openstackInstanceResource = new Instance("openstackInstanceResource", InstanceArgs.builder()
.datastore(InstanceDatastoreArgs.builder()
.type("string")
.version("string")
.build())
.size(0)
.configurationId("string")
.databases(InstanceDatabaseArgs.builder()
.name("string")
.charset("string")
.collate("string")
.build())
.flavorId("string")
.name("string")
.networks(InstanceNetworkArgs.builder()
.fixedIpV4("string")
.fixedIpV6("string")
.port("string")
.uuid("string")
.build())
.region("string")
.users(InstanceUserArgs.builder()
.name("string")
.databases("string")
.host("string")
.password("string")
.build())
.build());
openstack_instance_resource = openstack.database.Instance("openstackInstanceResource",
datastore={
"type": "string",
"version": "string",
},
size=0,
configuration_id="string",
databases=[{
"name": "string",
"charset": "string",
"collate": "string",
}],
flavor_id="string",
name="string",
networks=[{
"fixed_ip_v4": "string",
"fixed_ip_v6": "string",
"port": "string",
"uuid": "string",
}],
region="string",
users=[{
"name": "string",
"databases": ["string"],
"host": "string",
"password": "string",
}])
const openstackInstanceResource = new openstack.database.Instance("openstackInstanceResource", {
datastore: {
type: "string",
version: "string",
},
size: 0,
configurationId: "string",
databases: [{
name: "string",
charset: "string",
collate: "string",
}],
flavorId: "string",
name: "string",
networks: [{
fixedIpV4: "string",
fixedIpV6: "string",
port: "string",
uuid: "string",
}],
region: "string",
users: [{
name: "string",
databases: ["string"],
host: "string",
password: "string",
}],
});
type: openstack:database:Instance
properties:
configurationId: string
databases:
- charset: string
collate: string
name: string
datastore:
type: string
version: string
flavorId: string
name: string
networks:
- fixedIpV4: string
fixedIpV6: string
port: string
uuid: string
region: string
size: 0
users:
- databases:
- string
host: string
name: string
password: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Instance resource accepts the following input properties:
- Datastore
This property is required. Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- Size
This property is required. Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- Configuration
Id string - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- Databases
Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance Database> - An array of database name, charset and collate. The database object structure is documented below.
- Flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name
Changes to this property will trigger replacement.
- A unique name for the resource.
- Networks
Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance Network> - 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 string
- The region in which to create the db instance. Changing this creates a new instance.
- Users
Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance User> - An array of username, password, host and databases. The user object structure is documented below.
- Datastore
This property is required. Changes to this property will trigger replacement.
Datastore Args - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- Size
This property is required. Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- Configuration
Id string - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- Databases
Changes to this property will trigger replacement.
Database Args - An array of database name, charset and collate. The database object structure is documented below.
- Flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name
Changes to this property will trigger replacement.
- A unique name for the resource.
- Networks
Changes to this property will trigger replacement.
Network Args - 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 string
- The region in which to create the db instance. Changing this creates a new instance.
- Users
Changes to this property will trigger replacement.
User Args - An array of username, password, host and databases. The user object structure is documented below.
- datastore
This property is required. Changes to this property will trigger replacement.
Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size
This property is required. Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- configuration
Id String - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
Database> - An array of database name, charset and collate. The database object structure is documented below.
- flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
Network> - 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 String
- The region in which to create the db instance. Changing this creates a new instance.
- users
Changes to this property will trigger replacement.
User> - An array of username, password, host and databases. The user object structure is documented below.
- datastore
This property is required. Changes to this property will trigger replacement.
Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size
This property is required. Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- configuration
Id string - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
Database[] - An array of database name, charset and collate. The database object structure is documented below.
- flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
Network[] - 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 string
- The region in which to create the db instance. Changing this creates a new instance.
- users
Changes to this property will trigger replacement.
User[] - An array of username, password, host and databases. The user object structure is documented below.
- datastore
This property is required. Changes to this property will trigger replacement.
Datastore Args - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size
This property is required. Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- configuration_
id str - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
Database Args] - An array of database name, charset and collate. The database object structure is documented below.
- flavor_
id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
Network Args] - 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 str
- The region in which to create the db instance. Changing this creates a new instance.
- users
Changes to this property will trigger replacement.
User Args] - An array of username, password, host and databases. The user object structure is documented below.
- datastore
This property is required. Changes to this property will trigger replacement.
- An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size
This property is required. Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- configuration
Id String - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
- An array of database name, charset and collate. The database object structure is documented below.
- flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
- 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 String
- The region in which to create the db instance. Changing this creates a new instance.
- users
Changes to this property will trigger replacement.
- An array of username, password, host and databases. The user object structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
Look up Existing Instance Resource
Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addresses: Optional[Sequence[str]] = None,
configuration_id: Optional[str] = None,
databases: Optional[Sequence[InstanceDatabaseArgs]] = None,
datastore: Optional[InstanceDatastoreArgs] = None,
flavor_id: Optional[str] = None,
name: Optional[str] = None,
networks: Optional[Sequence[InstanceNetworkArgs]] = None,
region: Optional[str] = None,
size: Optional[int] = None,
users: Optional[Sequence[InstanceUserArgs]] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
resources: _: type: openstack:database:Instance get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addresses List<string>
- A list of IP addresses assigned to the instance.
- Configuration
Id string - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- Databases
Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance Database> - An array of database name, charset and collate. The database object structure is documented below.
- Datastore
Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- Flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name
Changes to this property will trigger replacement.
- A unique name for the resource.
- Networks
Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance Network> - 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 string
- The region in which to create the db instance. Changing this creates a new instance.
- Size
Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- Users
Changes to this property will trigger replacement.
Open Stack. Database. Inputs. Instance User> - An array of username, password, host and databases. The user object structure is documented below.
- Addresses []string
- A list of IP addresses assigned to the instance.
- Configuration
Id string - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- Databases
Changes to this property will trigger replacement.
Database Args - An array of database name, charset and collate. The database object structure is documented below.
- Datastore
Changes to this property will trigger replacement.
Datastore Args - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- Flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name
Changes to this property will trigger replacement.
- A unique name for the resource.
- Networks
Changes to this property will trigger replacement.
Network Args - 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 string
- The region in which to create the db instance. Changing this creates a new instance.
- Size
Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- Users
Changes to this property will trigger replacement.
User Args - An array of username, password, host and databases. The user object structure is documented below.
- addresses List<String>
- A list of IP addresses assigned to the instance.
- configuration
Id String - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
Database> - An array of database name, charset and collate. The database object structure is documented below.
- datastore
Changes to this property will trigger replacement.
Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
Network> - 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 String
- The region in which to create the db instance. Changing this creates a new instance.
- size
Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- users
Changes to this property will trigger replacement.
User> - An array of username, password, host and databases. The user object structure is documented below.
- addresses string[]
- A list of IP addresses assigned to the instance.
- configuration
Id string - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
Database[] - An array of database name, charset and collate. The database object structure is documented below.
- datastore
Changes to this property will trigger replacement.
Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
Network[] - 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 string
- The region in which to create the db instance. Changing this creates a new instance.
- size
Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- users
Changes to this property will trigger replacement.
User[] - An array of username, password, host and databases. The user object structure is documented below.
- addresses Sequence[str]
- A list of IP addresses assigned to the instance.
- configuration_
id str - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
Database Args] - An array of database name, charset and collate. The database object structure is documented below.
- datastore
Changes to this property will trigger replacement.
Datastore Args - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- flavor_
id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
Network Args] - 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 str
- The region in which to create the db instance. Changing this creates a new instance.
- size
Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- users
Changes to this property will trigger replacement.
User Args] - An array of username, password, host and databases. The user object structure is documented below.
- addresses List<String>
- A list of IP addresses assigned to the instance.
- configuration
Id String - Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
- databases
Changes to this property will trigger replacement.
- An array of database name, charset and collate. The database object structure is documented below.
- datastore
Changes to this property will trigger replacement.
- An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- flavor
Id Changes to this property will trigger replacement.
- The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name
Changes to this property will trigger replacement.
- A unique name for the resource.
- networks
Changes to this property will trigger replacement.
- 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 String
- The region in which to create the db instance. Changing this creates a new instance.
- size
Changes to this property will trigger replacement.
- Specifies the volume size in GB. Changing this creates new instance.
- users
Changes to this property will trigger replacement.
- An array of username, password, host and databases. The user object structure is documented below.
Supporting Types
InstanceDatabase, InstanceDatabaseArgs
- Name
This property is required. Changes to this property will trigger replacement.
- Database to be created on new instance. Changing this creates a new instance.
- Charset
Changes to this property will trigger replacement.
- Database character set. Changing this creates a new instance.
- Collate
Changes to this property will trigger replacement.
- Database collation. Changing this creates a new instance.
- Name
This property is required. Changes to this property will trigger replacement.
- Database to be created on new instance. Changing this creates a new instance.
- Charset
Changes to this property will trigger replacement.
- Database character set. Changing this creates a new instance.
- Collate
Changes to this property will trigger replacement.
- Database collation. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Database to be created on new instance. Changing this creates a new instance.
- charset
Changes to this property will trigger replacement.
- Database character set. Changing this creates a new instance.
- collate
Changes to this property will trigger replacement.
- Database collation. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Database to be created on new instance. Changing this creates a new instance.
- charset
Changes to this property will trigger replacement.
- Database character set. Changing this creates a new instance.
- collate
Changes to this property will trigger replacement.
- Database collation. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Database to be created on new instance. Changing this creates a new instance.
- charset
Changes to this property will trigger replacement.
- Database character set. Changing this creates a new instance.
- collate
Changes to this property will trigger replacement.
- Database collation. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Database to be created on new instance. Changing this creates a new instance.
- charset
Changes to this property will trigger replacement.
- Database character set. Changing this creates a new instance.
- collate
Changes to this property will trigger replacement.
- Database collation. Changing this creates a new instance.
InstanceDatastore, InstanceDatastoreArgs
- Type
This property is required. Changes to this property will trigger replacement.
- Database engine type to be used in new instance. Changing this creates a new instance.
- Version
This property is required. Changes to this property will trigger replacement.
- Version of database engine type to be used in new instance. Changing this creates a new instance.
- Type
This property is required. Changes to this property will trigger replacement.
- Database engine type to be used in new instance. Changing this creates a new instance.
- Version
This property is required. Changes to this property will trigger replacement.
- Version of database engine type to be used in new instance. Changing this creates a new instance.
- type
This property is required. Changes to this property will trigger replacement.
- Database engine type to be used in new instance. Changing this creates a new instance.
- version
This property is required. Changes to this property will trigger replacement.
- Version of database engine type to be used in new instance. Changing this creates a new instance.
- type
This property is required. Changes to this property will trigger replacement.
- Database engine type to be used in new instance. Changing this creates a new instance.
- version
This property is required. Changes to this property will trigger replacement.
- Version of database engine type to be used in new instance. Changing this creates a new instance.
- type
This property is required. Changes to this property will trigger replacement.
- Database engine type to be used in new instance. Changing this creates a new instance.
- version
This property is required. Changes to this property will trigger replacement.
- Version of database engine type to be used in new instance. Changing this creates a new instance.
- type
This property is required. Changes to this property will trigger replacement.
- Database engine type to be used in new instance. Changing this creates a new instance.
- version
This property is required. Changes to this property will trigger replacement.
- Version of database engine type to be used in new instance. Changing this creates a new instance.
InstanceNetwork, InstanceNetworkArgs
- Fixed
Ip V4 Changes to this property will trigger replacement.
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- Fixed
Ip V6 Changes to this property will trigger replacement.
- Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- Port
Changes to this property will trigger replacement.
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- Uuid
Changes to this property will trigger replacement.
- The network UUID to attach to the instance. Changing this creates a new instance.
- Fixed
Ip V4 Changes to this property will trigger replacement.
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- Fixed
Ip V6 Changes to this property will trigger replacement.
- Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- Port
Changes to this property will trigger replacement.
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- Uuid
Changes to this property will trigger replacement.
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed
Ip V4 Changes to this property will trigger replacement.
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed
Ip V6 Changes to this property will trigger replacement.
- Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port
Changes to this property will trigger replacement.
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid
Changes to this property will trigger replacement.
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed
Ip V4 Changes to this property will trigger replacement.
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed
Ip V6 Changes to this property will trigger replacement.
- Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port
Changes to this property will trigger replacement.
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid
Changes to this property will trigger replacement.
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed_
ip_ v4 Changes to this property will trigger replacement.
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed_
ip_ v6 Changes to this property will trigger replacement.
- Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port
Changes to this property will trigger replacement.
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid
Changes to this property will trigger replacement.
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed
Ip V4 Changes to this property will trigger replacement.
- Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed
Ip V6 Changes to this property will trigger replacement.
- Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port
Changes to this property will trigger replacement.
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid
Changes to this property will trigger replacement.
- The network UUID to attach to the instance. Changing this creates a new instance.
InstanceUser, InstanceUserArgs
- Name
This property is required. Changes to this property will trigger replacement.
- Username to be created on new instance. Changing this creates a new instance.
- Databases
Changes to this property will trigger replacement.
- A list of databases that user will have access to. If not specified, user has access to all databases on th einstance. Changing this creates a new instance.
- Host
Changes to this property will trigger replacement.
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- Password
Changes to this property will trigger replacement.
- User's password. Changing this creates a new instance.
- Name
This property is required. Changes to this property will trigger replacement.
- Username to be created on new instance. Changing this creates a new instance.
- Databases
Changes to this property will trigger replacement.
- A list of databases that user will have access to. If not specified, user has access to all databases on th einstance. Changing this creates a new instance.
- Host
Changes to this property will trigger replacement.
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- Password
Changes to this property will trigger replacement.
- User's password. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Username to be created on new instance. Changing this creates a new instance.
- databases
Changes to this property will trigger replacement.
- A list of databases that user will have access to. If not specified, user has access to all databases on th einstance. Changing this creates a new instance.
- host
Changes to this property will trigger replacement.
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password
Changes to this property will trigger replacement.
- User's password. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Username to be created on new instance. Changing this creates a new instance.
- databases
Changes to this property will trigger replacement.
- A list of databases that user will have access to. If not specified, user has access to all databases on th einstance. Changing this creates a new instance.
- host
Changes to this property will trigger replacement.
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password
Changes to this property will trigger replacement.
- User's password. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Username to be created on new instance. Changing this creates a new instance.
- databases
Changes to this property will trigger replacement.
- A list of databases that user will have access to. If not specified, user has access to all databases on th einstance. Changing this creates a new instance.
- host
Changes to this property will trigger replacement.
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password
Changes to this property will trigger replacement.
- User's password. Changing this creates a new instance.
- name
This property is required. Changes to this property will trigger replacement.
- Username to be created on new instance. Changing this creates a new instance.
- databases
Changes to this property will trigger replacement.
- A list of databases that user will have access to. If not specified, user has access to all databases on th einstance. Changing this creates a new instance.
- host
Changes to this property will trigger replacement.
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password
Changes to this property will trigger replacement.
- User's password. Changing this creates a new instance.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstack
Terraform Provider.