Skip to content

Commit f56df77

Browse files
authored
Use the same commit ID for swagger files in Sql.Sdk (Azure#22087)
* Updated generated Sql.Sdk * Updated commit id to remove the serverName validation * Reverted update for learn.microsoft.com
1 parent 2dbf8eb commit f56df77

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

src/Sql/Sql.Sdk/Generated/Models/PrivateEndpointConnectionProperties.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
namespace Microsoft.Azure.Management.Sql.Models
1212
{
1313
using Newtonsoft.Json;
14+
using System.Collections;
15+
using System.Collections.Generic;
1416
using System.Linq;
1517

1618
/// <summary>
@@ -33,14 +35,16 @@ public PrivateEndpointConnectionProperties()
3335
/// </summary>
3436
/// <param name="privateEndpoint">Private endpoint which the connection
3537
/// belongs to.</param>
38+
/// <param name="groupIds">Group IDs.</param>
3639
/// <param name="privateLinkServiceConnectionState">Connection state of
3740
/// the private endpoint connection.</param>
3841
/// <param name="provisioningState">State of the private endpoint
3942
/// connection. Possible values include: 'Approving', 'Ready',
4043
/// 'Dropping', 'Failed', 'Rejecting'</param>
41-
public PrivateEndpointConnectionProperties(PrivateEndpointProperty privateEndpoint = default(PrivateEndpointProperty), PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionStateProperty), string provisioningState = default(string))
44+
public PrivateEndpointConnectionProperties(PrivateEndpointProperty privateEndpoint = default(PrivateEndpointProperty), IList<string> groupIds = default(IList<string>), PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionStateProperty), string provisioningState = default(string))
4245
{
4346
PrivateEndpoint = privateEndpoint;
47+
GroupIds = groupIds;
4448
PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
4549
ProvisioningState = provisioningState;
4650
CustomInit();
@@ -57,6 +61,12 @@ public PrivateEndpointConnectionProperties()
5761
[JsonProperty(PropertyName = "privateEndpoint")]
5862
public PrivateEndpointProperty PrivateEndpoint { get; set; }
5963

64+
/// <summary>
65+
/// Gets group IDs.
66+
/// </summary>
67+
[JsonProperty(PropertyName = "groupIds")]
68+
public IList<string> GroupIds { get; private set; }
69+
6070
/// <summary>
6171
/// Gets or sets connection state of the private endpoint connection.
6272
/// </summary>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// <auto-generated>
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for
4+
// license information.
5+
//
6+
// Code generated by Microsoft (R) AutoRest Code Generator.
7+
// Changes may cause incorrect behavior and will be lost if the code is
8+
// regenerated.
9+
// </auto-generated>
10+
11+
namespace Microsoft.Azure.Management.Sql.Models
12+
{
13+
14+
/// <summary>
15+
/// Defines values for ServerPublicNetworkAccessFlag.
16+
/// </summary>
17+
public static class ServerPublicNetworkAccessFlag
18+
{
19+
public const string Enabled = "Enabled";
20+
public const string Disabled = "Disabled";
21+
public const string SecuredByPerimeter = "SecuredByPerimeter";
22+
}
23+
}

src/Sql/Sql.Sdk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ title: SqlManagementClient
2424
```
2525
2626
27-
###
27+
###
2828
``` yaml
29-
commit: a405542f9491ba61823b5f4f2e10af700123a9d9
29+
commit: c9fd3070a45da18959192265c0e62dd34b521ab1
3030
input-file:
3131
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/metrics.json
3232
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01-legacy/sql.core_legacy.json

0 commit comments

Comments
 (0)