User

Manages a V1 DB user resource within OpenStack.

Create a User Resource

new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
def User(resource_name, opts=None, databases=None, host=None, instance_id=None, name=None, password=None, region=None, __props__=None);
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args UserArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args UserArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args UserArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

User Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The User resource accepts the following input properties:

InstanceId string
Password string

User’s password.

Databases List<string>

A list of database user should have access to.

Host string
Name string

A unique name for the resource.

Region string

Openstack region resource is created in.

InstanceId string
Password string

User’s password.

Databases []string

A list of database user should have access to.

Host string
Name string

A unique name for the resource.

Region string

Openstack region resource is created in.

instanceId string
password string

User’s password.

databases string[]

A list of database user should have access to.

host string
name string

A unique name for the resource.

region string

Openstack region resource is created in.

instance_id str
password str

User’s password.

databases List[str]

A list of database user should have access to.

host str
name str

A unique name for the resource.

region str

Openstack region resource is created in.

Outputs

All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing User Resource

Get an existing User 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?: UserState, opts?: CustomResourceOptions): User
static get(resource_name, id, opts=None, databases=None, host=None, instance_id=None, name=None, password=None, region=None, __props__=None);
func GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)
public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Databases List<string>

A list of database user should have access to.

Host string
InstanceId string
Name string

A unique name for the resource.

Password string

User’s password.

Region string

Openstack region resource is created in.

Databases []string

A list of database user should have access to.

Host string
InstanceId string
Name string

A unique name for the resource.

Password string

User’s password.

Region string

Openstack region resource is created in.

databases string[]

A list of database user should have access to.

host string
instanceId string
name string

A unique name for the resource.

password string

User’s password.

region string

Openstack region resource is created in.

databases List[str]

A list of database user should have access to.

host str
instance_id str
name str

A unique name for the resource.

password str

User’s password.

region str

Openstack region resource is created in.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.