...

Source file src/github.com/Azure/azure-sdk-for-go/services/storage/datalake/2019-10-31/storagedatalake/enums.go

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

View as plain text