diff --git a/lib/services/hdInsightManagement/lib/models/cluster.js b/lib/services/hdInsightManagement/lib/models/cluster.js index 2c39bdfda4..61b878d262 100644 --- a/lib/services/hdInsightManagement/lib/models/cluster.js +++ b/lib/services/hdInsightManagement/lib/models/cluster.js @@ -51,6 +51,11 @@ class Cluster extends models['TrackedResource'] { * domain admin password. * @member {array} [properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups + * @member {string} [properties.securityProfile.aaddsResourceId] The resource + * ID of the user's Azure Active Directory Domain Service. + * @member {string} [properties.securityProfile.msiResourceId] User assigned + * identity that has permissions to read and create cluster-related artifacts + * in the user's AADDS. * @member {object} [properties.computeProfile] The compute profile. * @member {array} [properties.computeProfile.roles] The list of roles in the * cluster. diff --git a/lib/services/hdInsightManagement/lib/models/clusterCreateParametersExtended.js b/lib/services/hdInsightManagement/lib/models/clusterCreateParametersExtended.js index 0491bc3c82..57dc3e001d 100644 --- a/lib/services/hdInsightManagement/lib/models/clusterCreateParametersExtended.js +++ b/lib/services/hdInsightManagement/lib/models/clusterCreateParametersExtended.js @@ -49,6 +49,11 @@ class ClusterCreateParametersExtended { * domain admin password. * @member {array} [properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups + * @member {string} [properties.securityProfile.aaddsResourceId] The resource + * ID of the user's Azure Active Directory Domain Service. + * @member {string} [properties.securityProfile.msiResourceId] User assigned + * identity that has permissions to read and create cluster-related artifacts + * in the user's AADDS. * @member {object} [properties.computeProfile] The compute profile. * @member {array} [properties.computeProfile.roles] The list of roles in the * cluster. diff --git a/lib/services/hdInsightManagement/lib/models/clusterCreateProperties.js b/lib/services/hdInsightManagement/lib/models/clusterCreateProperties.js index 7c06653003..9e4cec42e3 100644 --- a/lib/services/hdInsightManagement/lib/models/clusterCreateProperties.js +++ b/lib/services/hdInsightManagement/lib/models/clusterCreateProperties.js @@ -45,6 +45,11 @@ class ClusterCreateProperties { * password. * @member {array} [securityProfile.clusterUsersGroupDNs] Optional. The * Distinguished Names for cluster user groups + * @member {string} [securityProfile.aaddsResourceId] The resource ID of the + * user's Azure Active Directory Domain Service. + * @member {string} [securityProfile.msiResourceId] User assigned identity + * that has permissions to read and create cluster-related artifacts in the + * user's AADDS. * @member {object} [computeProfile] The compute profile. * @member {array} [computeProfile.roles] The list of roles in the cluster. * @member {object} [storageProfile] The storage profile. diff --git a/lib/services/hdInsightManagement/lib/models/clusterGetProperties.js b/lib/services/hdInsightManagement/lib/models/clusterGetProperties.js index 798e19f246..bc5dcbc986 100644 --- a/lib/services/hdInsightManagement/lib/models/clusterGetProperties.js +++ b/lib/services/hdInsightManagement/lib/models/clusterGetProperties.js @@ -45,6 +45,11 @@ class ClusterGetProperties { * password. * @member {array} [securityProfile.clusterUsersGroupDNs] Optional. The * Distinguished Names for cluster user groups + * @member {string} [securityProfile.aaddsResourceId] The resource ID of the + * user's Azure Active Directory Domain Service. + * @member {string} [securityProfile.msiResourceId] User assigned identity + * that has permissions to read and create cluster-related artifacts in the + * user's AADDS. * @member {object} [computeProfile] The compute profile. * @member {array} [computeProfile.roles] The list of roles in the cluster. * @member {string} [provisioningState] The provisioning state, which only diff --git a/lib/services/hdInsightManagement/lib/models/index.d.ts b/lib/services/hdInsightManagement/lib/models/index.d.ts index b1854aa78d..cf6aa99b9c 100644 --- a/lib/services/hdInsightManagement/lib/models/index.d.ts +++ b/lib/services/hdInsightManagement/lib/models/index.d.ts @@ -54,6 +54,10 @@ export interface ClusterDefinition { * @member {string} [domainUserPassword] The domain admin password. * @member {array} [clusterUsersGroupDNs] Optional. The Distinguished Names for * cluster user groups + * @member {string} [aaddsResourceId] The resource ID of the user's Azure + * Active Directory Domain Service. + * @member {string} [msiResourceId] User assigned identity that has permissions + * to read and create cluster-related artifacts in the user's AADDS. */ export interface SecurityProfile { directoryType?: string; @@ -63,6 +67,8 @@ export interface SecurityProfile { domainUsername?: string; domainUserPassword?: string; clusterUsersGroupDNs?: string[]; + aaddsResourceId?: string; + msiResourceId?: string; } /** @@ -305,6 +311,11 @@ export interface StorageProfile { * password. * @member {array} [securityProfile.clusterUsersGroupDNs] Optional. The * Distinguished Names for cluster user groups + * @member {string} [securityProfile.aaddsResourceId] The resource ID of the + * user's Azure Active Directory Domain Service. + * @member {string} [securityProfile.msiResourceId] User assigned identity that + * has permissions to read and create cluster-related artifacts in the user's + * AADDS. * @member {object} [computeProfile] The compute profile. * @member {array} [computeProfile.roles] The list of roles in the cluster. * @member {object} [storageProfile] The storage profile. @@ -359,6 +370,11 @@ export interface ClusterCreateProperties { * admin password. * @member {array} [properties.securityProfile.clusterUsersGroupDNs] Optional. * The Distinguished Names for cluster user groups + * @member {string} [properties.securityProfile.aaddsResourceId] The resource + * ID of the user's Azure Active Directory Domain Service. + * @member {string} [properties.securityProfile.msiResourceId] User assigned + * identity that has permissions to read and create cluster-related artifacts + * in the user's AADDS. * @member {object} [properties.computeProfile] The compute profile. * @member {array} [properties.computeProfile.roles] The list of roles in the * cluster. @@ -461,6 +477,11 @@ export interface ConnectivityEndpoint { * password. * @member {array} [securityProfile.clusterUsersGroupDNs] Optional. The * Distinguished Names for cluster user groups + * @member {string} [securityProfile.aaddsResourceId] The resource ID of the + * user's Azure Active Directory Domain Service. + * @member {string} [securityProfile.msiResourceId] User assigned identity that + * has permissions to read and create cluster-related artifacts in the user's + * AADDS. * @member {object} [computeProfile] The compute profile. * @member {array} [computeProfile.roles] The list of roles in the cluster. * @member {string} [provisioningState] The provisioning state, which only @@ -555,6 +576,11 @@ export interface TrackedResource extends Resource { * admin password. * @member {array} [properties.securityProfile.clusterUsersGroupDNs] Optional. * The Distinguished Names for cluster user groups + * @member {string} [properties.securityProfile.aaddsResourceId] The resource + * ID of the user's Azure Active Directory Domain Service. + * @member {string} [properties.securityProfile.msiResourceId] User assigned + * identity that has permissions to read and create cluster-related artifacts + * in the user's AADDS. * @member {object} [properties.computeProfile] The compute profile. * @member {array} [properties.computeProfile.roles] The list of roles in the * cluster. diff --git a/lib/services/hdInsightManagement/lib/models/securityProfile.js b/lib/services/hdInsightManagement/lib/models/securityProfile.js index 0c9bbbee4f..6729d72348 100644 --- a/lib/services/hdInsightManagement/lib/models/securityProfile.js +++ b/lib/services/hdInsightManagement/lib/models/securityProfile.js @@ -30,6 +30,11 @@ class SecurityProfile { * @member {string} [domainUserPassword] The domain admin password. * @member {array} [clusterUsersGroupDNs] Optional. The Distinguished Names * for cluster user groups + * @member {string} [aaddsResourceId] The resource ID of the user's Azure + * Active Directory Domain Service. + * @member {string} [msiResourceId] User assigned identity that has + * permissions to read and create cluster-related artifacts in the user's + * AADDS. */ constructor() { } @@ -111,6 +116,20 @@ class SecurityProfile { } } } + }, + aaddsResourceId: { + required: false, + serializedName: 'aaddsResourceId', + type: { + name: 'String' + } + }, + msiResourceId: { + required: false, + serializedName: 'msiResourceId', + type: { + name: 'String' + } } } } diff --git a/lib/services/hdInsightManagement/lib/operations/clusters.js b/lib/services/hdInsightManagement/lib/operations/clusters.js index 20fc2dfc70..d50597b8b1 100644 --- a/lib/services/hdInsightManagement/lib/operations/clusters.js +++ b/lib/services/hdInsightManagement/lib/operations/clusters.js @@ -79,6 +79,13 @@ const WebResource = msRest.WebResource; * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -1012,6 +1019,13 @@ function _executeScriptActions(resourceGroupName, clusterName, parameters, optio * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -1955,6 +1969,13 @@ class Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -2054,6 +2075,13 @@ class Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -2796,6 +2824,13 @@ class Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -2895,6 +2930,13 @@ class Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of diff --git a/lib/services/hdInsightManagement/lib/operations/index.d.ts b/lib/services/hdInsightManagement/lib/operations/index.d.ts index 945eccb685..f5e832f619 100644 --- a/lib/services/hdInsightManagement/lib/operations/index.d.ts +++ b/lib/services/hdInsightManagement/lib/operations/index.d.ts @@ -85,6 +85,13 @@ export interface Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -172,6 +179,13 @@ export interface Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -710,6 +724,13 @@ export interface Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of @@ -797,6 +818,13 @@ export interface Clusters { * @param {array} [parameters.properties.securityProfile.clusterUsersGroupDNs] * Optional. The Distinguished Names for cluster user groups * + * @param {string} [parameters.properties.securityProfile.aaddsResourceId] The + * resource ID of the user's Azure Active Directory Domain Service. + * + * @param {string} [parameters.properties.securityProfile.msiResourceId] User + * assigned identity that has permissions to read and create cluster-related + * artifacts in the user's AADDS. + * * @param {object} [parameters.properties.computeProfile] The compute profile. * * @param {array} [parameters.properties.computeProfile.roles] The list of diff --git a/lib/services/hdInsightManagement/package.json b/lib/services/hdInsightManagement/package.json index 5a85e84c84..718806a3da 100644 --- a/lib/services/hdInsightManagement/package.json +++ b/lib/services/hdInsightManagement/package.json @@ -14,7 +14,7 @@ "license": "MIT", "main": "./lib/hDInsightManagementClient.js", "types": "./lib/hDInsightManagementClient.d.ts", - "homepage": "https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/hdInsightManagement", + "homepage": "https://github.com/azure/azure-sdk-for-node", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-node.git"