Datalakereturntype (#1916)
* DataLake 'Get' operation return type refine. * Added minor changes for Get return types in DataLake
This commit is contained in:
parent
2c369a2c3b
commit
f99b214be9
@ -16,6 +16,7 @@
|
||||
- Changed return type of `DataLakeFileSystemClient::GetProperties` to `DataLakeFileSystemProperties`.
|
||||
- Changed return type of `DataLakeFileSystemClient::GetAccessPolicy` to `DataLakeFileSystemAccessPolicy`.
|
||||
- Changed return type of `DataLakePathClient::GetProperties` to `DataLakePathProperties`.
|
||||
- Removed `GetUserDelegationKeyResult`.
|
||||
|
||||
## 12.0.0-beta.8 (2021-02-12)
|
||||
|
||||
|
||||
@ -15,7 +15,6 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { nam
|
||||
|
||||
// ServiceClient models:
|
||||
|
||||
using GetUserDelegationKeyResult = Blobs::Models::UserDelegationKey;
|
||||
using UserDelegationKey = Blobs::Models::UserDelegationKey;
|
||||
|
||||
struct FileSystemItemDetails
|
||||
|
||||
@ -98,8 +98,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
* will be truncated to second.
|
||||
* @param options Optional parameters to execute this function.
|
||||
* @param context Context for cancelling long running operations.
|
||||
* @return Azure::Response<Models::UserDelegationKey> containing the user
|
||||
* delegation key related information.
|
||||
* @return Azure::Response<Models::UserDelegationKey> containing the user delegation key.
|
||||
* @remark This request is sent to blob endpoint.
|
||||
*/
|
||||
Azure::Response<Models::UserDelegationKey> GetUserDelegationKey(
|
||||
|
||||
@ -418,7 +418,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
Azure::Core::Http::Request request(Azure::Core::Http::HttpMethod::Get, url);
|
||||
request.GetUrl().AppendQueryParameter(
|
||||
_detail::QueryFileSystemResource,
|
||||
_internal::UrlEncodeQueryParameter((listPathsOptions.Resource.ToString())));
|
||||
_internal::UrlEncodeQueryParameter(listPathsOptions.Resource.ToString()));
|
||||
if (listPathsOptions.Timeout.HasValue())
|
||||
{
|
||||
request.GetUrl().AppendQueryParameter(
|
||||
@ -580,7 +580,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
{
|
||||
request.GetUrl().AppendQueryParameter(
|
||||
_detail::QueryPathResourceType,
|
||||
_internal::UrlEncodeQueryParameter((createOptions.Resource.GetValue().ToString())));
|
||||
_internal::UrlEncodeQueryParameter(createOptions.Resource.GetValue().ToString()));
|
||||
}
|
||||
if (createOptions.ContinuationToken.HasValue())
|
||||
{
|
||||
@ -592,7 +592,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
{
|
||||
request.GetUrl().AppendQueryParameter(
|
||||
_detail::QueryPathRenameMode,
|
||||
_internal::UrlEncodeQueryParameter((createOptions.Mode.GetValue().ToString())));
|
||||
_internal::UrlEncodeQueryParameter(createOptions.Mode.GetValue().ToString()));
|
||||
}
|
||||
if (createOptions.CacheControl.HasValue())
|
||||
{
|
||||
@ -720,7 +720,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
request.GetUrl().AppendQueryParameter(
|
||||
_detail::QueryPathGetPropertiesAction,
|
||||
_internal::UrlEncodeQueryParameter(
|
||||
(getPropertiesOptions.Action.GetValue().ToString())));
|
||||
getPropertiesOptions.Action.GetValue().ToString()));
|
||||
}
|
||||
if (getPropertiesOptions.Upn.HasValue())
|
||||
{
|
||||
@ -942,8 +942,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
|
||||
}
|
||||
request.GetUrl().AppendQueryParameter(
|
||||
_detail::QueryPathSetAccessControlRecursiveMode,
|
||||
_internal::UrlEncodeQueryParameter(
|
||||
(setAccessControlRecursiveOptions.Mode.ToString())));
|
||||
_internal::UrlEncodeQueryParameter(setAccessControlRecursiveOptions.Mode.ToString()));
|
||||
if (setAccessControlRecursiveOptions.ForceFlag.HasValue())
|
||||
{
|
||||
request.GetUrl().AppendQueryParameter(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user