From 9e0669c51d2e15e96d892096a26a701036b16fb1 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 22 Jan 2019 05:10:35 +0000 Subject: [PATCH] Generated from 24d9e20f3fcc723e634b5fe214677fd884bff9cf [HDInsight] - Support MSI for ADLS gen2 --- packages/@azure/arm-hdinsight/LICENSE.txt | 2 +- packages/@azure/arm-hdinsight/lib/models/index.ts | 11 +++++++++++ packages/@azure/arm-hdinsight/lib/models/mappers.ts | 12 ++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/packages/@azure/arm-hdinsight/LICENSE.txt b/packages/@azure/arm-hdinsight/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-hdinsight/LICENSE.txt +++ b/packages/@azure/arm-hdinsight/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/@azure/arm-hdinsight/lib/models/index.ts b/packages/@azure/arm-hdinsight/lib/models/index.ts index e78c1379a528..6bff9c1a9c67 100644 --- a/packages/@azure/arm-hdinsight/lib/models/index.ts +++ b/packages/@azure/arm-hdinsight/lib/models/index.ts @@ -321,6 +321,17 @@ export interface StorageAccount { * @member {string} [key] The storage account access key. */ key?: string; + /** + * @member {string} [resourceId] The resource ID of storage account, only to + * be specified for Azure Data Lake Storage Gen 2. + */ + resourceId?: string; + /** + * @member {string} [msiResourceId] The managed identity (MSI) that is + * allowed to access the storage account, only to be specified for Azure Data + * Lake Storage Gen 2. + */ + msiResourceId?: string; } /** diff --git a/packages/@azure/arm-hdinsight/lib/models/mappers.ts b/packages/@azure/arm-hdinsight/lib/models/mappers.ts index 017d9b8bef5d..8f12898d59ca 100644 --- a/packages/@azure/arm-hdinsight/lib/models/mappers.ts +++ b/packages/@azure/arm-hdinsight/lib/models/mappers.ts @@ -443,6 +443,18 @@ export const StorageAccount: msRest.CompositeMapper = { type: { name: "String" } + }, + resourceId: { + serializedName: "resourceId", + type: { + name: "String" + } + }, + msiResourceId: { + serializedName: "msiResourceId", + type: { + name: "String" + } } } }