diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml
index 51cd7aa60a93..3befdcfee2e1 100644
--- a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml
+++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml
@@ -11,11 +11,11 @@
com.microsoft.azure
azure-arm-parent
- 1.3.1
- ../../parents/azure-arm-parent/pom.xml
+ 1.1.0
+ ../../../pom.management.xml
azure-mgmt-hdinsight
- 1.3.3
+ 1.0.0-beta
jar
Microsoft Azure SDK for HDInsight Management
This package contains Microsoft HDInsight Management SDK.
diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterCreateProperties.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterCreateProperties.java
index ee0e119e1f93..b0550f13f242 100644
--- a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterCreateProperties.java
+++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterCreateProperties.java
@@ -75,6 +75,12 @@ public class ClusterCreateProperties {
@JsonProperty(value = "minSupportedTlsVersion")
private String minSupportedTlsVersion;
+ /**
+ * The network settings.
+ */
+ @JsonProperty(value = "networkSettings")
+ private NetworkSettings networkSettings;
+
/**
* Get the version of the cluster.
*
@@ -275,4 +281,24 @@ public ClusterCreateProperties withMinSupportedTlsVersion(String minSupportedTls
return this;
}
+ /**
+ * Get the network settings.
+ *
+ * @return the networkSettings value
+ */
+ public NetworkSettings networkSettings() {
+ return this.networkSettings;
+ }
+
+ /**
+ * Set the network settings.
+ *
+ * @param networkSettings the networkSettings value to set
+ * @return the ClusterCreateProperties object itself.
+ */
+ public ClusterCreateProperties withNetworkSettings(NetworkSettings networkSettings) {
+ this.networkSettings = networkSettings;
+ return this;
+ }
+
}
diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterGetProperties.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterGetProperties.java
index 36634a6b967b..f2ebaa60f8ec 100644
--- a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterGetProperties.java
+++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterGetProperties.java
@@ -108,6 +108,12 @@ public class ClusterGetProperties {
@JsonProperty(value = "minSupportedTlsVersion")
private String minSupportedTlsVersion;
+ /**
+ * The network settings.
+ */
+ @JsonProperty(value = "networkSettings")
+ private NetworkSettings networkSettings;
+
/**
* Get the version of the cluster.
*
@@ -408,4 +414,24 @@ public ClusterGetProperties withMinSupportedTlsVersion(String minSupportedTlsVer
return this;
}
+ /**
+ * Get the network settings.
+ *
+ * @return the networkSettings value
+ */
+ public NetworkSettings networkSettings() {
+ return this.networkSettings;
+ }
+
+ /**
+ * Set the network settings.
+ *
+ * @param networkSettings the networkSettings value to set
+ * @return the ClusterGetProperties object itself.
+ */
+ public ClusterGetProperties withNetworkSettings(NetworkSettings networkSettings) {
+ this.networkSettings = networkSettings;
+ return this;
+ }
+
}
diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/NetworkSettings.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/NetworkSettings.java
new file mode 100644
index 000000000000..012dcf896e0b
--- /dev/null
+++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/NetworkSettings.java
@@ -0,0 +1,72 @@
+/**
+ * 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.
+ */
+
+package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The network settings.
+ */
+public class NetworkSettings {
+ /**
+ * Specifies whether public network access is enabled for inbound and
+ * outbound, or outbound only. Possible values include:
+ * 'InboundAndOutbound', 'OutboundOnly'.
+ */
+ @JsonProperty(value = "publicNetworkAccess")
+ private PublicNetworkAccess publicNetworkAccess;
+
+ /**
+ * The mechanism through which the cluster will have outbound access to the
+ * public network. Possible values include: 'PublicLoadBalancer', 'UDR'.
+ */
+ @JsonProperty(value = "outboundOnlyPublicNetworkAccessType")
+ private OutboundOnlyPublicNetworkAccessType outboundOnlyPublicNetworkAccessType;
+
+ /**
+ * Get specifies whether public network access is enabled for inbound and outbound, or outbound only. Possible values include: 'InboundAndOutbound', 'OutboundOnly'.
+ *
+ * @return the publicNetworkAccess value
+ */
+ public PublicNetworkAccess publicNetworkAccess() {
+ return this.publicNetworkAccess;
+ }
+
+ /**
+ * Set specifies whether public network access is enabled for inbound and outbound, or outbound only. Possible values include: 'InboundAndOutbound', 'OutboundOnly'.
+ *
+ * @param publicNetworkAccess the publicNetworkAccess value to set
+ * @return the NetworkSettings object itself.
+ */
+ public NetworkSettings withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) {
+ this.publicNetworkAccess = publicNetworkAccess;
+ return this;
+ }
+
+ /**
+ * Get the mechanism through which the cluster will have outbound access to the public network. Possible values include: 'PublicLoadBalancer', 'UDR'.
+ *
+ * @return the outboundOnlyPublicNetworkAccessType value
+ */
+ public OutboundOnlyPublicNetworkAccessType outboundOnlyPublicNetworkAccessType() {
+ return this.outboundOnlyPublicNetworkAccessType;
+ }
+
+ /**
+ * Set the mechanism through which the cluster will have outbound access to the public network. Possible values include: 'PublicLoadBalancer', 'UDR'.
+ *
+ * @param outboundOnlyPublicNetworkAccessType the outboundOnlyPublicNetworkAccessType value to set
+ * @return the NetworkSettings object itself.
+ */
+ public NetworkSettings withOutboundOnlyPublicNetworkAccessType(OutboundOnlyPublicNetworkAccessType outboundOnlyPublicNetworkAccessType) {
+ this.outboundOnlyPublicNetworkAccessType = outboundOnlyPublicNetworkAccessType;
+ return this;
+ }
+
+}
diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/OutboundOnlyPublicNetworkAccessType.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/OutboundOnlyPublicNetworkAccessType.java
new file mode 100644
index 000000000000..9c5476ef7bb6
--- /dev/null
+++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/OutboundOnlyPublicNetworkAccessType.java
@@ -0,0 +1,41 @@
+/**
+ * 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.
+ */
+
+package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for OutboundOnlyPublicNetworkAccessType.
+ */
+public final class OutboundOnlyPublicNetworkAccessType extends ExpandableStringEnum {
+ /** Static value PublicLoadBalancer for OutboundOnlyPublicNetworkAccessType. */
+ public static final OutboundOnlyPublicNetworkAccessType PUBLIC_LOAD_BALANCER = fromString("PublicLoadBalancer");
+
+ /** Static value UDR for OutboundOnlyPublicNetworkAccessType. */
+ public static final OutboundOnlyPublicNetworkAccessType UDR = fromString("UDR");
+
+ /**
+ * Creates or finds a OutboundOnlyPublicNetworkAccessType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding OutboundOnlyPublicNetworkAccessType
+ */
+ @JsonCreator
+ public static OutboundOnlyPublicNetworkAccessType fromString(String name) {
+ return fromString(name, OutboundOnlyPublicNetworkAccessType.class);
+ }
+
+ /**
+ * @return known OutboundOnlyPublicNetworkAccessType values
+ */
+ public static Collection values() {
+ return values(OutboundOnlyPublicNetworkAccessType.class);
+ }
+}
diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/PublicNetworkAccess.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/PublicNetworkAccess.java
new file mode 100644
index 000000000000..9f83fac49300
--- /dev/null
+++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/PublicNetworkAccess.java
@@ -0,0 +1,41 @@
+/**
+ * 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.
+ */
+
+package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for PublicNetworkAccess.
+ */
+public final class PublicNetworkAccess extends ExpandableStringEnum {
+ /** Static value InboundAndOutbound for PublicNetworkAccess. */
+ public static final PublicNetworkAccess INBOUND_AND_OUTBOUND = fromString("InboundAndOutbound");
+
+ /** Static value OutboundOnly for PublicNetworkAccess. */
+ public static final PublicNetworkAccess OUTBOUND_ONLY = fromString("OutboundOnly");
+
+ /**
+ * Creates or finds a PublicNetworkAccess from its string representation.
+ * @param name a name to look for
+ * @return the corresponding PublicNetworkAccess
+ */
+ @JsonCreator
+ public static PublicNetworkAccess fromString(String name) {
+ return fromString(name, PublicNetworkAccess.class);
+ }
+
+ /**
+ * @return known PublicNetworkAccess values
+ */
+ public static Collection values() {
+ return values(PublicNetworkAccess.class);
+ }
+}