@azure/arm-migrate 2.0.0 → 2.0.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/CHANGELOG.md +6 -0
- package/README.md +11 -0
- package/dist/index.js +236 -137
- 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/assessedMachinesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessedMachinesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessedMachinesGetSample.js +34 -0
- package/dist-esm/samples-dev/assessedMachinesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessmentSample.js +55 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessmentSample.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsCreateSample.js +79 -0
- package/dist-esm/samples-dev/assessmentsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/assessmentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrlSample.js +33 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsGetSample.js +33 -0
- package/dist-esm/samples-dev/assessmentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsListByGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByGroupSample.js +52 -0
- package/dist-esm/samples-dev/assessmentsListByGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByProjectSample.js +51 -0
- package/dist-esm/samples-dev/assessmentsListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/groupsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/groupsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsCreateSample.js +43 -0
- package/dist-esm/samples-dev/groupsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/groupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/groupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsDeleteSample.js +38 -0
- package/dist-esm/samples-dev/groupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/groupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/groupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsGetSample.js +32 -0
- package/dist-esm/samples-dev/groupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/groupsListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/groupsListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsListByProjectSample.js +45 -0
- package/dist-esm/samples-dev/groupsListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/groupsUpdateMachinesSample.d.ts +2 -0
- package/dist-esm/samples-dev/groupsUpdateMachinesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsUpdateMachinesSample.js +32 -0
- package/dist-esm/samples-dev/groupsUpdateMachinesSample.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreateSample.js +48 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/hyperVCollectorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsGetSample.js +32 -0
- package/dist-esm/samples-dev/hyperVCollectorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProjectSample.js +45 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsCreateSample.js +42 -0
- package/dist-esm/samples-dev/importCollectorsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/importCollectorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsGetSample.js +32 -0
- package/dist-esm/samples-dev/importCollectorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsListByProjectSample.js +45 -0
- package/dist-esm/samples-dev/importCollectorsListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/machinesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/machinesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/machinesGetSample.js +32 -0
- package/dist-esm/samples-dev/machinesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/machinesListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/machinesListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/machinesListByProjectSample.js +45 -0
- package/dist-esm/samples-dev/machinesListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +34 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionListByProjectSample.js +31 -0
- package/dist-esm/samples-dev/privateEndpointConnectionListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourceGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js +32 -0
- package/dist-esm/samples-dev/privateLinkResourceGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourceListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourceListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourceListByProjectSample.js +31 -0
- package/dist-esm/samples-dev/privateLinkResourceListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsListSample.js +45 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsSample.js +32 -0
- package/dist-esm/samples-dev/projectsAssessmentOptionsSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsCreateSample.js +43 -0
- package/dist-esm/samples-dev/projectsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/projectsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsGetSample.js +31 -0
- package/dist-esm/samples-dev/projectsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/projectsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsListSample.js +44 -0
- package/dist-esm/samples-dev/projectsListSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsUpdateSample.js +43 -0
- package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsCreateSample.js +48 -0
- package/dist-esm/samples-dev/serverCollectorsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/serverCollectorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsGetSample.js +32 -0
- package/dist-esm/samples-dev/serverCollectorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsListByProjectSample.js +45 -0
- package/dist-esm/samples-dev/serverCollectorsListByProjectSample.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreateSample.js +48 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/vMwareCollectorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsGetSample.js +32 -0
- package/dist-esm/samples-dev/vMwareCollectorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProjectSample.js +45 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProjectSample.js.map +1 -0
- package/dist-esm/src/azureMigrateV2.d.ts.map +1 -1
- package/dist-esm/src/azureMigrateV2.js +20 -2
- package/dist-esm/src/azureMigrateV2.js.map +1 -1
- package/package.json +30 -15
- package/rollup.config.js +6 -72
- package/src/azureMigrateV2.ts +27 -2
- package/tsconfig.json +18 -5
- package/types/tsdoc-metadata.json +1 -1
- package/LICENSE.txt +0 -21
package/dist/index.js
CHANGED
|
@@ -3,8 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var coreClient = require('@azure/core-client');
|
|
6
|
+
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
6
7
|
var tslib = require('tslib');
|
|
7
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
29
|
+
|
|
8
30
|
/*
|
|
9
31
|
* Copyright (c) Microsoft Corporation.
|
|
10
32
|
* Licensed under the MIT License.
|
|
@@ -12,22 +34,30 @@ var tslib = require('tslib');
|
|
|
12
34
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
13
35
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
14
36
|
*/
|
|
37
|
+
/** Known values of {@link ProjectStatus} that the service accepts. */
|
|
38
|
+
exports.KnownProjectStatus = void 0;
|
|
15
39
|
(function (KnownProjectStatus) {
|
|
16
40
|
KnownProjectStatus["Active"] = "Active";
|
|
17
41
|
KnownProjectStatus["Inactive"] = "Inactive";
|
|
18
42
|
})(exports.KnownProjectStatus || (exports.KnownProjectStatus = {}));
|
|
43
|
+
/** Known values of {@link PrivateEndpointConnectionPropertiesProvisioningState} that the service accepts. */
|
|
44
|
+
exports.KnownPrivateEndpointConnectionPropertiesProvisioningState = void 0;
|
|
19
45
|
(function (KnownPrivateEndpointConnectionPropertiesProvisioningState) {
|
|
20
46
|
KnownPrivateEndpointConnectionPropertiesProvisioningState["Accepted"] = "Accepted";
|
|
21
47
|
KnownPrivateEndpointConnectionPropertiesProvisioningState["InProgress"] = "InProgress";
|
|
22
48
|
KnownPrivateEndpointConnectionPropertiesProvisioningState["Succeeded"] = "Succeeded";
|
|
23
49
|
KnownPrivateEndpointConnectionPropertiesProvisioningState["Failed"] = "Failed";
|
|
24
50
|
})(exports.KnownPrivateEndpointConnectionPropertiesProvisioningState || (exports.KnownPrivateEndpointConnectionPropertiesProvisioningState = {}));
|
|
51
|
+
/** Known values of {@link PrivateLinkServiceConnectionStateStatus} that the service accepts. */
|
|
52
|
+
exports.KnownPrivateLinkServiceConnectionStateStatus = void 0;
|
|
25
53
|
(function (KnownPrivateLinkServiceConnectionStateStatus) {
|
|
26
54
|
KnownPrivateLinkServiceConnectionStateStatus["Approved"] = "Approved";
|
|
27
55
|
KnownPrivateLinkServiceConnectionStateStatus["Pending"] = "Pending";
|
|
28
56
|
KnownPrivateLinkServiceConnectionStateStatus["Rejected"] = "Rejected";
|
|
29
57
|
KnownPrivateLinkServiceConnectionStateStatus["Disconnected"] = "Disconnected";
|
|
30
58
|
})(exports.KnownPrivateLinkServiceConnectionStateStatus || (exports.KnownPrivateLinkServiceConnectionStateStatus = {}));
|
|
59
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
60
|
+
exports.KnownProvisioningState = void 0;
|
|
31
61
|
(function (KnownProvisioningState) {
|
|
32
62
|
KnownProvisioningState["Accepted"] = "Accepted";
|
|
33
63
|
KnownProvisioningState["Creating"] = "Creating";
|
|
@@ -36,11 +66,15 @@ var tslib = require('tslib');
|
|
|
36
66
|
KnownProvisioningState["Moving"] = "Moving";
|
|
37
67
|
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
38
68
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
69
|
+
/** Known values of {@link MachineBootType} that the service accepts. */
|
|
70
|
+
exports.KnownMachineBootType = void 0;
|
|
39
71
|
(function (KnownMachineBootType) {
|
|
40
72
|
KnownMachineBootType["Unknown"] = "Unknown";
|
|
41
73
|
KnownMachineBootType["EFI"] = "EFI";
|
|
42
74
|
KnownMachineBootType["Bios"] = "BIOS";
|
|
43
75
|
})(exports.KnownMachineBootType || (exports.KnownMachineBootType = {}));
|
|
76
|
+
/** Known values of {@link GroupStatus} that the service accepts. */
|
|
77
|
+
exports.KnownGroupStatus = void 0;
|
|
44
78
|
(function (KnownGroupStatus) {
|
|
45
79
|
KnownGroupStatus["Created"] = "Created";
|
|
46
80
|
KnownGroupStatus["Updated"] = "Updated";
|
|
@@ -48,10 +82,14 @@ var tslib = require('tslib');
|
|
|
48
82
|
KnownGroupStatus["Completed"] = "Completed";
|
|
49
83
|
KnownGroupStatus["Invalid"] = "Invalid";
|
|
50
84
|
})(exports.KnownGroupStatus || (exports.KnownGroupStatus = {}));
|
|
85
|
+
/** Known values of {@link GroupUpdateOperation} that the service accepts. */
|
|
86
|
+
exports.KnownGroupUpdateOperation = void 0;
|
|
51
87
|
(function (KnownGroupUpdateOperation) {
|
|
52
88
|
KnownGroupUpdateOperation["Add"] = "Add";
|
|
53
89
|
KnownGroupUpdateOperation["Remove"] = "Remove";
|
|
54
90
|
})(exports.KnownGroupUpdateOperation || (exports.KnownGroupUpdateOperation = {}));
|
|
91
|
+
/** Known values of {@link AzureLocation} that the service accepts. */
|
|
92
|
+
exports.KnownAzureLocation = void 0;
|
|
55
93
|
(function (KnownAzureLocation) {
|
|
56
94
|
KnownAzureLocation["Unknown"] = "Unknown";
|
|
57
95
|
KnownAzureLocation["EastAsia"] = "EastAsia";
|
|
@@ -91,6 +129,8 @@ var tslib = require('tslib');
|
|
|
91
129
|
KnownAzureLocation["USDoDCentral"] = "USDoDCentral";
|
|
92
130
|
KnownAzureLocation["USDoDEast"] = "USDoDEast";
|
|
93
131
|
})(exports.KnownAzureLocation || (exports.KnownAzureLocation = {}));
|
|
132
|
+
/** Known values of {@link AzureOfferCode} that the service accepts. */
|
|
133
|
+
exports.KnownAzureOfferCode = void 0;
|
|
94
134
|
(function (KnownAzureOfferCode) {
|
|
95
135
|
KnownAzureOfferCode["Unknown"] = "Unknown";
|
|
96
136
|
KnownAzureOfferCode["Msazr0003P"] = "MSAZR0003P";
|
|
@@ -133,10 +173,14 @@ var tslib = require('tslib');
|
|
|
133
173
|
KnownAzureOfferCode["Msazrusgov0003P"] = "MSAZRUSGOV0003P";
|
|
134
174
|
KnownAzureOfferCode["EA"] = "EA";
|
|
135
175
|
})(exports.KnownAzureOfferCode || (exports.KnownAzureOfferCode = {}));
|
|
176
|
+
/** Known values of {@link AzurePricingTier} that the service accepts. */
|
|
177
|
+
exports.KnownAzurePricingTier = void 0;
|
|
136
178
|
(function (KnownAzurePricingTier) {
|
|
137
179
|
KnownAzurePricingTier["Standard"] = "Standard";
|
|
138
180
|
KnownAzurePricingTier["Basic"] = "Basic";
|
|
139
181
|
})(exports.KnownAzurePricingTier || (exports.KnownAzurePricingTier = {}));
|
|
182
|
+
/** Known values of {@link AzureStorageRedundancy} that the service accepts. */
|
|
183
|
+
exports.KnownAzureStorageRedundancy = void 0;
|
|
140
184
|
(function (KnownAzureStorageRedundancy) {
|
|
141
185
|
KnownAzureStorageRedundancy["Unknown"] = "Unknown";
|
|
142
186
|
KnownAzureStorageRedundancy["LocallyRedundant"] = "LocallyRedundant";
|
|
@@ -144,23 +188,31 @@ var tslib = require('tslib');
|
|
|
144
188
|
KnownAzureStorageRedundancy["GeoRedundant"] = "GeoRedundant";
|
|
145
189
|
KnownAzureStorageRedundancy["ReadAccessGeoRedundant"] = "ReadAccessGeoRedundant";
|
|
146
190
|
})(exports.KnownAzureStorageRedundancy || (exports.KnownAzureStorageRedundancy = {}));
|
|
191
|
+
/** Known values of {@link Percentile} that the service accepts. */
|
|
192
|
+
exports.KnownPercentile = void 0;
|
|
147
193
|
(function (KnownPercentile) {
|
|
148
194
|
KnownPercentile["Percentile50"] = "Percentile50";
|
|
149
195
|
KnownPercentile["Percentile90"] = "Percentile90";
|
|
150
196
|
KnownPercentile["Percentile95"] = "Percentile95";
|
|
151
197
|
KnownPercentile["Percentile99"] = "Percentile99";
|
|
152
198
|
})(exports.KnownPercentile || (exports.KnownPercentile = {}));
|
|
199
|
+
/** Known values of {@link TimeRange} that the service accepts. */
|
|
200
|
+
exports.KnownTimeRange = void 0;
|
|
153
201
|
(function (KnownTimeRange) {
|
|
154
202
|
KnownTimeRange["Day"] = "Day";
|
|
155
203
|
KnownTimeRange["Week"] = "Week";
|
|
156
204
|
KnownTimeRange["Month"] = "Month";
|
|
157
205
|
KnownTimeRange["Custom"] = "Custom";
|
|
158
206
|
})(exports.KnownTimeRange || (exports.KnownTimeRange = {}));
|
|
207
|
+
/** Known values of {@link AssessmentStage} that the service accepts. */
|
|
208
|
+
exports.KnownAssessmentStage = void 0;
|
|
159
209
|
(function (KnownAssessmentStage) {
|
|
160
210
|
KnownAssessmentStage["InProgress"] = "InProgress";
|
|
161
211
|
KnownAssessmentStage["UnderReview"] = "UnderReview";
|
|
162
212
|
KnownAssessmentStage["Approved"] = "Approved";
|
|
163
213
|
})(exports.KnownAssessmentStage || (exports.KnownAssessmentStage = {}));
|
|
214
|
+
/** Known values of {@link Currency} that the service accepts. */
|
|
215
|
+
exports.KnownCurrency = void 0;
|
|
164
216
|
(function (KnownCurrency) {
|
|
165
217
|
KnownCurrency["Unknown"] = "Unknown";
|
|
166
218
|
KnownCurrency["USD"] = "USD";
|
|
@@ -189,20 +241,28 @@ var tslib = require('tslib');
|
|
|
189
241
|
KnownCurrency["AUD"] = "AUD";
|
|
190
242
|
KnownCurrency["CNY"] = "CNY";
|
|
191
243
|
})(exports.KnownCurrency || (exports.KnownCurrency = {}));
|
|
244
|
+
/** Known values of {@link AzureHybridUseBenefit} that the service accepts. */
|
|
245
|
+
exports.KnownAzureHybridUseBenefit = void 0;
|
|
192
246
|
(function (KnownAzureHybridUseBenefit) {
|
|
193
247
|
KnownAzureHybridUseBenefit["Unknown"] = "Unknown";
|
|
194
248
|
KnownAzureHybridUseBenefit["Yes"] = "Yes";
|
|
195
249
|
KnownAzureHybridUseBenefit["No"] = "No";
|
|
196
250
|
})(exports.KnownAzureHybridUseBenefit || (exports.KnownAzureHybridUseBenefit = {}));
|
|
251
|
+
/** Known values of {@link AssessmentSizingCriterion} that the service accepts. */
|
|
252
|
+
exports.KnownAssessmentSizingCriterion = void 0;
|
|
197
253
|
(function (KnownAssessmentSizingCriterion) {
|
|
198
254
|
KnownAssessmentSizingCriterion["PerformanceBased"] = "PerformanceBased";
|
|
199
255
|
KnownAssessmentSizingCriterion["AsOnPremises"] = "AsOnPremises";
|
|
200
256
|
})(exports.KnownAssessmentSizingCriterion || (exports.KnownAssessmentSizingCriterion = {}));
|
|
257
|
+
/** Known values of {@link ReservedInstance} that the service accepts. */
|
|
258
|
+
exports.KnownReservedInstance = void 0;
|
|
201
259
|
(function (KnownReservedInstance) {
|
|
202
260
|
KnownReservedInstance["None"] = "None";
|
|
203
261
|
KnownReservedInstance["RI1Year"] = "RI1Year";
|
|
204
262
|
KnownReservedInstance["RI3Year"] = "RI3Year";
|
|
205
263
|
})(exports.KnownReservedInstance || (exports.KnownReservedInstance = {}));
|
|
264
|
+
/** Known values of {@link AzureVmFamily} that the service accepts. */
|
|
265
|
+
exports.KnownAzureVmFamily = void 0;
|
|
206
266
|
(function (KnownAzureVmFamily) {
|
|
207
267
|
KnownAzureVmFamily["Unknown"] = "Unknown";
|
|
208
268
|
KnownAzureVmFamily["BasicA0A4"] = "Basic_A0_A4";
|
|
@@ -227,6 +287,8 @@ var tslib = require('tslib');
|
|
|
227
287
|
KnownAzureVmFamily["MSeries"] = "M_series";
|
|
228
288
|
KnownAzureVmFamily["DCSeries"] = "DC_Series";
|
|
229
289
|
})(exports.KnownAzureVmFamily || (exports.KnownAzureVmFamily = {}));
|
|
290
|
+
/** Known values of {@link AzureDiskType} that the service accepts. */
|
|
291
|
+
exports.KnownAzureDiskType = void 0;
|
|
230
292
|
(function (KnownAzureDiskType) {
|
|
231
293
|
KnownAzureDiskType["Unknown"] = "Unknown";
|
|
232
294
|
KnownAzureDiskType["Standard"] = "Standard";
|
|
@@ -234,6 +296,8 @@ var tslib = require('tslib');
|
|
|
234
296
|
KnownAzureDiskType["StandardSSD"] = "StandardSSD";
|
|
235
297
|
KnownAzureDiskType["StandardOrPremium"] = "StandardOrPremium";
|
|
236
298
|
})(exports.KnownAzureDiskType || (exports.KnownAzureDiskType = {}));
|
|
299
|
+
/** Known values of {@link AssessmentStatus} that the service accepts. */
|
|
300
|
+
exports.KnownAssessmentStatus = void 0;
|
|
237
301
|
(function (KnownAssessmentStatus) {
|
|
238
302
|
KnownAssessmentStatus["Created"] = "Created";
|
|
239
303
|
KnownAssessmentStatus["Updated"] = "Updated";
|
|
@@ -243,6 +307,8 @@ var tslib = require('tslib');
|
|
|
243
307
|
KnownAssessmentStatus["OutOfSync"] = "OutOfSync";
|
|
244
308
|
KnownAssessmentStatus["OutDated"] = "OutDated";
|
|
245
309
|
})(exports.KnownAssessmentStatus || (exports.KnownAssessmentStatus = {}));
|
|
310
|
+
/** Known values of {@link AzureDiskSize} that the service accepts. */
|
|
311
|
+
exports.KnownAzureDiskSize = void 0;
|
|
246
312
|
(function (KnownAzureDiskSize) {
|
|
247
313
|
KnownAzureDiskSize["Unknown"] = "Unknown";
|
|
248
314
|
KnownAzureDiskSize["StandardS4"] = "Standard_S4";
|
|
@@ -279,6 +345,8 @@ var tslib = require('tslib');
|
|
|
279
345
|
KnownAzureDiskSize["StandardSSDE4"] = "StandardSSD_E4";
|
|
280
346
|
KnownAzureDiskSize["StandardSSDE6"] = "StandardSSD_E6";
|
|
281
347
|
})(exports.KnownAzureDiskSize || (exports.KnownAzureDiskSize = {}));
|
|
348
|
+
/** Known values of {@link CloudSuitability} that the service accepts. */
|
|
349
|
+
exports.KnownCloudSuitability = void 0;
|
|
282
350
|
(function (KnownCloudSuitability) {
|
|
283
351
|
KnownCloudSuitability["Unknown"] = "Unknown";
|
|
284
352
|
KnownCloudSuitability["NotSuitable"] = "NotSuitable";
|
|
@@ -286,6 +354,8 @@ var tslib = require('tslib');
|
|
|
286
354
|
KnownCloudSuitability["ConditionallySuitable"] = "ConditionallySuitable";
|
|
287
355
|
KnownCloudSuitability["ReadinessUnknown"] = "ReadinessUnknown";
|
|
288
356
|
})(exports.KnownCloudSuitability || (exports.KnownCloudSuitability = {}));
|
|
357
|
+
/** Known values of {@link AzureDiskSuitabilityExplanation} that the service accepts. */
|
|
358
|
+
exports.KnownAzureDiskSuitabilityExplanation = void 0;
|
|
289
359
|
(function (KnownAzureDiskSuitabilityExplanation) {
|
|
290
360
|
KnownAzureDiskSuitabilityExplanation["Unknown"] = "Unknown";
|
|
291
361
|
KnownAzureDiskSuitabilityExplanation["NotApplicable"] = "NotApplicable";
|
|
@@ -297,6 +367,8 @@ var tslib = require('tslib');
|
|
|
297
367
|
KnownAzureDiskSuitabilityExplanation["InternalErrorOccurredForDiskEvaluation"] = "InternalErrorOccurredForDiskEvaluation";
|
|
298
368
|
KnownAzureDiskSuitabilityExplanation["NoEaPriceFoundForDiskSize"] = "NoEaPriceFoundForDiskSize";
|
|
299
369
|
})(exports.KnownAzureDiskSuitabilityExplanation || (exports.KnownAzureDiskSuitabilityExplanation = {}));
|
|
370
|
+
/** Known values of {@link AzureDiskSuitabilityDetail} that the service accepts. */
|
|
371
|
+
exports.KnownAzureDiskSuitabilityDetail = void 0;
|
|
300
372
|
(function (KnownAzureDiskSuitabilityDetail) {
|
|
301
373
|
KnownAzureDiskSuitabilityDetail["None"] = "None";
|
|
302
374
|
KnownAzureDiskSuitabilityDetail["NumberOfReadOperationsPerSecondMissing"] = "NumberOfReadOperationsPerSecondMissing";
|
|
@@ -312,16 +384,22 @@ var tslib = require('tslib');
|
|
|
312
384
|
KnownAzureDiskSuitabilityDetail["DiskGigabytesConsumedOutOfRange"] = "DiskGigabytesConsumedOutOfRange";
|
|
313
385
|
KnownAzureDiskSuitabilityDetail["DiskGigabytesProvisionedOutOfRange"] = "DiskGigabytesProvisionedOutOfRange";
|
|
314
386
|
})(exports.KnownAzureDiskSuitabilityDetail || (exports.KnownAzureDiskSuitabilityDetail = {}));
|
|
387
|
+
/** Known values of {@link AzureNetworkAdapterSuitabilityExplanation} that the service accepts. */
|
|
388
|
+
exports.KnownAzureNetworkAdapterSuitabilityExplanation = void 0;
|
|
315
389
|
(function (KnownAzureNetworkAdapterSuitabilityExplanation) {
|
|
316
390
|
KnownAzureNetworkAdapterSuitabilityExplanation["Unknown"] = "Unknown";
|
|
317
391
|
KnownAzureNetworkAdapterSuitabilityExplanation["NotApplicable"] = "NotApplicable";
|
|
318
392
|
KnownAzureNetworkAdapterSuitabilityExplanation["InternalErrorOccurred"] = "InternalErrorOccurred";
|
|
319
393
|
})(exports.KnownAzureNetworkAdapterSuitabilityExplanation || (exports.KnownAzureNetworkAdapterSuitabilityExplanation = {}));
|
|
394
|
+
/** Known values of {@link AzureNetworkAdapterSuitabilityDetail} that the service accepts. */
|
|
395
|
+
exports.KnownAzureNetworkAdapterSuitabilityDetail = void 0;
|
|
320
396
|
(function (KnownAzureNetworkAdapterSuitabilityDetail) {
|
|
321
397
|
KnownAzureNetworkAdapterSuitabilityDetail["None"] = "None";
|
|
322
398
|
KnownAzureNetworkAdapterSuitabilityDetail["MegabytesOfDataTransmittedMissing"] = "MegabytesOfDataTransmittedMissing";
|
|
323
399
|
KnownAzureNetworkAdapterSuitabilityDetail["MegabytesOfDataTransmittedOutOfRange"] = "MegabytesOfDataTransmittedOutOfRange";
|
|
324
400
|
})(exports.KnownAzureNetworkAdapterSuitabilityDetail || (exports.KnownAzureNetworkAdapterSuitabilityDetail = {}));
|
|
401
|
+
/** Known values of {@link AzureVmSize} that the service accepts. */
|
|
402
|
+
exports.KnownAzureVmSize = void 0;
|
|
325
403
|
(function (KnownAzureVmSize) {
|
|
326
404
|
KnownAzureVmSize["Unknown"] = "Unknown";
|
|
327
405
|
KnownAzureVmSize["BasicA0"] = "Basic_A0";
|
|
@@ -450,6 +528,8 @@ var tslib = require('tslib');
|
|
|
450
528
|
KnownAzureVmSize["StandardM128S"] = "Standard_M128s";
|
|
451
529
|
KnownAzureVmSize["StandardM128Ms"] = "Standard_M128ms";
|
|
452
530
|
})(exports.KnownAzureVmSize || (exports.KnownAzureVmSize = {}));
|
|
531
|
+
/** Known values of {@link AzureVmSuitabilityExplanation} that the service accepts. */
|
|
532
|
+
exports.KnownAzureVmSuitabilityExplanation = void 0;
|
|
453
533
|
(function (KnownAzureVmSuitabilityExplanation) {
|
|
454
534
|
KnownAzureVmSuitabilityExplanation["Unknown"] = "Unknown";
|
|
455
535
|
KnownAzureVmSuitabilityExplanation["NotApplicable"] = "NotApplicable";
|
|
@@ -488,6 +568,8 @@ var tslib = require('tslib');
|
|
|
488
568
|
KnownAzureVmSuitabilityExplanation["NoVmSizeForStandardPricingTier"] = "NoVmSizeForStandardPricingTier";
|
|
489
569
|
KnownAzureVmSuitabilityExplanation["NoVmSizeForBasicPricingTier"] = "NoVmSizeForBasicPricingTier";
|
|
490
570
|
})(exports.KnownAzureVmSuitabilityExplanation || (exports.KnownAzureVmSuitabilityExplanation = {}));
|
|
571
|
+
/** Known values of {@link AzureVmSuitabilityDetail} that the service accepts. */
|
|
572
|
+
exports.KnownAzureVmSuitabilityDetail = void 0;
|
|
491
573
|
(function (KnownAzureVmSuitabilityDetail) {
|
|
492
574
|
KnownAzureVmSuitabilityDetail["None"] = "None";
|
|
493
575
|
KnownAzureVmSuitabilityDetail["RecommendedSizeHasLessNetworkAdapters"] = "RecommendedSizeHasLessNetworkAdapters";
|
|
@@ -4048,7 +4130,7 @@ class ProjectsImpl {
|
|
|
4048
4130
|
* @param options The options parameters.
|
|
4049
4131
|
*/
|
|
4050
4132
|
_list(resourceGroupName, options) {
|
|
4051
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec);
|
|
4133
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec$1);
|
|
4052
4134
|
}
|
|
4053
4135
|
/**
|
|
4054
4136
|
* Get the project with the specified name.
|
|
@@ -4057,7 +4139,7 @@ class ProjectsImpl {
|
|
|
4057
4139
|
* @param options The options parameters.
|
|
4058
4140
|
*/
|
|
4059
4141
|
get(resourceGroupName, projectName, options) {
|
|
4060
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, getOperationSpec);
|
|
4142
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, getOperationSpec$a);
|
|
4061
4143
|
}
|
|
4062
4144
|
/**
|
|
4063
4145
|
* Create a project with specified name. If a project already exists, update it.
|
|
@@ -4066,7 +4148,7 @@ class ProjectsImpl {
|
|
|
4066
4148
|
* @param options The options parameters.
|
|
4067
4149
|
*/
|
|
4068
4150
|
create(resourceGroupName, projectName, options) {
|
|
4069
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, createOperationSpec);
|
|
4151
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, createOperationSpec$6);
|
|
4070
4152
|
}
|
|
4071
4153
|
/**
|
|
4072
4154
|
* Update a project with specified name. Supports partial updates, for example only tags can be
|
|
@@ -4076,7 +4158,7 @@ class ProjectsImpl {
|
|
|
4076
4158
|
* @param options The options parameters.
|
|
4077
4159
|
*/
|
|
4078
4160
|
update(resourceGroupName, projectName, options) {
|
|
4079
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, updateOperationSpec);
|
|
4161
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, updateOperationSpec$1);
|
|
4080
4162
|
}
|
|
4081
4163
|
/**
|
|
4082
4164
|
* Delete the project. Deleting non-existent project is a no-operation.
|
|
@@ -4085,7 +4167,7 @@ class ProjectsImpl {
|
|
|
4085
4167
|
* @param options The options parameters.
|
|
4086
4168
|
*/
|
|
4087
4169
|
delete(resourceGroupName, projectName, options) {
|
|
4088
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, deleteOperationSpec);
|
|
4170
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, deleteOperationSpec$7);
|
|
4089
4171
|
}
|
|
4090
4172
|
/**
|
|
4091
4173
|
* Get all available options for the properties of an assessment on a project.
|
|
@@ -4125,7 +4207,7 @@ class ProjectsImpl {
|
|
|
4125
4207
|
}
|
|
4126
4208
|
}
|
|
4127
4209
|
// Operation Specifications
|
|
4128
|
-
const serializer =
|
|
4210
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4129
4211
|
const listBySubscriptionOperationSpec = {
|
|
4130
4212
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Migrate/assessmentProjects",
|
|
4131
4213
|
httpMethod: "GET",
|
|
@@ -4141,9 +4223,9 @@ const listBySubscriptionOperationSpec = {
|
|
|
4141
4223
|
queryParameters: [apiVersion],
|
|
4142
4224
|
urlParameters: [$host, subscriptionId],
|
|
4143
4225
|
headerParameters: [accept],
|
|
4144
|
-
serializer
|
|
4226
|
+
serializer: serializer$b
|
|
4145
4227
|
};
|
|
4146
|
-
const listOperationSpec = {
|
|
4228
|
+
const listOperationSpec$1 = {
|
|
4147
4229
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects",
|
|
4148
4230
|
httpMethod: "GET",
|
|
4149
4231
|
responses: {
|
|
@@ -4162,9 +4244,9 @@ const listOperationSpec = {
|
|
|
4162
4244
|
resourceGroupName
|
|
4163
4245
|
],
|
|
4164
4246
|
headerParameters: [accept],
|
|
4165
|
-
serializer
|
|
4247
|
+
serializer: serializer$b
|
|
4166
4248
|
};
|
|
4167
|
-
const getOperationSpec = {
|
|
4249
|
+
const getOperationSpec$a = {
|
|
4168
4250
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}",
|
|
4169
4251
|
httpMethod: "GET",
|
|
4170
4252
|
responses: {
|
|
@@ -4184,9 +4266,9 @@ const getOperationSpec = {
|
|
|
4184
4266
|
projectName
|
|
4185
4267
|
],
|
|
4186
4268
|
headerParameters: [accept],
|
|
4187
|
-
serializer
|
|
4269
|
+
serializer: serializer$b
|
|
4188
4270
|
};
|
|
4189
|
-
const createOperationSpec = {
|
|
4271
|
+
const createOperationSpec$6 = {
|
|
4190
4272
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}",
|
|
4191
4273
|
httpMethod: "PUT",
|
|
4192
4274
|
responses: {
|
|
@@ -4212,9 +4294,9 @@ const createOperationSpec = {
|
|
|
4212
4294
|
],
|
|
4213
4295
|
headerParameters: [accept, contentType],
|
|
4214
4296
|
mediaType: "json",
|
|
4215
|
-
serializer
|
|
4297
|
+
serializer: serializer$b
|
|
4216
4298
|
};
|
|
4217
|
-
const updateOperationSpec = {
|
|
4299
|
+
const updateOperationSpec$1 = {
|
|
4218
4300
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}",
|
|
4219
4301
|
httpMethod: "PATCH",
|
|
4220
4302
|
responses: {
|
|
@@ -4236,9 +4318,9 @@ const updateOperationSpec = {
|
|
|
4236
4318
|
],
|
|
4237
4319
|
headerParameters: [accept, contentType],
|
|
4238
4320
|
mediaType: "json",
|
|
4239
|
-
serializer
|
|
4321
|
+
serializer: serializer$b
|
|
4240
4322
|
};
|
|
4241
|
-
const deleteOperationSpec = {
|
|
4323
|
+
const deleteOperationSpec$7 = {
|
|
4242
4324
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}",
|
|
4243
4325
|
httpMethod: "DELETE",
|
|
4244
4326
|
responses: {
|
|
@@ -4258,7 +4340,7 @@ const deleteOperationSpec = {
|
|
|
4258
4340
|
projectName
|
|
4259
4341
|
],
|
|
4260
4342
|
headerParameters: [accept],
|
|
4261
|
-
serializer
|
|
4343
|
+
serializer: serializer$b
|
|
4262
4344
|
};
|
|
4263
4345
|
const assessmentOptionsOperationSpec = {
|
|
4264
4346
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/assessmentOptions/{assessmentOptionsName}",
|
|
@@ -4281,7 +4363,7 @@ const assessmentOptionsOperationSpec = {
|
|
|
4281
4363
|
assessmentOptionsName
|
|
4282
4364
|
],
|
|
4283
4365
|
headerParameters: [accept],
|
|
4284
|
-
serializer
|
|
4366
|
+
serializer: serializer$b
|
|
4285
4367
|
};
|
|
4286
4368
|
const assessmentOptionsListOperationSpec = {
|
|
4287
4369
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/assessmentOptions",
|
|
@@ -4303,7 +4385,7 @@ const assessmentOptionsListOperationSpec = {
|
|
|
4303
4385
|
projectName
|
|
4304
4386
|
],
|
|
4305
4387
|
headerParameters: [accept],
|
|
4306
|
-
serializer
|
|
4388
|
+
serializer: serializer$b
|
|
4307
4389
|
};
|
|
4308
4390
|
const listBySubscriptionNextOperationSpec = {
|
|
4309
4391
|
path: "{nextLink}",
|
|
@@ -4324,7 +4406,7 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
4324
4406
|
nextLink
|
|
4325
4407
|
],
|
|
4326
4408
|
headerParameters: [accept],
|
|
4327
|
-
serializer
|
|
4409
|
+
serializer: serializer$b
|
|
4328
4410
|
};
|
|
4329
4411
|
const listNextOperationSpec = {
|
|
4330
4412
|
path: "{nextLink}",
|
|
@@ -4346,7 +4428,7 @@ const listNextOperationSpec = {
|
|
|
4346
4428
|
nextLink
|
|
4347
4429
|
],
|
|
4348
4430
|
headerParameters: [accept],
|
|
4349
|
-
serializer
|
|
4431
|
+
serializer: serializer$b
|
|
4350
4432
|
};
|
|
4351
4433
|
|
|
4352
4434
|
/*
|
|
@@ -4425,7 +4507,7 @@ class MachinesImpl {
|
|
|
4425
4507
|
* @param options The options parameters.
|
|
4426
4508
|
*/
|
|
4427
4509
|
_listByProject(resourceGroupName, projectName, options) {
|
|
4428
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec);
|
|
4510
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$8);
|
|
4429
4511
|
}
|
|
4430
4512
|
/**
|
|
4431
4513
|
* Get the machine with the specified name. Returns a json object of type 'machine' defined in Models
|
|
@@ -4436,7 +4518,7 @@ class MachinesImpl {
|
|
|
4436
4518
|
* @param options The options parameters.
|
|
4437
4519
|
*/
|
|
4438
4520
|
get(resourceGroupName, projectName, machineName, options) {
|
|
4439
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, machineName, options }, getOperationSpec$
|
|
4521
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, machineName, options }, getOperationSpec$9);
|
|
4440
4522
|
}
|
|
4441
4523
|
/**
|
|
4442
4524
|
* ListByProjectNext
|
|
@@ -4450,8 +4532,8 @@ class MachinesImpl {
|
|
|
4450
4532
|
}
|
|
4451
4533
|
}
|
|
4452
4534
|
// Operation Specifications
|
|
4453
|
-
const serializer$
|
|
4454
|
-
const listByProjectOperationSpec = {
|
|
4535
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4536
|
+
const listByProjectOperationSpec$8 = {
|
|
4455
4537
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines",
|
|
4456
4538
|
httpMethod: "GET",
|
|
4457
4539
|
responses: {
|
|
@@ -4471,9 +4553,9 @@ const listByProjectOperationSpec = {
|
|
|
4471
4553
|
projectName
|
|
4472
4554
|
],
|
|
4473
4555
|
headerParameters: [accept],
|
|
4474
|
-
serializer: serializer$
|
|
4556
|
+
serializer: serializer$a
|
|
4475
4557
|
};
|
|
4476
|
-
const getOperationSpec$
|
|
4558
|
+
const getOperationSpec$9 = {
|
|
4477
4559
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName}",
|
|
4478
4560
|
httpMethod: "GET",
|
|
4479
4561
|
responses: {
|
|
@@ -4494,7 +4576,7 @@ const getOperationSpec$1 = {
|
|
|
4494
4576
|
machineName
|
|
4495
4577
|
],
|
|
4496
4578
|
headerParameters: [accept],
|
|
4497
|
-
serializer: serializer$
|
|
4579
|
+
serializer: serializer$a
|
|
4498
4580
|
};
|
|
4499
4581
|
const listByProjectNextOperationSpec = {
|
|
4500
4582
|
path: "{nextLink}",
|
|
@@ -4517,7 +4599,7 @@ const listByProjectNextOperationSpec = {
|
|
|
4517
4599
|
nextLink
|
|
4518
4600
|
],
|
|
4519
4601
|
headerParameters: [accept],
|
|
4520
|
-
serializer: serializer$
|
|
4602
|
+
serializer: serializer$a
|
|
4521
4603
|
};
|
|
4522
4604
|
|
|
4523
4605
|
/*
|
|
@@ -4590,7 +4672,7 @@ class GroupsImpl {
|
|
|
4590
4672
|
* @param options The options parameters.
|
|
4591
4673
|
*/
|
|
4592
4674
|
_listByProject(resourceGroupName, projectName, options) {
|
|
4593
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$
|
|
4675
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$7);
|
|
4594
4676
|
}
|
|
4595
4677
|
/**
|
|
4596
4678
|
* Get information related to a specific group in the project. Returns a json object of type 'group' as
|
|
@@ -4601,7 +4683,7 @@ class GroupsImpl {
|
|
|
4601
4683
|
* @param options The options parameters.
|
|
4602
4684
|
*/
|
|
4603
4685
|
get(resourceGroupName, projectName, groupName, options) {
|
|
4604
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, options }, getOperationSpec$
|
|
4686
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, options }, getOperationSpec$8);
|
|
4605
4687
|
}
|
|
4606
4688
|
/**
|
|
4607
4689
|
* Create a new group by sending a json object of type 'group' as given in Models section as part of
|
|
@@ -4615,7 +4697,7 @@ class GroupsImpl {
|
|
|
4615
4697
|
* @param options The options parameters.
|
|
4616
4698
|
*/
|
|
4617
4699
|
create(resourceGroupName, projectName, groupName, options) {
|
|
4618
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, options }, createOperationSpec$
|
|
4700
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, options }, createOperationSpec$5);
|
|
4619
4701
|
}
|
|
4620
4702
|
/**
|
|
4621
4703
|
* Delete the group from the project. The machines remain in the project. Deleting a non-existent group
|
|
@@ -4630,7 +4712,7 @@ class GroupsImpl {
|
|
|
4630
4712
|
* @param options The options parameters.
|
|
4631
4713
|
*/
|
|
4632
4714
|
delete(resourceGroupName, projectName, groupName, options) {
|
|
4633
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, options }, deleteOperationSpec$
|
|
4715
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, options }, deleteOperationSpec$6);
|
|
4634
4716
|
}
|
|
4635
4717
|
/**
|
|
4636
4718
|
* Update machines in group by adding or removing machines.
|
|
@@ -4644,8 +4726,8 @@ class GroupsImpl {
|
|
|
4644
4726
|
}
|
|
4645
4727
|
}
|
|
4646
4728
|
// Operation Specifications
|
|
4647
|
-
const serializer$
|
|
4648
|
-
const listByProjectOperationSpec$
|
|
4729
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4730
|
+
const listByProjectOperationSpec$7 = {
|
|
4649
4731
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups",
|
|
4650
4732
|
httpMethod: "GET",
|
|
4651
4733
|
responses: {
|
|
@@ -4665,9 +4747,9 @@ const listByProjectOperationSpec$1 = {
|
|
|
4665
4747
|
projectName
|
|
4666
4748
|
],
|
|
4667
4749
|
headerParameters: [accept],
|
|
4668
|
-
serializer: serializer$
|
|
4750
|
+
serializer: serializer$9
|
|
4669
4751
|
};
|
|
4670
|
-
const getOperationSpec$
|
|
4752
|
+
const getOperationSpec$8 = {
|
|
4671
4753
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}",
|
|
4672
4754
|
httpMethod: "GET",
|
|
4673
4755
|
responses: {
|
|
@@ -4688,9 +4770,9 @@ const getOperationSpec$2 = {
|
|
|
4688
4770
|
groupName
|
|
4689
4771
|
],
|
|
4690
4772
|
headerParameters: [accept],
|
|
4691
|
-
serializer: serializer$
|
|
4773
|
+
serializer: serializer$9
|
|
4692
4774
|
};
|
|
4693
|
-
const createOperationSpec$
|
|
4775
|
+
const createOperationSpec$5 = {
|
|
4694
4776
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}",
|
|
4695
4777
|
httpMethod: "PUT",
|
|
4696
4778
|
responses: {
|
|
@@ -4717,9 +4799,9 @@ const createOperationSpec$1 = {
|
|
|
4717
4799
|
],
|
|
4718
4800
|
headerParameters: [accept, contentType],
|
|
4719
4801
|
mediaType: "json",
|
|
4720
|
-
serializer: serializer$
|
|
4802
|
+
serializer: serializer$9
|
|
4721
4803
|
};
|
|
4722
|
-
const deleteOperationSpec$
|
|
4804
|
+
const deleteOperationSpec$6 = {
|
|
4723
4805
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}",
|
|
4724
4806
|
httpMethod: "DELETE",
|
|
4725
4807
|
responses: {
|
|
@@ -4740,7 +4822,7 @@ const deleteOperationSpec$1 = {
|
|
|
4740
4822
|
groupName
|
|
4741
4823
|
],
|
|
4742
4824
|
headerParameters: [accept],
|
|
4743
|
-
serializer: serializer$
|
|
4825
|
+
serializer: serializer$9
|
|
4744
4826
|
};
|
|
4745
4827
|
const updateMachinesOperationSpec = {
|
|
4746
4828
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/updateMachines",
|
|
@@ -4765,7 +4847,7 @@ const updateMachinesOperationSpec = {
|
|
|
4765
4847
|
],
|
|
4766
4848
|
headerParameters: [accept, contentType],
|
|
4767
4849
|
mediaType: "json",
|
|
4768
|
-
serializer: serializer$
|
|
4850
|
+
serializer: serializer$9
|
|
4769
4851
|
};
|
|
4770
4852
|
|
|
4771
4853
|
/*
|
|
@@ -4903,7 +4985,7 @@ class AssessmentsImpl {
|
|
|
4903
4985
|
* @param options The options parameters.
|
|
4904
4986
|
*/
|
|
4905
4987
|
_listByProject(resourceGroupName, projectName, options) {
|
|
4906
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$
|
|
4988
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$6);
|
|
4907
4989
|
}
|
|
4908
4990
|
/**
|
|
4909
4991
|
* Get an existing assessment with the specified name. Returns a json object of type 'assessment' as
|
|
@@ -4915,7 +4997,7 @@ class AssessmentsImpl {
|
|
|
4915
4997
|
* @param options The options parameters.
|
|
4916
4998
|
*/
|
|
4917
4999
|
get(resourceGroupName, projectName, groupName, assessmentName, options) {
|
|
4918
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, assessmentName, options }, getOperationSpec$
|
|
5000
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, assessmentName, options }, getOperationSpec$7);
|
|
4919
5001
|
}
|
|
4920
5002
|
/**
|
|
4921
5003
|
* Create a new assessment with the given name and the specified settings. Since name of an assessment
|
|
@@ -4938,7 +5020,7 @@ class AssessmentsImpl {
|
|
|
4938
5020
|
* @param options The options parameters.
|
|
4939
5021
|
*/
|
|
4940
5022
|
create(resourceGroupName, projectName, groupName, assessmentName, options) {
|
|
4941
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, assessmentName, options }, createOperationSpec$
|
|
5023
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, assessmentName, options }, createOperationSpec$4);
|
|
4942
5024
|
}
|
|
4943
5025
|
/**
|
|
4944
5026
|
* Delete an assessment from the project. The machines remain in the assessment. Deleting a
|
|
@@ -4954,7 +5036,7 @@ class AssessmentsImpl {
|
|
|
4954
5036
|
* @param options The options parameters.
|
|
4955
5037
|
*/
|
|
4956
5038
|
delete(resourceGroupName, projectName, groupName, assessmentName, options) {
|
|
4957
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, assessmentName, options }, deleteOperationSpec$
|
|
5039
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, groupName, assessmentName, options }, deleteOperationSpec$5);
|
|
4958
5040
|
}
|
|
4959
5041
|
/**
|
|
4960
5042
|
* Get the URL for downloading the assessment in a report format.
|
|
@@ -4969,7 +5051,7 @@ class AssessmentsImpl {
|
|
|
4969
5051
|
}
|
|
4970
5052
|
}
|
|
4971
5053
|
// Operation Specifications
|
|
4972
|
-
const serializer$
|
|
5054
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4973
5055
|
const listByGroupOperationSpec = {
|
|
4974
5056
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments",
|
|
4975
5057
|
httpMethod: "GET",
|
|
@@ -4991,9 +5073,9 @@ const listByGroupOperationSpec = {
|
|
|
4991
5073
|
groupName
|
|
4992
5074
|
],
|
|
4993
5075
|
headerParameters: [accept],
|
|
4994
|
-
serializer: serializer$
|
|
5076
|
+
serializer: serializer$8
|
|
4995
5077
|
};
|
|
4996
|
-
const listByProjectOperationSpec$
|
|
5078
|
+
const listByProjectOperationSpec$6 = {
|
|
4997
5079
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/assessments",
|
|
4998
5080
|
httpMethod: "GET",
|
|
4999
5081
|
responses: {
|
|
@@ -5013,9 +5095,9 @@ const listByProjectOperationSpec$2 = {
|
|
|
5013
5095
|
projectName
|
|
5014
5096
|
],
|
|
5015
5097
|
headerParameters: [accept],
|
|
5016
|
-
serializer: serializer$
|
|
5098
|
+
serializer: serializer$8
|
|
5017
5099
|
};
|
|
5018
|
-
const getOperationSpec$
|
|
5100
|
+
const getOperationSpec$7 = {
|
|
5019
5101
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}",
|
|
5020
5102
|
httpMethod: "GET",
|
|
5021
5103
|
responses: {
|
|
@@ -5037,9 +5119,9 @@ const getOperationSpec$3 = {
|
|
|
5037
5119
|
assessmentName
|
|
5038
5120
|
],
|
|
5039
5121
|
headerParameters: [accept],
|
|
5040
|
-
serializer: serializer$
|
|
5122
|
+
serializer: serializer$8
|
|
5041
5123
|
};
|
|
5042
|
-
const createOperationSpec$
|
|
5124
|
+
const createOperationSpec$4 = {
|
|
5043
5125
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}",
|
|
5044
5126
|
httpMethod: "PUT",
|
|
5045
5127
|
responses: {
|
|
@@ -5067,9 +5149,9 @@ const createOperationSpec$2 = {
|
|
|
5067
5149
|
],
|
|
5068
5150
|
headerParameters: [accept, contentType],
|
|
5069
5151
|
mediaType: "json",
|
|
5070
|
-
serializer: serializer$
|
|
5152
|
+
serializer: serializer$8
|
|
5071
5153
|
};
|
|
5072
|
-
const deleteOperationSpec$
|
|
5154
|
+
const deleteOperationSpec$5 = {
|
|
5073
5155
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}",
|
|
5074
5156
|
httpMethod: "DELETE",
|
|
5075
5157
|
responses: {
|
|
@@ -5091,7 +5173,7 @@ const deleteOperationSpec$2 = {
|
|
|
5091
5173
|
assessmentName
|
|
5092
5174
|
],
|
|
5093
5175
|
headerParameters: [accept],
|
|
5094
|
-
serializer: serializer$
|
|
5176
|
+
serializer: serializer$8
|
|
5095
5177
|
};
|
|
5096
5178
|
const getReportDownloadUrlOperationSpec = {
|
|
5097
5179
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/downloadUrl",
|
|
@@ -5115,7 +5197,7 @@ const getReportDownloadUrlOperationSpec = {
|
|
|
5115
5197
|
assessmentName
|
|
5116
5198
|
],
|
|
5117
5199
|
headerParameters: [accept],
|
|
5118
|
-
serializer: serializer$
|
|
5200
|
+
serializer: serializer$8
|
|
5119
5201
|
};
|
|
5120
5202
|
|
|
5121
5203
|
/*
|
|
@@ -5230,7 +5312,7 @@ class AssessedMachinesImpl {
|
|
|
5230
5312
|
assessmentName,
|
|
5231
5313
|
assessedMachineName,
|
|
5232
5314
|
options
|
|
5233
|
-
}, getOperationSpec$
|
|
5315
|
+
}, getOperationSpec$6);
|
|
5234
5316
|
}
|
|
5235
5317
|
/**
|
|
5236
5318
|
* ListByAssessmentNext
|
|
@@ -5253,7 +5335,7 @@ class AssessedMachinesImpl {
|
|
|
5253
5335
|
}
|
|
5254
5336
|
}
|
|
5255
5337
|
// Operation Specifications
|
|
5256
|
-
const serializer$
|
|
5338
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5257
5339
|
const listByAssessmentOperationSpec = {
|
|
5258
5340
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/assessedMachines",
|
|
5259
5341
|
httpMethod: "GET",
|
|
@@ -5276,9 +5358,9 @@ const listByAssessmentOperationSpec = {
|
|
|
5276
5358
|
assessmentName
|
|
5277
5359
|
],
|
|
5278
5360
|
headerParameters: [accept],
|
|
5279
|
-
serializer: serializer$
|
|
5361
|
+
serializer: serializer$7
|
|
5280
5362
|
};
|
|
5281
|
-
const getOperationSpec$
|
|
5363
|
+
const getOperationSpec$6 = {
|
|
5282
5364
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/assessedMachines/{assessedMachineName}",
|
|
5283
5365
|
httpMethod: "GET",
|
|
5284
5366
|
responses: {
|
|
@@ -5301,7 +5383,7 @@ const getOperationSpec$4 = {
|
|
|
5301
5383
|
assessedMachineName
|
|
5302
5384
|
],
|
|
5303
5385
|
headerParameters: [accept],
|
|
5304
|
-
serializer: serializer$
|
|
5386
|
+
serializer: serializer$7
|
|
5305
5387
|
};
|
|
5306
5388
|
const listByAssessmentNextOperationSpec = {
|
|
5307
5389
|
path: "{nextLink}",
|
|
@@ -5326,7 +5408,7 @@ const listByAssessmentNextOperationSpec = {
|
|
|
5326
5408
|
assessmentName
|
|
5327
5409
|
],
|
|
5328
5410
|
headerParameters: [accept],
|
|
5329
|
-
serializer: serializer$
|
|
5411
|
+
serializer: serializer$7
|
|
5330
5412
|
};
|
|
5331
5413
|
|
|
5332
5414
|
/*
|
|
@@ -5397,7 +5479,7 @@ class HyperVCollectorsImpl {
|
|
|
5397
5479
|
* @param options The options parameters.
|
|
5398
5480
|
*/
|
|
5399
5481
|
_listByProject(resourceGroupName, projectName, options) {
|
|
5400
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$
|
|
5482
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$5);
|
|
5401
5483
|
}
|
|
5402
5484
|
/**
|
|
5403
5485
|
* Get a Hyper-V collector.
|
|
@@ -5427,12 +5509,12 @@ class HyperVCollectorsImpl {
|
|
|
5427
5509
|
* @param options The options parameters.
|
|
5428
5510
|
*/
|
|
5429
5511
|
delete(resourceGroupName, projectName, hyperVCollectorName, options) {
|
|
5430
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, hyperVCollectorName, options }, deleteOperationSpec$
|
|
5512
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, hyperVCollectorName, options }, deleteOperationSpec$4);
|
|
5431
5513
|
}
|
|
5432
5514
|
}
|
|
5433
5515
|
// Operation Specifications
|
|
5434
|
-
const serializer$
|
|
5435
|
-
const listByProjectOperationSpec$
|
|
5516
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5517
|
+
const listByProjectOperationSpec$5 = {
|
|
5436
5518
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors",
|
|
5437
5519
|
httpMethod: "GET",
|
|
5438
5520
|
responses: {
|
|
@@ -5452,7 +5534,7 @@ const listByProjectOperationSpec$3 = {
|
|
|
5452
5534
|
projectName
|
|
5453
5535
|
],
|
|
5454
5536
|
headerParameters: [accept],
|
|
5455
|
-
serializer: serializer$
|
|
5537
|
+
serializer: serializer$6
|
|
5456
5538
|
};
|
|
5457
5539
|
const getOperationSpec$5 = {
|
|
5458
5540
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hyperVCollectorName}",
|
|
@@ -5475,7 +5557,7 @@ const getOperationSpec$5 = {
|
|
|
5475
5557
|
hyperVCollectorName
|
|
5476
5558
|
],
|
|
5477
5559
|
headerParameters: [accept],
|
|
5478
|
-
serializer: serializer$
|
|
5560
|
+
serializer: serializer$6
|
|
5479
5561
|
};
|
|
5480
5562
|
const createOperationSpec$3 = {
|
|
5481
5563
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hyperVCollectorName}",
|
|
@@ -5504,9 +5586,9 @@ const createOperationSpec$3 = {
|
|
|
5504
5586
|
],
|
|
5505
5587
|
headerParameters: [accept, contentType],
|
|
5506
5588
|
mediaType: "json",
|
|
5507
|
-
serializer: serializer$
|
|
5589
|
+
serializer: serializer$6
|
|
5508
5590
|
};
|
|
5509
|
-
const deleteOperationSpec$
|
|
5591
|
+
const deleteOperationSpec$4 = {
|
|
5510
5592
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hyperVCollectorName}",
|
|
5511
5593
|
httpMethod: "DELETE",
|
|
5512
5594
|
responses: {
|
|
@@ -5527,7 +5609,7 @@ const deleteOperationSpec$3 = {
|
|
|
5527
5609
|
hyperVCollectorName
|
|
5528
5610
|
],
|
|
5529
5611
|
headerParameters: [accept],
|
|
5530
|
-
serializer: serializer$
|
|
5612
|
+
serializer: serializer$6
|
|
5531
5613
|
};
|
|
5532
5614
|
|
|
5533
5615
|
/*
|
|
@@ -5608,7 +5690,7 @@ class ServerCollectorsImpl {
|
|
|
5608
5690
|
* @param options The options parameters.
|
|
5609
5691
|
*/
|
|
5610
5692
|
get(resourceGroupName, projectName, serverCollectorName, options) {
|
|
5611
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, serverCollectorName, options }, getOperationSpec$
|
|
5693
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, serverCollectorName, options }, getOperationSpec$4);
|
|
5612
5694
|
}
|
|
5613
5695
|
/**
|
|
5614
5696
|
* Create or Update Server collector
|
|
@@ -5618,7 +5700,7 @@ class ServerCollectorsImpl {
|
|
|
5618
5700
|
* @param options The options parameters.
|
|
5619
5701
|
*/
|
|
5620
5702
|
create(resourceGroupName, projectName, serverCollectorName, options) {
|
|
5621
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, serverCollectorName, options }, createOperationSpec$
|
|
5703
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, serverCollectorName, options }, createOperationSpec$2);
|
|
5622
5704
|
}
|
|
5623
5705
|
/**
|
|
5624
5706
|
* Delete a Server collector from the project.
|
|
@@ -5628,11 +5710,11 @@ class ServerCollectorsImpl {
|
|
|
5628
5710
|
* @param options The options parameters.
|
|
5629
5711
|
*/
|
|
5630
5712
|
delete(resourceGroupName, projectName, serverCollectorName, options) {
|
|
5631
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, serverCollectorName, options }, deleteOperationSpec$
|
|
5713
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, serverCollectorName, options }, deleteOperationSpec$3);
|
|
5632
5714
|
}
|
|
5633
5715
|
}
|
|
5634
5716
|
// Operation Specifications
|
|
5635
|
-
const serializer$
|
|
5717
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5636
5718
|
const listByProjectOperationSpec$4 = {
|
|
5637
5719
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/servercollectors",
|
|
5638
5720
|
httpMethod: "GET",
|
|
@@ -5653,9 +5735,9 @@ const listByProjectOperationSpec$4 = {
|
|
|
5653
5735
|
projectName
|
|
5654
5736
|
],
|
|
5655
5737
|
headerParameters: [accept],
|
|
5656
|
-
serializer: serializer$
|
|
5738
|
+
serializer: serializer$5
|
|
5657
5739
|
};
|
|
5658
|
-
const getOperationSpec$
|
|
5740
|
+
const getOperationSpec$4 = {
|
|
5659
5741
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/servercollectors/{serverCollectorName}",
|
|
5660
5742
|
httpMethod: "GET",
|
|
5661
5743
|
responses: {
|
|
@@ -5676,9 +5758,9 @@ const getOperationSpec$6 = {
|
|
|
5676
5758
|
serverCollectorName
|
|
5677
5759
|
],
|
|
5678
5760
|
headerParameters: [accept],
|
|
5679
|
-
serializer: serializer$
|
|
5761
|
+
serializer: serializer$5
|
|
5680
5762
|
};
|
|
5681
|
-
const createOperationSpec$
|
|
5763
|
+
const createOperationSpec$2 = {
|
|
5682
5764
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/servercollectors/{serverCollectorName}",
|
|
5683
5765
|
httpMethod: "PUT",
|
|
5684
5766
|
responses: {
|
|
@@ -5705,9 +5787,9 @@ const createOperationSpec$4 = {
|
|
|
5705
5787
|
],
|
|
5706
5788
|
headerParameters: [accept, contentType],
|
|
5707
5789
|
mediaType: "json",
|
|
5708
|
-
serializer: serializer$
|
|
5790
|
+
serializer: serializer$5
|
|
5709
5791
|
};
|
|
5710
|
-
const deleteOperationSpec$
|
|
5792
|
+
const deleteOperationSpec$3 = {
|
|
5711
5793
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/servercollectors/{serverCollectorName}",
|
|
5712
5794
|
httpMethod: "DELETE",
|
|
5713
5795
|
responses: {
|
|
@@ -5728,7 +5810,7 @@ const deleteOperationSpec$4 = {
|
|
|
5728
5810
|
serverCollectorName
|
|
5729
5811
|
],
|
|
5730
5812
|
headerParameters: [accept],
|
|
5731
|
-
serializer: serializer$
|
|
5813
|
+
serializer: serializer$5
|
|
5732
5814
|
};
|
|
5733
5815
|
|
|
5734
5816
|
/*
|
|
@@ -5799,7 +5881,7 @@ class VMwareCollectorsImpl {
|
|
|
5799
5881
|
* @param options The options parameters.
|
|
5800
5882
|
*/
|
|
5801
5883
|
_listByProject(resourceGroupName, projectName, options) {
|
|
5802
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$
|
|
5884
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$3);
|
|
5803
5885
|
}
|
|
5804
5886
|
/**
|
|
5805
5887
|
* Get a VMware collector.
|
|
@@ -5809,7 +5891,7 @@ class VMwareCollectorsImpl {
|
|
|
5809
5891
|
* @param options The options parameters.
|
|
5810
5892
|
*/
|
|
5811
5893
|
get(resourceGroupName, projectName, vmWareCollectorName, options) {
|
|
5812
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, vmWareCollectorName, options }, getOperationSpec$
|
|
5894
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, vmWareCollectorName, options }, getOperationSpec$3);
|
|
5813
5895
|
}
|
|
5814
5896
|
/**
|
|
5815
5897
|
* Create or Update VMware collector
|
|
@@ -5819,7 +5901,7 @@ class VMwareCollectorsImpl {
|
|
|
5819
5901
|
* @param options The options parameters.
|
|
5820
5902
|
*/
|
|
5821
5903
|
create(resourceGroupName, projectName, vmWareCollectorName, options) {
|
|
5822
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, vmWareCollectorName, options }, createOperationSpec$
|
|
5904
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, vmWareCollectorName, options }, createOperationSpec$1);
|
|
5823
5905
|
}
|
|
5824
5906
|
/**
|
|
5825
5907
|
* Delete a VMware collector from the project.
|
|
@@ -5829,12 +5911,12 @@ class VMwareCollectorsImpl {
|
|
|
5829
5911
|
* @param options The options parameters.
|
|
5830
5912
|
*/
|
|
5831
5913
|
delete(resourceGroupName, projectName, vmWareCollectorName, options) {
|
|
5832
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, vmWareCollectorName, options }, deleteOperationSpec$
|
|
5914
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, vmWareCollectorName, options }, deleteOperationSpec$2);
|
|
5833
5915
|
}
|
|
5834
5916
|
}
|
|
5835
5917
|
// Operation Specifications
|
|
5836
|
-
const serializer$
|
|
5837
|
-
const listByProjectOperationSpec$
|
|
5918
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5919
|
+
const listByProjectOperationSpec$3 = {
|
|
5838
5920
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/vmwarecollectors",
|
|
5839
5921
|
httpMethod: "GET",
|
|
5840
5922
|
responses: {
|
|
@@ -5854,9 +5936,9 @@ const listByProjectOperationSpec$5 = {
|
|
|
5854
5936
|
projectName
|
|
5855
5937
|
],
|
|
5856
5938
|
headerParameters: [accept],
|
|
5857
|
-
serializer: serializer$
|
|
5939
|
+
serializer: serializer$4
|
|
5858
5940
|
};
|
|
5859
|
-
const getOperationSpec$
|
|
5941
|
+
const getOperationSpec$3 = {
|
|
5860
5942
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/vmwarecollectors/{vmWareCollectorName}",
|
|
5861
5943
|
httpMethod: "GET",
|
|
5862
5944
|
responses: {
|
|
@@ -5877,9 +5959,9 @@ const getOperationSpec$7 = {
|
|
|
5877
5959
|
vmWareCollectorName
|
|
5878
5960
|
],
|
|
5879
5961
|
headerParameters: [accept],
|
|
5880
|
-
serializer: serializer$
|
|
5962
|
+
serializer: serializer$4
|
|
5881
5963
|
};
|
|
5882
|
-
const createOperationSpec$
|
|
5964
|
+
const createOperationSpec$1 = {
|
|
5883
5965
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/vmwarecollectors/{vmWareCollectorName}",
|
|
5884
5966
|
httpMethod: "PUT",
|
|
5885
5967
|
responses: {
|
|
@@ -5906,9 +5988,9 @@ const createOperationSpec$5 = {
|
|
|
5906
5988
|
],
|
|
5907
5989
|
headerParameters: [accept, contentType],
|
|
5908
5990
|
mediaType: "json",
|
|
5909
|
-
serializer: serializer$
|
|
5991
|
+
serializer: serializer$4
|
|
5910
5992
|
};
|
|
5911
|
-
const deleteOperationSpec$
|
|
5993
|
+
const deleteOperationSpec$2 = {
|
|
5912
5994
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/vmwarecollectors/{vmWareCollectorName}",
|
|
5913
5995
|
httpMethod: "DELETE",
|
|
5914
5996
|
responses: {
|
|
@@ -5929,7 +6011,7 @@ const deleteOperationSpec$5 = {
|
|
|
5929
6011
|
vmWareCollectorName
|
|
5930
6012
|
],
|
|
5931
6013
|
headerParameters: [accept],
|
|
5932
|
-
serializer: serializer$
|
|
6014
|
+
serializer: serializer$4
|
|
5933
6015
|
};
|
|
5934
6016
|
|
|
5935
6017
|
/*
|
|
@@ -6000,7 +6082,7 @@ class ImportCollectorsImpl {
|
|
|
6000
6082
|
* @param options The options parameters.
|
|
6001
6083
|
*/
|
|
6002
6084
|
_listByProject(resourceGroupName, projectName, options) {
|
|
6003
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$
|
|
6085
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$2);
|
|
6004
6086
|
}
|
|
6005
6087
|
/**
|
|
6006
6088
|
* Get a Import collector.
|
|
@@ -6010,7 +6092,7 @@ class ImportCollectorsImpl {
|
|
|
6010
6092
|
* @param options The options parameters.
|
|
6011
6093
|
*/
|
|
6012
6094
|
get(resourceGroupName, projectName, importCollectorName, options) {
|
|
6013
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, getOperationSpec$
|
|
6095
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, getOperationSpec$2);
|
|
6014
6096
|
}
|
|
6015
6097
|
/**
|
|
6016
6098
|
* Create or Update Import collector
|
|
@@ -6020,7 +6102,7 @@ class ImportCollectorsImpl {
|
|
|
6020
6102
|
* @param options The options parameters.
|
|
6021
6103
|
*/
|
|
6022
6104
|
create(resourceGroupName, projectName, importCollectorName, options) {
|
|
6023
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, createOperationSpec
|
|
6105
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, createOperationSpec);
|
|
6024
6106
|
}
|
|
6025
6107
|
/**
|
|
6026
6108
|
* Delete a Import collector from the project.
|
|
@@ -6030,12 +6112,12 @@ class ImportCollectorsImpl {
|
|
|
6030
6112
|
* @param options The options parameters.
|
|
6031
6113
|
*/
|
|
6032
6114
|
delete(resourceGroupName, projectName, importCollectorName, options) {
|
|
6033
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, deleteOperationSpec$
|
|
6115
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, deleteOperationSpec$1);
|
|
6034
6116
|
}
|
|
6035
6117
|
}
|
|
6036
6118
|
// Operation Specifications
|
|
6037
|
-
const serializer$
|
|
6038
|
-
const listByProjectOperationSpec$
|
|
6119
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6120
|
+
const listByProjectOperationSpec$2 = {
|
|
6039
6121
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors",
|
|
6040
6122
|
httpMethod: "GET",
|
|
6041
6123
|
responses: {
|
|
@@ -6055,9 +6137,9 @@ const listByProjectOperationSpec$6 = {
|
|
|
6055
6137
|
projectName
|
|
6056
6138
|
],
|
|
6057
6139
|
headerParameters: [accept],
|
|
6058
|
-
serializer: serializer$
|
|
6140
|
+
serializer: serializer$3
|
|
6059
6141
|
};
|
|
6060
|
-
const getOperationSpec$
|
|
6142
|
+
const getOperationSpec$2 = {
|
|
6061
6143
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors/{importCollectorName}",
|
|
6062
6144
|
httpMethod: "GET",
|
|
6063
6145
|
responses: {
|
|
@@ -6078,9 +6160,9 @@ const getOperationSpec$8 = {
|
|
|
6078
6160
|
importCollectorName
|
|
6079
6161
|
],
|
|
6080
6162
|
headerParameters: [accept],
|
|
6081
|
-
serializer: serializer$
|
|
6163
|
+
serializer: serializer$3
|
|
6082
6164
|
};
|
|
6083
|
-
const createOperationSpec
|
|
6165
|
+
const createOperationSpec = {
|
|
6084
6166
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors/{importCollectorName}",
|
|
6085
6167
|
httpMethod: "PUT",
|
|
6086
6168
|
responses: {
|
|
@@ -6107,9 +6189,9 @@ const createOperationSpec$6 = {
|
|
|
6107
6189
|
],
|
|
6108
6190
|
headerParameters: [accept, contentType],
|
|
6109
6191
|
mediaType: "json",
|
|
6110
|
-
serializer: serializer$
|
|
6192
|
+
serializer: serializer$3
|
|
6111
6193
|
};
|
|
6112
|
-
const deleteOperationSpec$
|
|
6194
|
+
const deleteOperationSpec$1 = {
|
|
6113
6195
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors/{importCollectorName}",
|
|
6114
6196
|
httpMethod: "DELETE",
|
|
6115
6197
|
responses: {
|
|
@@ -6130,7 +6212,7 @@ const deleteOperationSpec$6 = {
|
|
|
6130
6212
|
importCollectorName
|
|
6131
6213
|
],
|
|
6132
6214
|
headerParameters: [accept],
|
|
6133
|
-
serializer: serializer$
|
|
6215
|
+
serializer: serializer$3
|
|
6134
6216
|
};
|
|
6135
6217
|
|
|
6136
6218
|
/*
|
|
@@ -6157,7 +6239,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6157
6239
|
* @param options The options parameters.
|
|
6158
6240
|
*/
|
|
6159
6241
|
listByProject(resourceGroupName, projectName, options) {
|
|
6160
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$
|
|
6242
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec$1);
|
|
6161
6243
|
}
|
|
6162
6244
|
/**
|
|
6163
6245
|
* Get information related to a specific private endpoint connection in the project. Returns a json
|
|
@@ -6173,7 +6255,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6173
6255
|
projectName,
|
|
6174
6256
|
privateEndpointConnectionName,
|
|
6175
6257
|
options
|
|
6176
|
-
}, getOperationSpec$
|
|
6258
|
+
}, getOperationSpec$1);
|
|
6177
6259
|
}
|
|
6178
6260
|
/**
|
|
6179
6261
|
* Update a specific private endpoint connection in the project.
|
|
@@ -6188,7 +6270,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6188
6270
|
projectName,
|
|
6189
6271
|
privateEndpointConnectionName,
|
|
6190
6272
|
options
|
|
6191
|
-
}, updateOperationSpec
|
|
6273
|
+
}, updateOperationSpec);
|
|
6192
6274
|
}
|
|
6193
6275
|
/**
|
|
6194
6276
|
* Delete the private endpoint connection from the project. T.
|
|
@@ -6204,12 +6286,12 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6204
6286
|
projectName,
|
|
6205
6287
|
privateEndpointConnectionName,
|
|
6206
6288
|
options
|
|
6207
|
-
}, deleteOperationSpec
|
|
6289
|
+
}, deleteOperationSpec);
|
|
6208
6290
|
}
|
|
6209
6291
|
}
|
|
6210
6292
|
// Operation Specifications
|
|
6211
|
-
const serializer$
|
|
6212
|
-
const listByProjectOperationSpec$
|
|
6293
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6294
|
+
const listByProjectOperationSpec$1 = {
|
|
6213
6295
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentprojects/{projectName}/privateEndpointConnections",
|
|
6214
6296
|
httpMethod: "GET",
|
|
6215
6297
|
responses: {
|
|
@@ -6229,9 +6311,9 @@ const listByProjectOperationSpec$7 = {
|
|
|
6229
6311
|
projectName
|
|
6230
6312
|
],
|
|
6231
6313
|
headerParameters: [accept],
|
|
6232
|
-
serializer: serializer$
|
|
6314
|
+
serializer: serializer$2
|
|
6233
6315
|
};
|
|
6234
|
-
const getOperationSpec$
|
|
6316
|
+
const getOperationSpec$1 = {
|
|
6235
6317
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentprojects/{projectName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
6236
6318
|
httpMethod: "GET",
|
|
6237
6319
|
responses: {
|
|
@@ -6252,9 +6334,9 @@ const getOperationSpec$9 = {
|
|
|
6252
6334
|
privateEndpointConnectionName
|
|
6253
6335
|
],
|
|
6254
6336
|
headerParameters: [accept],
|
|
6255
|
-
serializer: serializer$
|
|
6337
|
+
serializer: serializer$2
|
|
6256
6338
|
};
|
|
6257
|
-
const updateOperationSpec
|
|
6339
|
+
const updateOperationSpec = {
|
|
6258
6340
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentprojects/{projectName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
6259
6341
|
httpMethod: "PUT",
|
|
6260
6342
|
responses: {
|
|
@@ -6281,9 +6363,9 @@ const updateOperationSpec$1 = {
|
|
|
6281
6363
|
],
|
|
6282
6364
|
headerParameters: [accept, contentType],
|
|
6283
6365
|
mediaType: "json",
|
|
6284
|
-
serializer: serializer$
|
|
6366
|
+
serializer: serializer$2
|
|
6285
6367
|
};
|
|
6286
|
-
const deleteOperationSpec
|
|
6368
|
+
const deleteOperationSpec = {
|
|
6287
6369
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentprojects/{projectName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
6288
6370
|
httpMethod: "DELETE",
|
|
6289
6371
|
responses: {
|
|
@@ -6304,7 +6386,7 @@ const deleteOperationSpec$7 = {
|
|
|
6304
6386
|
privateEndpointConnectionName
|
|
6305
6387
|
],
|
|
6306
6388
|
headerParameters: [accept],
|
|
6307
|
-
serializer: serializer$
|
|
6389
|
+
serializer: serializer$2
|
|
6308
6390
|
};
|
|
6309
6391
|
|
|
6310
6392
|
/*
|
|
@@ -6332,7 +6414,7 @@ class PrivateLinkResourceOperationsImpl {
|
|
|
6332
6414
|
* @param options The options parameters.
|
|
6333
6415
|
*/
|
|
6334
6416
|
get(resourceGroupName, projectName, privateLinkResourceName, options) {
|
|
6335
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, privateLinkResourceName, options }, getOperationSpec
|
|
6417
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, privateLinkResourceName, options }, getOperationSpec);
|
|
6336
6418
|
}
|
|
6337
6419
|
/**
|
|
6338
6420
|
* Get all private link resources created in the project. Returns a json array of objects of type
|
|
@@ -6342,12 +6424,12 @@ class PrivateLinkResourceOperationsImpl {
|
|
|
6342
6424
|
* @param options The options parameters.
|
|
6343
6425
|
*/
|
|
6344
6426
|
listByProject(resourceGroupName, projectName, options) {
|
|
6345
|
-
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec
|
|
6427
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec);
|
|
6346
6428
|
}
|
|
6347
6429
|
}
|
|
6348
6430
|
// Operation Specifications
|
|
6349
|
-
const serializer$
|
|
6350
|
-
const getOperationSpec
|
|
6431
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6432
|
+
const getOperationSpec = {
|
|
6351
6433
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentprojects/{projectName}/privateLinkResources/{privateLinkResourceName}",
|
|
6352
6434
|
httpMethod: "GET",
|
|
6353
6435
|
responses: {
|
|
@@ -6368,9 +6450,9 @@ const getOperationSpec$a = {
|
|
|
6368
6450
|
privateLinkResourceName
|
|
6369
6451
|
],
|
|
6370
6452
|
headerParameters: [accept],
|
|
6371
|
-
serializer: serializer$
|
|
6453
|
+
serializer: serializer$1
|
|
6372
6454
|
};
|
|
6373
|
-
const listByProjectOperationSpec
|
|
6455
|
+
const listByProjectOperationSpec = {
|
|
6374
6456
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentprojects/{projectName}/privateLinkResources",
|
|
6375
6457
|
httpMethod: "GET",
|
|
6376
6458
|
responses: {
|
|
@@ -6390,7 +6472,7 @@ const listByProjectOperationSpec$8 = {
|
|
|
6390
6472
|
projectName
|
|
6391
6473
|
],
|
|
6392
6474
|
headerParameters: [accept],
|
|
6393
|
-
serializer: serializer$
|
|
6475
|
+
serializer: serializer$1
|
|
6394
6476
|
};
|
|
6395
6477
|
|
|
6396
6478
|
/*
|
|
@@ -6457,12 +6539,12 @@ class OperationsImpl {
|
|
|
6457
6539
|
* @param options The options parameters.
|
|
6458
6540
|
*/
|
|
6459
6541
|
_list(options) {
|
|
6460
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec
|
|
6542
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
6461
6543
|
}
|
|
6462
6544
|
}
|
|
6463
6545
|
// Operation Specifications
|
|
6464
|
-
const serializer
|
|
6465
|
-
const listOperationSpec
|
|
6546
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
6547
|
+
const listOperationSpec = {
|
|
6466
6548
|
path: "/providers/Microsoft.Migrate/operations",
|
|
6467
6549
|
httpMethod: "GET",
|
|
6468
6550
|
responses: {
|
|
@@ -6472,7 +6554,7 @@ const listOperationSpec$1 = {
|
|
|
6472
6554
|
},
|
|
6473
6555
|
urlParameters: [$host],
|
|
6474
6556
|
headerParameters: [accept],
|
|
6475
|
-
serializer
|
|
6557
|
+
serializer
|
|
6476
6558
|
};
|
|
6477
6559
|
|
|
6478
6560
|
/*
|
|
@@ -6482,7 +6564,7 @@ const listOperationSpec$1 = {
|
|
|
6482
6564
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6483
6565
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6484
6566
|
*/
|
|
6485
|
-
class AzureMigrateV2 extends
|
|
6567
|
+
class AzureMigrateV2 extends coreClient__namespace.ServiceClient {
|
|
6486
6568
|
/**
|
|
6487
6569
|
* Initializes a new instance of the AzureMigrateV2 class.
|
|
6488
6570
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -6490,6 +6572,7 @@ class AzureMigrateV2 extends coreClient.ServiceClient {
|
|
|
6490
6572
|
* @param options The parameter options
|
|
6491
6573
|
*/
|
|
6492
6574
|
constructor(credentials, subscriptionId, options) {
|
|
6575
|
+
var _a, _b;
|
|
6493
6576
|
if (credentials === undefined) {
|
|
6494
6577
|
throw new Error("'credentials' cannot be null");
|
|
6495
6578
|
}
|
|
@@ -6504,7 +6587,7 @@ class AzureMigrateV2 extends coreClient.ServiceClient {
|
|
|
6504
6587
|
requestContentType: "application/json; charset=utf-8",
|
|
6505
6588
|
credential: credentials
|
|
6506
6589
|
};
|
|
6507
|
-
const packageDetails = `azsdk-js-arm-migrate/2.0.
|
|
6590
|
+
const packageDetails = `azsdk-js-arm-migrate/2.0.1`;
|
|
6508
6591
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
6509
6592
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
6510
6593
|
: `${packageDetails}`;
|
|
@@ -6513,8 +6596,24 @@ class AzureMigrateV2 extends coreClient.ServiceClient {
|
|
|
6513
6596
|
}
|
|
6514
6597
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
6515
6598
|
userAgentPrefix
|
|
6516
|
-
}, baseUri: options.endpoint
|
|
6599
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
6517
6600
|
super(optionsWithDefaults);
|
|
6601
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
6602
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
6603
|
+
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
6604
|
+
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
6605
|
+
if (!bearerTokenAuthenticationPolicyFound) {
|
|
6606
|
+
this.pipeline.removePolicy({
|
|
6607
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
6608
|
+
});
|
|
6609
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
6610
|
+
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
|
6611
|
+
challengeCallbacks: {
|
|
6612
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
6613
|
+
}
|
|
6614
|
+
}));
|
|
6615
|
+
}
|
|
6616
|
+
}
|
|
6518
6617
|
// Parameter assignments
|
|
6519
6618
|
this.subscriptionId = subscriptionId;
|
|
6520
6619
|
// Assigning values to Constant parameters
|