Remove CopyFromUri (#3339)
This commit is contained in:
parent
077d32ffff
commit
62865323e3
@ -4,7 +4,6 @@
|
||||
|
||||
### Features Added
|
||||
|
||||
- New API: `BlobClient::CopyFromUri()`.
|
||||
- Added `VersionId` in `SetBlobMetadataResult`.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
@ -201,23 +201,6 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
const SetBlobAccessTierOptions& options = SetBlobAccessTierOptions(),
|
||||
const Azure::Core::Context& context = Azure::Core::Context()) const;
|
||||
|
||||
/**
|
||||
* @brief Copies data from the source to this blob, synchronously.
|
||||
*
|
||||
* @param sourceUri Specifies the URL of the source blob. The value may be a URL of up to 2 KB
|
||||
* in length that specifies a blob. The value should be URL-encoded as it would appear in a
|
||||
* request URI. The source blob must either be public or must be authorized via a shared access
|
||||
* signature. If the size of the source blob is greater than 256 MB, the request will fail with
|
||||
* 409 (Conflict). The blob type of the source blob has to be block blob.
|
||||
* @param options Optional parameters to execute this function.
|
||||
* @param context Context for cancelling long running operations.
|
||||
* @return A CopyBlobFromUriResult describing the copy result.
|
||||
*/
|
||||
Azure::Response<Models::CopyBlobFromUriResult> CopyFromUri(
|
||||
const std::string& sourceUri,
|
||||
const CopyBlobFromUriOptions& options = CopyBlobFromUriOptions(),
|
||||
const Azure::Core::Context& context = Azure::Core::Context()) const;
|
||||
|
||||
/**
|
||||
* @brief Copies data at from the source to this blob.
|
||||
*
|
||||
|
||||
@ -497,52 +497,6 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
Azure::Nullable<bool> ShouldSealDestination;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Optional parameters for #Azure::Storage::Blobs::BlobClient::CopyFromUri.
|
||||
*/
|
||||
struct CopyBlobFromUriOptions
|
||||
{
|
||||
/**
|
||||
* @brief Specifies user-defined name-value pairs associated with the blob. If no
|
||||
* name-value pairs are specified, the operation will copy the metadata from the source blob or
|
||||
* file to the destination blob. If one or more name-value pairs are specified, the destination
|
||||
* blob is created with the specified metadata, and metadata is not copied from the source blob
|
||||
* or file.
|
||||
*/
|
||||
Storage::Metadata Metadata;
|
||||
|
||||
/**
|
||||
* @brief The tags to set for this blob.
|
||||
*/
|
||||
std::map<std::string, std::string> Tags;
|
||||
|
||||
/**
|
||||
* @brief Optional conditions that must be met to perform this operation.
|
||||
*/
|
||||
BlobAccessConditions AccessConditions;
|
||||
|
||||
/**
|
||||
* @brief Optional conditions that the source must meet to perform this operation.
|
||||
*
|
||||
* @note Lease access condition only works for API versions before 2012-02-12.
|
||||
*/
|
||||
struct : public Azure::ModifiedConditions, public Azure::MatchConditions
|
||||
{
|
||||
} SourceAccessConditions;
|
||||
|
||||
/**
|
||||
* @brief Specifies the tier to be set on the target blob.
|
||||
*/
|
||||
Azure::Nullable<Models::AccessTier> AccessTier;
|
||||
|
||||
/**
|
||||
* @brief Hash of the blob content. This hash is used to verify the integrity of
|
||||
* the blob during transport. When this header is specified, the storage service checks the hash
|
||||
* that has arrived with the one that was sent.
|
||||
*/
|
||||
Azure::Nullable<ContentHash> TransactionalContentHash;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Optional parameters for #Azure::Storage::Blobs::BlobClient::AbortCopyFromUri.
|
||||
*/
|
||||
|
||||
@ -2037,42 +2037,6 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
Models::CopyStatus CopyStatus;
|
||||
};
|
||||
} // namespace _detail
|
||||
/**
|
||||
* @brief Response type for #Azure::Storage::Blobs::BlobClient::CopyFromUri.
|
||||
*/
|
||||
struct CopyBlobFromUriResult final
|
||||
{
|
||||
/**
|
||||
* The ETag contains a value that you can use to perform operations conditionally. If the
|
||||
* request version is 2011-08-18 or newer, the ETag value will be in quotes.
|
||||
*/
|
||||
Azure::ETag ETag;
|
||||
/**
|
||||
* Returns the date and time the container was last modified. Any operation that modifies the
|
||||
* blob, including an update of the blob's metadata or properties, changes the last-modified
|
||||
* time of the blob.
|
||||
*/
|
||||
DateTime LastModified;
|
||||
/**
|
||||
* A DateTime value returned by the service that uniquely identifies the blob. The value of
|
||||
* this header indicates the blob version, and may be used in subsequent requests to access
|
||||
* this version of the blob.
|
||||
*/
|
||||
Nullable<std::string> VersionId;
|
||||
/**
|
||||
* String identifier for this copy operation.
|
||||
*/
|
||||
std::string CopyId;
|
||||
/**
|
||||
* State of the copy operation identified by x-ms-copy-id.
|
||||
*/
|
||||
Models::CopyStatus CopyStatus;
|
||||
/**
|
||||
* This response header is returned so that the client can check for the integrity of the
|
||||
* copied content. This header is only returned if the source content MD5 was specified.
|
||||
*/
|
||||
Nullable<ContentHash> TransactionalContentHash;
|
||||
};
|
||||
/**
|
||||
* @brief Response type for #Azure::Storage::Blobs::BlobClient::AbortCopyFromUri.
|
||||
*/
|
||||
@ -3248,11 +3212,6 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
Nullable<std::vector<uint8_t>> SourceContentMD5;
|
||||
Nullable<std::string> BlobTagsString;
|
||||
};
|
||||
static Response<Models::CopyBlobFromUriResult> CopyFromUri(
|
||||
Core::Http::_internal::HttpPipeline& pipeline,
|
||||
const Core::Url& url,
|
||||
const CopyBlobFromUriOptions& options,
|
||||
const Core::Context& context);
|
||||
struct AbortBlobCopyFromUriOptions final
|
||||
{
|
||||
std::string CopyId;
|
||||
|
||||
@ -641,45 +641,6 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
return _detail::BlobClient::SetTier(*m_pipeline, m_blobUrl, protocolLayerOptions, context);
|
||||
}
|
||||
|
||||
Azure::Response<Models::CopyBlobFromUriResult> BlobClient::CopyFromUri(
|
||||
const std::string& sourceUri,
|
||||
const CopyBlobFromUriOptions& options,
|
||||
const Azure::Core::Context& context) const
|
||||
{
|
||||
_detail::BlobClient::CopyBlobFromUriOptions protocolLayerOptions;
|
||||
protocolLayerOptions.Metadata
|
||||
= std::map<std::string, std::string>(options.Metadata.begin(), options.Metadata.end());
|
||||
protocolLayerOptions.BlobTagsString = std::accumulate(
|
||||
options.Tags.begin(),
|
||||
options.Tags.end(),
|
||||
std::string(),
|
||||
[](const std::string& a, const std::pair<std::string, std::string>& b) {
|
||||
return a + (a.empty() ? "" : "&") + _internal::UrlEncodeQueryParameter(b.first) + "="
|
||||
+ _internal::UrlEncodeQueryParameter(b.second);
|
||||
});
|
||||
protocolLayerOptions.CopySource = sourceUri;
|
||||
protocolLayerOptions.Tier = options.AccessTier;
|
||||
protocolLayerOptions.LeaseId = options.AccessConditions.LeaseId;
|
||||
protocolLayerOptions.IfModifiedSince = options.AccessConditions.IfModifiedSince;
|
||||
protocolLayerOptions.IfUnmodifiedSince = options.AccessConditions.IfUnmodifiedSince;
|
||||
protocolLayerOptions.IfMatch = options.AccessConditions.IfMatch;
|
||||
protocolLayerOptions.IfNoneMatch = options.AccessConditions.IfNoneMatch;
|
||||
protocolLayerOptions.IfTags = options.AccessConditions.TagConditions;
|
||||
protocolLayerOptions.SourceIfModifiedSince = options.SourceAccessConditions.IfModifiedSince;
|
||||
protocolLayerOptions.SourceIfUnmodifiedSince = options.SourceAccessConditions.IfUnmodifiedSince;
|
||||
protocolLayerOptions.SourceIfMatch = options.SourceAccessConditions.IfMatch;
|
||||
protocolLayerOptions.SourceIfNoneMatch = options.SourceAccessConditions.IfNoneMatch;
|
||||
if (options.TransactionalContentHash.HasValue())
|
||||
{
|
||||
AZURE_ASSERT_MSG(
|
||||
options.TransactionalContentHash.Value().Algorithm == HashAlgorithm::Md5,
|
||||
"This operation only supports MD5 transactional content hash.");
|
||||
protocolLayerOptions.SourceContentMD5 = options.TransactionalContentHash.Value().Value;
|
||||
}
|
||||
|
||||
return _detail::BlobClient::CopyFromUri(*m_pipeline, m_blobUrl, protocolLayerOptions, context);
|
||||
}
|
||||
|
||||
StartBlobCopyOperation BlobClient::StartCopyFromUri(
|
||||
const std::string& sourceUri,
|
||||
const StartBlobCopyFromUriOptions& options,
|
||||
|
||||
@ -4367,118 +4367,6 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
return Response<Models::_detail::StartBlobCopyFromUriResult>(
|
||||
std::move(response), std::move(pRawResponse));
|
||||
}
|
||||
Response<Models::CopyBlobFromUriResult> BlobClient::CopyFromUri(
|
||||
Core::Http::_internal::HttpPipeline& pipeline,
|
||||
const Core::Url& url,
|
||||
const CopyBlobFromUriOptions& options,
|
||||
const Core::Context& context)
|
||||
{
|
||||
auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url);
|
||||
request.SetHeader("x-ms-requires-sync", "true");
|
||||
for (const auto& p : options.Metadata)
|
||||
{
|
||||
request.SetHeader("x-ms-meta-" + p.first, p.second);
|
||||
}
|
||||
if (options.Tier.HasValue() && !options.Tier.Value().ToString().empty())
|
||||
{
|
||||
request.SetHeader("x-ms-access-tier", options.Tier.Value().ToString());
|
||||
}
|
||||
if (options.SourceIfModifiedSince.HasValue())
|
||||
{
|
||||
request.SetHeader(
|
||||
"x-ms-source-if-modified-since",
|
||||
options.SourceIfModifiedSince.Value().ToString(Azure::DateTime::DateFormat::Rfc1123));
|
||||
}
|
||||
if (options.SourceIfUnmodifiedSince.HasValue())
|
||||
{
|
||||
request.SetHeader(
|
||||
"x-ms-source-if-unmodified-since",
|
||||
options.SourceIfUnmodifiedSince.Value().ToString(Azure::DateTime::DateFormat::Rfc1123));
|
||||
}
|
||||
if (options.SourceIfMatch.HasValue() && !options.SourceIfMatch.ToString().empty())
|
||||
{
|
||||
request.SetHeader("x-ms-source-if-match", options.SourceIfMatch.ToString());
|
||||
}
|
||||
if (options.SourceIfNoneMatch.HasValue() && !options.SourceIfNoneMatch.ToString().empty())
|
||||
{
|
||||
request.SetHeader("x-ms-source-if-none-match", options.SourceIfNoneMatch.ToString());
|
||||
}
|
||||
if (options.IfModifiedSince.HasValue())
|
||||
{
|
||||
request.SetHeader(
|
||||
"If-Modified-Since",
|
||||
options.IfModifiedSince.Value().ToString(Azure::DateTime::DateFormat::Rfc1123));
|
||||
}
|
||||
if (options.IfUnmodifiedSince.HasValue())
|
||||
{
|
||||
request.SetHeader(
|
||||
"If-Unmodified-Since",
|
||||
options.IfUnmodifiedSince.Value().ToString(Azure::DateTime::DateFormat::Rfc1123));
|
||||
}
|
||||
if (options.IfMatch.HasValue() && !options.IfMatch.ToString().empty())
|
||||
{
|
||||
request.SetHeader("If-Match", options.IfMatch.ToString());
|
||||
}
|
||||
if (options.IfNoneMatch.HasValue() && !options.IfNoneMatch.ToString().empty())
|
||||
{
|
||||
request.SetHeader("If-None-Match", options.IfNoneMatch.ToString());
|
||||
}
|
||||
if (options.IfTags.HasValue() && !options.IfTags.Value().empty())
|
||||
{
|
||||
request.SetHeader("x-ms-if-tags", options.IfTags.Value());
|
||||
}
|
||||
if (!options.CopySource.empty())
|
||||
{
|
||||
request.SetHeader("x-ms-copy-source", options.CopySource);
|
||||
}
|
||||
if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty())
|
||||
{
|
||||
request.SetHeader("x-ms-lease-id", options.LeaseId.Value());
|
||||
}
|
||||
request.SetHeader("x-ms-version", "2020-02-10");
|
||||
if (options.SourceContentMD5.HasValue()
|
||||
&& !Core::Convert::Base64Encode(options.SourceContentMD5.Value()).empty())
|
||||
{
|
||||
request.SetHeader(
|
||||
"x-ms-source-content-md5",
|
||||
Core::Convert::Base64Encode(options.SourceContentMD5.Value()));
|
||||
}
|
||||
if (options.BlobTagsString.HasValue() && !options.BlobTagsString.Value().empty())
|
||||
{
|
||||
request.SetHeader("x-ms-tags", options.BlobTagsString.Value());
|
||||
}
|
||||
auto pRawResponse = pipeline.Send(request, context);
|
||||
auto httpStatusCode = pRawResponse->GetStatusCode();
|
||||
if (httpStatusCode != Core::Http::HttpStatusCode::Accepted)
|
||||
{
|
||||
throw StorageException::CreateFromResponse(std::move(pRawResponse));
|
||||
}
|
||||
Models::CopyBlobFromUriResult response;
|
||||
response.ETag = ETag(pRawResponse->GetHeaders().at("ETag"));
|
||||
response.LastModified = DateTime::Parse(
|
||||
pRawResponse->GetHeaders().at("Last-Modified"), Azure::DateTime::DateFormat::Rfc1123);
|
||||
if (pRawResponse->GetHeaders().count("x-ms-version-id") != 0)
|
||||
{
|
||||
response.VersionId = pRawResponse->GetHeaders().at("x-ms-version-id");
|
||||
}
|
||||
response.CopyId = pRawResponse->GetHeaders().at("x-ms-copy-id");
|
||||
response.CopyStatus = Models::CopyStatus(pRawResponse->GetHeaders().at("x-ms-copy-status"));
|
||||
if (pRawResponse->GetHeaders().count("Content-MD5") != 0)
|
||||
{
|
||||
response.TransactionalContentHash = ContentHash();
|
||||
response.TransactionalContentHash.Value().Value
|
||||
= Core::Convert::Base64Decode(pRawResponse->GetHeaders().at("Content-MD5"));
|
||||
response.TransactionalContentHash.Value().Algorithm = HashAlgorithm::Md5;
|
||||
}
|
||||
if (pRawResponse->GetHeaders().count("x-ms-content-crc64") != 0)
|
||||
{
|
||||
response.TransactionalContentHash = ContentHash();
|
||||
response.TransactionalContentHash.Value().Value
|
||||
= Core::Convert::Base64Decode(pRawResponse->GetHeaders().at("x-ms-content-crc64"));
|
||||
response.TransactionalContentHash.Value().Algorithm = HashAlgorithm::Crc64;
|
||||
}
|
||||
return Response<Models::CopyBlobFromUriResult>(std::move(response), std::move(pRawResponse));
|
||||
}
|
||||
Response<Models::AbortBlobCopyFromUriResult> BlobClient::AbortCopyFromUri(
|
||||
Core::Http::_internal::HttpPipeline& pipeline,
|
||||
const Core::Url& url,
|
||||
|
||||
@ -1139,25 +1139,6 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
EXPECT_NO_THROW(blockBlobClient.GetBlockList(options));
|
||||
}
|
||||
|
||||
{
|
||||
auto sourceBlobClient = Azure::Storage::Blobs::BlockBlobClient::CreateFromConnectionString(
|
||||
StandardStorageConnectionString(),
|
||||
m_containerName,
|
||||
m_containerName + "sourceBlobClient",
|
||||
InitClientOptions<Azure::Storage::Blobs::BlobClientOptions>());
|
||||
std::vector<uint8_t> buffer;
|
||||
buffer.resize(1024);
|
||||
sourceBlobClient.UploadFrom(buffer.data(), buffer.size());
|
||||
|
||||
Blobs::CopyBlobFromUriOptions options;
|
||||
options.AccessConditions.TagConditions = failWhereExpression;
|
||||
EXPECT_THROW(
|
||||
blockBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options),
|
||||
StorageException);
|
||||
options.AccessConditions.TagConditions = successWhereExpression;
|
||||
EXPECT_NO_THROW(blockBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options));
|
||||
}
|
||||
|
||||
{
|
||||
auto sourceBlobClient = Azure::Storage::Blobs::BlockBlobClient::CreateFromConnectionString(
|
||||
StandardStorageConnectionString(),
|
||||
|
||||
@ -340,43 +340,6 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
EXPECT_THROW(blockBlobClient.Download(options), StorageException);
|
||||
}
|
||||
|
||||
TEST_F(BlockBlobClientTest, SyncCopyFromUri)
|
||||
{
|
||||
auto const testName(GetTestName());
|
||||
auto blockBlobClient = GetBlockBlobClient(testName);
|
||||
UploadBlockBlob(8_MB);
|
||||
|
||||
const std::string blobName = testName + "blob";
|
||||
auto blobClient = GetBlobClient(blobName);
|
||||
|
||||
auto res = blobClient->CopyFromUri(blockBlobClient.GetUrl() + GetSas());
|
||||
EXPECT_EQ(res.RawResponse->GetStatusCode(), Azure::Core::Http::HttpStatusCode::Accepted);
|
||||
EXPECT_TRUE(res.Value.ETag.HasValue());
|
||||
EXPECT_TRUE(IsValidTime(res.Value.LastModified));
|
||||
EXPECT_FALSE(res.Value.CopyId.empty());
|
||||
EXPECT_EQ(res.Value.CopyStatus, Azure::Storage::Blobs::Models::CopyStatus::Success);
|
||||
|
||||
auto downloadResult = blobClient->Download();
|
||||
EXPECT_FALSE(downloadResult.Value.Details.CopyId.Value().empty());
|
||||
EXPECT_FALSE(downloadResult.Value.Details.CopySource.Value().empty());
|
||||
EXPECT_TRUE(
|
||||
downloadResult.Value.Details.CopyStatus.Value()
|
||||
== Azure::Storage::Blobs::Models::CopyStatus::Success);
|
||||
EXPECT_FALSE(downloadResult.Value.Details.CopyProgress.Value().empty());
|
||||
EXPECT_TRUE(IsValidTime(downloadResult.Value.Details.CopyCompletedOn.Value()));
|
||||
|
||||
auto blobItem = GetBlobItem(blobName, Blobs::Models::ListBlobsIncludeFlags::Copy);
|
||||
EXPECT_FALSE(blobItem.Details.CopyId.Value().empty());
|
||||
EXPECT_FALSE(blobItem.Details.CopySource.Value().empty());
|
||||
EXPECT_TRUE(
|
||||
blobItem.Details.CopyStatus.Value() == Azure::Storage::Blobs::Models::CopyStatus::Success);
|
||||
EXPECT_FALSE(blobItem.Details.CopyProgress.Value().empty());
|
||||
EXPECT_TRUE(IsValidTime(blobItem.Details.CopyCompletedOn.Value()));
|
||||
ASSERT_TRUE(blobItem.Details.IsIncrementalCopy.HasValue());
|
||||
EXPECT_FALSE(blobItem.Details.IsIncrementalCopy.Value());
|
||||
EXPECT_FALSE(blobItem.Details.IncrementalCopyDestinationSnapshot.HasValue());
|
||||
}
|
||||
|
||||
TEST_F(BlockBlobClientTest, AsyncCopyFromUri)
|
||||
{
|
||||
|
||||
@ -444,16 +407,6 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
auto properties = blobClient->GetProperties().Value;
|
||||
EXPECT_EQ(properties.Metadata, options.Metadata);
|
||||
EXPECT_EQ(properties.AccessTier.Value(), options.AccessTier.Value());
|
||||
|
||||
Blobs::CopyBlobFromUriOptions options2;
|
||||
options2.Tags = options.Tags;
|
||||
options2.Metadata = options.Metadata;
|
||||
options2.AccessTier = options.AccessTier;
|
||||
blobClient->CopyFromUri(blockBlobClient.GetUrl() + GetSas(), options2);
|
||||
EXPECT_EQ(blobClient->GetTags().Value, options2.Tags);
|
||||
properties = blobClient->GetProperties().Value;
|
||||
EXPECT_EQ(properties.Metadata, options2.Metadata);
|
||||
EXPECT_EQ(properties.AccessTier.Value(), options2.AccessTier.Value());
|
||||
}
|
||||
|
||||
TEST_F(BlockBlobClientTest, SnapShotVersions)
|
||||
@ -1535,14 +1488,6 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
options.SourceAccessConditions.IfMatch = DummyETag;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.StartCopyFromUri(sourceBlobClient.GetUrl(), options), StorageException);
|
||||
|
||||
Blobs::CopyBlobFromUriOptions options2;
|
||||
options2.SourceAccessConditions.IfMatch = eTag;
|
||||
EXPECT_NO_THROW(destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2));
|
||||
options2.SourceAccessConditions.IfMatch = DummyETag;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2),
|
||||
StorageException);
|
||||
}
|
||||
{
|
||||
Blobs::StartBlobCopyFromUriOptions options;
|
||||
@ -1551,14 +1496,6 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
options.SourceAccessConditions.IfNoneMatch = eTag;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.StartCopyFromUri(sourceBlobClient.GetUrl(), options), StorageException);
|
||||
|
||||
Blobs::CopyBlobFromUriOptions options2;
|
||||
options2.SourceAccessConditions.IfNoneMatch = DummyETag;
|
||||
EXPECT_NO_THROW(destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2));
|
||||
options2.SourceAccessConditions.IfNoneMatch = eTag;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2),
|
||||
StorageException);
|
||||
}
|
||||
{
|
||||
Blobs::StartBlobCopyFromUriOptions options;
|
||||
@ -1569,13 +1506,6 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
destBlobClient.StartCopyFromUri(sourceBlobClient.GetUrl(), options), StorageException);
|
||||
|
||||
sourceBlobClient.GetProperties();
|
||||
Blobs::CopyBlobFromUriOptions options2;
|
||||
options2.SourceAccessConditions.IfModifiedSince = timeBeforeStr;
|
||||
EXPECT_NO_THROW(destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2));
|
||||
options2.SourceAccessConditions.IfModifiedSince = timeAfterStr;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2),
|
||||
StorageException);
|
||||
}
|
||||
{
|
||||
Blobs::StartBlobCopyFromUriOptions options;
|
||||
@ -1584,47 +1514,6 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
options.SourceAccessConditions.IfUnmodifiedSince = timeBeforeStr;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.StartCopyFromUri(sourceBlobClient.GetUrl(), options), StorageException);
|
||||
|
||||
Blobs::CopyBlobFromUriOptions options2;
|
||||
options2.SourceAccessConditions.IfUnmodifiedSince = timeAfterStr;
|
||||
EXPECT_NO_THROW(destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2));
|
||||
options2.SourceAccessConditions.IfUnmodifiedSince = timeBeforeStr;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options2),
|
||||
StorageException);
|
||||
}
|
||||
|
||||
// lease
|
||||
{
|
||||
const std::string leaseId = Blobs::BlobLeaseClient::CreateUniqueLeaseId();
|
||||
const std::string dummyLeaseId = Blobs::BlobLeaseClient::CreateUniqueLeaseId();
|
||||
Blobs::BlobLeaseClient leaseClient(destBlobClient, leaseId);
|
||||
|
||||
leaseClient.Acquire(std::chrono::seconds(60));
|
||||
|
||||
Blobs::CopyBlobFromUriOptions options;
|
||||
options.AccessConditions.LeaseId = dummyLeaseId;
|
||||
EXPECT_THROW(
|
||||
destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options),
|
||||
StorageException);
|
||||
options.AccessConditions.LeaseId = leaseId;
|
||||
EXPECT_NO_THROW(destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options));
|
||||
leaseClient.Release();
|
||||
}
|
||||
|
||||
// content md5
|
||||
{
|
||||
const auto hash = sourceBlobClient.GetProperties().Value.HttpHeaders.ContentHash;
|
||||
ASSERT_FALSE(hash.Value.empty());
|
||||
|
||||
Blobs::CopyBlobFromUriOptions options;
|
||||
options.TransactionalContentHash = hash;
|
||||
options.TransactionalContentHash.Value().Value = Azure::Core::Convert::Base64Decode(DummyMd5);
|
||||
EXPECT_THROW(
|
||||
destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options),
|
||||
StorageException);
|
||||
options.TransactionalContentHash = hash;
|
||||
EXPECT_NO_THROW(destBlobClient.CopyFromUri(sourceBlobClient.GetUrl() + GetSas(), options));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -2,8 +2,8 @@
|
||||
"networkCallRecords": [
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "f491bbfe-4d5e-4a89-7b1b-09ee103ceac5",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "f8745a3e-7cb4-44aa-5ef8-21cb12c5be9d",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -12,20 +12,20 @@
|
||||
"REASON_PHRASE": "Created",
|
||||
"STATUS_CODE": "201",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE4E4D13D\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:27 GMT",
|
||||
"etag": "\"0x8D9ED0C55BE6456\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "f491bbfe-4d5e-4a89-7b1b-09ee103ceac5",
|
||||
"x-ms-request-id": "df3a11fb-201e-0024-66c8-f29c5e000000",
|
||||
"x-ms-client-request-id": "f8745a3e-7cb4-44aa-5ef8-21cb12c5be9d",
|
||||
"x-ms-request-id": "71b295bb-901e-003b-6bf5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions?restype=container"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "4124c281-24ac-448e-444d-304108835326",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "169e0fc6-dc19-4ed4-4fd6-788b911582a1",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -35,23 +35,23 @@
|
||||
"STATUS_CODE": "201",
|
||||
"content-length": "0",
|
||||
"content-md5": "DzQ7CTESaiDxM9Z8KwGKOw==",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE4E914F1\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:27 GMT",
|
||||
"etag": "\"0x8D9ED0C55E6B457\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "4124c281-24ac-448e-444d-304108835326",
|
||||
"x-ms-client-request-id": "169e0fc6-dc19-4ed4-4fd6-788b911582a1",
|
||||
"x-ms-content-crc64": "iknlm7CyG2k=",
|
||||
"x-ms-request-id": "df3a1211-201e-0024-77c8-f29c5e000000",
|
||||
"x-ms-request-id": "71b29698-901e-003b-3cf5-1e89f1000000",
|
||||
"x-ms-request-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.0356337Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:28.6209111Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "4dd212e9-b010-49f3-705b-d812b46e6c93",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "56293a3b-efdc-4153-5830-027cc1d53e2a",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -60,45 +60,45 @@
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE4EC21BB\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"etag": "\"0x8D9ED0C560DE59D\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "4dd212e9-b010-49f3-705b-d812b46e6c93",
|
||||
"x-ms-copy-id": "1eeb57c9-185d-4f50-8f39-a5e69bcbcd4a",
|
||||
"x-ms-client-request-id": "56293a3b-efdc-4153-5830-027cc1d53e2a",
|
||||
"x-ms-copy-id": "27dbe0ca-40b8-4b22-a26f-74f68d78adac",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "df3a1226-201e-0024-07c8-f29c5e000000",
|
||||
"x-ms-request-id": "71b29759-901e-003b-73f5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.0556219Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:28.8777629Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "53df77e5-dbe3-4eaa-7490-119d4edc9347",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "9e7f26a2-eafb-4014-62df-88ef099d364d",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:df3a1238-201e-0024-18c8-f29c5e000000\nTime:2021-12-16T22:03:30.0766472Z</Message></Error>",
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:71b29805-901e-003b-17f5-1e89f1000000\nTime:2022-02-11T03:12:29.1352715Z</Message></Error>",
|
||||
"REASON_PHRASE": "The source condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "412",
|
||||
"content-length": "265",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "53df77e5-dbe3-4eaa-7490-119d4edc9347",
|
||||
"x-ms-client-request-id": "9e7f26a2-eafb-4014-62df-88ef099d364d",
|
||||
"x-ms-error-code": "SourceConditionNotMet",
|
||||
"x-ms-request-id": "df3a1238-201e-0024-18c8-f29c5e000000",
|
||||
"x-ms-request-id": "71b29805-901e-003b-17f5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "3e125627-4612-490e-4402-0609a0bae69c",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "14396120-e971-400a-78e3-19023de81e16",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -107,93 +107,45 @@
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE4F94C74\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"etag": "\"0x8D9ED0C565BABF8\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:29 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "3e125627-4612-490e-4402-0609a0bae69c",
|
||||
"x-ms-content-crc64": "iknlm7CyG2k=",
|
||||
"x-ms-copy-id": "abaca9f4-7c5d-451d-9ee9-8cab7a2a91f2",
|
||||
"x-ms-client-request-id": "14396120-e971-400a-78e3-19023de81e16",
|
||||
"x-ms-copy-id": "ea13159c-8758-4c3a-afd3-cf1cb816cff5",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "ad22d48a-701e-0016-1ac8-f29c29000000",
|
||||
"x-ms-request-id": "71b298cf-901e-003b-50f5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.1545657Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:29.3894674Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "a3e8e2e5-ad29-4457-6b1e-af7a6f95c28a",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "2d547570-d9f9-4bf8-4359-3fccba9265cf",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>CannotVerifyCopySource</Code><Message>The condition specified using HTTP conditional header(s) is not met.\nRequestId:ad22d4b4-701e-0016-3ec8-f29c29000000\nTime:2021-12-16T22:03:30.1708949Z</Message></Error>",
|
||||
"REASON_PHRASE": "The condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "412",
|
||||
"content-length": "259",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "a3e8e2e5-ad29-4457-6b1e-af7a6f95c28a",
|
||||
"x-ms-error-code": "CannotVerifyCopySource",
|
||||
"x-ms-request-id": "ad22d4b4-701e-0016-3ec8-f29c29000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "53847c6e-1a6a-4ee1-6a2c-604fc0fd6f1b",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE505C072\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "53847c6e-1a6a-4ee1-6a2c-604fc0fd6f1b",
|
||||
"x-ms-copy-id": "a915aea1-dc82-4526-95d4-652677351c79",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "78fe8b89-601e-000a-60c8-f2ce49000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.2245250Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "f5c13e33-bec1-420e-4bee-95b1d14e2356",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:78fe8bae-601e-000a-03c8-f2ce49000000\nTime:2021-12-16T22:03:30.2380316Z</Message></Error>",
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:71b299a4-901e-003b-16f5-1e89f1000000\nTime:2022-02-11T03:12:29.6469782Z</Message></Error>",
|
||||
"REASON_PHRASE": "The source condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "412",
|
||||
"content-length": "265",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "f5c13e33-bec1-420e-4bee-95b1d14e2356",
|
||||
"x-ms-client-request-id": "2d547570-d9f9-4bf8-4359-3fccba9265cf",
|
||||
"x-ms-error-code": "SourceConditionNotMet",
|
||||
"x-ms-request-id": "78fe8bae-601e-000a-03c8-f2ce49000000",
|
||||
"x-ms-request-id": "71b299a4-901e-003b-16f5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "e6addd4d-357c-48b5-49e6-166adf41b177",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "ef69a9dc-c547-4480-441a-6649e4d6490d",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -202,92 +154,45 @@
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE5190E6E\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:29 GMT",
|
||||
"etag": "\"0x8D9ED0C56AB6DDC\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:29 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "e6addd4d-357c-48b5-49e6-166adf41b177",
|
||||
"x-ms-content-crc64": "iknlm7CyG2k=",
|
||||
"x-ms-copy-id": "c588f443-96bc-4d6b-bea0-ddb3369a7959",
|
||||
"x-ms-client-request-id": "ef69a9dc-c547-4480-441a-6649e4d6490d",
|
||||
"x-ms-copy-id": "fd36747e-2f15-4f25-a72a-fed62f3fd2ef",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "8ac16f49-501e-0011-6ac8-f2f04a000000",
|
||||
"x-ms-request-id": "71b29a72-901e-003b-5bf5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.3644459Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:29.9111660Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "876fbace-74ee-4c99-72e7-c329e537622b",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "36161802-df6c-4e38-7407-81f586a914c0",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "The condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "304",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "876fbace-74ee-4c99-72e7-c329e537622b",
|
||||
"x-ms-error-code": "CannotVerifyCopySource",
|
||||
"x-ms-request-id": "8ac16f6c-501e-0011-04c8-f2f04a000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "077e6997-0ff4-4606-6adb-8612189b6bc6",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE52614FB\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "077e6997-0ff4-4606-6adb-8612189b6bc6",
|
||||
"x-ms-copy-id": "36e4c8ce-b418-439e-8897-71970274e93d",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "7b73d8ef-901e-0053-0ac8-f249ca000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.4364043Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "97430e8f-2e51-4d9c-7d57-8dae7fbfd9be",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:7b73d907-901e-0053-1ec8-f249ca000000\nTime:2021-12-16T22:03:30.4503002Z</Message></Error>",
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:71b29b52-901e-003b-25f5-1e89f1000000\nTime:2022-02-11T03:12:30.1696770Z</Message></Error>",
|
||||
"REASON_PHRASE": "The source condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "412",
|
||||
"content-length": "265",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:29 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "97430e8f-2e51-4d9c-7d57-8dae7fbfd9be",
|
||||
"x-ms-client-request-id": "36161802-df6c-4e38-7407-81f586a914c0",
|
||||
"x-ms-error-code": "SourceConditionNotMet",
|
||||
"x-ms-request-id": "7b73d907-901e-0053-1ec8-f249ca000000",
|
||||
"x-ms-request-id": "71b29b52-901e-003b-25f5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "528c75f8-d9b9-48a7-53bf-385525d3d741",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "e3205e19-ffda-49e8-6172-dfe9c902d1ce",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "HEAD",
|
||||
@ -299,29 +204,30 @@
|
||||
"content-length": "1024",
|
||||
"content-md5": "DzQ7CTESaiDxM9Z8KwGKOw==",
|
||||
"content-type": "application/octet-stream",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"etag": "\"0x8D9C0DFE4E914F1\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:29 GMT",
|
||||
"etag": "\"0x8D9ED0C55E6B457\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"vary": "Origin",
|
||||
"x-ms-access-tier": "Hot",
|
||||
"x-ms-access-tier-inferred": "true",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "528c75f8-d9b9-48a7-53bf-385525d3d741",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"x-ms-client-request-id": "e3205e19-ffda-49e8-6172-dfe9c902d1ce",
|
||||
"x-ms-creation-time": "Fri, 11 Feb 2022 03:12:28 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-request-id": "37485c19-401e-006f-7cc8-f2600d000000",
|
||||
"x-ms-request-id": "71b29bf9-901e-003b-41f5-1e89f1000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.0356337Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:28.6209111Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "46bf22d9-9b3d-4e45-7135-d1fdedb88b35",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "559dcd59-a0ef-480f-6895-6cc3765e6ad2",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -330,315 +236,45 @@
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"etag": "\"0x8D9C0DFE534CAE8\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:29 GMT",
|
||||
"etag": "\"0x8D9ED0C57201769\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "46bf22d9-9b3d-4e45-7135-d1fdedb88b35",
|
||||
"x-ms-content-crc64": "iknlm7CyG2k=",
|
||||
"x-ms-copy-id": "f5739cc3-9c5f-4704-9efd-73a501c2168a",
|
||||
"x-ms-client-request-id": "559dcd59-a0ef-480f-6895-6cc3765e6ad2",
|
||||
"x-ms-copy-id": "cdf6b219-b2fa-4cee-849f-b4d634faff52",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "37485c2e-401e-006f-0fc8-f2600d000000",
|
||||
"x-ms-request-id": "71b29c8c-901e-003b-4bf5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.5463416Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:30.6767233Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "525b6201-e64c-43bb-48d9-55151e539be7",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "4e833554-b563-4fd5-649a-a598d36fb00a",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "The condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "304",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "525b6201-e64c-43bb-48d9-55151e539be7",
|
||||
"x-ms-error-code": "CannotVerifyCopySource",
|
||||
"x-ms-request-id": "37485c65-401e-006f-41c8-f2600d000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "933bf377-f7ad-477b-424a-1c8fef3442cd",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"etag": "\"0x8D9C0DFE54001C5\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "933bf377-f7ad-477b-424a-1c8fef3442cd",
|
||||
"x-ms-copy-id": "b909cb2f-7b30-4540-9e99-640ba1d1acf0",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "2493a835-501e-0063-48c8-f2f705000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.6073063Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "086e9bfc-6562-4c3d-745a-83385d29dd4f",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:2493a83f-501e-0063-50c8-f2f705000000\nTime:2021-12-16T22:03:30.6258201Z</Message></Error>",
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>SourceConditionNotMet</Code><Message>The source condition specified using HTTP conditional header(s) is not met.\nRequestId:71b29d32-901e-003b-5ff5-1e89f1000000\nTime:2022-02-11T03:12:30.9332387Z</Message></Error>",
|
||||
"REASON_PHRASE": "The source condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "412",
|
||||
"content-length": "265",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:29 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "086e9bfc-6562-4c3d-745a-83385d29dd4f",
|
||||
"x-ms-client-request-id": "4e833554-b563-4fd5-649a-a598d36fb00a",
|
||||
"x-ms-error-code": "SourceConditionNotMet",
|
||||
"x-ms-request-id": "2493a83f-501e-0063-50c8-f2f705000000",
|
||||
"x-ms-request-id": "71b29d32-901e-003b-5ff5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "7468508f-57ca-4ecc-79d1-6f60ae3c966c",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"etag": "\"0x8D9C0DFE54D7F10\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "7468508f-57ca-4ecc-79d1-6f60ae3c966c",
|
||||
"x-ms-content-crc64": "iknlm7CyG2k=",
|
||||
"x-ms-copy-id": "ff5aa897-75d2-4cb4-93be-3aaaeb6756c5",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "7da1300a-201e-0056-29c8-f29b11000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.7092475Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "62e82b11-0828-4593-70cf-bf2c8504a662",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>CannotVerifyCopySource</Code><Message>The condition specified using HTTP conditional header(s) is not met.\nRequestId:7da1302a-201e-0056-47c8-f29b11000000\nTime:2021-12-16T22:03:31.0175230Z</Message></Error>",
|
||||
"REASON_PHRASE": "The condition specified using HTTP conditional header(s) is not met.",
|
||||
"STATUS_CODE": "412",
|
||||
"content-length": "259",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "62e82b11-0828-4593-70cf-bf2c8504a662",
|
||||
"x-ms-error-code": "CannotVerifyCopySource",
|
||||
"x-ms-request-id": "7da1302a-201e-0056-47c8-f29b11000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "3b64e768-99ec-4751-4df5-1aedc00aca37",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Created",
|
||||
"STATUS_CODE": "201",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"etag": "\"0x8D9C0DFE54D7F10\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "3b64e768-99ec-4751-4df5-1aedc00aca37",
|
||||
"x-ms-lease-id": "3eb1394b-5604-44f1-7668-f654837d9d47",
|
||||
"x-ms-request-id": "dd8d24ff-101e-005d-36c8-f2607a000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2?comp=lease"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "0a371bf8-33b5-4c17-7ae2-8ca722b511b0",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>LeaseIdMismatchWithBlobOperation</Code><Message>The lease ID specified did not match the lease ID for the blob.\nRequestId:dd8d2512-101e-005d-44c8-f2607a000000\nTime:2021-12-16T22:03:31.1195803Z</Message></Error>",
|
||||
"REASON_PHRASE": "The lease ID specified did not match the lease ID for the blob.",
|
||||
"STATUS_CODE": "412",
|
||||
"content-length": "264",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:31 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "0a371bf8-33b5-4c17-7ae2-8ca722b511b0",
|
||||
"x-ms-error-code": "LeaseIdMismatchWithBlobOperation",
|
||||
"x-ms-request-id": "dd8d2512-101e-005d-44c8-f2607a000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "fc2943c6-b234-425b-7b62-e3ad5a2301a1",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"etag": "\"0x8D9C0DFE59A4267\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:31 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "fc2943c6-b234-425b-7b62-e3ad5a2301a1",
|
||||
"x-ms-content-crc64": "iknlm7CyG2k=",
|
||||
"x-ms-copy-id": "7ddb7987-6e45-4c92-b2ff-f34d5938283e",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "9b7a1de4-c01e-003c-71c8-f24339000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:31.2099605Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "901c1973-47b6-47b5-7bde-7c516a79f52d",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "OK",
|
||||
"STATUS_CODE": "200",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"etag": "\"0x8D9C0DFE59A4267\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:31 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "901c1973-47b6-47b5-7bde-7c516a79f52d",
|
||||
"x-ms-request-id": "9b7a1e16-c01e-003c-1ac8-f24339000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2?comp=lease"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "16b62b15-3b1f-4637-4680-b965a4c7bbf8",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "HEAD",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "OK",
|
||||
"STATUS_CODE": "200",
|
||||
"accept-ranges": "bytes",
|
||||
"content-length": "1024",
|
||||
"content-md5": "DzQ7CTESaiDxM9Z8KwGKOw==",
|
||||
"content-type": "application/octet-stream",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"etag": "\"0x8D9C0DFE4E914F1\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-access-tier": "Hot",
|
||||
"x-ms-access-tier-inferred": "true",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "16b62b15-3b1f-4637-4680-b965a4c7bbf8",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-request-id": "9b7a1e23-c01e-003c-26c8-f24339000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:30.0356337Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "c7c75729-fc4a-4682-6964-37bde85272ba",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>Md5Mismatch</Code><Message>The MD5 value specified in the request did not match with the MD5 value calculated by the server.\nRequestId:9b7a1e2b-c01e-003c-2dc8-f24339000000\nTime:2021-12-16T22:03:31.2607479Z</Message><UserSpecifiedMd5>tQbD1aMPeB+LiPffUwFQJQ==</UserSpecifiedMd5><ServerCalculatedMd5>DzQ7CTESaiDxM9Z8KwGKOw==</ServerCalculatedMd5></Error>",
|
||||
"REASON_PHRASE": "The MD5 value specified in the request did not match with the MD5 value calculated by the server.",
|
||||
"STATUS_CODE": "400",
|
||||
"content-length": "405",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:03:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "c7c75729-fc4a-4682-6964-37bde85272ba",
|
||||
"x-ms-error-code": "Md5Mismatch",
|
||||
"x-ms-request-id": "9b7a1e2b-c01e-003c-2dc8-f24339000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "94950a1b-4d8d-4682-6035-a046fb0cf7d7",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"content-md5": "DzQ7CTESaiDxM9Z8KwGKOw==",
|
||||
"date": "Thu, 16 Dec 2021 22:03:31 GMT",
|
||||
"etag": "\"0x8D9C0DFE5B3EFB8\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:03:31 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "94950a1b-4d8d-4682-6035-a046fb0cf7d7",
|
||||
"x-ms-copy-id": "e0d84add-f4b3-4c1d-9101-4c84ccd7d97f",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "5dd4bc4a-601e-0057-1fc8-f2c4cd000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:03:31.3868611Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions/sourceblobaccessconditions2"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "e84c1357-454b-48cb-65c3-efa3851330cd",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "5c142974-5845-4d53-5345-7d823511544c",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "DELETE",
|
||||
@ -647,10 +283,10 @@
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:03:31 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:30 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "e84c1357-454b-48cb-65c3-efa3851330cd",
|
||||
"x-ms-request-id": "5dd4bc7c-601e-0057-4ac8-f2c4cd000000",
|
||||
"x-ms-client-request-id": "5c142974-5845-4d53-5345-7d823511544c",
|
||||
"x-ms-request-id": "71b29e0b-901e-003b-28f5-1e89f1000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blobcontainerclienttestsourceblobaccessconditions?restype=container"
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
"networkCallRecords": [
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "7d24cc71-aa97-4c63-4969-f47fa74c2dec",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "be7c792f-b1b7-4e6f-6120-64a433bcfe0c",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -12,20 +12,20 @@
|
||||
"REASON_PHRASE": "Created",
|
||||
"STATUS_CODE": "201",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"etag": "\"0x8D9C0E001DE1B9E\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:01 GMT",
|
||||
"etag": "\"0x8D9ED0C4621518D\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:02 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "7d24cc71-aa97-4c63-4969-f47fa74c2dec",
|
||||
"x-ms-request-id": "9097b259-401e-0032-29c8-f26a89000000",
|
||||
"x-ms-client-request-id": "be7c792f-b1b7-4e6f-6120-64a433bcfe0c",
|
||||
"x-ms-request-id": "b9c602aa-a01e-0030-5ff5-1e729a000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier?restype=container"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "df627bad-9f58-4892-6a70-ab7cff370d68",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "68f55dfc-5ab7-4eee-585f-b5b7d553955e",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -35,23 +35,23 @@
|
||||
"STATUS_CODE": "201",
|
||||
"content-length": "0",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"etag": "\"0x8D9C0E0020A0D10\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:03 GMT",
|
||||
"etag": "\"0x8D9ED0C4781B3A7\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "df627bad-9f58-4892-6a70-ab7cff370d68",
|
||||
"x-ms-client-request-id": "68f55dfc-5ab7-4eee-585f-b5b7d553955e",
|
||||
"x-ms-content-crc64": "DU01Kv81ewI=",
|
||||
"x-ms-request-id": "9097b27e-401e-0032-4ac8-f26a89000000",
|
||||
"x-ms-request-id": "b9c60324-a01e-0030-4bf5-1e729a000000",
|
||||
"x-ms-request-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:18.9056272Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:04.4708775Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTier"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "ff1b397b-31c5-4ebd-531f-b4a52c16acca",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "3b241d0b-66e2-46ff-590d-44def5f6bc67",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "HEAD",
|
||||
@ -67,53 +67,54 @@
|
||||
"content-length": "8388608",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"content-type": "application/x-binary",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"etag": "\"0x8D9C0E0020A0D10\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:03 GMT",
|
||||
"etag": "\"0x8D9ED0C4781B3A7\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"vary": "Origin",
|
||||
"x-ms-access-tier": "Hot",
|
||||
"x-ms-access-tier-change-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-access-tier-change-time": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "ff1b397b-31c5-4ebd-531f-b4a52c16acca",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-client-request-id": "3b241d0b-66e2-46ff-590d-44def5f6bc67",
|
||||
"x-ms-creation-time": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-meta-key1": "V1",
|
||||
"x-ms-meta-key2": "Value2",
|
||||
"x-ms-request-id": "9097b3ff-401e-0032-37c8-f26a89000000",
|
||||
"x-ms-request-id": "b9c60539-a01e-0030-18f5-1e729a000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:18.9056272Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:04.4708775Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTier"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "100ee672-a8fc-4840-6e02-67c02bf2766b",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "1fb4f609-26f1-4952-509f-1b7a3154aa2a",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ContainerAlreadyExists</Code><Message>The specified container already exists.\nRequestId:9097b415-401e-0032-4dc8-f26a89000000\nTime:2021-12-16T22:04:18.9304631Z</Message></Error>",
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ContainerAlreadyExists</Code><Message>The specified container already exists.\nRequestId:b9c6057e-a01e-0030-52f5-1e729a000000\nTime:2022-02-11T03:12:04.9688834Z</Message></Error>",
|
||||
"REASON_PHRASE": "The specified container already exists.",
|
||||
"STATUS_CODE": "409",
|
||||
"content-length": "230",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "100ee672-a8fc-4840-6e02-67c02bf2766b",
|
||||
"x-ms-client-request-id": "1fb4f609-26f1-4952-509f-1b7a3154aa2a",
|
||||
"x-ms-error-code": "ContainerAlreadyExists",
|
||||
"x-ms-request-id": "9097b415-401e-0032-4dc8-f26a89000000",
|
||||
"x-ms-request-id": "b9c6057e-a01e-0030-52f5-1e729a000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier?restype=container"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "a4c089ba-c43f-4274-5e31-7ccd54d78790",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "9abe58b7-11a2-424b-478c-1e3e20e60a67",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
@ -122,23 +123,23 @@
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"etag": "\"0x8D9C0E002157D15\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"etag": "\"0x8D9ED0C47F488B4\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "a4c089ba-c43f-4274-5e31-7ccd54d78790",
|
||||
"x-ms-copy-id": "945f5ef8-d16c-4725-94aa-06750c6a2f85",
|
||||
"x-ms-client-request-id": "9abe58b7-11a2-424b-478c-1e3e20e60a67",
|
||||
"x-ms-copy-id": "9ddecf1c-eeec-4ebd-a40d-894a86e32c23",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "f29278bf-701e-0039-47c8-f291e2000000",
|
||||
"x-ms-request-id": "b9c605bb-a01e-0030-06f5-1e729a000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:18.9805845Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:05.2244417Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTierblob"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "b45cc05b-bcac-474e-5365-20d361647029",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "ad300ef6-6140-4b11-585d-40d1ecc9ffe1",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "HEAD",
|
||||
@ -154,37 +155,38 @@
|
||||
"content-length": "8388608",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"content-type": "application/x-binary",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"etag": "\"0x8D9C0E002157D15\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"etag": "\"0x8D9ED0C47F488B4\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"vary": "Origin",
|
||||
"x-ms-access-tier": "Cool",
|
||||
"x-ms-access-tier-change-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-access-tier-change-time": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "b45cc05b-bcac-474e-5365-20d361647029",
|
||||
"x-ms-copy-completion-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-copy-id": "945f5ef8-d16c-4725-94aa-06750c6a2f85",
|
||||
"x-ms-client-request-id": "ad300ef6-6140-4b11-585d-40d1ecc9ffe1",
|
||||
"x-ms-copy-completion-time": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"x-ms-copy-id": "9ddecf1c-eeec-4ebd-a40d-894a86e32c23",
|
||||
"x-ms-copy-progress": "8388608/8388608",
|
||||
"x-ms-copy-source": "https://forcpprecordings.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTier",
|
||||
"x-ms-copy-source": "https://standardv2ut.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTier",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-creation-time": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-meta-key1": "value1",
|
||||
"x-ms-meta-key2": "value2",
|
||||
"x-ms-request-id": "f29278d3-701e-0039-56c8-f291e2000000",
|
||||
"x-ms-request-id": "b9c605fb-a01e-0030-3ff5-1e729a000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-tag-count": "3",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:18.9805845Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:05.2244417Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTierblob"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "f821b509-6055-40e0-4cd2-e4fd3acdcb0e",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "48ffd2fc-f9d7-41da-5674-6f8950f0727d",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "GET",
|
||||
@ -194,18 +196,19 @@
|
||||
"STATUS_CODE": "200",
|
||||
"content-length": "225",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:04 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "f821b509-6055-40e0-4cd2-e4fd3acdcb0e",
|
||||
"x-ms-request-id": "f29278e3-701e-0039-66c8-f291e2000000",
|
||||
"vary": "Origin",
|
||||
"x-ms-client-request-id": "48ffd2fc-f9d7-41da-5674-6f8950f0727d",
|
||||
"x-ms-request-id": "b9c60620-a01e-0030-5df5-1e729a000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTierblob?comp=tags"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "3a44bbde-1e9c-45f2-6798-ed427e14c965",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "d28f8ea8-abcd-4764-5148-1972544eb44a",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "HEAD",
|
||||
@ -221,130 +224,38 @@
|
||||
"content-length": "8388608",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"content-type": "application/x-binary",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"etag": "\"0x8D9C0E002157D15\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"etag": "\"0x8D9ED0C47F488B4\"",
|
||||
"last-modified": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"vary": "Origin",
|
||||
"x-ms-access-tier": "Cool",
|
||||
"x-ms-access-tier-change-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-access-tier-change-time": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "3a44bbde-1e9c-45f2-6798-ed427e14c965",
|
||||
"x-ms-copy-completion-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-copy-id": "945f5ef8-d16c-4725-94aa-06750c6a2f85",
|
||||
"x-ms-client-request-id": "d28f8ea8-abcd-4764-5148-1972544eb44a",
|
||||
"x-ms-copy-completion-time": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"x-ms-copy-id": "9ddecf1c-eeec-4ebd-a40d-894a86e32c23",
|
||||
"x-ms-copy-progress": "8388608/8388608",
|
||||
"x-ms-copy-source": "https://forcpprecordings.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTier",
|
||||
"x-ms-copy-source": "https://standardv2ut.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTier",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"x-ms-creation-time": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-meta-key1": "value1",
|
||||
"x-ms-meta-key2": "value2",
|
||||
"x-ms-request-id": "f29278f2-701e-0039-72c8-f291e2000000",
|
||||
"x-ms-request-id": "b9c6065b-a01e-0030-0df5-1e729a000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-tag-count": "3",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:18.9805845Z"
|
||||
"x-ms-version-id": "2022-02-11T03:12:05.2244417Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTierblob"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "b3a9fb6f-b2eb-4fc5-7d97-4bfb89fb14d6",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"etag": "\"0x8D9C0E0022A6A68\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:19 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "b3a9fb6f-b2eb-4fc5-7d97-4bfb89fb14d6",
|
||||
"x-ms-content-crc64": "DU01Kv81ewI=",
|
||||
"x-ms-copy-id": "50498d84-8995-4f25-bbc3-cbc33921f867",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "f29278f7-701e-0039-76c8-f291e2000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:19.2764164Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTierblob"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "be7281fe-7925-4dd4-528e-2dad35695bd0",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "GET",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Tags><TagSet><Tag><Key>key1</Key><Value>value1</Value></Tag><Tag><Key>key2</Key><Value>value2</Value></Tag><Tag><Key>key3 +-./:=_</Key><Value>v1 +-./:=_</Value></Tag></TagSet></Tags>",
|
||||
"REASON_PHRASE": "OK",
|
||||
"STATUS_CODE": "200",
|
||||
"content-length": "225",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "be7281fe-7925-4dd4-528e-2dad35695bd0",
|
||||
"x-ms-request-id": "f2927977-701e-0039-6dc8-f291e2000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTierblob?comp=tags"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "36cae37f-2538-4752-5030-947db4ad0ef4",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "HEAD",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "OK",
|
||||
"STATUS_CODE": "200",
|
||||
"accept-ranges": "bytes",
|
||||
"cache-control": "no-cache",
|
||||
"content-disposition": "attachment",
|
||||
"content-encoding": "identity",
|
||||
"content-language": "en-US",
|
||||
"content-length": "8388608",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"content-type": "application/x-binary",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"etag": "\"0x8D9C0E0022A6A68\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:19 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-access-tier": "Cool",
|
||||
"x-ms-access-tier-change-time": "Thu, 16 Dec 2021 22:04:19 GMT",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "36cae37f-2538-4752-5030-947db4ad0ef4",
|
||||
"x-ms-copy-completion-time": "Thu, 16 Dec 2021 22:04:19 GMT",
|
||||
"x-ms-copy-id": "50498d84-8995-4f25-bbc3-cbc33921f867",
|
||||
"x-ms-copy-progress": "8388608/8388608",
|
||||
"x-ms-copy-source": "https://forcpprecordings.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTier?se=2021-12-19T22:04:19Z&sp=racwdxlt&spr=https,http&sr=c&sv=2020-02-10",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:04:19 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-meta-key1": "value1",
|
||||
"x-ms-meta-key2": "value2",
|
||||
"x-ms-request-id": "f292797c-701e-0039-72c8-f291e2000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-tag-count": "3",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:19.2764164Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier/CopyWithTagsMetadataTierblob"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "4fbcc750-e5ae-45eb-7372-f90dc49649fa",
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)",
|
||||
"x-ms-client-request-id": "06053419-b3b9-497f-5745-d89643770285",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "DELETE",
|
||||
@ -353,10 +264,10 @@
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:04:18 GMT",
|
||||
"date": "Fri, 11 Feb 2022 03:12:05 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "4fbcc750-e5ae-45eb-7372-f90dc49649fa",
|
||||
"x-ms-request-id": "f2927987-701e-0039-7dc8-f291e2000000",
|
||||
"x-ms-client-request-id": "06053419-b3b9-497f-5745-d89643770285",
|
||||
"x-ms-request-id": "b9c60696-a01e-0030-41f5-1e729a000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestcopywithtagsmetadatatier?restype=container"
|
||||
|
||||
@ -1,224 +0,0 @@
|
||||
{
|
||||
"networkCallRecords": [
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "b52201fb-f2c4-4212-7ab4-06d3edd7fe67",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Created",
|
||||
"STATUS_CODE": "201",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:04:16 GMT",
|
||||
"etag": "\"0x8D9C0E000E021B6\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:16 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "b52201fb-f2c4-4212-7ab4-06d3edd7fe67",
|
||||
"x-ms-request-id": "5dd546ca-601e-0057-2dc8-f2c4cd000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri?restype=container"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "e629bb6f-e959-4472-47e0-3336eb655e8f",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Created",
|
||||
"STATUS_CODE": "201",
|
||||
"content-length": "0",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"date": "Thu, 16 Dec 2021 22:04:16 GMT",
|
||||
"etag": "\"0x8D9C0E0011549BC\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "e629bb6f-e959-4472-47e0-3336eb655e8f",
|
||||
"x-ms-content-crc64": "DU01Kv81ewI=",
|
||||
"x-ms-request-id": "5dd546db-601e-0057-3cc8-f2c4cd000000",
|
||||
"x-ms-request-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:17.3015484Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri/SyncCopyFromUri"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "22016724-cb91-4487-763b-3a5976062189",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "HEAD",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "OK",
|
||||
"STATUS_CODE": "200",
|
||||
"accept-ranges": "bytes",
|
||||
"cache-control": "no-cache",
|
||||
"content-disposition": "attachment",
|
||||
"content-encoding": "identity",
|
||||
"content-language": "en-US",
|
||||
"content-length": "8388608",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"content-type": "application/x-binary",
|
||||
"date": "Thu, 16 Dec 2021 22:04:16 GMT",
|
||||
"etag": "\"0x8D9C0E0011549BC\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-access-tier": "Hot",
|
||||
"x-ms-access-tier-change-time": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "22016724-cb91-4487-763b-3a5976062189",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-meta-key1": "V1",
|
||||
"x-ms-meta-key2": "Value2",
|
||||
"x-ms-request-id": "5dd54835-601e-0057-79c8-f2c4cd000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:17.3015484Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri/SyncCopyFromUri"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "8ef86d0c-6e08-4947-6f98-bfb42a686214",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ContainerAlreadyExists</Code><Message>The specified container already exists.\nRequestId:5dd5483d-601e-0057-01c8-f2c4cd000000\nTime:2021-12-16T22:04:17.3249720Z</Message></Error>",
|
||||
"REASON_PHRASE": "The specified container already exists.",
|
||||
"STATUS_CODE": "409",
|
||||
"content-length": "230",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:04:16 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "8ef86d0c-6e08-4947-6f98-bfb42a686214",
|
||||
"x-ms-error-code": "ContainerAlreadyExists",
|
||||
"x-ms-request-id": "5dd5483d-601e-0057-01c8-f2c4cd000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri?restype=container"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "b1becac9-a54a-4aa2-413f-fe815b473750",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "PUT",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"etag": "\"0x8D9C0E0012879CD\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "b1becac9-a54a-4aa2-413f-fe815b473750",
|
||||
"x-ms-content-crc64": "DU01Kv81ewI=",
|
||||
"x-ms-copy-id": "9a8c6874-e448-41be-a738-1ca03131aeb8",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-request-id": "f2d22db0-801e-005f-68c8-f2dec2000000",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:17.7183081Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri/SyncCopyFromUriblob"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "90d465c1-6577-4a2a-679c-c0f62c7b4543",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "GET",
|
||||
"Response": {
|
||||
"BODY": "__bodyStream__8388608_120",
|
||||
"REASON_PHRASE": "OK",
|
||||
"STATUS_CODE": "200",
|
||||
"accept-ranges": "bytes",
|
||||
"cache-control": "no-cache",
|
||||
"content-disposition": "attachment",
|
||||
"content-encoding": "identity",
|
||||
"content-language": "en-US",
|
||||
"content-length": "8388608",
|
||||
"content-md5": "IFj7U/ZD/NWKjYOgVUI5Kw==",
|
||||
"content-type": "application/x-binary",
|
||||
"date": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"etag": "\"0x8D9C0E0012879CD\"",
|
||||
"last-modified": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-blob-type": "BlockBlob",
|
||||
"x-ms-client-request-id": "90d465c1-6577-4a2a-679c-c0f62c7b4543",
|
||||
"x-ms-copy-completion-time": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"x-ms-copy-id": "9a8c6874-e448-41be-a738-1ca03131aeb8",
|
||||
"x-ms-copy-progress": "8388608/8388608",
|
||||
"x-ms-copy-source": "https://forcpprecordings.blob.core.windows.net/blockblobclienttestsynccopyfromuri/SyncCopyFromUri?se=2021-12-19T22:04:17Z&sp=racwdxlt&spr=https,http&sr=c&sv=2020-02-10",
|
||||
"x-ms-copy-status": "success",
|
||||
"x-ms-creation-time": "Thu, 16 Dec 2021 22:04:17 GMT",
|
||||
"x-ms-is-current-version": "true",
|
||||
"x-ms-lease-state": "available",
|
||||
"x-ms-lease-status": "unlocked",
|
||||
"x-ms-meta-key1": "V1",
|
||||
"x-ms-meta-key2": "Value2",
|
||||
"x-ms-request-id": "f2d22f5d-801e-005f-79c8-f2dec2000000",
|
||||
"x-ms-server-encrypted": "true",
|
||||
"x-ms-version": "2020-02-10",
|
||||
"x-ms-version-id": "2021-12-16T22:04:17.7183081Z"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri/SyncCopyFromUriblob"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "22c807dc-9020-4c21-68e5-3ec35bff8f80",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "GET",
|
||||
"Response": {
|
||||
"BODY": "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"https://forcpprecordings.blob.core.windows.net/\" ContainerName=\"blockblobclienttestsynccopyfromuri\"><Prefix>SyncCopyFromUriblob</Prefix><Blobs><Blob><Name>SyncCopyFromUriblob</Name><VersionId>2021-12-16T22:04:17.7183081Z</VersionId><IsCurrentVersion>true</IsCurrentVersion><Properties><Creation-Time>Thu, 16 Dec 2021 22:04:17 GMT</Creation-Time><Last-Modified>Thu, 16 Dec 2021 22:04:17 GMT</Last-Modified><Etag>0x8D9C0E0012879CD</Etag><Content-Length>8388608</Content-Length><Content-Type>application/x-binary</Content-Type><Content-Encoding>identity</Content-Encoding><Content-Language>en-US</Content-Language><Content-CRC64>AAAAAAAAAAA=</Content-CRC64><Content-MD5>IFj7U/ZD/NWKjYOgVUI5Kw==</Content-MD5><Cache-Control>no-cache</Cache-Control><Content-Disposition>attachment</Content-Disposition><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><CopyId>9a8c6874-e448-41be-a738-1ca03131aeb8</CopyId><CopySource>https://forcpprecordings.blob.core.windows.net/blockblobclienttestsynccopyfromuri/SyncCopyFromUri?se=2021-12-19T22:04:17Z&sp=racwdxlt&spr=https,http&sr=c&sv=2020-02-10</CopySource><CopyStatus>success</CopyStatus><CopyProgress>8388608/8388608</CopyProgress><CopyCompletionTime>Thu, 16 Dec 2021 22:04:17 GMT</CopyCompletionTime><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata /></Blob></Blobs><NextMarker /></EnumerationResults>",
|
||||
"REASON_PHRASE": "OK",
|
||||
"STATUS_CODE": "200",
|
||||
"content-type": "application/xml",
|
||||
"date": "Thu, 16 Dec 2021 22:04:16 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-ms-client-request-id": "22c807dc-9020-4c21-68e5-3ec35bff8f80",
|
||||
"x-ms-request-id": "7f2efa83-a01e-0015-19c8-f27d4d000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri?comp=list&include=copy&prefix=SyncCopyFromUriblob&restype=container"
|
||||
},
|
||||
{
|
||||
"Headers": {
|
||||
"user-agent": "azsdk-cpp-storage-blobs/12.2.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)",
|
||||
"x-ms-client-request-id": "6ff0f831-0467-46fe-7d4f-23360c5eda69",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Method": "DELETE",
|
||||
"Response": {
|
||||
"BODY": "",
|
||||
"REASON_PHRASE": "Accepted",
|
||||
"STATUS_CODE": "202",
|
||||
"content-length": "0",
|
||||
"date": "Thu, 16 Dec 2021 22:04:16 GMT",
|
||||
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
||||
"x-ms-client-request-id": "6ff0f831-0467-46fe-7d4f-23360c5eda69",
|
||||
"x-ms-request-id": "7f2efa8c-a01e-0015-21c8-f27d4d000000",
|
||||
"x-ms-version": "2020-02-10"
|
||||
},
|
||||
"Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestsynccopyfromuri?restype=container"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user