Documentation ¶
Index ¶
- type Configuration
- func (r *Configuration) Configurations() *pulumi.ArrayOutput
- func (r *Configuration) Datastore() *pulumi.Output
- func (r *Configuration) Description() *pulumi.StringOutput
- func (r *Configuration) ID() *pulumi.IDOutput
- func (r *Configuration) Name() *pulumi.StringOutput
- func (r *Configuration) Region() *pulumi.StringOutput
- func (r *Configuration) URN() *pulumi.URNOutput
- type ConfigurationArgs
- type ConfigurationState
- type Database
- type DatabaseArgs
- type DatabaseState
- type Instance
- func (r *Instance) ConfigurationId() *pulumi.StringOutput
- func (r *Instance) Databases() *pulumi.ArrayOutput
- func (r *Instance) Datastore() *pulumi.Output
- func (r *Instance) FlavorId() *pulumi.StringOutput
- func (r *Instance) ID() *pulumi.IDOutput
- func (r *Instance) Name() *pulumi.StringOutput
- func (r *Instance) Networks() *pulumi.ArrayOutput
- func (r *Instance) Region() *pulumi.StringOutput
- func (r *Instance) Size() *pulumi.IntOutput
- func (r *Instance) URN() *pulumi.URNOutput
- func (r *Instance) Users() *pulumi.ArrayOutput
- type InstanceArgs
- type InstanceState
- type User
- func (r *User) Databases() *pulumi.ArrayOutput
- func (r *User) Host() *pulumi.StringOutput
- func (r *User) ID() *pulumi.IDOutput
- func (r *User) InstanceId() *pulumi.StringOutput
- func (r *User) Name() *pulumi.StringOutput
- func (r *User) Password() *pulumi.StringOutput
- func (r *User) Region() *pulumi.StringOutput
- func (r *User) URN() *pulumi.URNOutput
- type UserArgs
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
Manages a V1 DB configuration resource within OpenStack.
func GetConfiguration ¶
func GetConfiguration(ctx *pulumi.Context, name string, id pulumi.ID, state *ConfigurationState, opts ...pulumi.ResourceOpt) (*Configuration, error)
GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConfiguration ¶
func NewConfiguration(ctx *pulumi.Context, name string, args *ConfigurationArgs, opts ...pulumi.ResourceOpt) (*Configuration, error)
NewConfiguration registers a new resource with the given unique name, arguments, and options.
func (*Configuration) Configurations ¶
func (r *Configuration) Configurations() *pulumi.ArrayOutput
An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.
func (*Configuration) Datastore ¶
func (r *Configuration) Datastore() *pulumi.Output
An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.
func (*Configuration) Description ¶
func (r *Configuration) Description() *pulumi.StringOutput
Description of the resource.
func (*Configuration) ID ¶
func (r *Configuration) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Configuration) Name ¶
func (r *Configuration) Name() *pulumi.StringOutput
A unique name for the resource.
func (*Configuration) Region ¶
func (r *Configuration) Region() *pulumi.StringOutput
The region in which to create the db instance. Changing this creates a new instance.
func (*Configuration) URN ¶
func (r *Configuration) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ConfigurationArgs ¶
type ConfigurationArgs struct { // An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below. Configurations interface{} // An array of database engine type and version. The datastore // object structure is documented below. Changing this creates resource. Datastore interface{} // Description of the resource. Description interface{} // A unique name for the resource. Name interface{} // The region in which to create the db instance. Changing this // creates a new instance. Region interface{} }
The set of arguments for constructing a Configuration resource.
type ConfigurationState ¶
type ConfigurationState struct { // An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below. Configurations interface{} // An array of database engine type and version. The datastore // object structure is documented below. Changing this creates resource. Datastore interface{} // Description of the resource. Description interface{} // A unique name for the resource. Name interface{} // The region in which to create the db instance. Changing this // creates a new instance. Region interface{} }
Input properties used for looking up and filtering Configuration resources.
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Manages a V1 DB database resource within OpenStack.
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.ID, state *DatabaseState, opts ...pulumi.ResourceOpt) (*Database, error)
GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatabase ¶
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOpt) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
func (*Database) InstanceId ¶
func (r *Database) InstanceId() *pulumi.StringOutput
The ID for the database instance.
func (*Database) Name ¶
func (r *Database) Name() *pulumi.StringOutput
A unique name for the resource.
func (*Database) Region ¶
func (r *Database) Region() *pulumi.StringOutput
Openstack region resource is created in.
type DatabaseArgs ¶
type DatabaseArgs struct { // The ID for the database instance. InstanceId interface{} // A unique name for the resource. Name interface{} // Openstack region resource is created in. Region interface{} }
The set of arguments for constructing a Database resource.
type DatabaseState ¶
type DatabaseState struct { // The ID for the database instance. InstanceId interface{} // A unique name for the resource. Name interface{} // Openstack region resource is created in. Region interface{} }
Input properties used for looking up and filtering Database resources.
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Manages a V1 DB instance resource within OpenStack.
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.ID, state *InstanceState, opts ...pulumi.ResourceOpt) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOpt) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ConfigurationId ¶
func (r *Instance) ConfigurationId() *pulumi.StringOutput
Configuration ID to be attached to the instance. Database instance will be rebooted when configuration is detached.
func (*Instance) Databases ¶
func (r *Instance) Databases() *pulumi.ArrayOutput
An array of database name, charset and collate. The database object structure is documented below.
func (*Instance) Datastore ¶
An array of database engine type and version. The datastore object structure is documented below. Changing this creates a new instance.
func (*Instance) FlavorId ¶
func (r *Instance) FlavorId() *pulumi.StringOutput
The flavor ID of the desired flavor for the instance. Changing this creates new instance.
func (*Instance) Name ¶
func (r *Instance) Name() *pulumi.StringOutput
A unique name for the resource.
func (*Instance) Networks ¶
func (r *Instance) Networks() *pulumi.ArrayOutput
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.
func (*Instance) Region ¶
func (r *Instance) Region() *pulumi.StringOutput
The region in which to create the db instance. Changing this creates a new instance.
func (*Instance) Users ¶
func (r *Instance) Users() *pulumi.ArrayOutput
An array of username, password, host and databases. The user object structure is documented below.
type InstanceArgs ¶
type InstanceArgs struct { // Configuration ID to be attached to the instance. Database instance // will be rebooted when configuration is detached. ConfigurationId interface{} // An array of database name, charset and collate. The database // object structure is documented below. Databases interface{} // An array of database engine type and version. The datastore // object structure is documented below. Changing this creates a new instance. Datastore interface{} // The flavor ID of the desired flavor for the instance. // Changing this creates new instance. FlavorId interface{} // A unique name for the resource. Name interface{} // 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. Networks interface{} // The region in which to create the db instance. Changing this // creates a new instance. Region interface{} // Specifies the volume size in GB. Changing this creates new instance. Size interface{} // An array of username, password, host and databases. The user // object structure is documented below. Users interface{} }
The set of arguments for constructing a Instance resource.
type InstanceState ¶
type InstanceState struct { // Configuration ID to be attached to the instance. Database instance // will be rebooted when configuration is detached. ConfigurationId interface{} // An array of database name, charset and collate. The database // object structure is documented below. Databases interface{} // An array of database engine type and version. The datastore // object structure is documented below. Changing this creates a new instance. Datastore interface{} // The flavor ID of the desired flavor for the instance. // Changing this creates new instance. FlavorId interface{} // A unique name for the resource. Name interface{} // 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. Networks interface{} // The region in which to create the db instance. Changing this // creates a new instance. Region interface{} // Specifies the volume size in GB. Changing this creates new instance. Size interface{} // An array of username, password, host and databases. The user // object structure is documented below. Users interface{} }
Input properties used for looking up and filtering Instance resources.
type User ¶
type User struct {
// contains filtered or unexported fields
}
Manages a V1 DB user resource within OpenStack.
func GetUser ¶
func GetUser(ctx *pulumi.Context, name string, id pulumi.ID, state *UserState, opts ...pulumi.ResourceOpt) (*User, error)
GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUser ¶
func NewUser(ctx *pulumi.Context, name string, args *UserArgs, opts ...pulumi.ResourceOpt) (*User, error)
NewUser registers a new resource with the given unique name, arguments, and options.
func (*User) Databases ¶
func (r *User) Databases() *pulumi.ArrayOutput
A list of database user should have access to.
func (*User) Host ¶
func (r *User) Host() *pulumi.StringOutput
func (*User) InstanceId ¶
func (r *User) InstanceId() *pulumi.StringOutput
func (*User) Region ¶
func (r *User) Region() *pulumi.StringOutput
Openstack region resource is created in.
type UserArgs ¶
type UserArgs struct { // A list of database user should have access to. Databases interface{} Host interface{} InstanceId interface{} // A unique name for the resource. Name interface{} // User's password. Password interface{} // Openstack region resource is created in. Region interface{} }
The set of arguments for constructing a User resource.
type UserState ¶
type UserState struct { // A list of database user should have access to. Databases interface{} Host interface{} InstanceId interface{} // A unique name for the resource. Name interface{} // User's password. Password interface{} // Openstack region resource is created in. Region interface{} }
Input properties used for looking up and filtering User resources.