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
5 changes: 5 additions & 0 deletions lib/services/hdInsightManagement/lib/models/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions lib/services/hdInsightManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -63,6 +67,8 @@ export interface SecurityProfile {
domainUsername?: string;
domainUserPassword?: string;
clusterUsersGroupDNs?: string[];
aaddsResourceId?: string;
msiResourceId?: string;
}

/**
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
19 changes: 19 additions & 0 deletions lib/services/hdInsightManagement/lib/models/securityProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
}
Expand Down Expand Up @@ -111,6 +116,20 @@ class SecurityProfile {
}
}
}
},
aaddsResourceId: {
required: false,
serializedName: 'aaddsResourceId',
type: {
name: 'String'
}
},
msiResourceId: {
required: false,
serializedName: 'msiResourceId',
type: {
name: 'String'
}
}
}
}
Expand Down
42 changes: 42 additions & 0 deletions lib/services/hdInsightManagement/lib/operations/clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions lib/services/hdInsightManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
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 @@ -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"
Expand Down