From 351a61bd8d3e09b115e492c6b3811c640072e443 Mon Sep 17 00:00:00 2001 From: Sean McCullough Date: Wed, 15 Apr 2020 16:01:07 -0700 Subject: [PATCH] Generated with Set Blob Tier with Snapshot and Version swagger --- .../src/Generated/BlobRestClient.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs b/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs index 3e6daf6e22ea..95c4ab0a3a78 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs @@ -8143,6 +8143,8 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( /// The URL of the service account, container, or blob that is the targe of the desired operation. /// Indicates the tier to be set on the blob. /// Specifies the version of the operation to use for this request. + /// The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see Creating a Snapshot of a Blob. + /// The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. /// The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations. /// Optional: Indicates the priority with which to rehydrate an archived blob. /// Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. @@ -8157,6 +8159,8 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( System.Uri resourceUri, Azure.Storage.Blobs.Models.AccessTier tier, string version, + string snapshot = default, + string versionId = default, int? timeout = default, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default, string requestId = default, @@ -8175,6 +8179,8 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( resourceUri, tier, version, + snapshot, + versionId, timeout, rehydratePriority, requestId, @@ -8214,6 +8220,8 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( /// The URL of the service account, container, or blob that is the targe of the desired operation. /// Indicates the tier to be set on the blob. /// Specifies the version of the operation to use for this request. + /// The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see Creating a Snapshot of a Blob. + /// The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. /// The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations. /// Optional: Indicates the priority with which to rehydrate an archived blob. /// Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. @@ -8224,6 +8232,8 @@ internal static Azure.Core.HttpMessage SetAccessTierAsync_CreateMessage( System.Uri resourceUri, Azure.Storage.Blobs.Models.AccessTier tier, string version, + string snapshot = default, + string versionId = default, int? timeout = default, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default, string requestId = default, @@ -8247,6 +8257,8 @@ internal static Azure.Core.HttpMessage SetAccessTierAsync_CreateMessage( _request.Method = Azure.Core.RequestMethod.Put; _request.Uri.Reset(resourceUri); _request.Uri.AppendQuery("comp", "tier", escapeValue: false); + if (snapshot != null) { _request.Uri.AppendQuery("snapshot", snapshot); } + if (versionId != null) { _request.Uri.AppendQuery("versionid", versionId); } if (timeout != null) { _request.Uri.AppendQuery("timeout", timeout.Value.ToString(System.Globalization.CultureInfo.InvariantCulture)); } // Add request headers