Skip to content

Commit e644347

Browse files
austintolanisofiar-msft
authored andcommitted
Redis track 2 .NET SDK 2022-06-01 API version updates (Azure#32031)
Co-authored-by: Austin Tolani <[email protected]>
1 parent 733a56a commit e644347

File tree

43 files changed

+13017
-10230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+13017
-10230
lines changed

sdk/redis/Azure.ResourceManager.Redis/CHANGELOG.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 2.0.0 (2022-11-03)
44

55
### Features Added
6-
6+
- ExportRdbContent has a new parameter PreferredDataArchiveAuthMethod
7+
- ImportRdbContent has a new parameter PreferredDataArchiveAuthMethod
8+
- RedisLinkedServerWithPropertyCreateOrUpdateContent has a new parameter GeoReplicatedPrimaryHostName
9+
- RedisLinkedServerWithPropertyCreateOrUpdateContent has a new parameter PrimaryHostName
10+
- RedisLinkedServerWithPropertyData has a new parameter GeoReplicatedPrimaryHostName
11+
- RedisLinkedServerWithPropertyData has a new parameter PrimaryHostName
712
### Breaking Changes
8-
9-
### Bugs Fixed
10-
13+
- Deleting a linked server is now a long running operation
14+
- Updating a cache is now a long running operation
1115
### Other Changes
16+
- API version 2022-06-01 will be used in HTTP requests
1217

1318
## 1.0.2 (2022-10-01)
1419

sdk/redis/Azure.ResourceManager.Redis/api/Azure.ResourceManager.Redis.netstandard2.0.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,10 @@ protected RedisLinkedServerWithPropertyCollection() { }
111111
public partial class RedisLinkedServerWithPropertyData : Azure.ResourceManager.Models.ResourceData
112112
{
113113
public RedisLinkedServerWithPropertyData() { }
114+
public string GeoReplicatedPrimaryHostName { get { throw null; } }
114115
public Azure.Core.ResourceIdentifier LinkedRedisCacheId { get { throw null; } set { } }
115116
public Azure.Core.AzureLocation? LinkedRedisCacheLocation { get { throw null; } set { } }
117+
public string PrimaryHostName { get { throw null; } }
116118
public string ProvisioningState { get { throw null; } }
117119
public Azure.ResourceManager.Redis.Models.RedisLinkedServerRole? ServerRole { get { throw null; } set { } }
118120
}
@@ -244,8 +246,8 @@ protected RedisResource() { }
244246
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Redis.RedisResource>> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
245247
public virtual Azure.Response<Azure.ResourceManager.Redis.RedisResource> SetTags(System.Collections.Generic.IDictionary<string, string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
246248
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Redis.RedisResource>> SetTagsAsync(System.Collections.Generic.IDictionary<string, string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
247-
public virtual Azure.Response<Azure.ResourceManager.Redis.RedisResource> Update(Azure.ResourceManager.Redis.Models.RedisPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
248-
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Redis.RedisResource>> UpdateAsync(Azure.ResourceManager.Redis.Models.RedisPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
249+
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Redis.RedisResource> Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.Redis.Models.RedisPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
250+
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Redis.RedisResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.Redis.Models.RedisPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
249251
}
250252
}
251253
namespace Azure.ResourceManager.Redis.Models
@@ -255,13 +257,15 @@ public partial class ExportRdbContent
255257
public ExportRdbContent(string prefix, string container) { }
256258
public string Container { get { throw null; } }
257259
public string Format { get { throw null; } set { } }
260+
public string PreferredDataArchiveAuthMethod { get { throw null; } set { } }
258261
public string Prefix { get { throw null; } }
259262
}
260263
public partial class ImportRdbContent
261264
{
262265
public ImportRdbContent(System.Collections.Generic.IEnumerable<string> files) { }
263266
public System.Collections.Generic.IList<string> Files { get { throw null; } }
264267
public string Format { get { throw null; } set { } }
268+
public string PreferredDataArchiveAuthMethod { get { throw null; } set { } }
265269
}
266270
public partial class RedisAccessKeys
267271
{
@@ -345,8 +349,10 @@ public enum RedisLinkedServerRole
345349
public partial class RedisLinkedServerWithPropertyCreateOrUpdateContent
346350
{
347351
public RedisLinkedServerWithPropertyCreateOrUpdateContent(Azure.Core.ResourceIdentifier linkedRedisCacheId, Azure.Core.AzureLocation linkedRedisCacheLocation, Azure.ResourceManager.Redis.Models.RedisLinkedServerRole serverRole) { }
352+
public string GeoReplicatedPrimaryHostName { get { throw null; } }
348353
public Azure.Core.ResourceIdentifier LinkedRedisCacheId { get { throw null; } }
349354
public Azure.Core.AzureLocation LinkedRedisCacheLocation { get { throw null; } }
355+
public string PrimaryHostName { get { throw null; } }
350356
public Azure.ResourceManager.Redis.Models.RedisLinkedServerRole ServerRole { get { throw null; } }
351357
}
352358
public partial class RedisNameAvailabilityContent
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Compat issues with assembly Azure.ResourceManager.Redis:
2+
MembersMustExist : Member 'public Azure.Response<Azure.ResourceManager.Redis.RedisResource> Azure.ResourceManager.Redis.RedisResource.Update(Azure.ResourceManager.Redis.Models.RedisPatch, System.Threading.CancellationToken)' does not exist in the implementation but it does exist in the contract.
3+
MembersMustExist : Member 'public System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Redis.RedisResource>> Azure.ResourceManager.Redis.RedisResource.UpdateAsync(Azure.ResourceManager.Redis.Models.RedisPatch, System.Threading.CancellationToken)' does not exist in the implementation but it does exist in the contract.
4+
Total Issues: 2

sdk/redis/Azure.ResourceManager.Redis/src/Azure.ResourceManager.Redis.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>1.1.0-beta.1</Version>
3+
<Version>2.0.0</Version>
44
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
55
<ApiCompatVersion>1.0.2</ApiCompatVersion>
66
<PackageId>Azure.ResourceManager.Redis</PackageId>

sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.Serialization.cs

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.cs

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.Serialization.cs

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.cs

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisLinkedServerWithPropertyCreateOrUpdateContent.cs

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)