Skip to content

Commit

Permalink
HDInsight: regenerate package-2018-06-01-preview (#13231)
Browse files Browse the repository at this point in the history
* HDInsight: regenerate package-2018-06-01-preview

* update pom
  • Loading branch information
xseeseesee authored Jul 16, 2020
1 parent d038891 commit 64a250c
Show file tree
Hide file tree
Showing 11 changed files with 696 additions and 2 deletions.
4 changes: 2 additions & 2 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.1</version>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-hdinsight</artifactId>
<version>1.3.3</version>
<version>1.3.4</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
@@ -0,0 +1,43 @@
/**
* 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 autoscale configuration update parameter.
*/
public class AutoscaleConfigurationUpdateParameter {
/**
* The autoscale configuration.
*/
@JsonProperty(value = "autoscale")
private Autoscale autoscale;

/**
* Get the autoscale configuration.
*
* @return the autoscale value
*/
public Autoscale autoscale() {
return this.autoscale;
}

/**
* Set the autoscale configuration.
*
* @param autoscale the autoscale value to set
* @return the AutoscaleConfigurationUpdateParameter object itself.
*/
public AutoscaleConfigurationUpdateParameter withAutoscale(Autoscale autoscale) {
this.autoscale = autoscale;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,24 @@ public class ClusterCreateProperties {
@JsonProperty(value = "diskEncryptionProperties")
private DiskEncryptionProperties diskEncryptionProperties;

/**
* The encryption-in-transit properties.
*/
@JsonProperty(value = "encryptionInTransitProperties")
private EncryptionInTransitProperties encryptionInTransitProperties;

/**
* The minimal supported tls version.
*/
@JsonProperty(value = "minSupportedTlsVersion")
private String minSupportedTlsVersion;

/**
* The network settings.
*/
@JsonProperty(value = "networkSettings")
private NetworkSettings networkSettings;

/**
* Get the version of the cluster.
*
Expand Down Expand Up @@ -255,6 +267,26 @@ public ClusterCreateProperties withDiskEncryptionProperties(DiskEncryptionProper
return this;
}

/**
* Get the encryption-in-transit properties.
*
* @return the encryptionInTransitProperties value
*/
public EncryptionInTransitProperties encryptionInTransitProperties() {
return this.encryptionInTransitProperties;
}

/**
* Set the encryption-in-transit properties.
*
* @param encryptionInTransitProperties the encryptionInTransitProperties value to set
* @return the ClusterCreateProperties object itself.
*/
public ClusterCreateProperties withEncryptionInTransitProperties(EncryptionInTransitProperties encryptionInTransitProperties) {
this.encryptionInTransitProperties = encryptionInTransitProperties;
return this;
}

/**
* Get the minimal supported tls version.
*
Expand All @@ -275,4 +307,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;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,24 @@ public class ClusterGetProperties {
@JsonProperty(value = "diskEncryptionProperties")
private DiskEncryptionProperties diskEncryptionProperties;

/**
* The encryption-in-transit properties.
*/
@JsonProperty(value = "encryptionInTransitProperties")
private EncryptionInTransitProperties encryptionInTransitProperties;

/**
* The minimal supported tls version.
*/
@JsonProperty(value = "minSupportedTlsVersion")
private String minSupportedTlsVersion;

/**
* The network settings.
*/
@JsonProperty(value = "networkSettings")
private NetworkSettings networkSettings;

/**
* Get the version of the cluster.
*
Expand Down Expand Up @@ -388,6 +400,26 @@ public ClusterGetProperties withDiskEncryptionProperties(DiskEncryptionPropertie
return this;
}

/**
* Get the encryption-in-transit properties.
*
* @return the encryptionInTransitProperties value
*/
public EncryptionInTransitProperties encryptionInTransitProperties() {
return this.encryptionInTransitProperties;
}

/**
* Set the encryption-in-transit properties.
*
* @param encryptionInTransitProperties the encryptionInTransitProperties value to set
* @return the ClusterGetProperties object itself.
*/
public ClusterGetProperties withEncryptionInTransitProperties(EncryptionInTransitProperties encryptionInTransitProperties) {
this.encryptionInTransitProperties = encryptionInTransitProperties;
return this;
}

/**
* Get the minimal supported tls version.
*
Expand All @@ -408,4 +440,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;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,14 @@ public interface Clusters extends SupportsCreating<Cluster.DefinitionStages.Blan
*/
Completable resizeAsync(String resourceGroupName, String clusterName);

/**
* Updates the Autoscale Configuration for HDInsight cluster.
*
* @param resourceGroupName The name of the resource group.
* @param clusterName The name of the cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable updateAutoScaleConfigurationAsync(String resourceGroupName, String clusterName);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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 encryption-in-transit properties.
*/
public class EncryptionInTransitProperties {
/**
* Indicates whether or not inter cluster node communication is encrypted
* in transit.
*/
@JsonProperty(value = "isEncryptionInTransitEnabled")
private Boolean isEncryptionInTransitEnabled;

/**
* Get indicates whether or not inter cluster node communication is encrypted in transit.
*
* @return the isEncryptionInTransitEnabled value
*/
public Boolean isEncryptionInTransitEnabled() {
return this.isEncryptionInTransitEnabled;
}

/**
* Set indicates whether or not inter cluster node communication is encrypted in transit.
*
* @param isEncryptionInTransitEnabled the isEncryptionInTransitEnabled value to set
* @return the EncryptionInTransitProperties object itself.
*/
public EncryptionInTransitProperties withIsEncryptionInTransitEnabled(Boolean isEncryptionInTransitEnabled) {
this.isEncryptionInTransitEnabled = isEncryptionInTransitEnabled;
return this;
}

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

}
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 OutboundOnlyPublicNetworkAccessType.
*/
public final class OutboundOnlyPublicNetworkAccessType extends ExpandableStringEnum<OutboundOnlyPublicNetworkAccessType> {
/** 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<OutboundOnlyPublicNetworkAccessType> values() {
return values(OutboundOnlyPublicNetworkAccessType.class);
}
}
Loading

0 comments on commit 64a250c

Please sign in to comment.