Show / Hide Table of Contents

Class GrantArgs

Inheritance
System.Object
InputArgs
ResourceArgs
GrantArgs
Inherited Members
ResourceArgs.Empty
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 Source

GrantArgs()

Declaration
public GrantArgs()

Properties

View Source

Database

The database to grant privileges on for this role.

Declaration
public Input<string> Database { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

Privileges

The list of privileges to grant.

Declaration
public InputList<string> Privileges { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Role

The name of the role to grant privileges on.

Declaration
public Input<string> Role { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

WithGrantOption

Permit the grant recipient to grant it to others

Declaration
public Input<bool> WithGrantOption { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.