Skip to content

Commit 64a250c

Browse files
authored
HDInsight: regenerate package-2018-06-01-preview (#13231)
* HDInsight: regenerate package-2018-06-01-preview * update pom
1 parent d038891 commit 64a250c

File tree

11 files changed

+696
-2
lines changed

11 files changed

+696
-2
lines changed

sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.1</version>
14+
<version>1.3.2</version>
1515
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-hdinsight</artifactId>
18-
<version>1.3.3</version>
18+
<version>1.3.4</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for HDInsight Management</name>
2121
<description>This package contains Microsoft HDInsight Management SDK.</description>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The autoscale configuration update parameter.
15+
*/
16+
public class AutoscaleConfigurationUpdateParameter {
17+
/**
18+
* The autoscale configuration.
19+
*/
20+
@JsonProperty(value = "autoscale")
21+
private Autoscale autoscale;
22+
23+
/**
24+
* Get the autoscale configuration.
25+
*
26+
* @return the autoscale value
27+
*/
28+
public Autoscale autoscale() {
29+
return this.autoscale;
30+
}
31+
32+
/**
33+
* Set the autoscale configuration.
34+
*
35+
* @param autoscale the autoscale value to set
36+
* @return the AutoscaleConfigurationUpdateParameter object itself.
37+
*/
38+
public AutoscaleConfigurationUpdateParameter withAutoscale(Autoscale autoscale) {
39+
this.autoscale = autoscale;
40+
return this;
41+
}
42+
43+
}

sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterCreateProperties.java

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,24 @@ public class ClusterCreateProperties {
6969
@JsonProperty(value = "diskEncryptionProperties")
7070
private DiskEncryptionProperties diskEncryptionProperties;
7171

72+
/**
73+
* The encryption-in-transit properties.
74+
*/
75+
@JsonProperty(value = "encryptionInTransitProperties")
76+
private EncryptionInTransitProperties encryptionInTransitProperties;
77+
7278
/**
7379
* The minimal supported tls version.
7480
*/
7581
@JsonProperty(value = "minSupportedTlsVersion")
7682
private String minSupportedTlsVersion;
7783

84+
/**
85+
* The network settings.
86+
*/
87+
@JsonProperty(value = "networkSettings")
88+
private NetworkSettings networkSettings;
89+
7890
/**
7991
* Get the version of the cluster.
8092
*
@@ -255,6 +267,26 @@ public ClusterCreateProperties withDiskEncryptionProperties(DiskEncryptionProper
255267
return this;
256268
}
257269

270+
/**
271+
* Get the encryption-in-transit properties.
272+
*
273+
* @return the encryptionInTransitProperties value
274+
*/
275+
public EncryptionInTransitProperties encryptionInTransitProperties() {
276+
return this.encryptionInTransitProperties;
277+
}
278+
279+
/**
280+
* Set the encryption-in-transit properties.
281+
*
282+
* @param encryptionInTransitProperties the encryptionInTransitProperties value to set
283+
* @return the ClusterCreateProperties object itself.
284+
*/
285+
public ClusterCreateProperties withEncryptionInTransitProperties(EncryptionInTransitProperties encryptionInTransitProperties) {
286+
this.encryptionInTransitProperties = encryptionInTransitProperties;
287+
return this;
288+
}
289+
258290
/**
259291
* Get the minimal supported tls version.
260292
*
@@ -275,4 +307,24 @@ public ClusterCreateProperties withMinSupportedTlsVersion(String minSupportedTls
275307
return this;
276308
}
277309

310+
/**
311+
* Get the network settings.
312+
*
313+
* @return the networkSettings value
314+
*/
315+
public NetworkSettings networkSettings() {
316+
return this.networkSettings;
317+
}
318+
319+
/**
320+
* Set the network settings.
321+
*
322+
* @param networkSettings the networkSettings value to set
323+
* @return the ClusterCreateProperties object itself.
324+
*/
325+
public ClusterCreateProperties withNetworkSettings(NetworkSettings networkSettings) {
326+
this.networkSettings = networkSettings;
327+
return this;
328+
}
329+
278330
}

sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClusterGetProperties.java

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,24 @@ public class ClusterGetProperties {
102102
@JsonProperty(value = "diskEncryptionProperties")
103103
private DiskEncryptionProperties diskEncryptionProperties;
104104

105+
/**
106+
* The encryption-in-transit properties.
107+
*/
108+
@JsonProperty(value = "encryptionInTransitProperties")
109+
private EncryptionInTransitProperties encryptionInTransitProperties;
110+
105111
/**
106112
* The minimal supported tls version.
107113
*/
108114
@JsonProperty(value = "minSupportedTlsVersion")
109115
private String minSupportedTlsVersion;
110116

117+
/**
118+
* The network settings.
119+
*/
120+
@JsonProperty(value = "networkSettings")
121+
private NetworkSettings networkSettings;
122+
111123
/**
112124
* Get the version of the cluster.
113125
*
@@ -388,6 +400,26 @@ public ClusterGetProperties withDiskEncryptionProperties(DiskEncryptionPropertie
388400
return this;
389401
}
390402

403+
/**
404+
* Get the encryption-in-transit properties.
405+
*
406+
* @return the encryptionInTransitProperties value
407+
*/
408+
public EncryptionInTransitProperties encryptionInTransitProperties() {
409+
return this.encryptionInTransitProperties;
410+
}
411+
412+
/**
413+
* Set the encryption-in-transit properties.
414+
*
415+
* @param encryptionInTransitProperties the encryptionInTransitProperties value to set
416+
* @return the ClusterGetProperties object itself.
417+
*/
418+
public ClusterGetProperties withEncryptionInTransitProperties(EncryptionInTransitProperties encryptionInTransitProperties) {
419+
this.encryptionInTransitProperties = encryptionInTransitProperties;
420+
return this;
421+
}
422+
391423
/**
392424
* Get the minimal supported tls version.
393425
*
@@ -408,4 +440,24 @@ public ClusterGetProperties withMinSupportedTlsVersion(String minSupportedTlsVer
408440
return this;
409441
}
410442

443+
/**
444+
* Get the network settings.
445+
*
446+
* @return the networkSettings value
447+
*/
448+
public NetworkSettings networkSettings() {
449+
return this.networkSettings;
450+
}
451+
452+
/**
453+
* Set the network settings.
454+
*
455+
* @param networkSettings the networkSettings value to set
456+
* @return the ClusterGetProperties object itself.
457+
*/
458+
public ClusterGetProperties withNetworkSettings(NetworkSettings networkSettings) {
459+
this.networkSettings = networkSettings;
460+
return this;
461+
}
462+
411463
}

sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/Clusters.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,14 @@ public interface Clusters extends SupportsCreating<Cluster.DefinitionStages.Blan
7676
*/
7777
Completable resizeAsync(String resourceGroupName, String clusterName);
7878

79+
/**
80+
* Updates the Autoscale Configuration for HDInsight cluster.
81+
*
82+
* @param resourceGroupName The name of the resource group.
83+
* @param clusterName The name of the cluster.
84+
* @throws IllegalArgumentException thrown if parameters fail the validation
85+
* @return the observable for the request
86+
*/
87+
Completable updateAutoScaleConfigurationAsync(String resourceGroupName, String clusterName);
88+
7989
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The encryption-in-transit properties.
15+
*/
16+
public class EncryptionInTransitProperties {
17+
/**
18+
* Indicates whether or not inter cluster node communication is encrypted
19+
* in transit.
20+
*/
21+
@JsonProperty(value = "isEncryptionInTransitEnabled")
22+
private Boolean isEncryptionInTransitEnabled;
23+
24+
/**
25+
* Get indicates whether or not inter cluster node communication is encrypted in transit.
26+
*
27+
* @return the isEncryptionInTransitEnabled value
28+
*/
29+
public Boolean isEncryptionInTransitEnabled() {
30+
return this.isEncryptionInTransitEnabled;
31+
}
32+
33+
/**
34+
* Set indicates whether or not inter cluster node communication is encrypted in transit.
35+
*
36+
* @param isEncryptionInTransitEnabled the isEncryptionInTransitEnabled value to set
37+
* @return the EncryptionInTransitProperties object itself.
38+
*/
39+
public EncryptionInTransitProperties withIsEncryptionInTransitEnabled(Boolean isEncryptionInTransitEnabled) {
40+
this.isEncryptionInTransitEnabled = isEncryptionInTransitEnabled;
41+
return this;
42+
}
43+
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The network settings.
15+
*/
16+
public class NetworkSettings {
17+
/**
18+
* Specifies whether public network access is enabled for inbound and
19+
* outbound, or outbound only. Possible values include:
20+
* 'InboundAndOutbound', 'OutboundOnly'.
21+
*/
22+
@JsonProperty(value = "publicNetworkAccess")
23+
private PublicNetworkAccess publicNetworkAccess;
24+
25+
/**
26+
* The mechanism through which the cluster will have outbound access to the
27+
* public network. Possible values include: 'PublicLoadBalancer', 'UDR'.
28+
*/
29+
@JsonProperty(value = "outboundOnlyPublicNetworkAccessType")
30+
private OutboundOnlyPublicNetworkAccessType outboundOnlyPublicNetworkAccessType;
31+
32+
/**
33+
* Get specifies whether public network access is enabled for inbound and outbound, or outbound only. Possible values include: 'InboundAndOutbound', 'OutboundOnly'.
34+
*
35+
* @return the publicNetworkAccess value
36+
*/
37+
public PublicNetworkAccess publicNetworkAccess() {
38+
return this.publicNetworkAccess;
39+
}
40+
41+
/**
42+
* Set specifies whether public network access is enabled for inbound and outbound, or outbound only. Possible values include: 'InboundAndOutbound', 'OutboundOnly'.
43+
*
44+
* @param publicNetworkAccess the publicNetworkAccess value to set
45+
* @return the NetworkSettings object itself.
46+
*/
47+
public NetworkSettings withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) {
48+
this.publicNetworkAccess = publicNetworkAccess;
49+
return this;
50+
}
51+
52+
/**
53+
* Get the mechanism through which the cluster will have outbound access to the public network. Possible values include: 'PublicLoadBalancer', 'UDR'.
54+
*
55+
* @return the outboundOnlyPublicNetworkAccessType value
56+
*/
57+
public OutboundOnlyPublicNetworkAccessType outboundOnlyPublicNetworkAccessType() {
58+
return this.outboundOnlyPublicNetworkAccessType;
59+
}
60+
61+
/**
62+
* Set the mechanism through which the cluster will have outbound access to the public network. Possible values include: 'PublicLoadBalancer', 'UDR'.
63+
*
64+
* @param outboundOnlyPublicNetworkAccessType the outboundOnlyPublicNetworkAccessType value to set
65+
* @return the NetworkSettings object itself.
66+
*/
67+
public NetworkSettings withOutboundOnlyPublicNetworkAccessType(OutboundOnlyPublicNetworkAccessType outboundOnlyPublicNetworkAccessType) {
68+
this.outboundOnlyPublicNetworkAccessType = outboundOnlyPublicNetworkAccessType;
69+
return this;
70+
}
71+
72+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for OutboundOnlyPublicNetworkAccessType.
17+
*/
18+
public final class OutboundOnlyPublicNetworkAccessType extends ExpandableStringEnum<OutboundOnlyPublicNetworkAccessType> {
19+
/** Static value PublicLoadBalancer for OutboundOnlyPublicNetworkAccessType. */
20+
public static final OutboundOnlyPublicNetworkAccessType PUBLIC_LOAD_BALANCER = fromString("PublicLoadBalancer");
21+
22+
/** Static value UDR for OutboundOnlyPublicNetworkAccessType. */
23+
public static final OutboundOnlyPublicNetworkAccessType UDR = fromString("UDR");
24+
25+
/**
26+
* Creates or finds a OutboundOnlyPublicNetworkAccessType from its string representation.
27+
* @param name a name to look for
28+
* @return the corresponding OutboundOnlyPublicNetworkAccessType
29+
*/
30+
@JsonCreator
31+
public static OutboundOnlyPublicNetworkAccessType fromString(String name) {
32+
return fromString(name, OutboundOnlyPublicNetworkAccessType.class);
33+
}
34+
35+
/**
36+
* @return known OutboundOnlyPublicNetworkAccessType values
37+
*/
38+
public static Collection<OutboundOnlyPublicNetworkAccessType> values() {
39+
return values(OutboundOnlyPublicNetworkAccessType.class);
40+
}
41+
}

0 commit comments

Comments
 (0)