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
@@ -26,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
26
24
27
25
### Install the `@azure/arm-computeschedule` package
28
26
29
-
Install the Azure ComputeSchedule client library for JavaScript with `npm`:
27
+
Install the Azure MicrosoftComputeSchedule client library for JavaScript with `npm`:
30
28
31
29
```bash
32
30
npm install @azure/arm-computeschedule
33
31
```
34
32
35
-
### Create and authenticate a `ComputeScheduleClient`
33
+
### Create and authenticate a `MicrosoftComputeSchedule`
36
34
37
-
To create a client object to access the Azure ComputeSchedule API, you will need the `endpoint` of your Azure ComputeSchedule resource and a `credential`. The Azure ComputeSchedule client can use Azure Active Directory credentials to authenticate.
38
-
You can find the endpoint for your Azure ComputeSchedule resource in the [Azure Portal][azure_portal].
35
+
To create a client object to access the Azure MicrosoftComputeSchedule API, you will need the `endpoint` of your Azure MicrosoftComputeSchedule resource and a `credential`. The Azure MicrosoftComputeSchedule client can use Azure Active Directory credentials to authenticate.
36
+
You can find the endpoint for your Azure MicrosoftComputeSchedule resource in the [Azure Portal][azure_portal].
39
37
40
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).
41
39
@@ -45,43 +43,41 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
45
43
npm install @azure/identity
46
44
```
47
45
48
-
You will also need to **register a new AAD application and grant access to Azure ComputeSchedule** 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 Azure MicrosoftComputeSchedule** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
49
47
50
48
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
51
49
52
50
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
79
75
80
76
## Key concepts
81
77
82
-
### ComputeScheduleClient
78
+
### MicrosoftComputeSchedule
83
79
84
-
`ComputeScheduleClient` is the primary interface for developers using the Azure ComputeSchedule client library. Explore the methods on this client object to understand the different features of the Azure ComputeSchedule service that you can access.
80
+
`MicrosoftComputeSchedule` is the primary interface for developers using the Azure MicrosoftComputeSchedule client library. Explore the methods on this client object to understand the different features of the Azure MicrosoftComputeSchedule service that you can access.
85
81
86
82
## Troubleshooting
87
83
@@ -99,7 +95,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
99
95
100
96
## Next steps
101
97
102
-
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/computeschedule/arm-computeschedule/samples) directory for detailed examples on how to use this library.
98
+
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
103
99
104
100
## Contributing
105
101
@@ -109,6 +105,9 @@ If you'd like to contribute to this library, please read the [contributing guide
109
105
110
106
-[Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
0 commit comments