From 59fc5f20d8f1bf25cc76160ad0a79eec2ec8c448 Mon Sep 17 00:00:00 2001 From: Chuang <54572251+xccc-msft@users.noreply.github.com> Date: Mon, 9 Dec 2019 21:22:30 -0800 Subject: [PATCH] HDInsight: regenerate package-2018-06-preview (#6705) --- .../mgmt-v2018_06_01_preview/pom.xml | 2 +- .../v2018_06_01_preview/ClientGroupInfo.java | 69 +++++++++++++++++++ .../ClusterCreateProperties.java | 26 +++++++ .../ClusterGetProperties.java | 26 +++++++ .../KafkaRestProperties.java | 44 ++++++++++++ .../v2018_06_01_preview/StorageAccount.java | 7 +- 6 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClientGroupInfo.java create mode 100644 sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/KafkaRestProperties.java diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml index d33d0b8d3312c..2bb2388832b53 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml @@ -15,7 +15,7 @@ ../../../pom.management.xml azure-mgmt-hdinsight - 1.1.1 + 1.2.0 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/ClientGroupInfo.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClientGroupInfo.java new file mode 100644 index 0000000000000..37660ba8dc711 --- /dev/null +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/ClientGroupInfo.java @@ -0,0 +1,69 @@ +/** + * 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 information of AAD security group. + */ +public class ClientGroupInfo { + /** + * The AAD security group name. + */ + @JsonProperty(value = "groupName") + private String groupName; + + /** + * The AAD security group id. + */ + @JsonProperty(value = "groupId") + private String groupId; + + /** + * Get the AAD security group name. + * + * @return the groupName value + */ + public String groupName() { + return this.groupName; + } + + /** + * Set the AAD security group name. + * + * @param groupName the groupName value to set + * @return the ClientGroupInfo object itself. + */ + public ClientGroupInfo withGroupName(String groupName) { + this.groupName = groupName; + return this; + } + + /** + * Get the AAD security group id. + * + * @return the groupId value + */ + public String groupId() { + return this.groupId; + } + + /** + * Set the AAD security group id. + * + * @param groupId the groupId value to set + * @return the ClientGroupInfo object itself. + */ + public ClientGroupInfo withGroupId(String groupId) { + this.groupId = groupId; + return this; + } + +} 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 9f3802b039b44..ffb584371e23a 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 @@ -39,6 +39,12 @@ public class ClusterCreateProperties { @JsonProperty(value = "clusterDefinition") private ClusterDefinition clusterDefinition; + /** + * The cluster kafka rest proxy configuration. + */ + @JsonProperty(value = "kafkaRestProperties") + private KafkaRestProperties kafkaRestProperties; + /** * The security profile. */ @@ -143,6 +149,26 @@ public ClusterCreateProperties withClusterDefinition(ClusterDefinition clusterDe return this; } + /** + * Get the cluster kafka rest proxy configuration. + * + * @return the kafkaRestProperties value + */ + public KafkaRestProperties kafkaRestProperties() { + return this.kafkaRestProperties; + } + + /** + * Set the cluster kafka rest proxy configuration. + * + * @param kafkaRestProperties the kafkaRestProperties value to set + * @return the ClusterCreateProperties object itself. + */ + public ClusterCreateProperties withKafkaRestProperties(KafkaRestProperties kafkaRestProperties) { + this.kafkaRestProperties = kafkaRestProperties; + return this; + } + /** * Get the security profile. * 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 ece9225eb6509..3c653556af90f 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 @@ -40,6 +40,12 @@ public class ClusterGetProperties { @JsonProperty(value = "clusterDefinition", required = true) private ClusterDefinition clusterDefinition; + /** + * The cluster kafka rest proxy configuration. + */ + @JsonProperty(value = "kafkaRestProperties") + private KafkaRestProperties kafkaRestProperties; + /** * The security profile. */ @@ -176,6 +182,26 @@ public ClusterGetProperties withClusterDefinition(ClusterDefinition clusterDefin return this; } + /** + * Get the cluster kafka rest proxy configuration. + * + * @return the kafkaRestProperties value + */ + public KafkaRestProperties kafkaRestProperties() { + return this.kafkaRestProperties; + } + + /** + * Set the cluster kafka rest proxy configuration. + * + * @param kafkaRestProperties the kafkaRestProperties value to set + * @return the ClusterGetProperties object itself. + */ + public ClusterGetProperties withKafkaRestProperties(KafkaRestProperties kafkaRestProperties) { + this.kafkaRestProperties = kafkaRestProperties; + return this; + } + /** * Get the security profile. * diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/KafkaRestProperties.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/KafkaRestProperties.java new file mode 100644 index 0000000000000..1776cd78e344f --- /dev/null +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/KafkaRestProperties.java @@ -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 kafka rest proxy configuration which contains AAD security group + * information. + */ +public class KafkaRestProperties { + /** + * The information of AAD security group. + */ + @JsonProperty(value = "clientGroupInfo") + private ClientGroupInfo clientGroupInfo; + + /** + * Get the information of AAD security group. + * + * @return the clientGroupInfo value + */ + public ClientGroupInfo clientGroupInfo() { + return this.clientGroupInfo; + } + + /** + * Set the information of AAD security group. + * + * @param clientGroupInfo the clientGroupInfo value to set + * @return the KafkaRestProperties object itself. + */ + public KafkaRestProperties withClientGroupInfo(ClientGroupInfo clientGroupInfo) { + this.clientGroupInfo = clientGroupInfo; + return this; + } + +} diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/StorageAccount.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/StorageAccount.java index 213d745f3f2a2..eca4fd690fa2d 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/StorageAccount.java +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/StorageAccount.java @@ -34,8 +34,7 @@ public class StorageAccount { private String container; /** - * The filesystem, only to be specified for Azure Data Lake Storage type - * Gen 2. + * The filesystem, only to be specified for Azure Data Lake Storage Gen 2. */ @JsonProperty(value = "fileSystem") private String fileSystem; @@ -121,7 +120,7 @@ public StorageAccount withContainer(String container) { } /** - * Get the filesystem, only to be specified for Azure Data Lake Storage type Gen 2. + * Get the filesystem, only to be specified for Azure Data Lake Storage Gen 2. * * @return the fileSystem value */ @@ -130,7 +129,7 @@ public String fileSystem() { } /** - * Set the filesystem, only to be specified for Azure Data Lake Storage type Gen 2. + * Set the filesystem, only to be specified for Azure Data Lake Storage Gen 2. * * @param fileSystem the fileSystem value to set * @return the StorageAccount object itself.