-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathResource.yml
51 lines (49 loc) · 1.15 KB
/
Resource.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
type: object
required: [type]
properties:
type:
type: string
enum:
- authorizations
- buckets
- dashboards
- orgs
- tasks
- telegrafs
- users
- variables
- secrets
- labels
- views
- documents
- notificationRules
- notificationEndpoints
- checks
- dbrp
- annotations
# Cloud Only
- flows
- functions
- subscriptions
description: |
The type of resource.
In a `permission`, applies the permission to all resources of this type.
id:
type: string
description: |
The ID of a specific resource.
In a `permission`, applies the permission to only the resource with this ID.
name:
type: string
description: |
Optional: A name for the resource.
Not all resource types have a name field.
orgID:
type: string
description: |
The ID of the organization that owns the resource.
In a `permission`, applies the permission to all resources of `type` owned by this organization.
org:
type: string
description: |
Optional: The name of the organization with `orgID`.