Skip to content
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
123 changes: 123 additions & 0 deletions sdk/machinelearning/arm-machinelearning/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,128 @@
# Release History

## 1.1.0-beta.1 (2022-07-15)

**Features**

- Added operation ComputeOperations.updateIdleShutdownSetting
- Added Interface ComputeUpdateIdleShutdownSettingOptionalParams
- Added Interface IdleShutdownSetting
- Added Type Alias AccountKeyDatastoreCredentials
- Added Type Alias AccountKeyDatastoreSecrets
- Added Type Alias Aks
- Added Type Alias AksComputeSecrets
- Added Type Alias AmlCompute
- Added Type Alias AmlToken
- Added Type Alias AssetBase
- Added Type Alias AssetContainer
- Added Type Alias AzureBlobDatastore
- Added Type Alias AzureDataLakeGen1Datastore
- Added Type Alias AzureDataLakeGen2Datastore
- Added Type Alias AzureFileDatastore
- Added Type Alias BanditPolicy
- Added Type Alias BatchDeployment
- Added Type Alias BatchDeploymentProperties
- Added Type Alias BatchEndpoint
- Added Type Alias BatchEndpointProperties
- Added Type Alias BayesianSamplingAlgorithm
- Added Type Alias CertificateDatastoreCredentials
- Added Type Alias CertificateDatastoreSecrets
- Added Type Alias CodeContainer
- Added Type Alias CodeContainerProperties
- Added Type Alias CodeVersion
- Added Type Alias CodeVersionProperties
- Added Type Alias CommandJob
- Added Type Alias CommandJobLimits
- Added Type Alias ComponentContainer
- Added Type Alias ComponentContainerProperties
- Added Type Alias ComponentVersion
- Added Type Alias ComponentVersionProperties
- Added Type Alias ComputeInstance
- Added Type Alias ComputeResource
- Added Type Alias CustomModelJobInput
- Added Type Alias CustomModelJobOutput
- Added Type Alias Databricks
- Added Type Alias DatabricksComputeSecrets
- Added Type Alias DataContainer
- Added Type Alias DataContainerProperties
- Added Type Alias DataFactory
- Added Type Alias DataLakeAnalytics
- Added Type Alias DataPathAssetReference
- Added Type Alias Datastore
- Added Type Alias DatastoreProperties
- Added Type Alias DataVersionBase
- Added Type Alias DataVersionBaseProperties
- Added Type Alias DefaultScaleSettings
- Added Type Alias EnvironmentContainer
- Added Type Alias EnvironmentContainerProperties
- Added Type Alias EnvironmentVersion
- Added Type Alias EnvironmentVersionProperties
- Added Type Alias GridSamplingAlgorithm
- Added Type Alias HDInsight
- Added Type Alias IdAssetReference
- Added Type Alias JobBase
- Added Type Alias JobBaseProperties
- Added Type Alias Kubernetes
- Added Type Alias KubernetesOnlineDeployment
- Added Type Alias LiteralJobInput
- Added Type Alias ManagedIdentity
- Added Type Alias ManagedIdentityAuthTypeWorkspaceConnectionProperties
- Added Type Alias ManagedOnlineDeployment
- Added Type Alias MedianStoppingPolicy
- Added Type Alias MLFlowModelJobInput
- Added Type Alias MLFlowModelJobOutput
- Added Type Alias MLTableData
- Added Type Alias MLTableJobInput
- Added Type Alias MLTableJobOutput
- Added Type Alias ModelContainer
- Added Type Alias ModelContainerProperties
- Added Type Alias ModelVersion
- Added Type Alias ModelVersionProperties
- Added Type Alias Mpi
- Added Type Alias NoneAuthTypeWorkspaceConnectionProperties
- Added Type Alias NoneDatastoreCredentials
- Added Type Alias OnlineDeployment
- Added Type Alias OnlineDeploymentProperties
- Added Type Alias OnlineEndpoint
- Added Type Alias OnlineEndpointProperties
- Added Type Alias OutputPathAssetReference
- Added Type Alias PartialMinimalTrackedResourceWithIdentity
- Added Type Alias PartialMinimalTrackedResourceWithSku
- Added Type Alias PATAuthTypeWorkspaceConnectionProperties
- Added Type Alias PipelineJob
- Added Type Alias PrivateEndpointConnection
- Added Type Alias PrivateLinkResource
- Added Type Alias PyTorch
- Added Type Alias RandomSamplingAlgorithm
- Added Type Alias SASAuthTypeWorkspaceConnectionProperties
- Added Type Alias SasDatastoreCredentials
- Added Type Alias SasDatastoreSecrets
- Added Type Alias ServicePrincipalDatastoreCredentials
- Added Type Alias ServicePrincipalDatastoreSecrets
- Added Type Alias SweepJob
- Added Type Alias SweepJobLimits
- Added Type Alias SynapseSpark
- Added Type Alias TargetUtilizationScaleSettings
- Added Type Alias TensorFlow
- Added Type Alias TrackedResource
- Added Type Alias TritonModelJobInput
- Added Type Alias TritonModelJobOutput
- Added Type Alias TruncationSelectionPolicy
- Added Type Alias UriFileDataVersion
- Added Type Alias UriFileJobInput
- Added Type Alias UriFileJobOutput
- Added Type Alias UriFolderDataVersion
- Added Type Alias UriFolderJobInput
- Added Type Alias UriFolderJobOutput
- Added Type Alias UserIdentity
- Added Type Alias UsernamePasswordAuthTypeWorkspaceConnectionProperties
- Added Type Alias VirtualMachine
- Added Type Alias VirtualMachineSecrets
- Added Type Alias Workspace
- Added Type Alias WorkspaceConnectionPropertiesV2BasicResource
- Interface ComputeInstanceProperties has a new optional parameter idleTimeBeforeShutdown


## 1.0.0 (2022-07-13)

The package of @azure/arm-machinelearning is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
16 changes: 8 additions & 8 deletions sdk/machinelearning/arm-machinelearning/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# AzureMachineLearningWorkspaces client library for JavaScript
# Azure Service client library for JavaScript

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningWorkspaces client.
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Service client.

These APIs allow end users to operate on Azure Machine Learning Workspace resources.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-machinelearning) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand All @@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP

### Install the `@azure/arm-machinelearning` package

Install the AzureMachineLearningWorkspaces client library for JavaScript with `npm`:
Install the Azure Service client library for JavaScript with `npm`:

```bash
npm install @azure/arm-machinelearning
```

### Create and authenticate a `AzureMachineLearningWorkspaces`

To create a client object to access the AzureMachineLearningWorkspaces API, you will need the `endpoint` of your AzureMachineLearningWorkspaces resource and a `credential`. The AzureMachineLearningWorkspaces client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your AzureMachineLearningWorkspaces resource in the [Azure Portal][azure_portal].
To create a client object to access the Azure Service API, you will need the `endpoint` of your Azure Service resource and a `credential`. The Azure Service client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal].

You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).

Expand All @@ -43,7 +43,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to AzureMachineLearningWorkspaces** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
You will also need to **register a new AAD application and grant access to Azure Service** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
Expand Down Expand Up @@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For

### AzureMachineLearningWorkspaces

`AzureMachineLearningWorkspaces` is the primary interface for developers using the AzureMachineLearningWorkspaces client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningWorkspaces service that you can access.
`AzureMachineLearningWorkspaces` is the primary interface for developers using the Azure Service client library. Explore the methods on this client object to understand the different features of the Azure Service service that you can access.

## Troubleshooting

Expand Down
6 changes: 3 additions & 3 deletions sdk/machinelearning/arm-machinelearning/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "49e2859d9eef95013f083af9506127cfffd1e866",
"commit": "d3f9727599e1259ac01d0a309c3e6306efe07c66",
"readme": "specification/machinelearningservices/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\machinelearningservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.0",
"use": "@autorest/typescript@6.0.0-rc.1"
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
17 changes: 4 additions & 13 deletions sdk/machinelearning/arm-machinelearning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureMachineLearningWorkspaces.",
"version": "1.0.0",
"version": "1.1.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -43,8 +43,6 @@
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
Expand Down Expand Up @@ -98,7 +96,8 @@
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -109,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview"
}
"autoPublish": true
}
Loading