@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.
- package/CHANGELOG.md +2 -8
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +5 -10
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/loadTestsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsGetSample.js +11 -3
- package/dist-esm/samples-dev/loadTestsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js +11 -3
- package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/loadTestsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +10 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotasCheckAvailabilitySample.js +10 -2
- package/dist-esm/samples-dev/quotasCheckAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/quotasGetSample.js +10 -2
- package/dist-esm/samples-dev/quotasGetSample.js.map +1 -1
- package/dist-esm/samples-dev/quotasListSample.js +10 -2
- package/dist-esm/samples-dev/quotasListSample.js.map +1 -1
- package/dist-esm/src/loadTestClient.js +1 -1
- package/dist-esm/src/loadTestClient.js.map +1 -1
- package/dist-esm/src/operations/loadTests.js +0 -3
- package/dist-esm/src/operations/loadTests.js.map +1 -1
- package/dist-esm/src/operations/operations.js +0 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/quotas.js +0 -1
- package/dist-esm/src/operations/quotas.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/package.json +4 -3
- package/src/loadTestClient.ts +1 -1
- package/src/operations/loadTests.ts +0 -3
- package/src/operations/operations.ts +0 -1
- package/src/operations/quotas.ts +0 -1
- package/src/pagingHelper.ts +4 -4
- package/types/arm-loadtesting.d.ts +4 -4
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
3
|
-
## 1.0.0
|
|
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
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Azure
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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}`;
|