Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/services/hdInsightManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 9 additions & 0 deletions lib/services/hdInsightManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down
19 changes: 19 additions & 0 deletions lib/services/hdInsightManagement/lib/models/storageAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
}
Expand Down Expand Up @@ -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'
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/services/hdInsightManagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "azure-arm-hdinsight",
"author": "Microsoft Corporation",
"description": "HDInsightManagementClient Library with typescript type definitions for node",
"version": "0.11.0",
"version": "0.12.0",
"dependencies": {
"ms-rest": "^2.3.3",
"ms-rest-azure": "^2.5.5"
Expand Down