parent
50170a062d
commit
be601f2cdd
@ -38,7 +38,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
* container containing the blob to set the tier of.
|
||||
* @param blobName The name of the blob
|
||||
* to set the tier of.
|
||||
* @param Tier Indicates the tier to be set on the blob.
|
||||
* @param tier Indicates the tier to be set on the blob.
|
||||
*
|
||||
* @param options Optional parameters to execute this function.
|
||||
* @return An index of this
|
||||
@ -48,7 +48,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
int32_t SetBlobAccessTier(
|
||||
const std::string& containerName,
|
||||
const std::string& blobName,
|
||||
Models::AccessTier Tier,
|
||||
Models::AccessTier tier,
|
||||
const SetBlobAccessTierOptions& options = SetBlobAccessTierOptions());
|
||||
|
||||
private:
|
||||
|
||||
@ -177,13 +177,13 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
* @brief Sets the tier on a blob. The operation is allowed on a page blob in a premium
|
||||
* storage account and on a block blob in a blob storage or general purpose v2 account.
|
||||
*
|
||||
* @param Tier Indicates the tier to be set on the blob.
|
||||
* @param tier Indicates the tier to be set on the blob.
|
||||
* @param options Optional
|
||||
* parameters to execute this function.
|
||||
* @return A SetBlobAccessTierResult on successfully setting the tier.
|
||||
*/
|
||||
Azure::Core::Response<Models::SetBlobAccessTierResult> SetAccessTier(
|
||||
Models::AccessTier Tier,
|
||||
Models::AccessTier tier,
|
||||
const SetBlobAccessTierOptions& options = SetBlobAccessTierOptions()) const;
|
||||
|
||||
/**
|
||||
|
||||
@ -132,8 +132,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
else
|
||||
{
|
||||
newClient.m_blobUrl.AppendQueryParameter(
|
||||
Storage::Details::HttpQuerySnapshot,
|
||||
Storage::Details::UrlEncodeQueryParameter(snapshot));
|
||||
Storage::Details::HttpQuerySnapshot, Storage::Details::UrlEncodeQueryParameter(snapshot));
|
||||
}
|
||||
return newClient;
|
||||
}
|
||||
@ -544,11 +543,11 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
}
|
||||
|
||||
Azure::Core::Response<Models::SetBlobAccessTierResult> BlobClient::SetAccessTier(
|
||||
Models::AccessTier Tier,
|
||||
Models::AccessTier tier,
|
||||
const SetBlobAccessTierOptions& options) const
|
||||
{
|
||||
Details::BlobRestClient::Blob::SetBlobAccessTierOptions protocolLayerOptions;
|
||||
protocolLayerOptions.Tier = Tier;
|
||||
protocolLayerOptions.Tier = tier;
|
||||
protocolLayerOptions.RehydratePriority = options.RehydratePriority;
|
||||
return Details::BlobRestClient::Blob::SetAccessTier(
|
||||
options.Context, *m_pipeline, m_blobUrl, protocolLayerOptions);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user