1package managementgroups
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20// InheritedPermissions enumerates the values for inherited permissions.
21type InheritedPermissions string
22
23const (
24	// Delete ...
25	Delete InheritedPermissions = "delete"
26	// Edit ...
27	Edit InheritedPermissions = "edit"
28	// Noaccess ...
29	Noaccess InheritedPermissions = "noaccess"
30	// View ...
31	View InheritedPermissions = "view"
32)
33
34// PossibleInheritedPermissionsValues returns an array of possible values for the InheritedPermissions const type.
35func PossibleInheritedPermissionsValues() []InheritedPermissions {
36	return []InheritedPermissions{Delete, Edit, Noaccess, View}
37}
38
39// Permissions enumerates the values for permissions.
40type Permissions string
41
42const (
43	// PermissionsDelete ...
44	PermissionsDelete Permissions = "delete"
45	// PermissionsEdit ...
46	PermissionsEdit Permissions = "edit"
47	// PermissionsNoaccess ...
48	PermissionsNoaccess Permissions = "noaccess"
49	// PermissionsView ...
50	PermissionsView Permissions = "view"
51)
52
53// PossiblePermissionsValues returns an array of possible values for the Permissions const type.
54func PossiblePermissionsValues() []Permissions {
55	return []Permissions{PermissionsDelete, PermissionsEdit, PermissionsNoaccess, PermissionsView}
56}
57
58// Permissions1 enumerates the values for permissions 1.
59type Permissions1 string
60
61const (
62	// Permissions1Delete ...
63	Permissions1Delete Permissions1 = "delete"
64	// Permissions1Edit ...
65	Permissions1Edit Permissions1 = "edit"
66	// Permissions1Noaccess ...
67	Permissions1Noaccess Permissions1 = "noaccess"
68	// Permissions1View ...
69	Permissions1View Permissions1 = "view"
70)
71
72// PossiblePermissions1Values returns an array of possible values for the Permissions1 const type.
73func PossiblePermissions1Values() []Permissions1 {
74	return []Permissions1{Permissions1Delete, Permissions1Edit, Permissions1Noaccess, Permissions1View}
75}
76
77// Reason enumerates the values for reason.
78type Reason string
79
80const (
81	// AlreadyExists ...
82	AlreadyExists Reason = "AlreadyExists"
83	// Invalid ...
84	Invalid Reason = "Invalid"
85)
86
87// PossibleReasonValues returns an array of possible values for the Reason const type.
88func PossibleReasonValues() []Reason {
89	return []Reason{AlreadyExists, Invalid}
90}
91
92// Status enumerates the values for status.
93type Status string
94
95const (
96	// Cancelled ...
97	Cancelled Status = "Cancelled"
98	// Completed ...
99	Completed Status = "Completed"
100	// Failed ...
101	Failed Status = "Failed"
102	// NotStarted ...
103	NotStarted Status = "NotStarted"
104	// NotStartedButGroupsExist ...
105	NotStartedButGroupsExist Status = "NotStartedButGroupsExist"
106	// Started ...
107	Started Status = "Started"
108)
109
110// PossibleStatusValues returns an array of possible values for the Status const type.
111func PossibleStatusValues() []Status {
112	return []Status{Cancelled, Completed, Failed, NotStarted, NotStartedButGroupsExist, Started}
113}
114
115// Type enumerates the values for type.
116type Type string
117
118const (
119	// MicrosoftManagementmanagementGroups ...
120	MicrosoftManagementmanagementGroups Type = "Microsoft.Management/managementGroups"
121)
122
123// PossibleTypeValues returns an array of possible values for the Type const type.
124func PossibleTypeValues() []Type {
125	return []Type{MicrosoftManagementmanagementGroups}
126}
127
128// Type1 enumerates the values for type 1.
129type Type1 string
130
131const (
132	// Type1MicrosoftManagementmanagementGroups ...
133	Type1MicrosoftManagementmanagementGroups Type1 = "Microsoft.Management/managementGroups"
134	// Type1Subscriptions ...
135	Type1Subscriptions Type1 = "/subscriptions"
136)
137
138// PossibleType1Values returns an array of possible values for the Type1 const type.
139func PossibleType1Values() []Type1 {
140	return []Type1{Type1MicrosoftManagementmanagementGroups, Type1Subscriptions}
141}
142
143// Type2 enumerates the values for type 2.
144type Type2 string
145
146const (
147	// Type2MicrosoftManagementmanagementGroups ...
148	Type2MicrosoftManagementmanagementGroups Type2 = "Microsoft.Management/managementGroups"
149	// Type2Subscriptions ...
150	Type2Subscriptions Type2 = "/subscriptions"
151)
152
153// PossibleType2Values returns an array of possible values for the Type2 const type.
154func PossibleType2Values() []Type2 {
155	return []Type2{Type2MicrosoftManagementmanagementGroups, Type2Subscriptions}
156}
157