...
1 package locks
2
3
4
5
6
7
8
9
10 type CreatedByType string
11
12 const (
13
14 Application CreatedByType = "Application"
15
16 Key CreatedByType = "Key"
17
18 ManagedIdentity CreatedByType = "ManagedIdentity"
19
20 User CreatedByType = "User"
21 )
22
23
24 func PossibleCreatedByTypeValues() []CreatedByType {
25 return []CreatedByType{Application, Key, ManagedIdentity, User}
26 }
27
28
29 type LockLevel string
30
31 const (
32
33 CanNotDelete LockLevel = "CanNotDelete"
34
35 NotSpecified LockLevel = "NotSpecified"
36
37 ReadOnly LockLevel = "ReadOnly"
38 )
39
40
41 func PossibleLockLevelValues() []LockLevel {
42 return []LockLevel{CanNotDelete, NotSpecified, ReadOnly}
43 }
44
View as plain text