diff --git a/sdk/hdinsight/arm-hdinsight/README.md b/sdk/hdinsight/arm-hdinsight/README.md index 7c087f8dca73..13720d880fb4 100644 --- a/sdk/hdinsight/arm-hdinsight/README.md +++ b/sdk/hdinsight/arm-hdinsight/README.md @@ -99,4 +99,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fhdinsight%2Farm-hdinsight%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/hdinsight/arm-hdinsight/README.png) diff --git a/sdk/hdinsight/arm-hdinsight/src/hDInsightManagementClientContext.ts b/sdk/hdinsight/arm-hdinsight/src/hDInsightManagementClientContext.ts index 8c0fa6a25064..e6fb7ebbb850 100644 --- a/sdk/hdinsight/arm-hdinsight/src/hDInsightManagementClientContext.ts +++ b/sdk/hdinsight/arm-hdinsight/src/hDInsightManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-hdinsight"; -const packageVersion = "0.14.0"; +const packageVersion = "0.15.0"; export class HDInsightManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts b/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts index abef6ef057e7..3d44ac8aaf71 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts @@ -18,6 +18,7 @@ export { AutoscaleSchedule, AutoscaleTimeAndCapacity, BaseResource, + ClientGroupInfo, Cluster, ClusterDefinition, ClusterGetProperties, @@ -30,6 +31,7 @@ export { ErrorResponse, Errors, HardwareProfile, + KafkaRestProperties, LinuxOperatingSystemProfile, OsProfile, ProxyResource, diff --git a/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts b/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts index 94986db631b3..6a20ca438272 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts @@ -17,6 +17,7 @@ export { AutoscaleSchedule, AutoscaleTimeAndCapacity, BaseResource, + ClientGroupInfo, Cluster, ClusterCreateParametersExtended, ClusterCreateProperties, @@ -37,6 +38,7 @@ export { ExecuteScriptActionParameters, GatewaySettings, HardwareProfile, + KafkaRestProperties, LinuxOperatingSystemProfile, OsProfile, ProxyResource, diff --git a/sdk/hdinsight/arm-hdinsight/src/models/index.ts b/sdk/hdinsight/arm-hdinsight/src/models/index.ts index 93a988e3179c..1fa0ad75675a 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/index.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/index.ts @@ -33,6 +33,30 @@ export interface ClusterDefinition { configurations?: any; } +/** + * The information of AAD security group. + */ +export interface ClientGroupInfo { + /** + * The AAD security group name. + */ + groupName?: string; + /** + * The AAD security group id. + */ + groupId?: string; +} + +/** + * The kafka rest proxy configuration which contains AAD security group information. + */ +export interface KafkaRestProperties { + /** + * The information of AAD security group. + */ + clientGroupInfo?: ClientGroupInfo; +} + /** * The security profile which contains Ssh public key for the HDInsight cluster. */ @@ -330,7 +354,7 @@ export interface StorageAccount { */ container?: string; /** - * 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. */ fileSystem?: string; /** @@ -405,6 +429,10 @@ export interface ClusterCreateProperties { * The cluster definition. */ clusterDefinition?: ClusterDefinition; + /** + * The cluster kafka rest proxy configuration. + */ + kafkaRestProperties?: KafkaRestProperties; /** * The security profile. */ @@ -567,6 +595,10 @@ export interface ClusterGetProperties { * The cluster definition. */ clusterDefinition: ClusterDefinition; + /** + * The cluster kafka rest proxy configuration. + */ + kafkaRestProperties?: KafkaRestProperties; /** * The security profile. */ diff --git a/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts b/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts index 523187c18e27..214fef9fb321 100644 --- a/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts +++ b/sdk/hdinsight/arm-hdinsight/src/models/mappers.ts @@ -51,6 +51,45 @@ export const ClusterDefinition: msRest.CompositeMapper = { } }; +export const ClientGroupInfo: msRest.CompositeMapper = { + serializedName: "ClientGroupInfo", + type: { + name: "Composite", + className: "ClientGroupInfo", + modelProperties: { + groupName: { + serializedName: "groupName", + type: { + name: "String" + } + }, + groupId: { + serializedName: "groupId", + type: { + name: "String" + } + } + } + } +}; + +export const KafkaRestProperties: msRest.CompositeMapper = { + serializedName: "KafkaRestProperties", + type: { + name: "Composite", + className: "KafkaRestProperties", + modelProperties: { + clientGroupInfo: { + serializedName: "clientGroupInfo", + type: { + name: "Composite", + className: "ClientGroupInfo" + } + } + } + } +}; + export const SecurityProfile: msRest.CompositeMapper = { serializedName: "SecurityProfile", type: { @@ -705,6 +744,13 @@ export const ClusterCreateProperties: msRest.CompositeMapper = { className: "ClusterDefinition" } }, + kafkaRestProperties: { + serializedName: "kafkaRestProperties", + type: { + name: "Composite", + className: "KafkaRestProperties" + } + }, securityProfile: { serializedName: "securityProfile", type: { @@ -984,6 +1030,13 @@ export const ClusterGetProperties: msRest.CompositeMapper = { className: "ClusterDefinition" } }, + kafkaRestProperties: { + serializedName: "kafkaRestProperties", + type: { + name: "Composite", + className: "KafkaRestProperties" + } + }, securityProfile: { serializedName: "securityProfile", type: {