azure-storage-files-shares
All Classes Functions Variables Pages
share_options.hpp
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#pragma once
5
6#include "azure/storage/files/shares/rest_client.hpp"
7
8#include <azure/core/internal/client_options.hpp>
9#include <azure/core/internal/extendable_enumeration.hpp>
10#include <azure/core/nullable.hpp>
11#include <azure/storage/common/access_conditions.hpp>
12
13#include <memory>
14#include <string>
15#include <vector>
16
17/* cSpell:ignore dacl */
18
19namespace Azure { namespace Storage { namespace Files { namespace Shares {
20
21 namespace Models {
22 enum class RolePermissions
23 {
24 /*
25 * @brief No permissions.
26 */
27 None = 0,
28
29 /*
30 * @brief The execute permission.
31 */
32 Execute = 1,
33
34 /*
35 * @brief The write permission.
36 */
37 Write = 2,
38
39 /*
40 * @brief The read permission.
41 */
42 Read = 4,
43 };
44
45 inline RolePermissions operator|(const RolePermissions& lhs, const RolePermissions& rhs)
46 {
47 using type = std::underlying_type_t<RolePermissions>;
48 return static_cast<RolePermissions>(static_cast<type>(lhs) | static_cast<type>(rhs));
49 }
50
51 inline RolePermissions operator&(const RolePermissions& lhs, const RolePermissions& rhs)
52 {
53 using type = std::underlying_type_t<RolePermissions>;
54 return static_cast<RolePermissions>(static_cast<type>(lhs) & static_cast<type>(rhs));
55 }
56
60 struct NfsFileMode final
61 {
65 RolePermissions Owner;
66
70 RolePermissions Group;
71
75 RolePermissions Other;
76
81
86
91 bool StickyBit = false;
92
96 std::string ToOctalFileMode() const;
97
101 std::string ToSymbolicFileMode() const;
102
108 static NfsFileMode ParseOctalFileMode(const std::string& modeString);
109
115 static NfsFileMode ParseSymbolicFileMode(const std::string& modeString);
116 };
117
123 {
127 Nullable<NfsFileMode> FileMode;
128
132 Nullable<std::string> Owner;
133
137 Nullable<std::string> Group;
138
142 Nullable<Models::NfsFileType> NfsFileType;
143
147 Nullable<std::int64_t> LinkCount;
148 };
149 } // namespace Models
150
154 enum class CopyableFileSmbPropertyFlags
155 {
159 None = 0,
160
164 FileAttributes = 1,
165
169 CreatedOn = 2,
170
174 LastWrittenOn = 4,
175
179 ChangedOn = 8,
180
184 Permission = 16,
185
189 All = ~None
190 };
191
192 inline CopyableFileSmbPropertyFlags operator|(
193 CopyableFileSmbPropertyFlags lhs,
194 CopyableFileSmbPropertyFlags rhs)
195 {
196 using type = std::underlying_type_t<CopyableFileSmbPropertyFlags>;
197 return static_cast<CopyableFileSmbPropertyFlags>(
198 static_cast<type>(lhs) | static_cast<type>(rhs));
199 }
200 inline CopyableFileSmbPropertyFlags& operator|=(
201 CopyableFileSmbPropertyFlags& lhs,
202 CopyableFileSmbPropertyFlags rhs)
203 {
204 lhs = lhs | rhs;
205 return lhs;
206 }
207 inline CopyableFileSmbPropertyFlags operator&(
208 CopyableFileSmbPropertyFlags lhs,
209 CopyableFileSmbPropertyFlags rhs)
210 {
211 using type = std::underlying_type_t<CopyableFileSmbPropertyFlags>;
212 return static_cast<CopyableFileSmbPropertyFlags>(
213 static_cast<type>(lhs) & static_cast<type>(rhs));
214 }
215 inline CopyableFileSmbPropertyFlags& operator&=(
216 CopyableFileSmbPropertyFlags& lhs,
217 CopyableFileSmbPropertyFlags rhs)
218 {
219 lhs = lhs & rhs;
220 return lhs;
221 }
222
227 class ShareAudience final : public Azure::Core::_internal::ExtendableEnumeration<ShareAudience> {
228 public:
237 explicit ShareAudience(std::string shareAudience)
238 : ExtendableEnumeration(std::move(shareAudience))
239 {
240 }
241
249 static ShareAudience CreateShareServiceAccountAudience(const std::string& storageAccountName)
250 {
251 return ShareAudience("https://" + storageAccountName + ".file.core.windows.net/");
252 }
253
258 AZ_STORAGE_FILES_SHARES_DLLEXPORT const static ShareAudience DefaultAudience;
259 };
260
264 struct ShareClientOptions final : Azure::Core::_internal::ClientOptions
265 {
269 std::string ApiVersion;
270
276 Nullable<bool> AllowTrailingDot;
277
284
289 Nullable<Models::ShareTokenIntent> ShareTokenIntent;
290
296 Azure::Nullable<ShareAudience> Audience;
297 };
298
303 struct ListSharesOptions final
304 {
309 Azure::Nullable<std::string> Prefix;
310
317 Azure::Nullable<std::string> ContinuationToken;
318
324 Azure::Nullable<int32_t> PageSizeHint;
325
329 Azure::Nullable<Models::ListSharesIncludeFlags> ListSharesIncludeFlags;
330 };
331
337 {
338 };
339
345 {
346 };
347
352 {
356 Storage::Metadata Metadata;
357
362 Azure::Nullable<Models::AccessTier> AccessTier;
363
367 Azure::Nullable<int64_t> ShareQuotaInGiB;
368
372 Azure::Nullable<Models::ShareProtocols> EnabledProtocols;
373
378 Azure::Nullable<Models::ShareRootSquash> RootSquash;
379
386
391 Nullable<bool> EnablePaidBursting;
392
397 Nullable<std::int64_t> PaidBurstingMaxIops;
398
403 Nullable<std::int64_t> PaidBurstingMaxBandwidthMibps;
404
410 Nullable<std::int64_t> ProvisionedMaxIops;
411
417 Nullable<std::int64_t> ProvisionedMaxBandwidthMibps;
418 };
419
424 {
428 Azure::Nullable<bool> DeleteSnapshots;
429 };
430
435 {
439 Storage::Metadata Metadata;
440 };
441
446 {
447 };
448
453 {
458 Azure::Nullable<Models::AccessTier> AccessTier;
459
463 Azure::Nullable<int64_t> ShareQuotaInGiB;
464
469 Azure::Nullable<Models::ShareRootSquash> RootSquash;
470
477
482 Nullable<bool> EnablePaidBursting;
483
488 Nullable<std::int64_t> PaidBurstingMaxIops;
489
494 Nullable<std::int64_t> PaidBurstingMaxBandwidthMibps;
495
500 Nullable<std::int64_t> ProvisionedMaxIops;
501
507 Nullable<std::int64_t> ProvisionedMaxBandwidthMibps;
508 };
509
514 {
515 };
516
521 {
522 };
523
528 {
529 };
530
535 {
536 };
537
542 {
549 Nullable<Models::FilePermissionFormat> FilePermissionFormat;
550 };
551
556 {
563 Nullable<Models::FilePermissionFormat> FilePermissionFormat;
564 };
565
570 {
574 Storage::Metadata Metadata;
575
580 Azure::Nullable<std::string> DirectoryPermission;
581
588 Nullable<Models::FilePermissionFormat> DirectoryPermissionFormat;
589
594
599 };
600
605 struct RenameFileOptions final
606 {
614 Azure::Nullable<bool> ReplaceIfExists;
615
622 Azure::Nullable<bool> IgnoreReadOnly;
623
627 LeaseAccessConditions AccessConditions;
628
632 LeaseAccessConditions SourceAccessConditions;
633
638
644 Azure::Nullable<std::string> FilePermission;
645
652 Nullable<Models ::FilePermissionFormat> FilePermissionFormat;
653
657 Storage::Metadata Metadata;
658
662 Azure::Nullable<std::string> ContentType;
663 };
664
670 {
678 Azure::Nullable<bool> ReplaceIfExists;
679
686 Azure::Nullable<bool> IgnoreReadOnly;
687
691 LeaseAccessConditions AccessConditions;
692
696 LeaseAccessConditions SourceAccessConditions;
697
702
708 Azure::Nullable<std::string> FilePermission;
709
716 Nullable<Models ::FilePermissionFormat> FilePermissionFormat;
717
721 Storage::Metadata Metadata;
722 };
723
728 {
729 };
730
736 {
737 };
738
744 {
751 Azure::Nullable<std::string> FilePermission;
752
759 Nullable<Models ::FilePermissionFormat> FilePermissionFormat;
760
765 };
766
772 {
773 };
774
780 {
785 Azure::Nullable<std::string> Prefix;
786
793 Azure::Nullable<std::string> ContinuationToken;
794
800 Azure::Nullable<int32_t> PageSizeHint;
801
805 Models::ListFilesIncludeFlags Include = Models::ListFilesIncludeFlags ::None;
806
811 Nullable<bool> IncludeExtendedInfo;
812 };
813
819 {
826 Azure::Nullable<std::string> ContinuationToken;
827
833 Azure::Nullable<int32_t> PageSizeHint;
834
839 Azure::Nullable<bool> Recursive;
840 };
841
847 {
848 };
849
855 {
862 Azure::Nullable<std::string> ContinuationToken;
863
868 Azure::Nullable<bool> Recursive;
869 };
870
874 struct CreateFileOptions final
875 {
881 Azure::Nullable<std::string> Permission;
882
889 Nullable<Models ::FilePermissionFormat> FilePermissionFormat;
890
895
900
904 Storage::Metadata Metadata;
905
909 LeaseAccessConditions AccessConditions;
910
915 };
916
920 struct DeleteFileOptions final
921 {
925 LeaseAccessConditions AccessConditions;
926 };
927
932 {
936 Azure::Nullable<Core::Http::HttpRange> Range;
937
942 Azure::Nullable<HashAlgorithm> RangeHashAlgorithm;
943
947 LeaseAccessConditions AccessConditions;
948 };
949
954 {
958 Storage::Metadata Metadata;
959
965 Azure::Nullable<std::string> Permission;
966
973 Nullable<Models ::FilePermissionFormat> FilePermissionFormat;
974
979
984 Azure::Nullable<Models::PermissionCopyMode> PermissionCopyMode;
985
995 Azure::Nullable<CopyableFileSmbPropertyFlags> SmbPropertiesToCopy;
996
1001 Azure::Nullable<bool> IgnoreReadOnly;
1002
1007 Azure::Nullable<bool> SetArchiveAttribute;
1008
1012 LeaseAccessConditions AccessConditions;
1013
1018
1023 Azure::Nullable<Models::ModeCopyMode> ModeCopyMode;
1024
1029 Azure::Nullable<Models::OwnerCopyMode> OwnerCopyMode;
1030 };
1031
1036 {
1040 LeaseAccessConditions AccessConditions;
1041 };
1042
1047 {
1051 LeaseAccessConditions AccessConditions;
1052 };
1053
1058 {
1064 Azure::Nullable<std::string> Permission;
1065
1072 Nullable<Models ::FilePermissionFormat> FilePermissionFormat;
1073
1077 Azure::Nullable<int64_t> Size;
1078
1082 LeaseAccessConditions AccessConditions;
1083
1088 };
1089
1094 {
1098 LeaseAccessConditions AccessConditions;
1099 };
1100
1105 {
1112 Azure::Nullable<ContentHash> TransactionalContentHash;
1113
1117 LeaseAccessConditions AccessConditions;
1118
1123 Azure::Nullable<Models::FileLastWrittenMode> FileLastWrittenMode;
1124 };
1125
1130 {
1134 LeaseAccessConditions AccessConditions;
1135
1140 Azure::Nullable<Models::FileLastWrittenMode> FileLastWrittenMode;
1141 };
1142
1148 {
1153 Azure::Nullable<ContentHash> TransactionalContentHash;
1154
1158 ContentHashAccessConditions SourceAccessCondition;
1159
1163 LeaseAccessConditions AccessConditions;
1164
1169 Azure::Nullable<Models::FileLastWrittenMode> FileLastWrittenMode;
1170
1178 };
1179
1184 {
1188 Azure::Nullable<Core::Http::HttpRange> Range;
1189
1193 LeaseAccessConditions AccessConditions;
1194
1202 Azure::Nullable<bool> IncludeRenames;
1203 };
1204
1209 {
1216 Azure::Nullable<std::string> ContinuationToken;
1217
1223 Azure::Nullable<int32_t> PageSizeHint;
1224 };
1225
1231 {
1232 };
1233
1239 {
1246 Azure::Nullable<std::string> ContinuationToken;
1247 };
1248
1253 {
1257 Azure::Nullable<Core::Http::HttpRange> Range;
1258
1262 struct
1263 {
1269 int64_t InitialChunkSize = 256 * 1024 * 1024;
1270
1274 int64_t ChunkSize = 4 * 1024 * 1024;
1275
1279 int32_t Concurrency = 5;
1281 };
1282
1287 {
1292
1296 Storage::Metadata Metadata;
1297
1302
1309 Azure::Nullable<std::string> FilePermission;
1310
1317 Nullable<Models::FilePermissionFormat> FilePermissionFormat;
1318
1323
1327 struct
1328 {
1333 int64_t SingleUploadThreshold = 4 * 1024 * 1024;
1334
1338 int64_t ChunkSize = 4 * 1024 * 1024;
1339
1343 int32_t Concurrency = 5;
1345 };
1346
1351 {
1352 };
1353
1358 {
1359 };
1360
1365 {
1366 };
1367
1372 {
1380 Azure::Nullable<int32_t> BreakPeriod;
1381 };
1382
1387 {
1388 };
1389
1395 {
1399 LeaseAccessConditions AccessConditions;
1400 };
1401}}}} // namespace Azure::Storage::Files::Shares
Audiences available for share service.
Definition share_options.hpp:227
static ShareAudience CreateShareServiceAccountAudience(const std::string &storageAccountName)
The service endpoint for a given storage account. Use this method to acquire a token for authorizing ...
Definition share_options.hpp:249
AZ_STORAGE_FILES_SHARES_DLLEXPORT static const ShareAudience DefaultAudience
Default Audience. Use to acquire a token for authorizing requests to any Azure Storage account.
Definition share_options.hpp:258
ShareAudience(std::string shareAudience)
Construct a new ShareAudience object.
Definition share_options.hpp:237
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::AbortCopy.
Definition share_options.hpp:1036
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1040
Optional parameters for Azure::Storage::Files::Shares::ShareLeaseClient::Acquire.
Definition share_options.hpp:1351
Optional parameters for Azure::Storage::Files::Shares::ShareLeaseClient::Break.
Definition share_options.hpp:1372
Azure::Nullable< int32_t > BreakPeriod
Definition share_options.hpp:1380
Optional parameters for Azure::Storage::Files::Shares::ShareLeaseClient::Change.
Definition share_options.hpp:1358
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::ClearRange.
Definition share_options.hpp:1130
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1134
Azure::Nullable< Models::FileLastWrittenMode > FileLastWrittenMode
Definition share_options.hpp:1140
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::Create.
Definition share_options.hpp:570
Storage::Metadata Metadata
Definition share_options.hpp:574
Azure::Nullable< std::string > DirectoryPermission
Definition share_options.hpp:580
Nullable< Models::FilePermissionFormat > DirectoryPermissionFormat
Definition share_options.hpp:588
Models::FilePosixProperties PosixProperties
Definition share_options.hpp:598
Models::FileSmbProperties SmbProperties
Definition share_options.hpp:593
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::Create.
Definition share_options.hpp:875
Nullable< Models ::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:889
Models::FileSmbProperties SmbProperties
Definition share_options.hpp:894
Storage::Metadata Metadata
Definition share_options.hpp:904
Azure::Nullable< std::string > Permission
Definition share_options.hpp:881
LeaseAccessConditions AccessConditions
Definition share_options.hpp:909
Models::FilePosixProperties PosixProperties
Definition share_options.hpp:914
Models::FileHttpHeaders HttpHeaders
Definition share_options.hpp:899
Optional parameters for Azure::Storage::Files::Shares::ShareClient::Create.
Definition share_options.hpp:352
Azure::Nullable< Models::ShareRootSquash > RootSquash
Definition share_options.hpp:378
Nullable< std::int64_t > ProvisionedMaxBandwidthMibps
Definition share_options.hpp:417
Nullable< bool > EnablePaidBursting
Definition share_options.hpp:391
Nullable< std::int64_t > ProvisionedMaxIops
Definition share_options.hpp:410
Azure::Nullable< int64_t > ShareQuotaInGiB
Definition share_options.hpp:367
Storage::Metadata Metadata
Definition share_options.hpp:356
Azure::Nullable< Models::AccessTier > AccessTier
Definition share_options.hpp:362
Nullable< bool > EnableSnapshotVirtualDirectoryAccess
Definition share_options.hpp:385
Azure::Nullable< Models::ShareProtocols > EnabledProtocols
Definition share_options.hpp:372
Nullable< std::int64_t > PaidBurstingMaxIops
Definition share_options.hpp:397
Nullable< std::int64_t > PaidBurstingMaxBandwidthMibps
Definition share_options.hpp:403
Optional parameters for Azure::Storage::Files::Shares::ShareClient::CreatePermission.
Definition share_options.hpp:542
Nullable< Models::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:549
Optional parameters for Azure::Storage::Files::Shares::ShareClient::CreateSnapshot.
Definition share_options.hpp:435
Storage::Metadata Metadata
Definition share_options.hpp:439
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::Delete.
Definition share_options.hpp:728
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::Delete.
Definition share_options.hpp:921
LeaseAccessConditions AccessConditions
Definition share_options.hpp:925
Optional parameters for Azure::Storage::Files::Shares::ShareClient::Delete.
Definition share_options.hpp:424
Azure::Nullable< bool > DeleteSnapshots
Definition share_options.hpp:428
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::Download.
Definition share_options.hpp:932
Azure::Nullable< HashAlgorithm > RangeHashAlgorithm
Definition share_options.hpp:942
LeaseAccessConditions AccessConditions
Definition share_options.hpp:947
Azure::Nullable< Core::Http::HttpRange > Range
Definition share_options.hpp:936
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::DownloadTo.
Definition share_options.hpp:1253
Azure::Nullable< Core::Http::HttpRange > Range
Definition share_options.hpp:1257
int64_t ChunkSize
Definition share_options.hpp:1274
int32_t Concurrency
Definition share_options.hpp:1279
int64_t InitialChunkSize
Definition share_options.hpp:1269
struct Azure::Storage::Files::Shares::DownloadFileToOptions::@0 TransferOptions
Options for parallel transfer.
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::ForceCloseAllHandles.
Definition share_options.hpp:855
Azure::Nullable< bool > Recursive
Specifies operation should apply to the directory specified in the URI, its files,...
Definition share_options.hpp:868
Azure::Nullable< std::string > ContinuationToken
Definition share_options.hpp:862
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::ForceCloseAllHandles.
Definition share_options.hpp:1239
Azure::Nullable< std::string > ContinuationToken
Definition share_options.hpp:1246
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::ForceCloseHandle.
Definition share_options.hpp:847
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::ForceCloseHandle.
Definition share_options.hpp:1231
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::GetProperties.
Definition share_options.hpp:736
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::GetProperties.
Definition share_options.hpp:1047
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1051
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::GetRangeList.
Definition share_options.hpp:1184
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1193
Azure::Nullable< Core::Http::HttpRange > Range
Definition share_options.hpp:1188
Azure::Nullable< bool > IncludeRenames
Definition share_options.hpp:1202
Optional parameters for Azure::Storage::Files::Shares::ShareServiceClient::GetProperties.
Definition share_options.hpp:345
Optional parameters for Azure::Storage::Files::Shares::ShareClient::GetAccessPolicy.
Definition share_options.hpp:521
Optional parameters for Azure::Storage::Files::Shares::ShareClient::GetPermission.
Definition share_options.hpp:556
Nullable< Models::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:563
Optional parameters for Azure::Storage::Files::Shares::ShareClient::GetProperties.
Definition share_options.hpp:446
Optional parameters for Azure::Storage::Files::Shares::ShareClient::GetStatistics.
Definition share_options.hpp:535
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::ListHandles.
Definition share_options.hpp:819
Azure::Nullable< int32_t > PageSizeHint
Definition share_options.hpp:833
Azure::Nullable< std::string > ContinuationToken
Definition share_options.hpp:826
Azure::Nullable< bool > Recursive
Definition share_options.hpp:839
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::ListHandles.
Definition share_options.hpp:1209
Azure::Nullable< std::string > ContinuationToken
Definition share_options.hpp:1216
Azure::Nullable< int32_t > PageSizeHint
Definition share_options.hpp:1223
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::ListFilesAndDirectories.
Definition share_options.hpp:780
Nullable< bool > IncludeExtendedInfo
Definition share_options.hpp:811
Models::ListFilesIncludeFlags Include
Definition share_options.hpp:805
Azure::Nullable< std::string > Prefix
Definition share_options.hpp:785
Azure::Nullable< int32_t > PageSizeHint
Definition share_options.hpp:800
Azure::Nullable< std::string > ContinuationToken
Definition share_options.hpp:793
Optional parameters for Azure::Storage::Files::Shares::ShareServiceClient::ListShares.
Definition share_options.hpp:304
Azure::Nullable< Models::ListSharesIncludeFlags > ListSharesIncludeFlags
Definition share_options.hpp:329
Azure::Nullable< std::string > Prefix
Definition share_options.hpp:309
Azure::Nullable< std::string > ContinuationToken
Definition share_options.hpp:317
Azure::Nullable< int32_t > PageSizeHint
Definition share_options.hpp:324
Standard HTTP properties supported files.
Definition rest_client.hpp:1597
NFS properties. Note that these properties only apply to files or directories in premium NFS file acc...
Definition share_options.hpp:123
Nullable< std::int64_t > LinkCount
Definition share_options.hpp:147
Nullable< std::string > Group
Definition share_options.hpp:137
Nullable< std::string > Owner
Definition share_options.hpp:132
Nullable< NfsFileMode > FileMode
Definition share_options.hpp:127
Nullable< Models::NfsFileType > NfsFileType
Definition share_options.hpp:142
The SMB related properties for the file.
Definition rest_client.hpp:1060
The mode permissions of the file or directory.
Definition share_options.hpp:61
std::string ToSymbolicFileMode() const
Returns NfsFileMode as a string in symbolic notation.
bool EffectiveGroupIdentity
Set effective group ID (setgid) on the file or directory.
Definition share_options.hpp:85
static NfsFileMode ParseOctalFileMode(const std::string &modeString)
Returns a NfsFileMode from the octal string representation.
bool StickyBit
The sticky bit may be set on directories. The files in that directory may only be renamed or deleted ...
Definition share_options.hpp:91
RolePermissions Group
Permissions the group has over the file or directory.
Definition share_options.hpp:70
RolePermissions Owner
Permissions the owner has over the file or directory.
Definition share_options.hpp:65
static NfsFileMode ParseSymbolicFileMode(const std::string &modeString)
Returns a NfsFileMode from the symbolic string representation.
RolePermissions Other
Permissions other have over the file or directory.
Definition share_options.hpp:75
std::string ToOctalFileMode() const
Returns the octal representation of NfsFileMode as a string.
bool EffectiveUserIdentity
Set effective user ID (setuid) on the file or directory.
Definition share_options.hpp:80
Optional parameters for Azure::Storage::Files::Shares::ShareLeaseClient::Release.
Definition share_options.hpp:1365
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::RenameSubdirectory.
Definition share_options.hpp:670
Azure::Nullable< bool > IgnoreReadOnly
Definition share_options.hpp:686
Azure::Nullable< std::string > FilePermission
Definition share_options.hpp:708
LeaseAccessConditions AccessConditions
Definition share_options.hpp:691
Nullable< Models ::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:716
Models::FileSmbProperties SmbProperties
Definition share_options.hpp:701
Storage::Metadata Metadata
Definition share_options.hpp:721
Azure::Nullable< bool > ReplaceIfExists
Definition share_options.hpp:678
LeaseAccessConditions SourceAccessConditions
Definition share_options.hpp:696
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::RenameFile.
Definition share_options.hpp:606
LeaseAccessConditions SourceAccessConditions
Definition share_options.hpp:632
Models::FileSmbProperties SmbProperties
Definition share_options.hpp:637
Azure::Nullable< bool > IgnoreReadOnly
Definition share_options.hpp:622
Nullable< Models ::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:652
Azure::Nullable< std::string > FilePermission
Definition share_options.hpp:644
Storage::Metadata Metadata
Definition share_options.hpp:657
Azure::Nullable< bool > ReplaceIfExists
Definition share_options.hpp:614
Azure::Nullable< std::string > ContentType
Definition share_options.hpp:662
LeaseAccessConditions AccessConditions
Definition share_options.hpp:627
Optional parameters for Azure::Storage::Files::Shares::ShareLeaseClient::Renew.
Definition share_options.hpp:1387
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::SetMetadata.
Definition share_options.hpp:772
Optional parameters for Azure::Storage::Files::Shares::ShareDirectoryClient::SetProperties.
Definition share_options.hpp:744
Models::FilePosixProperties PosixProperties
Definition share_options.hpp:764
Azure::Nullable< std::string > FilePermission
Definition share_options.hpp:751
Nullable< Models ::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:759
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::SetMetadata.
Definition share_options.hpp:1094
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1098
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::SetProperties.
Definition share_options.hpp:1058
Nullable< Models ::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:1072
Models::FilePosixProperties PosixProperties
Definition share_options.hpp:1087
Azure::Nullable< std::string > Permission
Definition share_options.hpp:1064
Azure::Nullable< int64_t > Size
Definition share_options.hpp:1077
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1082
Optional parameters for Azure::Storage::Files::Shares::ShareServiceClient::SetProperties.
Definition share_options.hpp:337
Optional parameters for Azure::Storage::Files::Shares::ShareClient::SetAccessPolicy.
Definition share_options.hpp:528
Optional parameters for Azure::Storage::Files::Shares::ShareClient::SetMetadata.
Definition share_options.hpp:514
Optional parameters for Azure::Storage::Files::Shares::ShareClient::SetProperties.
Definition share_options.hpp:453
Nullable< std::int64_t > PaidBurstingMaxIops
Definition share_options.hpp:488
Azure::Nullable< Models::ShareRootSquash > RootSquash
Definition share_options.hpp:469
Nullable< std::int64_t > ProvisionedMaxIops
Definition share_options.hpp:500
Nullable< std::int64_t > ProvisionedMaxBandwidthMibps
Definition share_options.hpp:507
Nullable< bool > EnablePaidBursting
Definition share_options.hpp:482
Nullable< bool > EnableSnapshotVirtualDirectoryAccess
Definition share_options.hpp:476
Azure::Nullable< Models::AccessTier > AccessTier
Definition share_options.hpp:458
Nullable< std::int64_t > PaidBurstingMaxBandwidthMibps
Definition share_options.hpp:494
Azure::Nullable< int64_t > ShareQuotaInGiB
Definition share_options.hpp:463
Client options used to initialize share clients.
Definition share_options.hpp:265
Nullable< bool > AllowTrailingDot
Definition share_options.hpp:276
std::string ApiVersion
Definition share_options.hpp:269
Nullable< bool > AllowSourceTrailingDot
Definition share_options.hpp:283
Nullable< Models::ShareTokenIntent > ShareTokenIntent
Definition share_options.hpp:289
Azure::Nullable< ShareAudience > Audience
Definition share_options.hpp:296
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::StartCopy.
Definition share_options.hpp:954
Azure::Nullable< Models::ModeCopyMode > ModeCopyMode
Definition share_options.hpp:1023
Azure::Nullable< CopyableFileSmbPropertyFlags > SmbPropertiesToCopy
Definition share_options.hpp:995
Models::FileSmbProperties SmbProperties
Definition share_options.hpp:978
Models::FilePosixProperties PosixProperties
Definition share_options.hpp:1017
Azure::Nullable< std::string > Permission
Definition share_options.hpp:965
Azure::Nullable< Models::OwnerCopyMode > OwnerCopyMode
Definition share_options.hpp:1029
Azure::Nullable< bool > SetArchiveAttribute
Definition share_options.hpp:1007
Storage::Metadata Metadata
Definition share_options.hpp:958
Azure::Nullable< bool > IgnoreReadOnly
Definition share_options.hpp:1001
Azure::Nullable< Models::PermissionCopyMode > PermissionCopyMode
Definition share_options.hpp:984
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1012
Nullable< Models ::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:973
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::UploadFrom.
Definition share_options.hpp:1287
int32_t Concurrency
Definition share_options.hpp:1343
Models::FileHttpHeaders HttpHeaders
Definition share_options.hpp:1291
int64_t SingleUploadThreshold
Definition share_options.hpp:1333
Storage::Metadata Metadata
Definition share_options.hpp:1296
Nullable< Models::FilePermissionFormat > FilePermissionFormat
Definition share_options.hpp:1317
int64_t ChunkSize
Definition share_options.hpp:1338
Azure::Nullable< std::string > FilePermission
Definition share_options.hpp:1309
Models::FileSmbProperties SmbProperties
Definition share_options.hpp:1301
struct Azure::Storage::Files::Shares::UploadFileFromOptions::@1 TransferOptions
Options for parallel transfer.
Models::FilePosixProperties PosixProperties
Definition share_options.hpp:1322
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::UploadRangeFromUri.
Definition share_options.hpp:1148
Azure::Nullable< ContentHash > TransactionalContentHash
Definition share_options.hpp:1153
ContentHashAccessConditions SourceAccessCondition
Definition share_options.hpp:1158
Azure::Nullable< Models::FileLastWrittenMode > FileLastWrittenMode
Definition share_options.hpp:1169
std::string SourceAuthorization
Optional. Source authorization used to access the source file. The format is: <scheme> <signature> On...
Definition share_options.hpp:1177
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1163
Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::UploadRange.
Definition share_options.hpp:1105
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1117
Azure::Nullable< Models::FileLastWrittenMode > FileLastWrittenMode
Definition share_options.hpp:1123
Azure::Nullable< ContentHash > TransactionalContentHash
Definition share_options.hpp:1112