You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Target role for which to alter default privileges.
86
+
/// Role for which apply default privileges (You can change default privileges only for objects that will be created by yourself or by roles that you are a member of).
30
87
/// </summary>
31
88
[Output("owner")]
32
89
publicOutput<string>Owner{get;privateset;}=null!;
33
90
34
91
/// <summary>
35
-
/// The list of privileges to apply as default privileges
92
+
/// The list of privileges to apply as default privileges. An empty list could be provided to revoke all default privileges for this role.
/// The database to grant default privileges for this role
162
+
/// The database to grant default privileges for this role.
106
163
/// </summary>
107
164
[Input("database",required:true)]
108
165
publicInput<string>Database{get;set;}=null!;
109
166
110
167
/// <summary>
111
-
/// The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type)
168
+
/// The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type).
112
169
/// </summary>
113
170
[Input("objectType",required:true)]
114
171
publicInput<string>ObjectType{get;set;}=null!;
115
172
116
173
/// <summary>
117
-
/// Target role for which to alter default privileges.
174
+
/// Role for which apply default privileges (You can change default privileges only for objects that will be created by yourself or by roles that you are a member of).
118
175
/// </summary>
119
176
[Input("owner",required:true)]
120
177
publicInput<string>Owner{get;set;}=null!;
@@ -123,7 +180,7 @@ public sealed class DefaultPrivilegArgs : Pulumi.ResourceArgs
123
180
privateInputList<string>?_privileges;
124
181
125
182
/// <summary>
126
-
/// The list of privileges to apply as default privileges
183
+
/// The list of privileges to apply as default privileges. An empty list could be provided to revoke all default privileges for this role.
127
184
/// </summary>
128
185
publicInputList<string>Privileges
129
186
{
@@ -132,13 +189,13 @@ public InputList<string> Privileges
132
189
}
133
190
134
191
/// <summary>
135
-
/// The name of the role to which grant default privileges on
192
+
/// The name of the role to which grant default privileges on.
136
193
/// </summary>
137
194
[Input("role",required:true)]
138
195
publicInput<string>Role{get;set;}=null!;
139
196
140
197
/// <summary>
141
-
/// The database schema to set default privileges for this role
198
+
/// The database schema to set default privileges for this role.
142
199
/// </summary>
143
200
[Input("schema")]
144
201
publicInput<string>?Schema{get;set;}
@@ -157,19 +214,19 @@ public DefaultPrivilegArgs()
/// The database to grant default privileges for this role
217
+
/// The database to grant default privileges for this role.
161
218
/// </summary>
162
219
[Input("database")]
163
220
publicInput<string>?Database{get;set;}
164
221
165
222
/// <summary>
166
-
/// The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type)
223
+
/// The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type).
167
224
/// </summary>
168
225
[Input("objectType")]
169
226
publicInput<string>?ObjectType{get;set;}
170
227
171
228
/// <summary>
172
-
/// Target role for which to alter default privileges.
229
+
/// Role for which apply default privileges (You can change default privileges only for objects that will be created by yourself or by roles that you are a member of).
173
230
/// </summary>
174
231
[Input("owner")]
175
232
publicInput<string>?Owner{get;set;}
@@ -178,7 +235,7 @@ public sealed class DefaultPrivilegState : Pulumi.ResourceArgs
178
235
privateInputList<string>?_privileges;
179
236
180
237
/// <summary>
181
-
/// The list of privileges to apply as default privileges
238
+
/// The list of privileges to apply as default privileges. An empty list could be provided to revoke all default privileges for this role.
182
239
/// </summary>
183
240
publicInputList<string>Privileges
184
241
{
@@ -187,13 +244,13 @@ public InputList<string> Privileges
187
244
}
188
245
189
246
/// <summary>
190
-
/// The name of the role to which grant default privileges on
247
+
/// The name of the role to which grant default privileges on.
191
248
/// </summary>
192
249
[Input("role")]
193
250
publicInput<string>?Role{get;set;}
194
251
195
252
/// <summary>
196
-
/// The database schema to set default privileges for this role
253
+
/// The database schema to set default privileges for this role.
/// The PostgreSQL object type to grant the privileges on (one of: database, schema, table, sequence, function, foreign_data_wrapper, foreign_server).
85
+
/// The PostgreSQL object type to grant the privileges on (one of: database, schema, table, sequence, function, procedure, routine, foreign_data_wrapper, foreign_server).
@@ -170,7 +170,7 @@ public sealed class GrantArgs : Pulumi.ResourceArgs
170
170
publicInput<string>Database{get;set;}=null!;
171
171
172
172
/// <summary>
173
-
/// The PostgreSQL object type to grant the privileges on (one of: database, schema, table, sequence, function, foreign_data_wrapper, foreign_server).
173
+
/// The PostgreSQL object type to grant the privileges on (one of: database, schema, table, sequence, function, procedure, routine, foreign_data_wrapper, foreign_server).
174
174
/// </summary>
175
175
[Input("objectType",required:true)]
176
176
publicInput<string>ObjectType{get;set;}=null!;
@@ -231,7 +231,7 @@ public sealed class GrantState : Pulumi.ResourceArgs
231
231
publicInput<string>?Database{get;set;}
232
232
233
233
/// <summary>
234
-
/// The PostgreSQL object type to grant the privileges on (one of: database, schema, table, sequence, function, foreign_data_wrapper, foreign_server).
234
+
/// The PostgreSQL object type to grant the privileges on (one of: database, schema, table, sequence, function, procedure, routine, foreign_data_wrapper, foreign_server).
Copy file name to clipboardExpand all lines: sdk/dotnet/GrantRole.cs
-23Lines changed: 0 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -15,29 +15,6 @@ namespace Pulumi.PostgreSql
15
15
/// When using ``postgresql.GrantRole`` resource it is likely because the PostgreSQL role you are modifying was created outside of this provider.
16
16
///
17
17
/// > **Note:** This resource needs PostgreSQL version 9 or above.
18
-
///
19
-
/// > **Note:** `postgresql.GrantRole` **cannot** be used in conjunction with `postgresql.Role` or they will fight over what your role grants should be.
20
-
///
21
-
/// ## Usage
22
-
///
23
-
/// ```csharp
24
-
/// using Pulumi;
25
-
/// using PostgreSql = Pulumi.PostgreSql;
26
-
///
27
-
/// class MyStack : Stack
28
-
/// {
29
-
/// public MyStack()
30
-
/// {
31
-
/// var grantRoot = new PostgreSql.GrantRole("grantRoot", new PostgreSql.GrantRoleArgs
0 commit comments