...

Source file src/github.com/Azure/azure-sdk-for-go/services/storage/datalake/2018-11-09/storagedatalake/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/storage/datalake/2018-11-09/storagedatalake

     1  package storagedatalake
     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  // PathGetPropertiesAction enumerates the values for path get properties action.
    10  type PathGetPropertiesAction string
    11  
    12  const (
    13  	// GetAccessControl ...
    14  	GetAccessControl PathGetPropertiesAction = "getAccessControl"
    15  	// GetStatus ...
    16  	GetStatus PathGetPropertiesAction = "getStatus"
    17  )
    18  
    19  // PossiblePathGetPropertiesActionValues returns an array of possible values for the PathGetPropertiesAction const type.
    20  func PossiblePathGetPropertiesActionValues() []PathGetPropertiesAction {
    21  	return []PathGetPropertiesAction{GetAccessControl, GetStatus}
    22  }
    23  
    24  // PathLeaseAction enumerates the values for path lease action.
    25  type PathLeaseAction string
    26  
    27  const (
    28  	// Acquire ...
    29  	Acquire PathLeaseAction = "acquire"
    30  	// Break ...
    31  	Break PathLeaseAction = "break"
    32  	// Change ...
    33  	Change PathLeaseAction = "change"
    34  	// Release ...
    35  	Release PathLeaseAction = "release"
    36  	// Renew ...
    37  	Renew PathLeaseAction = "renew"
    38  )
    39  
    40  // PossiblePathLeaseActionValues returns an array of possible values for the PathLeaseAction const type.
    41  func PossiblePathLeaseActionValues() []PathLeaseAction {
    42  	return []PathLeaseAction{Acquire, Break, Change, Release, Renew}
    43  }
    44  
    45  // PathRenameMode enumerates the values for path rename mode.
    46  type PathRenameMode string
    47  
    48  const (
    49  	// Legacy ...
    50  	Legacy PathRenameMode = "legacy"
    51  	// Posix ...
    52  	Posix PathRenameMode = "posix"
    53  )
    54  
    55  // PossiblePathRenameModeValues returns an array of possible values for the PathRenameMode const type.
    56  func PossiblePathRenameModeValues() []PathRenameMode {
    57  	return []PathRenameMode{Legacy, Posix}
    58  }
    59  
    60  // PathResourceType enumerates the values for path resource type.
    61  type PathResourceType string
    62  
    63  const (
    64  	// Directory ...
    65  	Directory PathResourceType = "directory"
    66  	// File ...
    67  	File PathResourceType = "file"
    68  )
    69  
    70  // PossiblePathResourceTypeValues returns an array of possible values for the PathResourceType const type.
    71  func PossiblePathResourceTypeValues() []PathResourceType {
    72  	return []PathResourceType{Directory, File}
    73  }
    74  
    75  // PathUpdateAction enumerates the values for path update action.
    76  type PathUpdateAction string
    77  
    78  const (
    79  	// Append ...
    80  	Append PathUpdateAction = "append"
    81  	// Flush ...
    82  	Flush PathUpdateAction = "flush"
    83  	// SetAccessControl ...
    84  	SetAccessControl PathUpdateAction = "setAccessControl"
    85  	// SetProperties ...
    86  	SetProperties PathUpdateAction = "setProperties"
    87  )
    88  
    89  // PossiblePathUpdateActionValues returns an array of possible values for the PathUpdateAction const type.
    90  func PossiblePathUpdateActionValues() []PathUpdateAction {
    91  	return []PathUpdateAction{Append, Flush, SetAccessControl, SetProperties}
    92  }
    93  

View as plain text