...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-01-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  // ResourceIdentityType enumerates the values for resource identity type.
    10  type ResourceIdentityType string
    11  
    12  const (
    13  	// None ...
    14  	None ResourceIdentityType = "None"
    15  	// SystemAssigned ...
    16  	SystemAssigned ResourceIdentityType = "SystemAssigned"
    17  )
    18  
    19  // PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
    20  func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
    21  	return []ResourceIdentityType{None, SystemAssigned}
    22  }
    23  
    24  // Type enumerates the values for type.
    25  type Type string
    26  
    27  const (
    28  	// BuiltIn ...
    29  	BuiltIn Type = "BuiltIn"
    30  	// Custom ...
    31  	Custom Type = "Custom"
    32  	// NotSpecified ...
    33  	NotSpecified Type = "NotSpecified"
    34  )
    35  
    36  // PossibleTypeValues returns an array of possible values for the Type const type.
    37  func PossibleTypeValues() []Type {
    38  	return []Type{BuiltIn, Custom, NotSpecified}
    39  }
    40  

View as plain text