diff --git a/lib/services/hdInsightManagement/LICENSE.txt b/lib/services/hdInsightManagement/LICENSE.txt index 5431ba98b9..8f3d856145 100644 --- a/lib/services/hdInsightManagement/LICENSE.txt +++ b/lib/services/hdInsightManagement/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/lib/services/hdInsightManagement/lib/models/index.d.ts b/lib/services/hdInsightManagement/lib/models/index.d.ts index ebbfcc4f2d..6ba43192c4 100644 --- a/lib/services/hdInsightManagement/lib/models/index.d.ts +++ b/lib/services/hdInsightManagement/lib/models/index.d.ts @@ -260,6 +260,15 @@ export interface StorageAccount { * The storage account access key. */ key?: string; + /** + * The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2. + */ + resourceId?: string; + /** + * 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/lib/services/hdInsightManagement/lib/models/storageAccount.js b/lib/services/hdInsightManagement/lib/models/storageAccount.js index f95e791f1b..035a37e7d9 100644 --- a/lib/services/hdInsightManagement/lib/models/storageAccount.js +++ b/lib/services/hdInsightManagement/lib/models/storageAccount.js @@ -25,6 +25,11 @@ class StorageAccount { * @property {string} [fileSystem] The filesystem, only to be specified for * Azure Data Lake Storage type Gen 2. * @property {string} [key] The storage account access key. + * @property {string} [resourceId] The resource ID of storage account, only + * to be specified for Azure Data Lake Storage Gen 2. + * @property {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. */ constructor() { } @@ -77,6 +82,20 @@ class StorageAccount { type: { name: 'String' } + }, + resourceId: { + required: false, + serializedName: 'resourceId', + type: { + name: 'String' + } + }, + msiResourceId: { + required: false, + serializedName: 'msiResourceId', + type: { + name: 'String' + } } } }