@@ -58,18 +58,18 @@ var (
58
58
// read = ?
59
59
// update = ?
60
60
// delete = ?
61
- ResourceWorkspaceExecution = Object {
62
- Type : "workspace_execution" ,
63
- }
61
+ // ResourceWorkspaceExecution = Object{
62
+ // Type: "workspace_execution",
63
+ // }
64
64
65
65
// ResourceWorkspaceApplicationConnect CRUD. Org + User owner
66
66
// create = connect to an application
67
67
// read = ?
68
68
// update = ?
69
69
// delete = ?
70
- ResourceWorkspaceApplicationConnect = Object {
71
- Type : "application_connect" ,
72
- }
70
+ // ResourceWorkspaceApplicationConnect = Object{
71
+ // Type: "application_connect",
72
+ // }
73
73
74
74
// ResourceAuditLog
75
75
// read = access audit log
@@ -81,33 +81,33 @@ var (
81
81
// create/delete = Make or delete a new template
82
82
// update = Update the template, make new template versions
83
83
// read = read the template and all versions associated
84
- ResourceTemplate = Object {
85
- Type : "template" ,
86
- }
84
+ // ResourceTemplate = Object{
85
+ // Type: "template",
86
+ // }
87
87
88
88
// ResourceGroup CRUD. Org admins only.
89
89
// create/delete = Make or delete a new group.
90
90
// update = Update the name or members of a group.
91
91
// read = Read groups and their members.
92
- ResourceGroup = Object {
93
- Type : "group" ,
94
- }
92
+ // ResourceGroup = Object{
93
+ // Type: "group",
94
+ // }
95
95
96
- ResourceFile = Object {
97
- Type : "file" ,
98
- }
96
+ // ResourceFile = Object{
97
+ // Type: "file",
98
+ // }
99
99
100
- ResourceProvisionerDaemon = Object {
101
- Type : "provisioner_daemon" ,
102
- }
100
+ // ResourceProvisionerDaemon = Object{
101
+ // Type: "provisioner_daemon",
102
+ // }
103
103
104
104
// ResourceOrganization CRUD. Has an org owner on all but 'create'.
105
105
// create/delete = make or delete organizations
106
106
// read = view org information (Can add user owner for read)
107
107
// update = ??
108
- ResourceOrganization = Object {
109
- Type : "organization" ,
110
- }
108
+ // ResourceOrganization = Object{
109
+ // Type: "organization",
110
+ // }
111
111
112
112
// ResourceRoleAssignment might be expanded later to allow more granular permissions
113
113
// to modifying roles. For now, this covers all possible roles, so having this permission
@@ -140,15 +140,15 @@ var (
140
140
// create/delete = make or delete a new user.
141
141
// read = view all 'user' table data
142
142
// update = update all 'user' table data
143
- ResourceUser = Object {
144
- Type : "user" ,
145
- }
143
+ // ResourceUser = Object{
144
+ // Type: "user",
145
+ // }
146
146
147
147
// ResourceUserData is any data associated with a user. A user has control
148
148
// over their data (profile, password, etc). So this resource has an owner.
149
- ResourceUserData = Object {
150
- Type : "user_data" ,
151
- }
149
+ // ResourceUserData = Object{
150
+ // Type: "user_data",
151
+ // }
152
152
153
153
// ResourceUserWorkspaceBuildParameters is the user's workspace build
154
154
// parameter history.
@@ -161,9 +161,9 @@ var (
161
161
// create/delete = Create/delete member from org.
162
162
// update = Update organization member
163
163
// read = View member
164
- ResourceOrganizationMember = Object {
165
- Type : "organization_member" ,
166
- }
164
+ // ResourceOrganizationMember = Object{
165
+ // Type: "organization_member",
166
+ // }
167
167
168
168
// ResourceLicense is the license in the 'licenses' table.
169
169
// ResourceLicense is site wide.
@@ -175,9 +175,9 @@ var (
175
175
//}
176
176
177
177
// ResourceDeploymentValues
178
- ResourceDeploymentValues = Object {
179
- Type : "deployment_config" ,
180
- }
178
+ // ResourceDeploymentValues = Object{
179
+ // Type: "deployment_config",
180
+ // }
181
181
182
182
//ResourceDeploymentStats = Object{
183
183
// Type: "deployment_stats",
@@ -202,10 +202,10 @@ var (
202
202
Type : "tailnet_coordinator" ,
203
203
}
204
204
205
- // ResourceTemplateInsights is a pseudo-resource for reading template insights data.
206
- ResourceTemplateInsights = Object {
207
- Type : "template_insights" ,
208
- }
205
+ //// ResourceTemplateInsights is a pseudo-resource for reading template insights data.
206
+ // ResourceTemplateInsights = Object{
207
+ // Type: "template_insights",
208
+ // }
209
209
210
210
// ResourceOAuth2ProviderApp CRUD.
211
211
// create/delete = Make or delete an OAuth2 app.
0 commit comments