Skip to content

Updated generated Sql.Sdk #22087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
namespace Microsoft.Azure.Management.Sql.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
Expand All @@ -33,14 +35,16 @@ public PrivateEndpointConnectionProperties()
/// </summary>
/// <param name="privateEndpoint">Private endpoint which the connection
/// belongs to.</param>
/// <param name="groupIds">Group IDs.</param>
/// <param name="privateLinkServiceConnectionState">Connection state of
/// the private endpoint connection.</param>
/// <param name="provisioningState">State of the private endpoint
/// connection. Possible values include: 'Approving', 'Ready',
/// 'Dropping', 'Failed', 'Rejecting'</param>
public PrivateEndpointConnectionProperties(PrivateEndpointProperty privateEndpoint = default(PrivateEndpointProperty), PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionStateProperty), string provisioningState = default(string))
public PrivateEndpointConnectionProperties(PrivateEndpointProperty privateEndpoint = default(PrivateEndpointProperty), IList<string> groupIds = default(IList<string>), PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionStateProperty), string provisioningState = default(string))
{
PrivateEndpoint = privateEndpoint;
GroupIds = groupIds;
PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
ProvisioningState = provisioningState;
CustomInit();
Expand All @@ -57,6 +61,12 @@ public PrivateEndpointConnectionProperties()
[JsonProperty(PropertyName = "privateEndpoint")]
public PrivateEndpointProperty PrivateEndpoint { get; set; }

/// <summary>
/// Gets group IDs.
/// </summary>
[JsonProperty(PropertyName = "groupIds")]
public IList<string> GroupIds { get; private set; }

/// <summary>
/// Gets or sets connection state of the private endpoint connection.
/// </summary>
Expand Down
23 changes: 23 additions & 0 deletions src/Sql/Sql.Sdk/Generated/Models/ServerPublicNetworkAccessFlag.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.Sql.Models
{

/// <summary>
/// Defines values for ServerPublicNetworkAccessFlag.
/// </summary>
public static class ServerPublicNetworkAccessFlag
{
public const string Enabled = "Enabled";
public const string Disabled = "Disabled";
public const string SecuredByPerimeter = "SecuredByPerimeter";
}
}
4 changes: 2 additions & 2 deletions src/Sql/Sql.Sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ title: SqlManagementClient
```


###
###
``` yaml
commit: a405542f9491ba61823b5f4f2e10af700123a9d9
commit: c9fd3070a45da18959192265c0e62dd34b521ab1
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/metrics.json
- 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
Expand Down