Skip to content
Closed
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 @@ -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 @@ -30,16 +30,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_HDInsightManage
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4407";
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 CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}