Skip to content

Commit 04c08c7

Browse files
committed
Export-API
1 parent 96bc349 commit 04c08c7

File tree

5 files changed

+104
-2
lines changed

5 files changed

+104
-2
lines changed

sdk/storage/Azure.Storage.Common/api/Azure.Storage.Common.net8.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public enum SasProtocol
183183
}
184184
public partial class SasQueryParameters
185185
{
186-
public const string DefaultSasVersion = "2026-02-06";
186+
public const string DefaultSasVersion = "2025-07-05";
187187
protected SasQueryParameters() { }
188188
protected SasQueryParameters(System.Collections.Generic.IDictionary<string, string> values) { }
189189
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]

sdk/storage/Azure.Storage.Common/api/Azure.Storage.Common.netstandard2.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public enum SasProtocol
182182
}
183183
public partial class SasQueryParameters
184184
{
185-
public const string DefaultSasVersion = "2026-02-06";
185+
public const string DefaultSasVersion = "2025-07-05";
186186
protected SasQueryParameters() { }
187187
protected SasQueryParameters(System.Collections.Generic.IDictionary<string, string> values) { }
188188
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]

sdk/storage/Azure.Storage.Queues/api/Azure.Storage.Queues.net8.0.cs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ public QueueClient(System.Uri queueUri, Azure.Storage.StorageSharedKeyCredential
4242
public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn) { throw null; }
4343
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
4444
public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) { throw null; }
45+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasBuilder builder, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey) { throw null; }
46+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
47+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasBuilder builder, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, out string stringToSign) { throw null; }
48+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey) { throw null; }
49+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
50+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, out string stringToSign) { throw null; }
4551
public virtual Azure.Response<System.Collections.Generic.IEnumerable<Azure.Storage.Queues.Models.QueueSignedIdentifier>> GetAccessPolicy(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
4652
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IEnumerable<Azure.Storage.Queues.Models.QueueSignedIdentifier>>> GetAccessPolicyAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
4753
protected internal virtual Azure.Storage.Queues.QueueServiceClient GetParentQueueServiceClientCore() { throw null; }
@@ -161,6 +167,8 @@ public QueueServiceClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyC
161167
public virtual Azure.AsyncPageable<Azure.Storage.Queues.Models.QueueItem> GetQueuesAsync(Azure.Storage.Queues.Models.QueueTraits traits = Azure.Storage.Queues.Models.QueueTraits.None, string prefix = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
162168
public virtual Azure.Response<Azure.Storage.Queues.Models.QueueServiceStatistics> GetStatistics(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
163169
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Queues.Models.QueueServiceStatistics>> GetStatisticsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
170+
public virtual Azure.Response<Azure.Storage.Queues.Models.UserDelegationKey> GetUserDelegationKey(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
171+
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Queues.Models.UserDelegationKey>> GetUserDelegationKeyAsync(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
164172
public virtual Azure.Response SetProperties(Azure.Storage.Queues.Models.QueueServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
165173
public virtual System.Threading.Tasks.Task<Azure.Response> SetPropertiesAsync(Azure.Storage.Queues.Models.QueueServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
166174
}
@@ -425,6 +433,17 @@ internal UpdateReceipt() { }
425433
public System.DateTimeOffset NextVisibleOn { get { throw null; } }
426434
public string PopReceipt { get { throw null; } }
427435
}
436+
public partial class UserDelegationKey
437+
{
438+
internal UserDelegationKey() { }
439+
public System.DateTimeOffset SignedExpiresOn { get { throw null; } }
440+
public string SignedObjectId { get { throw null; } }
441+
public string SignedService { get { throw null; } }
442+
public System.DateTimeOffset SignedStartsOn { get { throw null; } }
443+
public string SignedTenantId { get { throw null; } }
444+
public string SignedVersion { get { throw null; } }
445+
public string Value { get { throw null; } }
446+
}
428447
}
429448
namespace Azure.Storage.Queues.Specialized
430449
{
@@ -469,6 +488,7 @@ public partial class QueueSasBuilder
469488
public QueueSasBuilder() { }
470489
public QueueSasBuilder(Azure.Storage.Sas.QueueAccountSasPermissions permissions, System.DateTimeOffset expiresOn) { }
471490
public QueueSasBuilder(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn) { }
491+
public string DelegatedUserObjectId { get { throw null; } set { } }
472492
public System.DateTimeOffset ExpiresOn { get { throw null; } set { } }
473493
public string Identifier { get { throw null; } set { } }
474494
public Azure.Storage.Sas.SasIPRange IPRange { get { throw null; } set { } }
@@ -486,6 +506,8 @@ public void SetPermissions(Azure.Storage.Sas.QueueAccountSasPermissions permissi
486506
public void SetPermissions(Azure.Storage.Sas.QueueSasPermissions permissions) { }
487507
public void SetPermissions(string rawPermissions) { }
488508
public void SetPermissions(string rawPermissions, bool normalize = false) { }
509+
public Azure.Storage.Sas.QueueSasQueryParameters ToSasQueryParameters(Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, string accountName) { throw null; }
510+
public Azure.Storage.Sas.QueueSasQueryParameters ToSasQueryParameters(Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, string accountName, out string stringToSign) { throw null; }
489511
public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) { throw null; }
490512
public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, out string stringToSign) { throw null; }
491513
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
@@ -500,6 +522,18 @@ public enum QueueSasPermissions
500522
Update = 4,
501523
Process = 8,
502524
}
525+
public sealed partial class QueueSasQueryParameters : Azure.Storage.Sas.SasQueryParameters
526+
{
527+
internal QueueSasQueryParameters() { }
528+
public static new Azure.Storage.Sas.QueueSasQueryParameters Empty { get { throw null; } }
529+
public System.DateTimeOffset KeyExpiresOn { get { throw null; } }
530+
public string KeyObjectId { get { throw null; } }
531+
public string KeyService { get { throw null; } }
532+
public System.DateTimeOffset KeyStartsOn { get { throw null; } }
533+
public string KeyTenantId { get { throw null; } }
534+
public string KeyVersion { get { throw null; } }
535+
public override string ToString() { throw null; }
536+
}
503537
}
504538
namespace Microsoft.Extensions.Azure
505539
{

sdk/storage/Azure.Storage.Queues/api/Azure.Storage.Queues.netstandard2.0.cs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ public QueueClient(System.Uri queueUri, Azure.Storage.StorageSharedKeyCredential
4242
public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn) { throw null; }
4343
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
4444
public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) { throw null; }
45+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasBuilder builder, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey) { throw null; }
46+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
47+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasBuilder builder, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, out string stringToSign) { throw null; }
48+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey) { throw null; }
49+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
50+
public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, out string stringToSign) { throw null; }
4551
public virtual Azure.Response<System.Collections.Generic.IEnumerable<Azure.Storage.Queues.Models.QueueSignedIdentifier>> GetAccessPolicy(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
4652
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IEnumerable<Azure.Storage.Queues.Models.QueueSignedIdentifier>>> GetAccessPolicyAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
4753
protected internal virtual Azure.Storage.Queues.QueueServiceClient GetParentQueueServiceClientCore() { throw null; }
@@ -161,6 +167,8 @@ public QueueServiceClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyC
161167
public virtual Azure.AsyncPageable<Azure.Storage.Queues.Models.QueueItem> GetQueuesAsync(Azure.Storage.Queues.Models.QueueTraits traits = Azure.Storage.Queues.Models.QueueTraits.None, string prefix = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
162168
public virtual Azure.Response<Azure.Storage.Queues.Models.QueueServiceStatistics> GetStatistics(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
163169
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Queues.Models.QueueServiceStatistics>> GetStatisticsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
170+
public virtual Azure.Response<Azure.Storage.Queues.Models.UserDelegationKey> GetUserDelegationKey(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
171+
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Queues.Models.UserDelegationKey>> GetUserDelegationKeyAsync(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
164172
public virtual Azure.Response SetProperties(Azure.Storage.Queues.Models.QueueServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
165173
public virtual System.Threading.Tasks.Task<Azure.Response> SetPropertiesAsync(Azure.Storage.Queues.Models.QueueServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
166174
}
@@ -425,6 +433,17 @@ internal UpdateReceipt() { }
425433
public System.DateTimeOffset NextVisibleOn { get { throw null; } }
426434
public string PopReceipt { get { throw null; } }
427435
}
436+
public partial class UserDelegationKey
437+
{
438+
internal UserDelegationKey() { }
439+
public System.DateTimeOffset SignedExpiresOn { get { throw null; } }
440+
public string SignedObjectId { get { throw null; } }
441+
public string SignedService { get { throw null; } }
442+
public System.DateTimeOffset SignedStartsOn { get { throw null; } }
443+
public string SignedTenantId { get { throw null; } }
444+
public string SignedVersion { get { throw null; } }
445+
public string Value { get { throw null; } }
446+
}
428447
}
429448
namespace Azure.Storage.Queues.Specialized
430449
{
@@ -469,6 +488,7 @@ public partial class QueueSasBuilder
469488
public QueueSasBuilder() { }
470489
public QueueSasBuilder(Azure.Storage.Sas.QueueAccountSasPermissions permissions, System.DateTimeOffset expiresOn) { }
471490
public QueueSasBuilder(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn) { }
491+
public string DelegatedUserObjectId { get { throw null; } set { } }
472492
public System.DateTimeOffset ExpiresOn { get { throw null; } set { } }
473493
public string Identifier { get { throw null; } set { } }
474494
public Azure.Storage.Sas.SasIPRange IPRange { get { throw null; } set { } }
@@ -486,6 +506,8 @@ public void SetPermissions(Azure.Storage.Sas.QueueAccountSasPermissions permissi
486506
public void SetPermissions(Azure.Storage.Sas.QueueSasPermissions permissions) { }
487507
public void SetPermissions(string rawPermissions) { }
488508
public void SetPermissions(string rawPermissions, bool normalize = false) { }
509+
public Azure.Storage.Sas.QueueSasQueryParameters ToSasQueryParameters(Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, string accountName) { throw null; }
510+
public Azure.Storage.Sas.QueueSasQueryParameters ToSasQueryParameters(Azure.Storage.Queues.Models.UserDelegationKey userDelegationKey, string accountName, out string stringToSign) { throw null; }
489511
public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) { throw null; }
490512
public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, out string stringToSign) { throw null; }
491513
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
@@ -500,6 +522,18 @@ public enum QueueSasPermissions
500522
Update = 4,
501523
Process = 8,
502524
}
525+
public sealed partial class QueueSasQueryParameters : Azure.Storage.Sas.SasQueryParameters
526+
{
527+
internal QueueSasQueryParameters() { }
528+
public static new Azure.Storage.Sas.QueueSasQueryParameters Empty { get { throw null; } }
529+
public System.DateTimeOffset KeyExpiresOn { get { throw null; } }
530+
public string KeyObjectId { get { throw null; } }
531+
public string KeyService { get { throw null; } }
532+
public System.DateTimeOffset KeyStartsOn { get { throw null; } }
533+
public string KeyTenantId { get { throw null; } }
534+
public string KeyVersion { get { throw null; } }
535+
public override string ToString() { throw null; }
536+
}
503537
}
504538
namespace Microsoft.Extensions.Azure
505539
{

0 commit comments

Comments
 (0)