You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/machinelearning/arm-machinelearning/README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# AzureMachineLearningWorkspaces client library for JavaScript
1
+
# AzureMachineLearningServicesMgmt client library for JavaScript
2
2
3
-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningWorkspaces client.
3
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningServicesMgmt client.
4
4
5
5
These APIs allow end users to operate on Azure Machine Learning Workspace resources.
6
6
@@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
24
24
25
25
### Install the `@azure/arm-machinelearning` package
26
26
27
-
Install the AzureMachineLearningWorkspaces client library for JavaScript with `npm`:
27
+
Install the AzureMachineLearningServicesMgmt client library for JavaScript with `npm`:
28
28
29
29
```bash
30
30
npm install @azure/arm-machinelearning
31
31
```
32
32
33
-
### Create and authenticate a `AzureMachineLearningWorkspaces`
33
+
### Create and authenticate a `AzureMachineLearningServicesMgmtClient`
34
34
35
-
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.
36
-
You can find the endpoint for your AzureMachineLearningWorkspaces resource in the [Azure Portal][azure_portal].
35
+
To create a client object to access the AzureMachineLearningServicesMgmt API, you will need the `endpoint` of your AzureMachineLearningServicesMgmt resource and a `credential`. The AzureMachineLearningServicesMgmt client can use Azure Active Directory credentials to authenticate.
36
+
You can find the endpoint for your AzureMachineLearningServicesMgmt resource in the [Azure Portal][azure_portal].
37
37
38
38
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).
39
39
@@ -43,25 +43,25 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
43
43
npm install @azure/identity
44
44
```
45
45
46
-
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).
46
+
You will also need to **register a new AAD application and grant access to AzureMachineLearningServicesMgmt** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
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`.
48
48
49
49
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).
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
// For client-side applications running in the browser, use this code instead:
60
60
// const credential = new InteractiveBrowserCredential({
61
61
// tenantId: "<YOUR_TENANT_ID>",
62
62
// clientId: "<YOUR_CLIENT_ID>"
63
63
// });
64
-
// const client = new AzureMachineLearningWorkspaces(credential, subscriptionId);
64
+
// const client = new AzureMachineLearningServicesMgmtClient(credential, subscriptionId);
65
65
```
66
66
67
67
@@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For
70
70
71
71
## Key concepts
72
72
73
-
### AzureMachineLearningWorkspaces
73
+
### AzureMachineLearningServicesMgmtClient
74
74
75
-
`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.
75
+
`AzureMachineLearningServicesMgmtClient` is the primary interface for developers using the AzureMachineLearningServicesMgmt client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningServicesMgmt service that you can access.
0 commit comments