forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synapse management release for Jan.2023 (Azure#33315)
* Synapse management release for Jan.2023 * minimize breaking changes of synapse * add attributes for customized methods * update description * regen * polish the api * add change log * remove empty section in changelog * update version and release date Co-authored-by: Yao Kou <yaokou@microsoft.com>
- Loading branch information
1 parent
d8e17af
commit 44fc1e2
Showing
18 changed files
with
616 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/synapse/Azure.ResourceManager.Synapse/src/Azure.ResourceManager.Synapse.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
sdk/synapse/Azure.ResourceManager.Synapse/src/Customized/SynapseSqlPoolResource.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
#nullable disable | ||
|
||
using System; | ||
using System.ComponentModel; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Azure.Core; | ||
using Azure.ResourceManager.Synapse.Models; | ||
|
||
namespace Azure.ResourceManager.Synapse | ||
{ | ||
/// <summary> | ||
/// A Class representing a SynapseSqlPool along with the instance operations that can be performed on it. | ||
/// If you have a <see cref="ResourceIdentifier" /> you can construct a <see cref="SynapseSqlPoolResource" /> | ||
/// from an instance of <see cref="ArmClient" /> using the GetSynapseSqlPoolResource method. | ||
/// Otherwise you can get one from its parent resource <see cref="SynapseWorkspaceResource" /> using the GetSynapseSqlPool method. | ||
/// </summary> | ||
public partial class SynapseSqlPoolResource | ||
{ | ||
/// <summary> | ||
/// Apply a partial update to a SQL pool | ||
/// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName} | ||
/// Operation Id: SqlPools_Update | ||
/// </summary> | ||
/// <param name="patch"> The updated SQL pool properties. </param> | ||
/// <param name="cancellationToken"> The cancellation token to use. </param> | ||
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception> | ||
[Obsolete("This method is obsolete and will be removed in a future release, please use UpdateAsync(WaitUntil waitUntil, SynapseSqlPoolPatch patch, CancellationToken cancellationToken = default).", false)] | ||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
[ForwardsClientCalls] | ||
public virtual async Task<Response<SynapseSqlPoolResource>> UpdateAsync(SynapseSqlPoolPatch patch, CancellationToken cancellationToken = default) => | ||
await (await UpdateAsync(WaitUntil.Started, patch, cancellationToken).ConfigureAwait(false)).WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); | ||
|
||
/// <summary> | ||
/// Apply a partial update to a SQL pool | ||
/// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName} | ||
/// Operation Id: SqlPools_Update | ||
/// </summary> | ||
/// <param name="patch"> The updated SQL pool properties. </param> | ||
/// <param name="cancellationToken"> The cancellation token to use. </param> | ||
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception> | ||
[Obsolete("This method is obsolete and will be removed in a future release, please use Update(WaitUntil waitUntil, SynapseSqlPoolPatch patch, CancellationToken cancellationToken = default).", false)] | ||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
[ForwardsClientCalls] | ||
public virtual Response<SynapseSqlPoolResource> Update(SynapseSqlPoolPatch patch, CancellationToken cancellationToken = default) => | ||
Update(WaitUntil.Started, patch, cancellationToken).WaitForCompletion(cancellationToken); | ||
} | ||
} |
124 changes: 124 additions & 0 deletions
124
...urceManager.Synapse/src/Generated/Models/SynapseKustoPoolPrivateLinkData.Serialization.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
...pse/Azure.ResourceManager.Synapse/src/Generated/Models/SynapseKustoPoolPrivateLinkData.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
...urceManager.Synapse/src/Generated/Models/SynapseKustoPoolPrivateLinkList.Serialization.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.