...
1 package managementgroups
2
3
4
5
6
7
8
9
10 type InheritedPermissions string
11
12 const (
13
14 Delete InheritedPermissions = "delete"
15
16 Edit InheritedPermissions = "edit"
17
18 Noaccess InheritedPermissions = "noaccess"
19
20 View InheritedPermissions = "view"
21 )
22
23
24 func PossibleInheritedPermissionsValues() []InheritedPermissions {
25 return []InheritedPermissions{Delete, Edit, Noaccess, View}
26 }
27
28
29 type Permissions string
30
31 const (
32
33 PermissionsDelete Permissions = "delete"
34
35 PermissionsEdit Permissions = "edit"
36
37 PermissionsNoaccess Permissions = "noaccess"
38
39 PermissionsView Permissions = "view"
40 )
41
42
43 func PossiblePermissionsValues() []Permissions {
44 return []Permissions{PermissionsDelete, PermissionsEdit, PermissionsNoaccess, PermissionsView}
45 }
46
47
48 type Permissions1 string
49
50 const (
51
52 Permissions1Delete Permissions1 = "delete"
53
54 Permissions1Edit Permissions1 = "edit"
55
56 Permissions1Noaccess Permissions1 = "noaccess"
57
58 Permissions1View Permissions1 = "view"
59 )
60
61
62 func PossiblePermissions1Values() []Permissions1 {
63 return []Permissions1{Permissions1Delete, Permissions1Edit, Permissions1Noaccess, Permissions1View}
64 }
65
66
67 type Reason string
68
69 const (
70
71 AlreadyExists Reason = "AlreadyExists"
72
73 Invalid Reason = "Invalid"
74 )
75
76
77 func PossibleReasonValues() []Reason {
78 return []Reason{AlreadyExists, Invalid}
79 }
80
81
82 type Status string
83
84 const (
85
86 Cancelled Status = "Cancelled"
87
88 Completed Status = "Completed"
89
90 Failed Status = "Failed"
91
92 NotStarted Status = "NotStarted"
93
94 NotStartedButGroupsExist Status = "NotStartedButGroupsExist"
95
96 Started Status = "Started"
97 )
98
99
100 func PossibleStatusValues() []Status {
101 return []Status{Cancelled, Completed, Failed, NotStarted, NotStartedButGroupsExist, Started}
102 }
103
104
105 type Type string
106
107 const (
108
109 MicrosoftManagementmanagementGroups Type = "Microsoft.Management/managementGroups"
110 )
111
112
113 func PossibleTypeValues() []Type {
114 return []Type{MicrosoftManagementmanagementGroups}
115 }
116
117
118 type Type1 string
119
120 const (
121
122 Type1MicrosoftManagementmanagementGroups Type1 = "Microsoft.Management/managementGroups"
123
124 Type1Subscriptions Type1 = "/subscriptions"
125 )
126
127
128 func PossibleType1Values() []Type1 {
129 return []Type1{Type1MicrosoftManagementmanagementGroups, Type1Subscriptions}
130 }
131
132
133 type Type2 string
134
135 const (
136
137 Type2MicrosoftManagementmanagementGroups Type2 = "Microsoft.Management/managementGroups"
138
139 Type2Subscriptions Type2 = "/subscriptions"
140 )
141
142
143 func PossibleType2Values() []Type2 {
144 return []Type2{Type2MicrosoftManagementmanagementGroups, Type2Subscriptions}
145 }
146
View as plain text