Skip to content
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
4 changes: 2 additions & 2 deletions eng/mgmt/mgmtmetadata/hdinsight_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=F:\source\azure-sdk-for-net\sdk
2019-12-05 07:03:12 UTC
2020-01-15 08:14:49 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: fbc094f3097e954f008f8f415a2f95a6dfa3c13b
Commit: 3ee786a44139e0be0613cb705f78d66b5166fc78
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4407
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public ClusterCreateProperties()
/// <param name="storageProfile">The storage profile.</param>
/// <param name="diskEncryptionProperties">The disk encryption
/// properties.</param>
public ClusterCreateProperties(string clusterVersion = default(string), OSType? osType = default(OSType?), Tier? tier = default(Tier?), ClusterDefinition clusterDefinition = default(ClusterDefinition), KafkaRestProperties kafkaRestProperties = default(KafkaRestProperties), SecurityProfile securityProfile = default(SecurityProfile), ComputeProfile computeProfile = default(ComputeProfile), StorageProfile storageProfile = default(StorageProfile), DiskEncryptionProperties diskEncryptionProperties = default(DiskEncryptionProperties))
/// <param name="minSupportedTlsVersion">The minimal supported tls
/// version.</param>
public ClusterCreateProperties(string clusterVersion = default(string), OSType? osType = default(OSType?), Tier? tier = default(Tier?), ClusterDefinition clusterDefinition = default(ClusterDefinition), KafkaRestProperties kafkaRestProperties = default(KafkaRestProperties), SecurityProfile securityProfile = default(SecurityProfile), ComputeProfile computeProfile = default(ComputeProfile), StorageProfile storageProfile = default(StorageProfile), DiskEncryptionProperties diskEncryptionProperties = default(DiskEncryptionProperties), string minSupportedTlsVersion = default(string))
{
ClusterVersion = clusterVersion;
OsType = osType;
Expand All @@ -53,6 +55,7 @@ public ClusterCreateProperties()
ComputeProfile = computeProfile;
StorageProfile = storageProfile;
DiskEncryptionProperties = diskEncryptionProperties;
MinSupportedTlsVersion = minSupportedTlsVersion;
CustomInit();
}

Expand Down Expand Up @@ -117,5 +120,11 @@ public ClusterCreateProperties()
[JsonProperty(PropertyName = "diskEncryptionProperties")]
public DiskEncryptionProperties DiskEncryptionProperties { get; set; }

/// <summary>
/// Gets or sets the minimal supported tls version.
/// </summary>
[JsonProperty(PropertyName = "minSupportedTlsVersion")]
public string MinSupportedTlsVersion { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public ClusterGetProperties()
/// endpoints.</param>
/// <param name="diskEncryptionProperties">The disk encryption
/// properties.</param>
public ClusterGetProperties(ClusterDefinition clusterDefinition, string clusterVersion = default(string), OSType? osType = default(OSType?), Tier? tier = default(Tier?), KafkaRestProperties kafkaRestProperties = default(KafkaRestProperties), SecurityProfile securityProfile = default(SecurityProfile), ComputeProfile computeProfile = default(ComputeProfile), HDInsightClusterProvisioningState? provisioningState = default(HDInsightClusterProvisioningState?), string createdDate = default(string), string clusterState = default(string), QuotaInfo quotaInfo = default(QuotaInfo), IList<Errors> errors = default(IList<Errors>), IList<ConnectivityEndpoint> connectivityEndpoints = default(IList<ConnectivityEndpoint>), DiskEncryptionProperties diskEncryptionProperties = default(DiskEncryptionProperties))
/// <param name="minSupportedTlsVersion">The minimal supported tls
/// version.</param>
public ClusterGetProperties(ClusterDefinition clusterDefinition, string clusterVersion = default(string), OSType? osType = default(OSType?), Tier? tier = default(Tier?), KafkaRestProperties kafkaRestProperties = default(KafkaRestProperties), SecurityProfile securityProfile = default(SecurityProfile), ComputeProfile computeProfile = default(ComputeProfile), HDInsightClusterProvisioningState? provisioningState = default(HDInsightClusterProvisioningState?), string createdDate = default(string), string clusterState = default(string), QuotaInfo quotaInfo = default(QuotaInfo), IList<Errors> errors = default(IList<Errors>), IList<ConnectivityEndpoint> connectivityEndpoints = default(IList<ConnectivityEndpoint>), DiskEncryptionProperties diskEncryptionProperties = default(DiskEncryptionProperties), string minSupportedTlsVersion = default(string))
{
ClusterVersion = clusterVersion;
OsType = osType;
Expand All @@ -70,6 +72,7 @@ public ClusterGetProperties()
Errors = errors;
ConnectivityEndpoints = connectivityEndpoints;
DiskEncryptionProperties = diskEncryptionProperties;
MinSupportedTlsVersion = minSupportedTlsVersion;
CustomInit();
}

Expand Down Expand Up @@ -166,6 +169,12 @@ public ClusterGetProperties()
[JsonProperty(PropertyName = "diskEncryptionProperties")]
public DiskEncryptionProperties DiskEncryptionProperties { get; set; }

/// <summary>
/// Gets or sets the minimal supported tls version.
/// </summary>
[JsonProperty(PropertyName = "minSupportedTlsVersion")]
public string MinSupportedTlsVersion { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_HDInsightManage
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=F:\\source\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "fbc094f3097e954f008f8f415a2f95a6dfa3c13b";
public static readonly String GithubCommidId = "3ee786a44139e0be0613cb705f78d66b5166fc78";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<PackageId>Microsoft.Azure.Management.HDInsight</PackageId>
<Description>Azure HDInsight Management SDK Library</Description>
<AssemblyName>Microsoft.Azure.Management.HDInsight</AssemblyName>
<Version>5.2.0</Version>
<Version>5.3.0</Version>
<PackageTags>Microsoft Azure HDInsight Management;HDInsight;HDInsight Management</PackageTags>
<PackageReleaseNotes>
<![CDATA[
This release adds a new feature:
Added support for creating kafka cluster with kafka rest proxy
Added support for creating cluster with minSupportedTlsVersion
]]>
</PackageReleaseNotes>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
[assembly: AssemblyTitle("Microsoft Azure HDInsight Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure HDInsight.")]
[assembly: AssemblyVersion("5.0.0.0")]
[assembly: AssemblyFileVersion("5.2.0.0")]
[assembly: AssemblyFileVersion("5.3.0.0")]

[assembly: InternalsVisibleTo("Microsoft.Azure.Management.HDInsight.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]

Original file line number Diff line number Diff line change
Expand Up @@ -640,5 +640,18 @@ public void TestGetOrUpdateGatewaySettings()
gatewaySettings = HDInsightClient.Clusters.GetGatewaySettings(CommonData.ResourceGroupName, clusterName);
ValidateGatewaySettings(expectedUserName, newExpectedPassword, gatewaySettings);
}

[Fact]
public void TestCreateClusterWithTLS12()
{
TestInitialize();

string clusterName = TestUtilities.GenerateName("hdisdk-tls12");
var createParams = CommonData.PrepareClusterCreateParamsForWasb();
createParams.Properties.MinSupportedTlsVersion = "1.2";
var cluster = HDInsightClient.Clusters.Create(CommonData.ResourceGroupName, clusterName, createParams);
Assert.Equal("1.2", cluster.Properties.MinSupportedTlsVersion);
ValidateCluster(clusterName, createParams, cluster);
}
}
}
Loading