...

Source file src/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-04-01/locks/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-04-01/locks

     1  package locks
     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  // LockLevel enumerates the values for lock level.
    10  type LockLevel string
    11  
    12  const (
    13  	// CanNotDelete ...
    14  	CanNotDelete LockLevel = "CanNotDelete"
    15  	// NotSpecified ...
    16  	NotSpecified LockLevel = "NotSpecified"
    17  	// ReadOnly ...
    18  	ReadOnly LockLevel = "ReadOnly"
    19  )
    20  
    21  // PossibleLockLevelValues returns an array of possible values for the LockLevel const type.
    22  func PossibleLockLevelValues() []LockLevel {
    23  	return []LockLevel{CanNotDelete, NotSpecified, ReadOnly}
    24  }
    25  

View as plain text