Skip to content

Commit 8b62898

Browse files
aim-for-betterZhenyu Zhou
andauthored
[HDInsight]Support new api version 2021-06-01 (Azure#24581)
* Fix Test code and custom code to algin with 2021-06-01 swagger change Add AZ test and private link related test Update the csproj and assembly info and AzSDK.RP.props * Regenerate source code * Update test and session records Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
1 parent ab46b82 commit 8b62898

File tree

107 files changed

+37437
-23308
lines changed

Some content is hidden

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

107 files changed

+37437
-23308
lines changed

eng/mgmt/mgmtmetadata/hdinsight_resource-manager.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Commencing code generation
44
Generating CSharp code
55
Executing AutoRest command
66
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\source\azure-sdk-for-net\sdk
7-
2021-05-27 10:27:17 UTC
7+
2021-10-08 03:03:06 UTC
88
Azure-rest-api-specs repository information
99
GitHub fork: Azure
1010
Branch: master
11-
Commit: 9875f8eebd8c1392a83c052bc50a79c8251b1174
11+
Commit: 2ebe584103a362fa87f2f60c9bab89ab410c7571
1212
AutoRest information
1313
Requested version: v2
14-
Bootstrapper version: autorest@2.0.4413
14+
Bootstrapper version: autorest@3.3.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
33
<PropertyGroup>
4-
<AzureApiTag>HDInsight_2018-06-01-preview;</AzureApiTag>
4+
<AzureApiTag>HDInsight_2021-06-01;</AzureApiTag>
55
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
66
</PropertyGroup>
77
</Project>

sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Customizations/Converters/CreateParametersConverter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ public static ClusterCreateParametersExtended GetExtendedClusterCreateParameters
2727
Tags = clusterCreateParameters.Tags,
2828
Properties = new ClusterCreateProperties
2929
{
30+
ClusterVersion = clusterCreateParameters.Version,
31+
OsType = OSType.Linux,
32+
Tier = clusterCreateParameters.ClusterTier,
3033
ClusterDefinition = new ClusterDefinition
3134
{
3235
Kind = clusterCreateParameters.ClusterType,
3336
ComponentVersion = clusterCreateParameters.ComponentVersion,
3437
Configurations = GetConfigurations(clusterName, clusterCreateParameters)
3538
},
36-
Tier = clusterCreateParameters.ClusterTier,
37-
ClusterVersion = clusterCreateParameters.Version,
3839
ComputeProfile = new ComputeProfile
3940
{
4041
Roles = GetRoleCollection(clusterCreateParameters)
4142
},
42-
OsType = OSType.Linux,
43-
SecurityProfile = clusterCreateParameters.SecurityProfile,
4443
StorageProfile = GetStorageProfile(clusterCreateParameters),
44+
SecurityProfile = clusterCreateParameters.SecurityProfile,
4545
DiskEncryptionProperties = clusterCreateParameters.DiskEncryptionProperties
4646
},
4747
Identity = clusterCreateParameters.ClusterIdentity

sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Customizations/Models/ClusterCreateParameters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public partial class ClusterCreateParameters
129129
/// <summary>
130130
/// Gets or sets the cluster tier.
131131
/// </summary>
132-
public Tier ClusterTier { get; set; }
132+
public string ClusterTier { get; set; }
133133

134134
/// <summary>
135135
/// Gets or sets SSH user name.

sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/HDInsightManagementClient.cs

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IHDInsightManagementClient.cs

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IPrivateEndpointConnectionsOperations.cs

Lines changed: 214 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)