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
- Type of parameter tags of interface TrackedResource is changed from {
68
+
[propertyName: string]: string;
69
+
} to Record<string, string>
70
+
- Removed Enum KnownActionType
71
+
- Removed Enum KnownOrigin
72
+
- Removed function getContinuationToken
73
+
74
+
13
75
## 1.0.0 (2023-01-28)
14
76
15
-
The package of @azure/arm-loadtesting is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
77
+
The package of @azure/arm-loadtesting is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
@@ -30,7 +32,7 @@ Install the Azure LoadTest client library for JavaScript with `npm`:
30
32
npm install @azure/arm-loadtesting
31
33
```
32
34
33
-
### Create and authenticate a `LoadTestClient`
35
+
### Create and authenticate a `LoadTestServiceClient`
34
36
35
37
To create a client object to access the Azure LoadTest API, you will need the `endpoint` of your Azure LoadTest resource and a `credential`. The Azure LoadTest client can use Azure Active Directory credentials to authenticate.
36
38
You can find the endpoint for your Azure LoadTest resource in the [Azure Portal][azure_portal].
@@ -44,168 +46,41 @@ npm install @azure/identity
44
46
```
45
47
46
48
You will also need to **register a new AAD application and grant access to Azure LoadTest** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
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
49
49
50
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).
50
51
51
52
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
const result =awaitclient.loadTests.beginDeleteAndWait(resourceGroupName, resourceName);
198
-
```
199
75
200
76
### JavaScript Bundle
201
-
202
77
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).
203
78
204
79
## Key concepts
205
80
206
-
### LoadTestClient
81
+
### LoadTestServiceClient
207
82
208
-
`LoadTestClient` is the primary interface for developers using the Azure LoadTest client library. Explore the methods on this client object to understand the different features of the Azure LoadTest service that you can access.
83
+
`LoadTestServiceClient` is the primary interface for developers using the Azure LoadTest client library. Explore the methods on this client object to understand the different features of the Azure LoadTest service that you can access.
209
84
210
85
## Troubleshooting
211
86
@@ -223,7 +98,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
223
98
224
99
## Next steps
225
100
226
-
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.
101
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/arm-loadtesting/samples) directory for detailed examples on how to use this library.
227
102
228
103
## Contributing
229
104
@@ -233,8 +108,6 @@ If you'd like to contribute to this library, please read the [contributing guide
233
108
234
109
-[Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
0 commit comments