Class GrantArgs
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.PostgreSql
Assembly: Pulumi.PostgreSql.dll
Syntax
public sealed class GrantArgs : ResourceArgs
Constructors
View SourceGrantArgs()
Declaration
public GrantArgs()
Properties
View SourceDatabase
The database to grant privileges on for this role.
Declaration
public Input<string> Database { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ObjectType
The PostgreSQL object type to grant the privileges on (one of: table, sequence).
Declaration
public Input<string> ObjectType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Privileges
The list of privileges to grant.
Declaration
public InputList<string> Privileges { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Role
The name of the role to grant privileges on.
Declaration
public Input<string> Role { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Schema
The database schema to grant privileges on for this role.
Declaration
public Input<string> Schema { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
WithGrantOption
Permit the grant recipient to grant it to others
Declaration
public Input<bool> WithGrantOption { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |