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

[AutoPR machinelearningservices/resource-manager] typo: machinelearningservices/resource-manager/Microsoft.MachineLearningServices #4273

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
42 changes: 21 additions & 21 deletions lib/services/machinelearningservicesManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
80 changes: 40 additions & 40 deletions lib/services/machinelearningservicesManagement/README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
---
uid: azure-arm-machinelearningservices
summary: *content

---
# Microsoft Azure SDK for Node.js - AzureMachineLearningWorkspaces
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

## Features


## How to Install

```bash
npm install azure-arm-machinelearningservices
```

## How to use

### Authentication, client creation and list operations as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
const AzureMachineLearningWorkspaces = require("azure-arm-machinelearningservices");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new AzureMachineLearningWorkspaces(creds, subscriptionId);
return client.operations.list().then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error occurred:');
console.dir(err, {depth: null, colors: true});
});

## Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
---
uid: azure-arm-machinelearningservices
summary: *content
---
# Microsoft Azure SDK for Node.js - AzureMachineLearningWorkspaces
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**
## Features
## How to Install
```bash
npm install azure-arm-machinelearningservices
```
## How to use
### Authentication, client creation and list operations as an example.
```javascript
const msRestAzure = require("ms-rest-azure");
const AzureMachineLearningWorkspaces = require("azure-arm-machinelearningservices");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new AzureMachineLearningWorkspaces(creds, subscriptionId);
return client.operations.list().then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error occurred:');
console.dir(err, {depth: null, colors: true});
});
## Related projects
- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AKS extends models['Compute'] {
* @member {string} [properties.agentVMSize] Agent virtual machine size
* @member {object} [properties.sslConfiguration] SSL configuration
* @member {string} [properties.sslConfiguration.status] Enable or disable
* ssl for scoring. Possible values include: 'Disabled', 'Enabled'
* SSL for scoring. Possible values include: 'Disabled', 'Enabled'
* @member {string} [properties.sslConfiguration.cert] Cert data
* @member {string} [properties.sslConfiguration.key] Key data
* @member {string} [properties.sslConfiguration.cname] CNAME of the cert
Expand Down Expand Up @@ -56,6 +56,13 @@ class AKS extends models['Compute'] {
uberParent: 'Compute',
className: 'AKS',
modelProperties: {
computeLocation: {
required: false,
serializedName: 'computeLocation',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AKSProperties {
* @member {number} [agentCount] Number of agents
* @member {string} [agentVMSize] Agent virtual machine size
* @member {object} [sslConfiguration] SSL configuration
* @member {string} [sslConfiguration.status] Enable or disable ssl for
* @member {string} [sslConfiguration.status] Enable or disable SSL for
* scoring. Possible values include: 'Disabled', 'Enabled'
* @member {string} [sslConfiguration.cert] Cert data
* @member {string} [sslConfiguration.key] Key data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ class BatchAI extends models['Compute'] {
uberParent: 'Compute',
className: 'BatchAI',
modelProperties: {
computeLocation: {
required: false,
serializedName: 'computeLocation',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
class Compute {
/**
* Create a Compute.
* @member {string} [computeLocation] Location for the underlying compute
* @member {string} [provisioningState] The provision state of the cluster.
* Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.
* Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting',
Expand Down Expand Up @@ -52,6 +53,13 @@ class Compute {
uberParent: 'Compute',
className: 'Compute',
modelProperties: {
computeLocation: {
required: false,
serializedName: 'computeLocation',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class ComputeResource extends models['Resource'] {
/**
* Create a ComputeResource.
* @member {object} [properties] Compute properties
* @member {string} [properties.computeLocation] Location for the underlying
* compute
* @member {string} [properties.provisioningState] The provision state of the
* cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and
* Failed. Possible values include: 'Unknown', 'Updating', 'Creating',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ class DataFactory extends models['Compute'] {
uberParent: 'Compute',
className: 'DataFactory',
modelProperties: {
computeLocation: {
required: false,
serializedName: 'computeLocation',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
Expand Down
145 changes: 145 additions & 0 deletions lib/services/machinelearningservicesManagement/lib/models/hDInsight.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

const models = require('./index');

/**
* A HDInsight compute.
*
* @extends models['Compute']
*/
class HDInsight extends models['Compute'] {
/**
* Create a HDInsight.
* @member {object} [properties]
* @member {number} [properties.sshPort] Port open for ssh connections on the
* master node of the cluster.
* @member {string} [properties.address] Public IP address of the master node
* of the cluster.
* @member {object} [properties.administratorAccount] Admin credentials for
* master node of the cluster
* @member {string} [properties.administratorAccount.username] Username of
* admin account
* @member {string} [properties.administratorAccount.password] Password of
* admin account
* @member {string} [properties.administratorAccount.publicKeyData] Public
* key data
* @member {string} [properties.administratorAccount.privateKeyData] Private
* key data
*/
constructor() {
super();
}

/**
* Defines the metadata of HDInsight
*
* @returns {object} metadata of HDInsight
*
*/
mapper() {
return {
required: false,
serializedName: 'HDInsight',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'computeType',
clientName: 'computeType'
},
uberParent: 'Compute',
className: 'HDInsight',
modelProperties: {
computeLocation: {
required: false,
serializedName: 'computeLocation',
type: {
name: 'String'
}
},
provisioningState: {
required: false,
readOnly: true,
serializedName: 'provisioningState',
type: {
name: 'String'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
createdOn: {
required: false,
readOnly: true,
serializedName: 'createdOn',
type: {
name: 'DateTime'
}
},
modifiedOn: {
required: false,
readOnly: true,
serializedName: 'modifiedOn',
type: {
name: 'DateTime'
}
},
resourceId: {
required: false,
serializedName: 'resourceId',
type: {
name: 'String'
}
},
provisioningErrors: {
required: false,
readOnly: true,
serializedName: 'provisioningErrors',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'MachineLearningServiceErrorElementType',
type: {
name: 'Composite',
className: 'MachineLearningServiceError'
}
}
}
},
computeType: {
required: true,
serializedName: 'computeType',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
properties: {
required: false,
serializedName: 'properties',
type: {
name: 'Composite',
className: 'HDInsightProperties'
}
}
}
}
};
}
}

module.exports = HDInsight;
Loading