...

Source file src/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy

     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  // Mode enumerates the values for mode.
    10  type Mode string
    11  
    12  const (
    13  	// All ...
    14  	All Mode = "All"
    15  	// Indexed ...
    16  	Indexed Mode = "Indexed"
    17  	// NotSpecified ...
    18  	NotSpecified Mode = "NotSpecified"
    19  )
    20  
    21  // PossibleModeValues returns an array of possible values for the Mode const type.
    22  func PossibleModeValues() []Mode {
    23  	return []Mode{All, Indexed, NotSpecified}
    24  }
    25  
    26  // Type enumerates the values for type.
    27  type Type string
    28  
    29  const (
    30  	// TypeBuiltIn ...
    31  	TypeBuiltIn Type = "BuiltIn"
    32  	// TypeCustom ...
    33  	TypeCustom Type = "Custom"
    34  	// TypeNotSpecified ...
    35  	TypeNotSpecified Type = "NotSpecified"
    36  )
    37  
    38  // PossibleTypeValues returns an array of possible values for the Type const type.
    39  func PossibleTypeValues() []Type {
    40  	return []Type{TypeBuiltIn, TypeCustom, TypeNotSpecified}
    41  }
    42  

View as plain text