diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml index 4ab87edfea6e..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.2 - ../../parents/azure-arm-parent/pom.xml + 1.1.0 + ../../../pom.management.xml azure-mgmt-hdinsight - 1.3.6 + 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 55b741299881..224d2d0e12df 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 @@ -82,10 +82,10 @@ public class ClusterCreateProperties { private String minSupportedTlsVersion; /** - * The network settings. + * The network properties. */ - @JsonProperty(value = "networkSettings") - private NetworkSettings networkSettings; + @JsonProperty(value = "networkProperties") + private NetworkProperties networkProperties; /** * Get the version of the cluster. @@ -308,22 +308,22 @@ public ClusterCreateProperties withMinSupportedTlsVersion(String minSupportedTls } /** - * Get the network settings. + * Get the network properties. * - * @return the networkSettings value + * @return the networkProperties value */ - public NetworkSettings networkSettings() { - return this.networkSettings; + public NetworkProperties networkProperties() { + return this.networkProperties; } /** - * Set the network settings. + * Set the network properties. * - * @param networkSettings the networkSettings value to set + * @param networkProperties the networkProperties value to set * @return the ClusterCreateProperties object itself. */ - public ClusterCreateProperties withNetworkSettings(NetworkSettings networkSettings) { - this.networkSettings = networkSettings; + public ClusterCreateProperties withNetworkProperties(NetworkProperties networkProperties) { + this.networkProperties = networkProperties; 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 8d553e6b8137..1c7823b3acef 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 @@ -34,6 +34,12 @@ public class ClusterGetProperties { @JsonProperty(value = "tier") private Tier tier; + /** + * The cluster id. + */ + @JsonProperty(value = "clusterId") + private String clusterId; + /** * The cluster definition. */ @@ -115,10 +121,10 @@ public class ClusterGetProperties { private String minSupportedTlsVersion; /** - * The network settings. + * The network properties. */ - @JsonProperty(value = "networkSettings") - private NetworkSettings networkSettings; + @JsonProperty(value = "networkProperties") + private NetworkProperties networkProperties; /** * Get the version of the cluster. @@ -180,6 +186,26 @@ public ClusterGetProperties withTier(Tier tier) { return this; } + /** + * Get the cluster id. + * + * @return the clusterId value + */ + public String clusterId() { + return this.clusterId; + } + + /** + * Set the cluster id. + * + * @param clusterId the clusterId value to set + * @return the ClusterGetProperties object itself. + */ + public ClusterGetProperties withClusterId(String clusterId) { + this.clusterId = clusterId; + return this; + } + /** * Get the cluster definition. * @@ -441,22 +467,22 @@ public ClusterGetProperties withMinSupportedTlsVersion(String minSupportedTlsVer } /** - * Get the network settings. + * Get the network properties. * - * @return the networkSettings value + * @return the networkProperties value */ - public NetworkSettings networkSettings() { - return this.networkSettings; + public NetworkProperties networkProperties() { + return this.networkProperties; } /** - * Set the network settings. + * Set the network properties. * - * @param networkSettings the networkSettings value to set + * @param networkProperties the networkProperties value to set * @return the ClusterGetProperties object itself. */ - public ClusterGetProperties withNetworkSettings(NetworkSettings networkSettings) { - this.networkSettings = networkSettings; + public ClusterGetProperties withNetworkProperties(NetworkProperties networkProperties) { + this.networkProperties = networkProperties; return this; } diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/NetworkProperties.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/NetworkProperties.java new file mode 100644 index 000000000000..0aba4cce3b43 --- /dev/null +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/NetworkProperties.java @@ -0,0 +1,71 @@ +/** + * 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 properties. + */ +public class NetworkProperties { + /** + * The direction for the resource provider connection. Possible values + * include: 'Inbound', 'Outbound'. + */ + @JsonProperty(value = "resourceProviderConnection") + private ResourceProviderConnection resourceProviderConnection; + + /** + * Indicates whether or not private link is enabled. Possible values + * include: 'Disabled', 'Enabled'. + */ + @JsonProperty(value = "privateLink") + private PrivateLink privateLink; + + /** + * Get the direction for the resource provider connection. Possible values include: 'Inbound', 'Outbound'. + * + * @return the resourceProviderConnection value + */ + public ResourceProviderConnection resourceProviderConnection() { + return this.resourceProviderConnection; + } + + /** + * Set the direction for the resource provider connection. Possible values include: 'Inbound', 'Outbound'. + * + * @param resourceProviderConnection the resourceProviderConnection value to set + * @return the NetworkProperties object itself. + */ + public NetworkProperties withResourceProviderConnection(ResourceProviderConnection resourceProviderConnection) { + this.resourceProviderConnection = resourceProviderConnection; + return this; + } + + /** + * Get indicates whether or not private link is enabled. Possible values include: 'Disabled', 'Enabled'. + * + * @return the privateLink value + */ + public PrivateLink privateLink() { + return this.privateLink; + } + + /** + * Set indicates whether or not private link is enabled. Possible values include: 'Disabled', 'Enabled'. + * + * @param privateLink the privateLink value to set + * @return the NetworkProperties object itself. + */ + public NetworkProperties withPrivateLink(PrivateLink privateLink) { + this.privateLink = privateLink; + return this; + } + +} diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/PrivateLink.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/PrivateLink.java new file mode 100644 index 000000000000..deb49b698cfa --- /dev/null +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/PrivateLink.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 PrivateLink. + */ +public final class PrivateLink extends ExpandableStringEnum { + /** Static value Disabled for PrivateLink. */ + public static final PrivateLink DISABLED = fromString("Disabled"); + + /** Static value Enabled for PrivateLink. */ + public static final PrivateLink ENABLED = fromString("Enabled"); + + /** + * Creates or finds a PrivateLink from its string representation. + * @param name a name to look for + * @return the corresponding PrivateLink + */ + @JsonCreator + public static PrivateLink fromString(String name) { + return fromString(name, PrivateLink.class); + } + + /** + * @return known PrivateLink values + */ + public static Collection values() { + return values(PrivateLink.class); + } +} diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ResourceProviderConnection.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ResourceProviderConnection.java new file mode 100644 index 000000000000..879591844d6b --- /dev/null +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ResourceProviderConnection.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 ResourceProviderConnection. + */ +public final class ResourceProviderConnection extends ExpandableStringEnum { + /** Static value Inbound for ResourceProviderConnection. */ + public static final ResourceProviderConnection INBOUND = fromString("Inbound"); + + /** Static value Outbound for ResourceProviderConnection. */ + public static final ResourceProviderConnection OUTBOUND = fromString("Outbound"); + + /** + * Creates or finds a ResourceProviderConnection from its string representation. + * @param name a name to look for + * @return the corresponding ResourceProviderConnection + */ + @JsonCreator + public static ResourceProviderConnection fromString(String name) { + return fromString(name, ResourceProviderConnection.class); + } + + /** + * @return known ResourceProviderConnection values + */ + public static Collection values() { + return values(ResourceProviderConnection.class); + } +}