diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterCreateProperties.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterCreateProperties.cs
index 81d17e452f41..f23c04fdb95c 100644
--- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterCreateProperties.cs
+++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterCreateProperties.cs
@@ -44,7 +44,8 @@ public ClusterCreateProperties()
/// properties.
/// The minimal supported tls
/// version.
- 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))
+ /// The network settings.
+ 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), NetworkSettings networkSettings = default(NetworkSettings))
{
ClusterVersion = clusterVersion;
OsType = osType;
@@ -56,6 +57,7 @@ public ClusterCreateProperties()
StorageProfile = storageProfile;
DiskEncryptionProperties = diskEncryptionProperties;
MinSupportedTlsVersion = minSupportedTlsVersion;
+ NetworkSettings = networkSettings;
CustomInit();
}
@@ -126,5 +128,11 @@ public ClusterCreateProperties()
[JsonProperty(PropertyName = "minSupportedTlsVersion")]
public string MinSupportedTlsVersion { get; set; }
+ ///
+ /// Gets or sets the network settings.
+ ///
+ [JsonProperty(PropertyName = "networkSettings")]
+ public NetworkSettings NetworkSettings { get; set; }
+
}
}
diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterGetProperties.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterGetProperties.cs
index e78a7fefe5e5..e928425bf88a 100644
--- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterGetProperties.cs
+++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/ClusterGetProperties.cs
@@ -56,7 +56,8 @@ public ClusterGetProperties()
/// properties.
/// The minimal supported tls
/// version.
- 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 = default(IList), IList connectivityEndpoints = default(IList), DiskEncryptionProperties diskEncryptionProperties = default(DiskEncryptionProperties), string minSupportedTlsVersion = default(string))
+ /// The network settings.
+ 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 = default(IList), IList connectivityEndpoints = default(IList), DiskEncryptionProperties diskEncryptionProperties = default(DiskEncryptionProperties), string minSupportedTlsVersion = default(string), NetworkSettings networkSettings = default(NetworkSettings))
{
ClusterVersion = clusterVersion;
OsType = osType;
@@ -73,6 +74,7 @@ public ClusterGetProperties()
ConnectivityEndpoints = connectivityEndpoints;
DiskEncryptionProperties = diskEncryptionProperties;
MinSupportedTlsVersion = minSupportedTlsVersion;
+ NetworkSettings = networkSettings;
CustomInit();
}
@@ -175,6 +177,12 @@ public ClusterGetProperties()
[JsonProperty(PropertyName = "minSupportedTlsVersion")]
public string MinSupportedTlsVersion { get; set; }
+ ///
+ /// Gets or sets the network settings.
+ ///
+ [JsonProperty(PropertyName = "networkSettings")]
+ public NetworkSettings NetworkSettings { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/NetworkSettings.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/NetworkSettings.cs
new file mode 100644
index 000000000000..c2fefa587ade
--- /dev/null
+++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/NetworkSettings.cs
@@ -0,0 +1,69 @@
+//
+// 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.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// The network settings.
+ ///
+ public partial class NetworkSettings
+ {
+ ///
+ /// Initializes a new instance of the NetworkSettings class.
+ ///
+ public NetworkSettings()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the NetworkSettings class.
+ ///
+ /// Specifies whether public network
+ /// access is enabled for inbound and outbound, or outbound only.
+ /// Possible values include: 'InboundAndOutbound',
+ /// 'OutboundOnly'
+ /// The mechanism
+ /// through which the cluster will have outbound access to the public
+ /// network. Possible values include: 'PublicLoadBalancer',
+ /// 'UDR'
+ public NetworkSettings(string publicNetworkAccess = default(string), string outboundOnlyPublicNetworkAccessType = default(string))
+ {
+ PublicNetworkAccess = publicNetworkAccess;
+ OutboundOnlyPublicNetworkAccessType = outboundOnlyPublicNetworkAccessType;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets specifies whether public network access is enabled for
+ /// inbound and outbound, or outbound only. Possible values include:
+ /// 'InboundAndOutbound', 'OutboundOnly'
+ ///
+ [JsonProperty(PropertyName = "publicNetworkAccess")]
+ public string PublicNetworkAccess { get; set; }
+
+ ///
+ /// Gets or sets the mechanism through which the cluster will have
+ /// outbound access to the public network. Possible values include:
+ /// 'PublicLoadBalancer', 'UDR'
+ ///
+ [JsonProperty(PropertyName = "outboundOnlyPublicNetworkAccessType")]
+ public string OutboundOnlyPublicNetworkAccessType { get; set; }
+
+ }
+}
diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/OutboundOnlyPublicNetworkAccessType.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/OutboundOnlyPublicNetworkAccessType.cs
new file mode 100644
index 000000000000..ffff3c30cd63
--- /dev/null
+++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/OutboundOnlyPublicNetworkAccessType.cs
@@ -0,0 +1,22 @@
+//
+// 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.Models
+{
+
+ ///
+ /// Defines values for OutboundOnlyPublicNetworkAccessType.
+ ///
+ public static class OutboundOnlyPublicNetworkAccessType
+ {
+ public const string PublicLoadBalancer = "PublicLoadBalancer";
+ public const string UDR = "UDR";
+ }
+}
diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/PublicNetworkAccess.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/PublicNetworkAccess.cs
new file mode 100644
index 000000000000..310812ccc836
--- /dev/null
+++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/PublicNetworkAccess.cs
@@ -0,0 +1,22 @@
+//
+// 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.Models
+{
+
+ ///
+ /// Defines values for PublicNetworkAccess.
+ ///
+ public static class PublicNetworkAccess
+ {
+ public const string InboundAndOutbound = "InboundAndOutbound";
+ public const string OutboundOnly = "OutboundOnly";
+ }
+}
diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs
index 9b7521193503..0a7e2fcd1f2e 100644
--- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs
+++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs
@@ -31,16 +31,5 @@ public static IEnumerable> ApiInfo_HDInsightManage
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- 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=v2 --reflect-api-versions --csharp-sdks-folder=D:\\source\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "c94d2623e95db48fcdff105c5c03fab75ebe9b56";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-