...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/storage/datalake/2018-06-17/storagedatalake/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/storage/datalake/2018-06-17/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  )
    16  
    17  // PossiblePathGetPropertiesActionValues returns an array of possible values for the PathGetPropertiesAction const type.
    18  func PossiblePathGetPropertiesActionValues() []PathGetPropertiesAction {
    19  	return []PathGetPropertiesAction{GetAccessControl}
    20  }
    21  
    22  // PathLeaseAction enumerates the values for path lease action.
    23  type PathLeaseAction string
    24  
    25  const (
    26  	// Acquire ...
    27  	Acquire PathLeaseAction = "acquire"
    28  	// Break ...
    29  	Break PathLeaseAction = "break"
    30  	// Change ...
    31  	Change PathLeaseAction = "change"
    32  	// Release ...
    33  	Release PathLeaseAction = "release"
    34  	// Renew ...
    35  	Renew PathLeaseAction = "renew"
    36  )
    37  
    38  // PossiblePathLeaseActionValues returns an array of possible values for the PathLeaseAction const type.
    39  func PossiblePathLeaseActionValues() []PathLeaseAction {
    40  	return []PathLeaseAction{Acquire, Break, Change, Release, Renew}
    41  }
    42  
    43  // PathRenameMode enumerates the values for path rename mode.
    44  type PathRenameMode string
    45  
    46  const (
    47  	// Legacy ...
    48  	Legacy PathRenameMode = "legacy"
    49  	// Posix ...
    50  	Posix PathRenameMode = "posix"
    51  )
    52  
    53  // PossiblePathRenameModeValues returns an array of possible values for the PathRenameMode const type.
    54  func PossiblePathRenameModeValues() []PathRenameMode {
    55  	return []PathRenameMode{Legacy, Posix}
    56  }
    57  
    58  // PathResourceType enumerates the values for path resource type.
    59  type PathResourceType string
    60  
    61  const (
    62  	// Directory ...
    63  	Directory PathResourceType = "directory"
    64  	// File ...
    65  	File PathResourceType = "file"
    66  )
    67  
    68  // PossiblePathResourceTypeValues returns an array of possible values for the PathResourceType const type.
    69  func PossiblePathResourceTypeValues() []PathResourceType {
    70  	return []PathResourceType{Directory, File}
    71  }
    72  
    73  // PathUpdateAction enumerates the values for path update action.
    74  type PathUpdateAction string
    75  
    76  const (
    77  	// Append ...
    78  	Append PathUpdateAction = "append"
    79  	// Flush ...
    80  	Flush PathUpdateAction = "flush"
    81  	// SetAccessControl ...
    82  	SetAccessControl PathUpdateAction = "setAccessControl"
    83  	// SetProperties ...
    84  	SetProperties PathUpdateAction = "setProperties"
    85  )
    86  
    87  // PossiblePathUpdateActionValues returns an array of possible values for the PathUpdateAction const type.
    88  func PossiblePathUpdateActionValues() []PathUpdateAction {
    89  	return []PathUpdateAction{Append, Flush, SetAccessControl, SetProperties}
    90  }
    91  
    92  // PathUpdateLeaseAction enumerates the values for path update lease action.
    93  type PathUpdateLeaseAction string
    94  
    95  const (
    96  	// PathUpdateLeaseActionRelease ...
    97  	PathUpdateLeaseActionRelease PathUpdateLeaseAction = "release"
    98  	// PathUpdateLeaseActionRenew ...
    99  	PathUpdateLeaseActionRenew PathUpdateLeaseAction = "renew"
   100  )
   101  
   102  // PossiblePathUpdateLeaseActionValues returns an array of possible values for the PathUpdateLeaseAction const type.
   103  func PossiblePathUpdateLeaseActionValues() []PathUpdateLeaseAction {
   104  	return []PathUpdateLeaseAction{PathUpdateLeaseActionRelease, PathUpdateLeaseActionRenew}
   105  }
   106  

View as plain text