diff --git a/sdk/redis/Azure.ResourceManager.Redis/api/Azure.ResourceManager.Redis.netstandard2.0.cs b/sdk/redis/Azure.ResourceManager.Redis/api/Azure.ResourceManager.Redis.netstandard2.0.cs index b653dcf46afb..28b7ef155e5f 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/api/Azure.ResourceManager.Redis.netstandard2.0.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/api/Azure.ResourceManager.Redis.netstandard2.0.cs @@ -265,6 +265,7 @@ public ExportRdbContent(string prefix, string container) { } public string Format { get { throw null; } set { } } public string PreferredDataArchiveAuthMethod { get { throw null; } set { } } public string Prefix { get { throw null; } } + public string StorageSubscriptionId { get { throw null; } set { } } } public partial class ImportRdbContent { @@ -272,6 +273,7 @@ public ImportRdbContent(System.Collections.Generic.IEnumerable files) { public System.Collections.Generic.IList Files { get { throw null; } } public string Format { get { throw null; } set { } } public string PreferredDataArchiveAuthMethod { get { throw null; } set { } } + public string StorageSubscriptionId { get { throw null; } set { } } } public partial class RedisAccessKeys { diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.Serialization.cs index 933027fa2795..ad6e6121b482 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.Serialization.cs @@ -29,6 +29,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("preferred-data-archive-auth-method"u8); writer.WriteStringValue(PreferredDataArchiveAuthMethod); } + if (Optional.IsDefined(StorageSubscriptionId)) + { + writer.WritePropertyName("storage-subscription-id"u8); + writer.WriteStringValue(StorageSubscriptionId); + } writer.WriteEndObject(); } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.cs index dc2ca839aebf..3d9d7d9d869d 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ExportRdbContent.cs @@ -34,5 +34,7 @@ public ExportRdbContent(string prefix, string container) public string Container { get; } /// Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS. public string PreferredDataArchiveAuthMethod { get; set; } + /// Subscription id of the storage container for data to be exported using ManagedIdentity. + public string StorageSubscriptionId { get; set; } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.Serialization.cs index b961a2a884b0..8915fe70eb28 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.Serialization.cs @@ -32,6 +32,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("preferred-data-archive-auth-method"u8); writer.WriteStringValue(PreferredDataArchiveAuthMethod); } + if (Optional.IsDefined(StorageSubscriptionId)) + { + writer.WritePropertyName("storage-subscription-id"u8); + writer.WriteStringValue(StorageSubscriptionId); + } writer.WriteEndObject(); } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.cs index 1c277ac94b8e..3e60a5d2aea9 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/ImportRdbContent.cs @@ -31,5 +31,7 @@ public ImportRdbContent(IEnumerable files) public IList Files { get; } /// Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS. public string PreferredDataArchiveAuthMethod { get; set; } + /// Subscription id of the storage container containing files to import using Managed Identity. + public string StorageSubscriptionId { get; set; } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/AsyncOperationStatusRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/AsyncOperationStatusRestOperations.cs index 7f458e51384c..3cd8816c54ec 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/AsyncOperationStatusRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/AsyncOperationStatusRestOperations.cs @@ -33,7 +33,7 @@ public AsyncOperationStatusRestOperations(HttpPipeline pipeline, string applicat { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-04-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/FirewallRulesRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/FirewallRulesRestOperations.cs index ba1fe934effb..94dda23c9bfd 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/FirewallRulesRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/FirewallRulesRestOperations.cs @@ -33,7 +33,7 @@ public FirewallRulesRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-04-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/LinkedServerRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/LinkedServerRestOperations.cs index 655dc54a8093..dd88b3fdc4c0 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/LinkedServerRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/LinkedServerRestOperations.cs @@ -33,7 +33,7 @@ public LinkedServerRestOperations(HttpPipeline pipeline, string applicationId, U { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-04-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PatchSchedulesRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PatchSchedulesRestOperations.cs index bac507b0547b..c9cef5c0bde1 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PatchSchedulesRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PatchSchedulesRestOperations.cs @@ -33,7 +33,7 @@ public PatchSchedulesRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-04-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs index c8cfee2cbede..7990c30405b7 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs @@ -33,7 +33,7 @@ public PrivateEndpointConnectionsRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-04-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs index d1dfa9df1355..49392f2843f3 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs @@ -33,7 +33,7 @@ public PrivateLinkResourcesRestOperations(HttpPipeline pipeline, string applicat { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-04-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs index 783a28cf6bb6..449e82303ec9 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/RedisRestOperations.cs @@ -33,7 +33,7 @@ public RedisRestOperations(HttpPipeline pipeline, string applicationId, Uri endp { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-04-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md index 4b14772a1086..24e23f630f6c 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md +++ b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md @@ -9,7 +9,7 @@ generate-model-factory: false csharp: true library-name: Redis namespace: Azure.ResourceManager.Redis -require: https://github.com/Azure/azure-rest-api-specs/blob/68847d6ae901f0cb2efa62ae2c523ad8cf5c2ea3/specification/redis/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/redis/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true skip-csproj: true