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=[openstack.database.InstanceNetworkArgs(
uuid="c0612505-caf2-4fb0-b7cb-56a0240a2b12",
)],
datastore=openstack.database.InstanceDatastoreArgs(
version="mysql-5.7",
type="mysql",
))
package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/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 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.
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=openstack.database.InstanceDatastoreArgs(
type="string",
version="string",
),
size=0,
configuration_id="string",
databases=[openstack.database.InstanceDatabaseArgs(
name="string",
charset="string",
collate="string",
)],
flavor_id="string",
name="string",
networks=[openstack.database.InstanceNetworkArgs(
fixed_ip_v4="string",
fixed_ip_v6="string",
port="string",
uuid="string",
)],
region="string",
users=[openstack.database.InstanceUserArgs(
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
The Instance resource accepts the following input properties:
- Datastore
Pulumi.
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 int
- 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
List<Pulumi.
Open Stack. Database. Inputs. Instance Database> - An array of database name, charset and collate. The database object structure is documented below.
- Flavor
Id string - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name string
- A unique name for the resource.
- Networks
List<Pulumi.
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
List<Pulumi.
Open Stack. Database. Inputs. Instance User> - An array of username, password, host and databases. The user object structure is documented below.
- Datastore
Instance
Datastore Args - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- Size int
- 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
[]Instance
Database Args - An array of database name, charset and collate. The database object structure is documented below.
- Flavor
Id string - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name string
- A unique name for the resource.
- Networks
[]Instance
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
[]Instance
User Args - An array of username, password, host and databases. The user object structure is documented below.
- datastore
Instance
Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size Integer
- 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
List<Instance
Database> - An array of database name, charset and collate. The database object structure is documented below.
- flavor
Id String - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name String
- A unique name for the resource.
- networks
List<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
List<Instance
User> - An array of username, password, host and databases. The user object structure is documented below.
- datastore
Instance
Datastore - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size number
- 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
Instance
Database[] - An array of database name, charset and collate. The database object structure is documented below.
- flavor
Id string - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name string
- A unique name for the resource.
- networks
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
Instance
User[] - An array of username, password, host and databases. The user object structure is documented below.
- datastore
Instance
Datastore Args - An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size int
- 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
Sequence[Instance
Database Args] - An array of database name, charset and collate. The database object structure is documented below.
- flavor_
id str - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name str
- A unique name for the resource.
- networks
Sequence[Instance
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
Sequence[Instance
User Args] - An array of username, password, host and databases. The user object structure is documented below.
- datastore Property Map
- An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- size Number
- 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 List<Property Map>
- An array of database name, charset and collate. The database object structure is documented below.
- flavor
Id String - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name String
- A unique name for the resource.
- networks List<Property Map>
- 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 List<Property Map>
- 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
List<Pulumi.
Open Stack. Database. Inputs. Instance Database> - An array of database name, charset and collate. The database object structure is documented below.
- Datastore
Pulumi.
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 string - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name string
- A unique name for the resource.
- Networks
List<Pulumi.
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 int
- Specifies the volume size in GB. Changing this creates new instance.
- Users
List<Pulumi.
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
[]Instance
Database Args - An array of database name, charset and collate. The database object structure is documented below.
- Datastore
Instance
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 string - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- Name string
- A unique name for the resource.
- Networks
[]Instance
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 int
- Specifies the volume size in GB. Changing this creates new instance.
- Users
[]Instance
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
List<Instance
Database> - An array of database name, charset and collate. The database object structure is documented below.
- datastore
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 String - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name String
- A unique name for the resource.
- networks
List<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 Integer
- Specifies the volume size in GB. Changing this creates new instance.
- users
List<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
Instance
Database[] - An array of database name, charset and collate. The database object structure is documented below.
- datastore
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 string - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name string
- A unique name for the resource.
- networks
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 number
- Specifies the volume size in GB. Changing this creates new instance.
- users
Instance
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
Sequence[Instance
Database Args] - An array of database name, charset and collate. The database object structure is documented below.
- datastore
Instance
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 str - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name str
- A unique name for the resource.
- networks
Sequence[Instance
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 int
- Specifies the volume size in GB. Changing this creates new instance.
- users
Sequence[Instance
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 List<Property Map>
- An array of database name, charset and collate. The database object structure is documented below.
- datastore Property Map
- An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
- flavor
Id String - The flavor ID of the desired flavor for the instance. Changing this creates new instance.
- name String
- A unique name for the resource.
- networks List<Property Map>
- 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 Number
- Specifies the volume size in GB. Changing this creates new instance.
- users List<Property Map>
- An array of username, password, host and databases. The user object structure is documented below.
Supporting Types
InstanceDatabase, InstanceDatabaseArgs
InstanceDatastore, InstanceDatastoreArgs
InstanceNetwork, InstanceNetworkArgs
- Fixed
Ip stringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- Fixed
Ip stringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- Port string
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- Uuid string
- The network UUID to attach to the instance. Changing this creates a new instance.
- Fixed
Ip stringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- Fixed
Ip stringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- Port string
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- Uuid string
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed
Ip StringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed
Ip StringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port String
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid String
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed
Ip stringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed
Ip stringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port string
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid string
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed_
ip_ strv4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed_
ip_ strv6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port str
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid str
- The network UUID to attach to the instance. Changing this creates a new instance.
- fixed
Ip StringV4 - Specifies a fixed IPv4 address to be used on this network. Changing this creates a new instance.
- fixed
Ip StringV6 - Specifies a fixed IPv6 address to be used on this network. Changing this creates a new instance.
- port String
- The port UUID of a network to attach to the instance. Changing this creates a new instance.
- uuid String
- The network UUID to attach to the instance. Changing this creates a new instance.
InstanceUser, InstanceUserArgs
- Name string
- Username to be created on new instance. Changing this creates a new instance.
- Databases List<string>
- 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 string
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- Password string
- User's password. Changing this creates a new instance.
- Name string
- Username to be created on new instance. Changing this creates a new instance.
- Databases []string
- 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 string
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- Password string
- User's password. Changing this creates a new instance.
- name String
- Username to be created on new instance. Changing this creates a new instance.
- databases List<String>
- 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 String
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password String
- User's password. Changing this creates a new instance.
- name string
- Username to be created on new instance. Changing this creates a new instance.
- databases string[]
- 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 string
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password string
- User's password. Changing this creates a new instance.
- name str
- Username to be created on new instance. Changing this creates a new instance.
- databases Sequence[str]
- 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 str
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password str
- User's password. Changing this creates a new instance.
- name String
- Username to be created on new instance. Changing this creates a new instance.
- databases List<String>
- 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 String
- An ip address or % sign indicating what ip addresses can connect with this user credentials. Changing this creates a new instance.
- password String
- 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.