1 package policy 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 // EnforcementMode enumerates the values for enforcement mode. 10 type EnforcementMode string 11 12 const ( 13 // Default The policy effect is enforced during resource creation or update. 14 Default EnforcementMode = "Default" 15 // DoNotEnforce The policy effect is not enforced during resource creation or update. 16 DoNotEnforce EnforcementMode = "DoNotEnforce" 17 ) 18 19 // PossibleEnforcementModeValues returns an array of possible values for the EnforcementMode const type. 20 func PossibleEnforcementModeValues() []EnforcementMode { 21 return []EnforcementMode{Default, DoNotEnforce} 22 } 23 24 // ParameterType enumerates the values for parameter type. 25 type ParameterType string 26 27 const ( 28 // Array ... 29 Array ParameterType = "Array" 30 // Boolean ... 31 Boolean ParameterType = "Boolean" 32 // DateTime ... 33 DateTime ParameterType = "DateTime" 34 // Float ... 35 Float ParameterType = "Float" 36 // Integer ... 37 Integer ParameterType = "Integer" 38 // Object ... 39 Object ParameterType = "Object" 40 // String ... 41 String ParameterType = "String" 42 ) 43 44 // PossibleParameterTypeValues returns an array of possible values for the ParameterType const type. 45 func PossibleParameterTypeValues() []ParameterType { 46 return []ParameterType{Array, Boolean, DateTime, Float, Integer, Object, String} 47 } 48 49 // ResourceIdentityType enumerates the values for resource identity type. 50 type ResourceIdentityType string 51 52 const ( 53 // None Indicates that no identity is associated with the resource or that the existing identity should be 54 // removed. 55 None ResourceIdentityType = "None" 56 // SystemAssigned Indicates that a system assigned identity is associated with the resource. 57 SystemAssigned ResourceIdentityType = "SystemAssigned" 58 ) 59 60 // PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type. 61 func PossibleResourceIdentityTypeValues() []ResourceIdentityType { 62 return []ResourceIdentityType{None, SystemAssigned} 63 } 64 65 // Type enumerates the values for type. 66 type Type string 67 68 const ( 69 // BuiltIn ... 70 BuiltIn Type = "BuiltIn" 71 // Custom ... 72 Custom Type = "Custom" 73 // NotSpecified ... 74 NotSpecified Type = "NotSpecified" 75 // Static ... 76 Static Type = "Static" 77 ) 78 79 // PossibleTypeValues returns an array of possible values for the Type const type. 80 func PossibleTypeValues() []Type { 81 return []Type{BuiltIn, Custom, NotSpecified, Static} 82 } 83