6#include "azure/storage/files/shares/rest_client.hpp"
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>
19namespace Azure {
namespace Storage {
namespace Files {
namespace Shares {
22 enum class RolePermissions
45 inline RolePermissions operator|(
const RolePermissions& lhs,
const RolePermissions& rhs)
47 using type = std::underlying_type_t<RolePermissions>;
48 return static_cast<RolePermissions
>(
static_cast<type
>(lhs) |
static_cast<type
>(rhs));
51 inline RolePermissions operator&(
const RolePermissions& lhs,
const RolePermissions& rhs)
53 using type = std::underlying_type_t<RolePermissions>;
54 return static_cast<RolePermissions
>(
static_cast<type
>(lhs) &
static_cast<type
>(rhs));
154 enum class CopyableFileSmbPropertyFlags
192 inline CopyableFileSmbPropertyFlags operator|(
193 CopyableFileSmbPropertyFlags lhs,
194 CopyableFileSmbPropertyFlags rhs)
196 using type = std::underlying_type_t<CopyableFileSmbPropertyFlags>;
197 return static_cast<CopyableFileSmbPropertyFlags
>(
198 static_cast<type
>(lhs) |
static_cast<type
>(rhs));
200 inline CopyableFileSmbPropertyFlags& operator|=(
201 CopyableFileSmbPropertyFlags& lhs,
202 CopyableFileSmbPropertyFlags rhs)
207 inline CopyableFileSmbPropertyFlags operator&(
208 CopyableFileSmbPropertyFlags lhs,
209 CopyableFileSmbPropertyFlags rhs)
211 using type = std::underlying_type_t<CopyableFileSmbPropertyFlags>;
212 return static_cast<CopyableFileSmbPropertyFlags
>(
213 static_cast<type
>(lhs) &
static_cast<type
>(rhs));
215 inline CopyableFileSmbPropertyFlags& operator&=(
216 CopyableFileSmbPropertyFlags& lhs,
217 CopyableFileSmbPropertyFlags rhs)
227 class ShareAudience final :
public Azure::Core::_internal::ExtendableEnumeration<ShareAudience> {
238 : ExtendableEnumeration(std::move(shareAudience))
251 return ShareAudience(
"https://" + storageAccountName +
".file.core.windows.net/");
805 Models::ListFilesIncludeFlags
Include = Models::ListFilesIncludeFlags ::None;
936 Azure::Nullable<Core::Http::HttpRange>
Range;
1188 Azure::Nullable<Core::Http::HttpRange>
Range;
1257 Azure::Nullable<Core::Http::HttpRange>
Range;
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::ShareFileClient::CreateHardLink.
Definition share_options.hpp:1395
LeaseAccessConditions AccessConditions
Definition share_options.hpp:1399
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
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::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::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::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