Class AccountPrivilegeState
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.AliCloud.Rds
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class AccountPrivilegeState : ResourceArgs
Constructors
View SourceAccountPrivilegeState()
Declaration
public AccountPrivilegeState()
Properties
View SourceAccountName
A specified account name.
Declaration
public Input<string> AccountName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DbNames
List of specified database name.
Declaration
public InputList<string> DbNames { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
InstanceId
The Id of instance in which account belongs.
Declaration
public Input<string> InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Privilege
The privilege of one account access database. Valid values:
- ReadOnly: This value is only for MySQL, MariaDB and SQL Server
- ReadWrite: This value is only for MySQL, MariaDB and SQL Server
- DDLOnly: (Available in 1.64.0+) This value is only for MySQL and MariaDB
- DMLOnly: (Available in 1.64.0+) This value is only for MySQL and MariaDB
- DBOwner: (Available in 1.64.0+) This value is only for SQL Server and PostgreSQL.
Declaration
public Input<string> Privilege { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |