From 7682a571f5cdcb3342f9209b9c7716b77d931bc5 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 5 Sep 2023 15:26:27 +0000 Subject: [PATCH] CodeGen from PR 25517 in Azure/azure-rest-api-specs Merge 63933c0c0625c1fe8d421b79144e5aa658b2e1b3 into 9cff12e5e7e09f9f4479de7b626b856da501d665 --- .../src/Generated/ArmRedisModelFactory.cs | 2 +- .../src/Generated/Models/RedisCreateOrUpdateContent.cs | 2 +- .../src/Generated/Models/RedisPatch.cs | 2 +- .../src/Generated/Models/RedisPublicNetworkAccess.cs | 2 +- .../Azure.ResourceManager.Redis/src/Generated/RedisData.cs | 4 ++-- sdk/redis/Azure.ResourceManager.Redis/src/autorest.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/ArmRedisModelFactory.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/ArmRedisModelFactory.cs index ba233d50393a..723842b47943 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/ArmRedisModelFactory.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/ArmRedisModelFactory.cs @@ -76,7 +76,7 @@ public static RedisCommonConfiguration RedisCommonConfiguration(bool? isRdbBacku /// A dictionary of tenant settings. /// The number of shards to be created on a Premium Cluster Cache. /// Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). - /// Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. + /// Whether or not public endpoint access is allowed for this cache. Value is optional, but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet. /// The SKU of the Redis cache to deploy. /// The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1. /// Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default. diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs index 02060f8bb239..c9a2fd95f252 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs @@ -55,7 +55,7 @@ public RedisCreateOrUpdateContent(AzureLocation location, RedisSku sku) public int? ShardCount { get; set; } /// Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). public RedisTlsVersion? MinimumTlsVersion { get; set; } - /// Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. + /// Whether or not public endpoint access is allowed for this cache. Value is optional, but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet. public RedisPublicNetworkAccess? PublicNetworkAccess { get; set; } /// The SKU of the Redis cache to deploy. public RedisSku Sku { get; } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs index 7f7bd40c349b..7cd8265a34fa 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs @@ -41,7 +41,7 @@ public RedisPatch() public int? ShardCount { get; set; } /// Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). public RedisTlsVersion? MinimumTlsVersion { get; set; } - /// Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. + /// Whether or not public endpoint access is allowed for this cache. Value is optional, but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet. public RedisPublicNetworkAccess? PublicNetworkAccess { get; set; } /// The SKU of the Redis cache to deploy. public RedisSku Sku { get; set; } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPublicNetworkAccess.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPublicNetworkAccess.cs index 3d3e6d959958..56522be152c1 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPublicNetworkAccess.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPublicNetworkAccess.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Redis.Models { - /// Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. + /// Whether or not public endpoint access is allowed for this cache. Value is optional, but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet. public readonly partial struct RedisPublicNetworkAccess : IEquatable { private readonly string _value; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs index 693ece054656..0a6f101b712c 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs @@ -54,7 +54,7 @@ public RedisData(AzureLocation location, RedisSku sku) : base(location) /// A dictionary of tenant settings. /// The number of shards to be created on a Premium Cluster Cache. /// Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). - /// Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. + /// Whether or not public endpoint access is allowed for this cache. Value is optional, but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet. /// The SKU of the Redis cache to deploy. /// The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1. /// Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default. @@ -112,7 +112,7 @@ internal RedisData(ResourceIdentifier id, string name, ResourceType resourceType public int? ShardCount { get; set; } /// Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). public RedisTlsVersion? MinimumTlsVersion { get; set; } - /// Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. + /// Whether or not public endpoint access is allowed for this cache. Value is optional, but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet. public RedisPublicNetworkAccess? PublicNetworkAccess { get; set; } /// The SKU of the Redis cache to deploy. public RedisSku Sku { get; set; } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md index 810ae2959bda..490304b4cd33 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md +++ b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: Redis namespace: Azure.ResourceManager.Redis -require: https://github.com/Azure/azure-rest-api-specs/blob/ae9d07fdb281804d4af18b48d4b895e09a0ca35c/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