Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
32c85b8
Update Azure.Core from 1.31.0 to 1.33.0
Jun 29, 2023
d1a1de3
replace models
Jul 7, 2023
c3645c3
Merge branch 'Azure:main' into main
yuc-Li Jul 7, 2023
09482d8
replace package
Jul 24, 2023
66c0cc0
Update test and records
Jul 31, 2023
4804e09
update
Jul 31, 2023
11ac3d9
update test records
Aug 1, 2023
3c14add
update
Aug 2, 2023
d457514
review update
Aug 2, 2023
22e6fd3
update
Aug 3, 2023
85fb3c7
fix test
Aug 3, 2023
b23f0b8
update test
Aug 3, 2023
fd711d3
break change exce[tion
Aug 3, 2023
de4dd90
skip living test
Aug 3, 2023
e69995d
update help doc
Aug 4, 2023
814f10c
revert method name
Aug 4, 2023
01e8cd8
Update test and revert param ``Location`
Aug 10, 2023
f5eda2a
Update Azure.Core to 1.34.0 to solve pipeline error
Aug 10, 2023
8ec6cd1
Merge branch 'Azure:main' into main
yuc-Li Aug 10, 2023
e9c5306
Merge branch 'Azure:main' into main
yuc-Li Aug 18, 2023
0071962
Merge branch 'main' into hdinsight-new-version-2023-04
Aug 18, 2023
c803f9e
Merge branch 'main' into hdinsight-new-version-2023-04
yuc-Li Aug 22, 2023
35e0868
merge main update
Aug 22, 2023
562cdf2
update refrence
Aug 22, 2023
f4bf080
Merge branch 'Azure:main' into main
yuc-Li Sep 12, 2023
ce54d0f
Remove break changes warning messages.
Oct 30, 2023
e04f84e
Merge branch 'main' into hdinsight-new-version-2023-04
yuc-Li Oct 30, 2023
8d0f0c3
Remove azure.core version item
Oct 30, 2023
c1d2a60
Merge branch 'hdinsight-new-version-2023-04' of https://github.com/yu…
Oct 30, 2023
2d283fb
Update help doc.
Oct 31, 2023
e100d02
Revert some changes.
Oct 31, 2023
678716f
Merge branch 'Azure:main' into main
yuc-Li Nov 2, 2023
e6e7fea
Merge branch 'main' of https://github.com/yuc-Li/azure-powershell int…
Nov 2, 2023
6acc327
generate track 1 code
Nov 2, 2023
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
1,356 changes: 1,356 additions & 0 deletions src/HDInsight/HDInsight.Management.Sdk/Generated/ApplicationsOperations.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3,476 changes: 3,476 additions & 0 deletions src/HDInsight/HDInsight.Management.Sdk/Generated/ClustersOperations.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
// 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.
namespace Microsoft.Azure.Management.HDInsight
{
using Microsoft.Rest.Azure;
using Models;

/// <summary>
/// Extension methods for ConfigurationsOperations
/// </summary>
public static partial class ConfigurationsOperationsExtensions
{
/// <summary>
/// Gets all configuration information for an HDI cluster.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
public static ClusterConfigurations List(this IConfigurationsOperations operations, string resourceGroupName, string clusterName)
{
return ((IConfigurationsOperations)operations).ListAsync(resourceGroupName, clusterName).GetAwaiter().GetResult();
}

/// <summary>
/// Gets all configuration information for an HDI cluster.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async System.Threading.Tasks.Task<ClusterConfigurations> ListAsync(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
}
/// <summary>
/// Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
/// <param name='configurationName'>
/// The name of the cluster configuration.
/// </param>
public static void Update(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string configurationName, System.Collections.Generic.IDictionary<string, string> parameters)
{
((IConfigurationsOperations)operations).UpdateAsync(resourceGroupName, clusterName, configurationName, parameters).GetAwaiter().GetResult();
}

/// <summary>
/// Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
/// <param name='configurationName'>
/// The name of the cluster configuration.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async System.Threading.Tasks.Task UpdateAsync(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string configurationName, System.Collections.Generic.IDictionary<string, string> parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
(await operations.UpdateWithHttpMessagesAsync(resourceGroupName, clusterName, configurationName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
}
/// <summary>
/// The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
/// <param name='configurationName'>
/// The name of the cluster configuration.
/// </param>
public static System.Collections.Generic.IDictionary<string, string> Get(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string configurationName)
{
return ((IConfigurationsOperations)operations).GetAsync(resourceGroupName, clusterName, configurationName).GetAwaiter().GetResult();
}

/// <summary>
/// The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
/// <param name='configurationName'>
/// The name of the cluster configuration.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string, string>> GetAsync(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string configurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, clusterName, configurationName, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
}
/// <summary>
/// Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
/// <param name='configurationName'>
/// The name of the cluster configuration.
/// </param>
public static void BeginUpdate(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string configurationName, System.Collections.Generic.IDictionary<string, string> parameters)
{
((IConfigurationsOperations)operations).BeginUpdateAsync(resourceGroupName, clusterName, configurationName, parameters).GetAwaiter().GetResult();
}

/// <summary>
/// Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='clusterName'>
/// The name of the cluster.
/// </param>
/// <param name='configurationName'>
/// The name of the cluster configuration.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async System.Threading.Tasks.Task BeginUpdateAsync(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string configurationName, System.Collections.Generic.IDictionary<string, string> parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
(await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, clusterName, configurationName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
}
}
}
Loading