Class UserState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Sql
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class UserState : ResourceArgs
Constructors
View SourceUserState()
Declaration
public UserState()
Properties
View SourceHost
The host the user can connect from. This is only supported for MySQL instances. Don't set this field for PostgreSQL instances. Can be an IP address. Changing this forces a new resource to be created.
Declaration
public Input<string> Host { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Instance
The name of the Cloud SQL instance. Changing this forces a new resource to be created.
Declaration
public Input<string> Instance { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the user. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Password
The password for the user. Can be updated. For Postgres instances this is a Required field.
Declaration
public Input<string> Password { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |