@azure-rest/arm-compute 1.0.0-alpha.20240827.1 → 1.0.0-alpha.20240828.1
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/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist-esm/src/clientDefinitions.js +1 -1
- package/dist-esm/src/clientDefinitions.js.map +1 -1
- package/dist-esm/src/computeManagementClient.js +1 -1
- package/dist-esm/src/computeManagementClient.js.map +1 -1
- package/dist-esm/src/index.js +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/isUnexpected.js +1 -1
- package/dist-esm/src/isUnexpected.js.map +1 -1
- package/dist-esm/src/models.js +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/outputModels.js +1 -1
- package/dist-esm/src/outputModels.js.map +1 -1
- package/dist-esm/src/paginateHelper.js +1 -1
- package/dist-esm/src/paginateHelper.js.map +1 -1
- package/dist-esm/src/parameters.js +1 -1
- package/dist-esm/src/parameters.js.map +1 -1
- package/dist-esm/src/pollingHelper.js +1 -1
- package/dist-esm/src/pollingHelper.js.map +1 -1
- package/dist-esm/src/responses.js +1 -1
- package/dist-esm/src/responses.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var corePaging = require('@azure/core-paging');
|
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
11
|
/**
|
|
12
12
|
* Initialize a new instance of the class ComputeManagementClient class.
|
|
13
13
|
* @param credentials type: TokenCredential
|
|
@@ -30,7 +30,7 @@ function createClient(credentials, options = {}) {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
// Copyright (c) Microsoft Corporation.
|
|
33
|
-
// Licensed under the MIT
|
|
33
|
+
// Licensed under the MIT License.
|
|
34
34
|
const responseMap = {
|
|
35
35
|
"GET /providers/Microsoft.Compute/operations": ["200"],
|
|
36
36
|
"GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages": [
|
|
@@ -439,7 +439,7 @@ function getPathFromMapKey(mapKey) {
|
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
// Copyright (c) Microsoft Corporation.
|
|
442
|
-
// Licensed under the MIT
|
|
442
|
+
// Licensed under the MIT License.
|
|
443
443
|
/**
|
|
444
444
|
* Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
|
|
445
445
|
* @param client - Client to use for sending the next page requests
|
|
@@ -507,7 +507,7 @@ function checkPagingRequest(response) {
|
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
// Copyright (c) Microsoft Corporation.
|
|
510
|
-
// Licensed under the MIT
|
|
510
|
+
// Licensed under the MIT License.
|
|
511
511
|
/**
|
|
512
512
|
* Helper function that builds a Poller object to help polling a long running operation.
|
|
513
513
|
* @param client - Client to use for sending the request to get additional pages.
|
|
@@ -555,7 +555,7 @@ function getLroResponse(response) {
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
// Copyright (c) Microsoft Corporation.
|
|
558
|
-
// Licensed under the MIT
|
|
558
|
+
// Licensed under the MIT License.
|
|
559
559
|
|
|
560
560
|
exports.default = createClient;
|
|
561
561
|
exports.getLongRunningPoller = getLongRunningPoller;
|