Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

[AutoPR hdinsight/resource-manager/hdinsight/data-plane] [HDInsight] - Swagger based job SDK #4114

Closed
wants to merge 2 commits into from
Closed
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
13 changes: 7 additions & 6 deletions lib/services/hdInsightManagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ uid: azure-arm-hdinsight
summary: *content

---
# Microsoft Azure SDK for Node.js - HDInsightManagementClient
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.**
## Microsoft Azure SDK for Node.js - HDInsightManagementClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

## Features
### Features


## How to Install
### How to Install

```bash
npm install azure-arm-hdinsight
```

## How to use
### How to use

### Authentication, client creation and get clusters as an example.
#### Authentication, client creation and get clusters as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
Expand All @@ -37,6 +38,6 @@ msRestAzure.interactiveLogin().then((creds) => {
console.dir(err, {depth: null, colors: true});
});

## Related projects
### Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
38 changes: 19 additions & 19 deletions lib/services/hdInsightManagement/lib/models/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,29 @@ const models = require('./index');
class Application extends models['ProxyResource'] {
/**
* Create a Application.
* @member {string} [etag] The ETag for the application
* @member {object} [tags] The tags for the application.
* @member {object} [properties] The properties of the application.
* @member {object} [properties.computeProfile] The list of roles in the
* @property {string} [etag] The ETag for the application
* @property {object} [tags] The tags for the application.
* @property {object} [properties] The properties of the application.
* @property {object} [properties.computeProfile] The list of roles in the
* cluster.
* @member {array} [properties.computeProfile.roles] The list of roles in the
* cluster.
* @member {array} [properties.installScriptActions] The list of install
* script actions.
* @member {array} [properties.uninstallScriptActions] The list of uninstall
* @property {array} [properties.computeProfile.roles] The list of roles in
* the cluster.
* @property {array} [properties.installScriptActions] The list of install
* script actions.
* @member {array} [properties.httpsEndpoints] The list of application HTTPS
* endpoints.
* @member {array} [properties.sshEndpoints] The list of application SSH
* @property {array} [properties.uninstallScriptActions] The list of
* uninstall script actions.
* @property {array} [properties.httpsEndpoints] The list of application
* HTTPS endpoints.
* @property {array} [properties.sshEndpoints] The list of application SSH
* endpoints.
* @member {string} [properties.provisioningState] The provisioning state of
* the application.
* @member {string} [properties.applicationType] The application type.
* @member {string} [properties.applicationState] The application state.
* @member {array} [properties.errors] The list of errors.
* @member {string} [properties.createdDate] The application create date
* @property {string} [properties.provisioningState] The provisioning state
* of the application.
* @property {string} [properties.applicationType] The application type.
* @property {string} [properties.applicationState] The application state.
* @property {array} [properties.errors] The list of errors.
* @property {string} [properties.createdDate] The application create date
* time.
* @member {string} [properties.marketplaceIdentifier] The marketplace
* @property {string} [properties.marketplaceIdentifier] The marketplace
* identifier.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class ApplicationGetEndpoint {
/**
* Create a ApplicationGetEndpoint.
* @member {string} [location] The location of the endpoint.
* @member {number} [destinationPort] The destination port to connect to.
* @member {number} [publicPort] The public port to connect to.
* @property {string} [location] The location of the endpoint.
* @property {number} [destinationPort] The destination port to connect to.
* @property {number} [publicPort] The public port to connect to.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
class ApplicationGetHttpsEndpoint {
/**
* Create a ApplicationGetHttpsEndpoint.
* @member {array} [accessModes] The list of access modes for the
* @property {array} [accessModes] The list of access modes for the
* application.
* @member {string} [location] The location of the endpoint.
* @member {number} [destinationPort] The destination port to connect to.
* @member {number} [publicPort] The public port to connect to.
* @property {string} [location] The location of the endpoint.
* @property {number} [destinationPort] The destination port to connect to.
* @property {number} [publicPort] The public port to connect to.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class ApplicationListResult extends Array {
/**
* Create a ApplicationListResult.
* @member {string} [nextLink] The URL to get the next set of operation list
* results if there are any.
* @property {string} [nextLink] The URL to get the next set of operation
* list results if there are any.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@
class ApplicationProperties {
/**
* Create a ApplicationProperties.
* @member {object} [computeProfile] The list of roles in the cluster.
* @member {array} [computeProfile.roles] The list of roles in the cluster.
* @member {array} [installScriptActions] The list of install script actions.
* @member {array} [uninstallScriptActions] The list of uninstall script
* @property {object} [computeProfile] The list of roles in the cluster.
* @property {array} [computeProfile.roles] The list of roles in the cluster.
* @property {array} [installScriptActions] The list of install script
* actions.
* @member {array} [httpsEndpoints] The list of application HTTPS endpoints.
* @member {array} [sshEndpoints] The list of application SSH endpoints.
* @member {string} [provisioningState] The provisioning state of the
* @property {array} [uninstallScriptActions] The list of uninstall script
* actions.
* @property {array} [httpsEndpoints] The list of application HTTPS
* endpoints.
* @property {array} [sshEndpoints] The list of application SSH endpoints.
* @property {string} [provisioningState] The provisioning state of the
* application.
* @member {string} [applicationType] The application type.
* @member {string} [applicationState] The application state.
* @member {array} [errors] The list of errors.
* @member {string} [createdDate] The application create date time.
* @member {string} [marketplaceIdentifier] The marketplace identifier.
* @property {string} [applicationType] The application type.
* @property {string} [applicationState] The application state.
* @property {array} [errors] The list of errors.
* @property {string} [createdDate] The application create date time.
* @property {string} [marketplaceIdentifier] The marketplace identifier.
*/
constructor() {
}
Expand Down
100 changes: 58 additions & 42 deletions lib/services/hdInsightManagement/lib/models/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,70 +20,86 @@ const models = require('./index');
class Cluster extends models['TrackedResource'] {
/**
* Create a Cluster.
* @member {string} [etag] The ETag for the resource
* @member {object} [properties] The properties of the cluster.
* @member {string} [properties.clusterVersion] The version of the cluster.
* @member {string} [properties.osType] The type of operating system.
* @property {string} [etag] The ETag for the resource
* @property {object} [properties] The properties of the cluster.
* @property {string} [properties.clusterVersion] The version of the cluster.
* @property {string} [properties.osType] The type of operating system.
* Possible values include: 'Windows', 'Linux'
* @member {string} [properties.tier] The cluster tier. Possible values
* @property {string} [properties.tier] The cluster tier. Possible values
* include: 'Standard', 'Premium'
* @member {object} [properties.clusterDefinition] The cluster definition.
* @member {string} [properties.clusterDefinition.blueprint] The link to the
* blueprint.
* @member {string} [properties.clusterDefinition.kind] The type of cluster.
* @member {object} [properties.clusterDefinition.componentVersion] The
* @property {object} [properties.clusterDefinition] The cluster definition.
* @property {string} [properties.clusterDefinition.blueprint] The link to
* the blueprint.
* @property {string} [properties.clusterDefinition.kind] The type of
* cluster.
* @property {object} [properties.clusterDefinition.componentVersion] The
* versions of different services in the cluster.
* @member {object} [properties.clusterDefinition.configurations] The cluster
* configurations.
* @member {object} [properties.securityProfile] The security profile.
* @member {string} [properties.securityProfile.directoryType] The directory
* type. Possible values include: 'ActiveDirectory'
* @member {string} [properties.securityProfile.domain] The organization's
* @property {object} [properties.clusterDefinition.configurations] The
* cluster configurations.
* @property {object} [properties.securityProfile] The security profile.
* @property {string} [properties.securityProfile.directoryType] The
* directory type. Possible values include: 'ActiveDirectory'
* @property {string} [properties.securityProfile.domain] The organization's
* active directory domain.
* @member {string} [properties.securityProfile.organizationalUnitDN] The
* @property {string} [properties.securityProfile.organizationalUnitDN] The
* organizational unit within the Active Directory to place the cluster and
* service accounts.
* @member {array} [properties.securityProfile.ldapsUrls] The LDAPS protocol
* URLs to communicate with the Active Directory.
* @member {string} [properties.securityProfile.domainUsername] The domain
* @property {array} [properties.securityProfile.ldapsUrls] The LDAPS
* protocol URLs to communicate with the Active Directory.
* @property {string} [properties.securityProfile.domainUsername] The domain
* user account that will have admin privileges on the cluster.
* @member {string} [properties.securityProfile.domainUserPassword] The
* @property {string} [properties.securityProfile.domainUserPassword] The
* domain admin password.
* @member {array} [properties.securityProfile.clusterUsersGroupDNs]
* @property {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.
* @member {string} [properties.provisioningState] The provisioning state,
* @property {string} [properties.securityProfile.aaddsResourceId] The
* resource ID of the user's Azure Active Directory Domain Service.
* @property {string} [properties.securityProfile.msiResourceId] User
* assigned identity that has permissions to read and create cluster-related
* artifacts in the user's AADDS.
* @property {object} [properties.computeProfile] The compute profile.
* @property {array} [properties.computeProfile.roles] The list of roles in
* the cluster.
* @property {string} [properties.provisioningState] The provisioning state,
* which only appears in the response. Possible values include: 'InProgress',
* 'Failed', 'Succeeded', 'Canceled', 'Deleting'
* @member {string} [properties.createdDate] The date on which the cluster
* @property {string} [properties.createdDate] The date on which the cluster
* was created.
* @member {string} [properties.clusterState] The state of the cluster.
* @member {object} [properties.quotaInfo] The quota information.
* @member {number} [properties.quotaInfo.coresUsed] The cores used by the
* @property {string} [properties.clusterState] The state of the cluster.
* @property {object} [properties.quotaInfo] The quota information.
* @property {number} [properties.quotaInfo.coresUsed] The cores used by the
* cluster.
* @member {array} [properties.errors] The list of errors.
* @member {array} [properties.connectivityEndpoints] The list of
* @property {array} [properties.errors] The list of errors.
* @property {array} [properties.connectivityEndpoints] The list of
* connectivity endpoints.
* @member {object} [identity] The identity of the cluster, if configured.
* @member {string} [identity.principalId] The principal id of cluster
* @property {object} [properties.diskEncryptionProperties] The disk
* encryption properties.
* @property {string} [properties.diskEncryptionProperties.vaultUri] Base key
* vault URI where the customers key is located eg.
* https://myvault.vault.azure.net
* @property {string} [properties.diskEncryptionProperties.keyName] Key name
* that is used for enabling disk encryption.
* @property {string} [properties.diskEncryptionProperties.keyVersion]
* Specific key version that is used for enabling disk encryption.
* @property {string}
* [properties.diskEncryptionProperties.encryptionAlgorithm] Algorithm
* identifier for encryption, default RSA-OAEP. Possible values include:
* 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
* @property {string} [properties.diskEncryptionProperties.msiResourceId]
* Resource ID of Managed Identity that is used to access the key vault.
* @property {object} [identity] The identity of the cluster, if configured.
* @property {string} [identity.principalId] The principal id of cluster
* identity. This property will only be provided for a system assigned
* identity.
* @member {string} [identity.tenantId] The tenant id associated with the
* @property {string} [identity.tenantId] The tenant id associated with the
* cluster. This property will only be provided for a system assigned
* identity.
* @member {string} [identity.type] The type of identity used for the
* @property {string} [identity.type] The type of identity used for the
* cluster. The type 'SystemAssigned, UserAssigned' includes both an
* implicitly created identity and a set of user assigned identities.
* Possible values include: 'SystemAssigned', 'UserAssigned',
* 'SystemAssigned, UserAssigned', 'None'
* @member {object} [identity.userAssignedIdentities] The list of user
* @property {object} [identity.userAssignedIdentities] The list of user
* identities associated with the cluster. The user identity dictionary key
* references will be ARM resource ids in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Expand Down
Loading