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