@azure/arm-loadtesting 1.0.0-beta.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +2 -8
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +5 -10
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.js +11 -3
  9. package/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/loadTestsDeleteSample.js +11 -3
  11. package/dist-esm/samples-dev/loadTestsDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/loadTestsGetSample.js +11 -3
  13. package/dist-esm/samples-dev/loadTestsGetSample.js.map +1 -1
  14. package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.js +11 -3
  15. package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.js.map +1 -1
  16. package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js +10 -2
  17. package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js.map +1 -1
  18. package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js +11 -3
  19. package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
  20. package/dist-esm/samples-dev/loadTestsUpdateSample.js +11 -3
  21. package/dist-esm/samples-dev/loadTestsUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/operationsListSample.js +10 -2
  23. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  24. package/dist-esm/samples-dev/quotasCheckAvailabilitySample.js +10 -2
  25. package/dist-esm/samples-dev/quotasCheckAvailabilitySample.js.map +1 -1
  26. package/dist-esm/samples-dev/quotasGetSample.js +10 -2
  27. package/dist-esm/samples-dev/quotasGetSample.js.map +1 -1
  28. package/dist-esm/samples-dev/quotasListSample.js +10 -2
  29. package/dist-esm/samples-dev/quotasListSample.js.map +1 -1
  30. package/dist-esm/src/loadTestClient.js +1 -1
  31. package/dist-esm/src/loadTestClient.js.map +1 -1
  32. package/dist-esm/src/operations/loadTests.js +0 -3
  33. package/dist-esm/src/operations/loadTests.js.map +1 -1
  34. package/dist-esm/src/operations/operations.js +0 -1
  35. package/dist-esm/src/operations/operations.js.map +1 -1
  36. package/dist-esm/src/operations/quotas.js +0 -1
  37. package/dist-esm/src/operations/quotas.js.map +1 -1
  38. package/dist-esm/src/pagingHelper.d.ts +4 -4
  39. package/dist-esm/src/pagingHelper.js +4 -4
  40. package/package.json +4 -3
  41. package/src/loadTestClient.ts +1 -1
  42. package/src/operations/loadTests.ts +0 -3
  43. package/src/operations/operations.ts +0 -1
  44. package/src/operations/quotas.ts +0 -1
  45. package/src/pagingHelper.ts +4 -4
  46. package/types/arm-loadtesting.d.ts +4 -4
  47. package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,11 +1,5 @@
1
1
  # Release History
2
-
3
- ## 1.0.0-beta.2 (2023-01-06)
4
-
5
- **Features**
6
-
7
- -bugs Fixed
8
-
9
- ## 1.0.0-beta.1 (2022-11-24)
2
+
3
+ ## 1.0.0 (2023-01-28)
10
4
 
11
5
  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/js-track2-quickstart).
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Microsoft
3
+ Copyright (c) 2023 Microsoft
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Azure Load Testing client library for JavaScript
1
+ # Azure LoadTest client library for JavaScript
2
2
 
3
3
  This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure LoadTest client.
4
4
 
@@ -6,7 +6,7 @@ LoadTest client provides access to LoadTest Resource and it's status operations.
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtesting) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-loadtesting) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-loadtesting?view=azure-node-preview) |
9
+ [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-loadtesting) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
package/dist/index.js CHANGED
@@ -37,11 +37,11 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipelin
37
37
  */
38
38
  const pageMap = new WeakMap();
39
39
  /**
40
- * Given a result page from a pageable operation, returns a
41
- * continuation token that can be used to begin paging from
40
+ * Given the last `.value` produced by the `byPage` iterator,
41
+ * returns a continuation token that can be used to begin paging from
42
42
  * that point later.
43
- * @param page A result object from calling .byPage() on a paged operation.
44
- * @returns The continuation token that can be passed into byPage().
43
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
44
+ * @returns The continuation token that can be passed into byPage() during future calls.
45
45
  */
46
46
  function getContinuationToken(page) {
47
47
  var _a;
@@ -1216,7 +1216,6 @@ const listNextOperationSpec$1 = {
1216
1216
  bodyMapper: ErrorResponse
1217
1217
  }
1218
1218
  },
1219
- queryParameters: [apiVersion],
1220
1219
  urlParameters: [$host, nextLink],
1221
1220
  headerParameters: [accept],
1222
1221
  serializer: serializer$2
@@ -1413,7 +1412,6 @@ const listNextOperationSpec = {
1413
1412
  bodyMapper: ErrorResponse
1414
1413
  }
1415
1414
  },
1416
- queryParameters: [apiVersion],
1417
1415
  urlParameters: [
1418
1416
  $host,
1419
1417
  nextLink,
@@ -2053,7 +2051,6 @@ const listBySubscriptionNextOperationSpec = {
2053
2051
  bodyMapper: ErrorResponse
2054
2052
  }
2055
2053
  },
2056
- queryParameters: [apiVersion],
2057
2054
  urlParameters: [
2058
2055
  $host,
2059
2056
  nextLink,
@@ -2073,7 +2070,6 @@ const listByResourceGroupNextOperationSpec = {
2073
2070
  bodyMapper: ErrorResponse
2074
2071
  }
2075
2072
  },
2076
- queryParameters: [apiVersion],
2077
2073
  urlParameters: [
2078
2074
  $host,
2079
2075
  nextLink,
@@ -2094,7 +2090,6 @@ const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
2094
2090
  bodyMapper: ErrorResponse
2095
2091
  }
2096
2092
  },
2097
- queryParameters: [apiVersion],
2098
2093
  urlParameters: [
2099
2094
  $host,
2100
2095
  nextLink,
@@ -2136,7 +2131,7 @@ class LoadTestClient extends coreClient__namespace.ServiceClient {
2136
2131
  requestContentType: "application/json; charset=utf-8",
2137
2132
  credential: credentials
2138
2133
  };
2139
- const packageDetails = `azsdk-js-arm-loadtesting/1.0.0-beta.2`;
2134
+ const packageDetails = `azsdk-js-arm-loadtesting/1.0.0`;
2140
2135
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
2141
2136
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
2142
2137
  : `${packageDetails}`;