Skip to content

Commit 022dc29

Browse files
authored
Updating the swagger changes with latest API spec merge (#26742)
1 parent 861aace commit 022dc29

File tree

50 files changed

+3511
-220
lines changed

Some content is hidden

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

50 files changed

+3511
-220
lines changed

src/Network/Network.Management.Sdk/Generated/AdminRuleCollectionsOperations.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ internal AdminRuleCollectionsOperations (NetworkManagementClient client)
104104
}
105105
if (networkManagerName != null)
106106
{
107-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
107+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
108108
{
109-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
109+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
110110
}
111111
}
112112
if (configurationName == null)
@@ -350,9 +350,9 @@ internal AdminRuleCollectionsOperations (NetworkManagementClient client)
350350
}
351351
if (networkManagerName != null)
352352
{
353-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
353+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
354354
{
355-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
355+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
356356
}
357357
}
358358
if (configurationName == null)
@@ -589,9 +589,9 @@ internal AdminRuleCollectionsOperations (NetworkManagementClient client)
589589
}
590590
if (networkManagerName != null)
591591
{
592-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
592+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
593593
{
594-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
594+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
595595
}
596596
}
597597
if (configurationName == null)
@@ -880,9 +880,9 @@ internal AdminRuleCollectionsOperations (NetworkManagementClient client)
880880
}
881881
if (networkManagerName != null)
882882
{
883-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
883+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
884884
{
885-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
885+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
886886
}
887887
}
888888
if (configurationName == null)

src/Network/Network.Management.Sdk/Generated/AdminRulesOperations.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ internal AdminRulesOperations (NetworkManagementClient client)
106106
}
107107
if (networkManagerName != null)
108108
{
109-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
109+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
110110
{
111-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
111+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
112112
}
113113
}
114114
if (configurationName == null)
@@ -362,9 +362,9 @@ internal AdminRulesOperations (NetworkManagementClient client)
362362
}
363363
if (networkManagerName != null)
364364
{
365-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
365+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
366366
{
367-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
367+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
368368
}
369369
}
370370
if (configurationName == null)
@@ -611,9 +611,9 @@ internal AdminRulesOperations (NetworkManagementClient client)
611611
}
612612
if (networkManagerName != null)
613613
{
614-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
614+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
615615
{
616-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
616+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
617617
}
618618
}
619619
if (configurationName == null)
@@ -915,9 +915,9 @@ internal AdminRulesOperations (NetworkManagementClient client)
915915
}
916916
if (networkManagerName != null)
917917
{
918-
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[a-zA-Z0-9-]*$"))
918+
if (!System.Text.RegularExpressions.Regex.IsMatch(networkManagerName, "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"))
919919
{
920-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[a-zA-Z0-9-]*$");
920+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.Pattern, "networkManagerName", "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$");
921921
}
922922
}
923923
if (configurationName == null)

src/Network/Network.Management.Sdk/Generated/ILoadBalancerLoadBalancingRulesOperations.cs

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,64 @@ public partial interface ILoadBalancerLoadBalancingRulesOperations
6868
/// </exception>
6969
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LoadBalancingRule>> GetWithHttpMessagesAsync(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
7070

71+
/// <summary>
72+
/// Get health details of a load balancing rule.
73+
/// </summary>
74+
/// <remarks>
75+
/// Get health details of a load balancing rule.
76+
/// </remarks>
77+
/// <param name='groupName'>
78+
/// The name of the resource group.
79+
/// </param>
80+
/// <param name='loadBalancerName'>
81+
/// The name of the load balancer.
82+
/// </param>
83+
/// <param name='loadBalancingRuleName'>
84+
/// The name of the load balancing rule.
85+
/// </param>
86+
/// <param name='customHeaders'>
87+
/// The headers that will be added to request.
88+
/// </param>
89+
/// <param name='cancellationToken'>
90+
/// The cancellation token.
91+
/// </param>
92+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
93+
/// Thrown when the operation returned an invalid status code
94+
/// </exception>
95+
/// <exception cref="Microsoft.Rest.SerializationException">
96+
/// Thrown when unable to deserialize the response
97+
/// </exception>
98+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LoadBalancerHealthPerRule,LoadBalancerLoadBalancingRulesHealthHeaders>> HealthWithHttpMessagesAsync(string groupName, string loadBalancerName, string loadBalancingRuleName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
99+
100+
/// <summary>
101+
/// Get health details of a load balancing rule.
102+
/// </summary>
103+
/// <remarks>
104+
/// Get health details of a load balancing rule.
105+
/// </remarks>
106+
/// <param name='groupName'>
107+
/// The name of the resource group.
108+
/// </param>
109+
/// <param name='loadBalancerName'>
110+
/// The name of the load balancer.
111+
/// </param>
112+
/// <param name='loadBalancingRuleName'>
113+
/// The name of the load balancing rule.
114+
/// </param>
115+
/// <param name='customHeaders'>
116+
/// The headers that will be added to request.
117+
/// </param>
118+
/// <param name='cancellationToken'>
119+
/// The cancellation token.
120+
/// </param>
121+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
122+
/// Thrown when the operation returned an invalid status code
123+
/// </exception>
124+
/// <exception cref="Microsoft.Rest.SerializationException">
125+
/// Thrown when unable to deserialize the response
126+
/// </exception>
127+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LoadBalancerHealthPerRule,LoadBalancerLoadBalancingRulesHealthHeaders>> BeginHealthWithHttpMessagesAsync(string groupName, string loadBalancerName, string loadBalancingRuleName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
128+
71129
/// <summary>
72130
/// Gets all the load balancing rules in a load balancer.
73131
/// </summary>

0 commit comments

Comments
 (0)