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
6 changes: 3 additions & 3 deletions sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-hdinsight</artifactId>
<version>1.3.6</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for HDInsight Management</name>
<description>This package contains Microsoft HDInsight Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
}

}
Original file line number Diff line number Diff line change
@@ -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<PrivateLink> {
/** 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<PrivateLink> values() {
return values(PrivateLink.class);
}
}
Original file line number Diff line number Diff line change
@@ -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<ResourceProviderConnection> {
/** 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<ResourceProviderConnection> values() {
return values(ResourceProviderConnection.class);
}
}