1package filesystem 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// AppendModeType enumerates the values for append mode type. 10type AppendModeType string 11 12const ( 13 // Autocreate ... 14 Autocreate AppendModeType = "autocreate" 15) 16 17// PossibleAppendModeTypeValues returns an array of possible values for the AppendModeType const type. 18func PossibleAppendModeTypeValues() []AppendModeType { 19 return []AppendModeType{Autocreate} 20} 21 22// Exception enumerates the values for exception. 23type Exception string 24 25const ( 26 // ExceptionAccessControlException ... 27 ExceptionAccessControlException Exception = "AccessControlException" 28 // ExceptionAdlsRemoteException ... 29 ExceptionAdlsRemoteException Exception = "AdlsRemoteException" 30 // ExceptionBadOffsetException ... 31 ExceptionBadOffsetException Exception = "BadOffsetException" 32 // ExceptionFileAlreadyExistsException ... 33 ExceptionFileAlreadyExistsException Exception = "FileAlreadyExistsException" 34 // ExceptionFileNotFoundException ... 35 ExceptionFileNotFoundException Exception = "FileNotFoundException" 36 // ExceptionIllegalArgumentException ... 37 ExceptionIllegalArgumentException Exception = "IllegalArgumentException" 38 // ExceptionIOException ... 39 ExceptionIOException Exception = "IOException" 40 // ExceptionRuntimeException ... 41 ExceptionRuntimeException Exception = "RuntimeException" 42 // ExceptionSecurityException ... 43 ExceptionSecurityException Exception = "SecurityException" 44 // ExceptionThrottledException ... 45 ExceptionThrottledException Exception = "ThrottledException" 46 // ExceptionUnsupportedOperationException ... 47 ExceptionUnsupportedOperationException Exception = "UnsupportedOperationException" 48) 49 50// PossibleExceptionValues returns an array of possible values for the Exception const type. 51func PossibleExceptionValues() []Exception { 52 return []Exception{ExceptionAccessControlException, ExceptionAdlsRemoteException, ExceptionBadOffsetException, ExceptionFileAlreadyExistsException, ExceptionFileNotFoundException, ExceptionIllegalArgumentException, ExceptionIOException, ExceptionRuntimeException, ExceptionSecurityException, ExceptionThrottledException, ExceptionUnsupportedOperationException} 53} 54 55// ExpiryOptionType enumerates the values for expiry option type. 56type ExpiryOptionType string 57 58const ( 59 // Absolute ... 60 Absolute ExpiryOptionType = "Absolute" 61 // NeverExpire ... 62 NeverExpire ExpiryOptionType = "NeverExpire" 63 // RelativeToCreationDate ... 64 RelativeToCreationDate ExpiryOptionType = "RelativeToCreationDate" 65 // RelativeToNow ... 66 RelativeToNow ExpiryOptionType = "RelativeToNow" 67) 68 69// PossibleExpiryOptionTypeValues returns an array of possible values for the ExpiryOptionType const type. 70func PossibleExpiryOptionTypeValues() []ExpiryOptionType { 71 return []ExpiryOptionType{Absolute, NeverExpire, RelativeToCreationDate, RelativeToNow} 72} 73 74// FileType enumerates the values for file type. 75type FileType string 76 77const ( 78 // DIRECTORY ... 79 DIRECTORY FileType = "DIRECTORY" 80 // FILE ... 81 FILE FileType = "FILE" 82) 83 84// PossibleFileTypeValues returns an array of possible values for the FileType const type. 85func PossibleFileTypeValues() []FileType { 86 return []FileType{DIRECTORY, FILE} 87} 88 89// SyncFlag enumerates the values for sync flag. 90type SyncFlag string 91 92const ( 93 // CLOSE ... 94 CLOSE SyncFlag = "CLOSE" 95 // DATA ... 96 DATA SyncFlag = "DATA" 97 // METADATA ... 98 METADATA SyncFlag = "METADATA" 99) 100 101// PossibleSyncFlagValues returns an array of possible values for the SyncFlag const type. 102func PossibleSyncFlagValues() []SyncFlag { 103 return []SyncFlag{CLOSE, DATA, METADATA} 104} 105