@azure/arm-migrate 1.2.1 → 2.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 +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -81
- package/dist/index.js +6539 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/assessedMachinesGet.d.ts +2 -0
- package/dist-esm/samples-dev/assessedMachinesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessedMachinesGet.js +34 -0
- package/dist-esm/samples-dev/assessedMachinesGet.js.map +1 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessment.d.ts +2 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessment.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessment.js +55 -0
- package/dist-esm/samples-dev/assessedMachinesListByAssessment.js.map +1 -0
- package/dist-esm/samples-dev/assessmentOptionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentOptionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentOptionsGet.js +45 -0
- package/dist-esm/samples-dev/assessmentOptionsGet.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsCreate.js +79 -0
- package/dist-esm/samples-dev/assessmentsCreate.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsDelete.js +39 -0
- package/dist-esm/samples-dev/assessmentsDelete.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsGet.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsGet.js +33 -0
- package/dist-esm/samples-dev/assessmentsGet.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrl.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrl.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrl.js +33 -0
- package/dist-esm/samples-dev/assessmentsGetReportDownloadUrl.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByGroup.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsListByGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByGroup.js +52 -0
- package/dist-esm/samples-dev/assessmentsListByGroup.js.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/assessmentsListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/assessmentsListByProject.js +51 -0
- package/dist-esm/samples-dev/assessmentsListByProject.js.map +1 -0
- package/dist-esm/samples-dev/groupsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/groupsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsCreate.js +43 -0
- package/dist-esm/samples-dev/groupsCreate.js.map +1 -0
- package/dist-esm/samples-dev/groupsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/groupsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsDelete.js +38 -0
- package/dist-esm/samples-dev/groupsDelete.js.map +1 -0
- package/dist-esm/samples-dev/groupsGet.d.ts +2 -0
- package/dist-esm/samples-dev/groupsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsGet.js +32 -0
- package/dist-esm/samples-dev/groupsGet.js.map +1 -0
- package/dist-esm/samples-dev/groupsListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/groupsListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsListByProject.js +45 -0
- package/dist-esm/samples-dev/groupsListByProject.js.map +1 -0
- package/dist-esm/samples-dev/groupsUpdateMachines.d.ts +2 -0
- package/dist-esm/samples-dev/groupsUpdateMachines.d.ts.map +1 -0
- package/dist-esm/samples-dev/groupsUpdateMachines.js +32 -0
- package/dist-esm/samples-dev/groupsUpdateMachines.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreate.js +48 -0
- package/dist-esm/samples-dev/hyperVCollectorsCreate.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsDelete.js +32 -0
- package/dist-esm/samples-dev/hyperVCollectorsDelete.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsGet.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsGet.js +32 -0
- package/dist-esm/samples-dev/hyperVCollectorsGet.js.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProject.js +45 -0
- package/dist-esm/samples-dev/hyperVCollectorsListByProject.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsCreate.js +42 -0
- package/dist-esm/samples-dev/importCollectorsCreate.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsDelete.js +32 -0
- package/dist-esm/samples-dev/importCollectorsDelete.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsGet.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsGet.js +32 -0
- package/dist-esm/samples-dev/importCollectorsGet.js.map +1 -0
- package/dist-esm/samples-dev/importCollectorsListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/importCollectorsListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/importCollectorsListByProject.js +45 -0
- package/dist-esm/samples-dev/importCollectorsListByProject.js.map +1 -0
- package/dist-esm/samples-dev/machinesGet.d.ts +2 -0
- package/dist-esm/samples-dev/machinesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/machinesGet.js +32 -0
- package/dist-esm/samples-dev/machinesGet.js.map +1 -0
- package/dist-esm/samples-dev/machinesListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/machinesListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/machinesListByProject.js +45 -0
- package/dist-esm/samples-dev/machinesListByProject.js.map +1 -0
- package/dist-esm/samples-dev/operationsList.d.ts +2 -0
- package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsList.js +43 -0
- package/dist-esm/samples-dev/operationsList.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +34 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByProject.js +31 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByProject.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.js +32 -0
- package/dist-esm/samples-dev/privateLinkResourcesGet.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByProject.js +31 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByProject.js.map +1 -0
- package/dist-esm/samples-dev/projectsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsCreate.js +43 -0
- package/dist-esm/samples-dev/projectsCreate.js.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.js +31 -0
- package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
- package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
- package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsGet.js +31 -0
- package/dist-esm/samples-dev/projectsGet.js.map +1 -0
- package/dist-esm/samples-dev/projectsList.d.ts +2 -0
- package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsList.js +44 -0
- package/dist-esm/samples-dev/projectsList.js.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.js +43 -0
- package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsCreate.js +48 -0
- package/dist-esm/samples-dev/serverCollectorsCreate.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsDelete.js +32 -0
- package/dist-esm/samples-dev/serverCollectorsDelete.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsGet.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsGet.js +32 -0
- package/dist-esm/samples-dev/serverCollectorsGet.js.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/serverCollectorsListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCollectorsListByProject.js +45 -0
- package/dist-esm/samples-dev/serverCollectorsListByProject.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreate.js +48 -0
- package/dist-esm/samples-dev/vMwareCollectorsCreate.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsDelete.js +32 -0
- package/dist-esm/samples-dev/vMwareCollectorsDelete.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsGet.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsGet.js +32 -0
- package/dist-esm/samples-dev/vMwareCollectorsGet.js.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProject.d.ts +2 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProject.js +45 -0
- package/dist-esm/samples-dev/vMwareCollectorsListByProject.js.map +1 -0
- package/dist-esm/src/azureMigrateV2.d.ts +29 -0
- package/dist-esm/src/azureMigrateV2.d.ts.map +1 -0
- package/dist-esm/src/azureMigrateV2.js +62 -0
- package/dist-esm/src/azureMigrateV2.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2794 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +555 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +103 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +3033 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +30 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +240 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/assessedMachines.d.ts +69 -0
- package/dist-esm/src/operations/assessedMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/assessedMachines.js +215 -0
- package/dist-esm/src/operations/assessedMachines.js.map +1 -0
- package/dist-esm/src/operations/assessments.d.ts +114 -0
- package/dist-esm/src/operations/assessments.d.ts.map +1 -0
- package/dist-esm/src/operations/assessments.js +354 -0
- package/dist-esm/src/operations/assessments.js.map +1 -0
- package/dist-esm/src/operations/groups.d.ts +74 -0
- package/dist-esm/src/operations/groups.d.ts.map +1 -0
- package/dist-esm/src/operations/groups.js +252 -0
- package/dist-esm/src/operations/groups.js.map +1 -0
- package/dist-esm/src/operations/hyperVCollectors.d.ts +54 -0
- package/dist-esm/src/operations/hyperVCollectors.d.ts.map +1 -0
- package/dist-esm/src/operations/hyperVCollectors.js +205 -0
- package/dist-esm/src/operations/hyperVCollectors.js.map +1 -0
- package/dist-esm/src/operations/importCollectors.d.ts +54 -0
- package/dist-esm/src/operations/importCollectors.d.ts.map +1 -0
- package/dist-esm/src/operations/importCollectors.js +205 -0
- package/dist-esm/src/operations/importCollectors.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +13 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +20 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/machines.d.ts +49 -0
- package/dist-esm/src/operations/machines.d.ts.map +1 -0
- package/dist-esm/src/operations/machines.js +175 -0
- package/dist-esm/src/operations/machines.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +86 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +47 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +177 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.d.ts +30 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.js +89 -0
- package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +106 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +476 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operations/serverCollectors.d.ts +54 -0
- package/dist-esm/src/operations/serverCollectors.d.ts.map +1 -0
- package/dist-esm/src/operations/serverCollectors.js +205 -0
- package/dist-esm/src/operations/serverCollectors.js.map +1 -0
- package/dist-esm/src/operations/vMwareCollectors.d.ts +54 -0
- package/dist-esm/src/operations/vMwareCollectors.d.ts.map +1 -0
- package/dist-esm/src/operations/vMwareCollectors.js +205 -0
- package/dist-esm/src/operations/vMwareCollectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/assessedMachines.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/assessedMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/assessedMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/assessedMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/assessments.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/assessments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/assessments.js +9 -0
- package/dist-esm/src/operationsInterfaces/assessments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/groups.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/groups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/groups.js +9 -0
- package/dist-esm/src/operationsInterfaces/groups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hyperVCollectors.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/hyperVCollectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hyperVCollectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/hyperVCollectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/importCollectors.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/importCollectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/importCollectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/importCollectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +20 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/machines.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/machines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/machines.js +9 -0
- package/dist-esm/src/operationsInterfaces/machines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverCollectors.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/serverCollectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverCollectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverCollectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/vMwareCollectors.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/vMwareCollectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/vMwareCollectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/vMwareCollectors.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +78 -34
- package/review/arm-migrate.api.md +2305 -0
- package/rollup.config.js +184 -27
- package/src/azureMigrateV2.ts +127 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +2579 -1948
- package/src/models/mappers.ts +2080 -829
- package/src/models/parameters.ts +205 -35
- package/src/operations/assessedMachines.ts +206 -88
- package/src/operations/assessments.ts +301 -283
- package/src/operations/groups.ts +219 -188
- package/src/operations/hyperVCollectors.ts +277 -0
- package/src/operations/importCollectors.ts +277 -0
- package/src/operations/index.ts +9 -7
- package/src/operations/machines.ts +170 -86
- package/src/operations/operations.ts +65 -43
- package/src/operations/privateEndpointConnectionOperations.ts +233 -0
- package/src/operations/privateLinkResourceOperations.ts +121 -0
- package/src/operations/projects.ts +421 -265
- package/src/operations/serverCollectors.ts +277 -0
- package/src/operations/vMwareCollectors.ts +277 -0
- package/src/operationsInterfaces/assessedMachines.ts +60 -0
- package/src/operationsInterfaces/assessments.ts +135 -0
- package/src/operationsInterfaces/groups.ts +100 -0
- package/src/operationsInterfaces/hyperVCollectors.ts +74 -0
- package/src/operationsInterfaces/importCollectors.ts +74 -0
- package/src/operationsInterfaces/index.ts +20 -0
- package/src/operationsInterfaces/machines.ts +46 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +75 -0
- package/src/operationsInterfaces/privateLinkResourceOperations.ts +44 -0
- package/src/operationsInterfaces/projects.ts +116 -0
- package/src/operationsInterfaces/serverCollectors.ts +74 -0
- package/src/operationsInterfaces/vMwareCollectors.ts +74 -0
- package/tsconfig.json +6 -5
- package/types/arm-migrate.d.ts +3536 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-migrate.js +0 -3395
- package/dist/arm-migrate.js.map +0 -1
- package/dist/arm-migrate.min.js +0 -1
- package/dist/arm-migrate.min.js.map +0 -1
- package/esm/azureMigrate.d.ts +0 -31
- package/esm/azureMigrate.d.ts.map +0 -1
- package/esm/azureMigrate.js +0 -45
- package/esm/azureMigrate.js.map +0 -1
- package/esm/azureMigrateContext.d.ts +0 -22
- package/esm/azureMigrateContext.d.ts.map +0 -1
- package/esm/azureMigrateContext.js +0 -60
- package/esm/azureMigrateContext.js.map +0 -1
- package/esm/models/assessedMachinesMappers.d.ts +0 -2
- package/esm/models/assessedMachinesMappers.d.ts.map +0 -1
- package/esm/models/assessedMachinesMappers.js +0 -11
- package/esm/models/assessedMachinesMappers.js.map +0 -1
- package/esm/models/assessmentOptionsMappers.d.ts +0 -2
- package/esm/models/assessmentOptionsMappers.d.ts.map +0 -1
- package/esm/models/assessmentOptionsMappers.js +0 -11
- package/esm/models/assessmentOptionsMappers.js.map +0 -1
- package/esm/models/assessmentsMappers.d.ts +0 -2
- package/esm/models/assessmentsMappers.d.ts.map +0 -1
- package/esm/models/assessmentsMappers.js +0 -11
- package/esm/models/assessmentsMappers.js.map +0 -1
- package/esm/models/groupsMappers.d.ts +0 -2
- package/esm/models/groupsMappers.d.ts.map +0 -1
- package/esm/models/groupsMappers.js +0 -11
- package/esm/models/groupsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2366
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationMappers.d.ts +0 -2
- package/esm/models/locationMappers.d.ts.map +0 -1
- package/esm/models/locationMappers.js +0 -11
- package/esm/models/locationMappers.js.map +0 -1
- package/esm/models/machinesMappers.d.ts +0 -2
- package/esm/models/machinesMappers.d.ts.map +0 -1
- package/esm/models/machinesMappers.js +0 -11
- package/esm/models/machinesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -48
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -1838
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -111
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -11
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/operations/assessedMachines.d.ts +0 -82
- package/esm/operations/assessedMachines.d.ts.map +0 -1
- package/esm/operations/assessedMachines.js +0 -101
- package/esm/operations/assessedMachines.js.map +0 -1
- package/esm/operations/assessmentOptions.d.ts +0 -32
- package/esm/operations/assessmentOptions.d.ts.map +0 -1
- package/esm/operations/assessmentOptions.js +0 -56
- package/esm/operations/assessmentOptions.js.map +0 -1
- package/esm/operations/assessments.d.ts +0 -192
- package/esm/operations/assessments.d.ts.map +0 -1
- package/esm/operations/assessments.js +0 -247
- package/esm/operations/assessments.js.map +0 -1
- package/esm/operations/groups.d.ts +0 -124
- package/esm/operations/groups.d.ts.map +0 -1
- package/esm/operations/groups.js +0 -171
- package/esm/operations/groups.js.map +0 -1
- package/esm/operations/index.d.ts +0 -9
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -18
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/location.d.ts +0 -34
- package/esm/operations/location.d.ts.map +0 -1
- package/esm/operations/location.js +0 -62
- package/esm/operations/location.js.map +0 -1
- package/esm/operations/machines.d.ts +0 -62
- package/esm/operations/machines.d.ts.map +0 -1
- package/esm/operations/machines.js +0 -93
- package/esm/operations/machines.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -29
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -48
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -159
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -262
- package/esm/operations/projects.js.map +0 -1
- package/src/azureMigrate.ts +0 -62
- package/src/azureMigrateContext.ts +0 -67
- package/src/models/assessedMachinesMappers.ts +0 -28
- package/src/models/assessmentOptionsMappers.ts +0 -16
- package/src/models/assessmentsMappers.ts +0 -33
- package/src/models/groupsMappers.ts +0 -30
- package/src/models/locationMappers.ts +0 -16
- package/src/models/machinesMappers.ts +0 -28
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/projectsMappers.ts +0 -33
- package/src/operations/assessmentOptions.ts +0 -83
- package/src/operations/location.ts +0 -93
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing ImportCollectors operations. */
|
|
14
|
+
export class ImportCollectorsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class ImportCollectors class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get a list of Import collector.
|
|
24
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
25
|
+
* @param projectName Name of the Azure Migrate project.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listByProject(resourceGroupName, projectName, options) {
|
|
29
|
+
const iter = this.listByProjectPagingAll(resourceGroupName, projectName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listByProjectPagingPage(resourceGroupName, projectName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listByProjectPagingPage(resourceGroupName, projectName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listByProjectPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listByProject(resourceGroupName, projectName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
listByProjectPagingAll(resourceGroupName, projectName, options) {
|
|
49
|
+
return __asyncGenerator(this, arguments, function* listByProjectPagingAll_1() {
|
|
50
|
+
var e_1, _a;
|
|
51
|
+
try {
|
|
52
|
+
for (var _b = __asyncValues(this.listByProjectPagingPage(resourceGroupName, projectName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
53
|
+
const page = _c.value;
|
|
54
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
58
|
+
finally {
|
|
59
|
+
try {
|
|
60
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
61
|
+
}
|
|
62
|
+
finally { if (e_1) throw e_1.error; }
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get a list of Import collector.
|
|
68
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
69
|
+
* @param projectName Name of the Azure Migrate project.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
_listByProject(resourceGroupName, projectName, options) {
|
|
73
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Get a Import collector.
|
|
77
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
78
|
+
* @param projectName Name of the Azure Migrate project.
|
|
79
|
+
* @param importCollectorName Unique name of a Import collector within a project.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
get(resourceGroupName, projectName, importCollectorName, options) {
|
|
83
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, getOperationSpec);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Create or Update Import collector
|
|
87
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
88
|
+
* @param projectName Name of the Azure Migrate project.
|
|
89
|
+
* @param importCollectorName Unique name of a Import collector within a project.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
create(resourceGroupName, projectName, importCollectorName, options) {
|
|
93
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, createOperationSpec);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Delete a Import collector from the project.
|
|
97
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
98
|
+
* @param projectName Name of the Azure Migrate project.
|
|
99
|
+
* @param importCollectorName Unique name of a Import collector within a project.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
delete(resourceGroupName, projectName, importCollectorName, options) {
|
|
103
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, importCollectorName, options }, deleteOperationSpec);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
// Operation Specifications
|
|
107
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
108
|
+
const listByProjectOperationSpec = {
|
|
109
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors",
|
|
110
|
+
httpMethod: "GET",
|
|
111
|
+
responses: {
|
|
112
|
+
200: {
|
|
113
|
+
bodyMapper: Mappers.ImportCollectorList,
|
|
114
|
+
headersMapper: Mappers.ImportCollectorsListByProjectHeaders
|
|
115
|
+
},
|
|
116
|
+
default: {
|
|
117
|
+
bodyMapper: Mappers.CloudError
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
queryParameters: [Parameters.apiVersion],
|
|
121
|
+
urlParameters: [
|
|
122
|
+
Parameters.$host,
|
|
123
|
+
Parameters.subscriptionId,
|
|
124
|
+
Parameters.resourceGroupName,
|
|
125
|
+
Parameters.projectName
|
|
126
|
+
],
|
|
127
|
+
headerParameters: [Parameters.accept],
|
|
128
|
+
serializer
|
|
129
|
+
};
|
|
130
|
+
const getOperationSpec = {
|
|
131
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors/{importCollectorName}",
|
|
132
|
+
httpMethod: "GET",
|
|
133
|
+
responses: {
|
|
134
|
+
200: {
|
|
135
|
+
bodyMapper: Mappers.ImportCollector,
|
|
136
|
+
headersMapper: Mappers.ImportCollectorsGetHeaders
|
|
137
|
+
},
|
|
138
|
+
default: {
|
|
139
|
+
bodyMapper: Mappers.CloudError
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
queryParameters: [Parameters.apiVersion],
|
|
143
|
+
urlParameters: [
|
|
144
|
+
Parameters.$host,
|
|
145
|
+
Parameters.subscriptionId,
|
|
146
|
+
Parameters.resourceGroupName,
|
|
147
|
+
Parameters.projectName,
|
|
148
|
+
Parameters.importCollectorName
|
|
149
|
+
],
|
|
150
|
+
headerParameters: [Parameters.accept],
|
|
151
|
+
serializer
|
|
152
|
+
};
|
|
153
|
+
const createOperationSpec = {
|
|
154
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors/{importCollectorName}",
|
|
155
|
+
httpMethod: "PUT",
|
|
156
|
+
responses: {
|
|
157
|
+
200: {
|
|
158
|
+
bodyMapper: Mappers.ImportCollector,
|
|
159
|
+
headersMapper: Mappers.ImportCollectorsCreateHeaders
|
|
160
|
+
},
|
|
161
|
+
201: {
|
|
162
|
+
bodyMapper: Mappers.ImportCollector,
|
|
163
|
+
headersMapper: Mappers.ImportCollectorsCreateHeaders
|
|
164
|
+
},
|
|
165
|
+
default: {
|
|
166
|
+
bodyMapper: Mappers.CloudError
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
requestBody: Parameters.collectorBody3,
|
|
170
|
+
queryParameters: [Parameters.apiVersion],
|
|
171
|
+
urlParameters: [
|
|
172
|
+
Parameters.$host,
|
|
173
|
+
Parameters.subscriptionId,
|
|
174
|
+
Parameters.resourceGroupName,
|
|
175
|
+
Parameters.projectName,
|
|
176
|
+
Parameters.importCollectorName
|
|
177
|
+
],
|
|
178
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
179
|
+
mediaType: "json",
|
|
180
|
+
serializer
|
|
181
|
+
};
|
|
182
|
+
const deleteOperationSpec = {
|
|
183
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importcollectors/{importCollectorName}",
|
|
184
|
+
httpMethod: "DELETE",
|
|
185
|
+
responses: {
|
|
186
|
+
200: {
|
|
187
|
+
headersMapper: Mappers.ImportCollectorsDeleteHeaders
|
|
188
|
+
},
|
|
189
|
+
204: {},
|
|
190
|
+
default: {
|
|
191
|
+
bodyMapper: Mappers.CloudError
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
queryParameters: [Parameters.apiVersion],
|
|
195
|
+
urlParameters: [
|
|
196
|
+
Parameters.$host,
|
|
197
|
+
Parameters.subscriptionId,
|
|
198
|
+
Parameters.resourceGroupName,
|
|
199
|
+
Parameters.projectName,
|
|
200
|
+
Parameters.importCollectorName
|
|
201
|
+
],
|
|
202
|
+
headerParameters: [Parameters.accept],
|
|
203
|
+
serializer
|
|
204
|
+
};
|
|
205
|
+
//# sourceMappingURL=importCollectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"importCollectors.js","sourceRoot":"","sources":["../../../src/operations/importCollectors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAcnD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,uBAAuB,CACpC,iBAAyB,EACzB,WAAmB,EACnB,OAAqD;;YAErD,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,cAAc,CACpC,iBAAiB,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0 +1,13 @@
|
|
|
1
|
+
export * from "./projects";
|
|
2
|
+
export * from "./machines";
|
|
3
|
+
export * from "./groups";
|
|
4
|
+
export * from "./assessments";
|
|
5
|
+
export * from "./assessedMachines";
|
|
6
|
+
export * from "./hyperVCollectors";
|
|
7
|
+
export * from "./serverCollectors";
|
|
8
|
+
export * from "./vMwareCollectors";
|
|
9
|
+
export * from "./importCollectors";
|
|
10
|
+
export * from "./privateEndpointConnectionOperations";
|
|
11
|
+
export * from "./privateLinkResourceOperations";
|
|
12
|
+
export * from "./operations";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./projects";
|
|
9
|
+
export * from "./machines";
|
|
10
|
+
export * from "./groups";
|
|
11
|
+
export * from "./assessments";
|
|
12
|
+
export * from "./assessedMachines";
|
|
13
|
+
export * from "./hyperVCollectors";
|
|
14
|
+
export * from "./serverCollectors";
|
|
15
|
+
export * from "./vMwareCollectors";
|
|
16
|
+
export * from "./importCollectors";
|
|
17
|
+
export * from "./privateEndpointConnectionOperations";
|
|
18
|
+
export * from "./privateLinkResourceOperations";
|
|
19
|
+
export * from "./operations";
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Machines } from "../operationsInterfaces";
|
|
3
|
+
import { AzureMigrateV2 } from "../azureMigrateV2";
|
|
4
|
+
import { Machine, MachinesListByProjectOptionalParams, MachinesGetOptionalParams, MachinesGetResponse } from "../models";
|
|
5
|
+
/** Class containing Machines operations. */
|
|
6
|
+
export declare class MachinesImpl implements Machines {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Machines class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureMigrateV2);
|
|
13
|
+
/**
|
|
14
|
+
* Get data of all the machines available in the project. Returns a json array of objects of type
|
|
15
|
+
* 'machine' defined in Models section.
|
|
16
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
17
|
+
* @param projectName Name of the Azure Migrate project.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByProject(resourceGroupName: string, projectName: string, options?: MachinesListByProjectOptionalParams): PagedAsyncIterableIterator<Machine>;
|
|
21
|
+
private listByProjectPagingPage;
|
|
22
|
+
private listByProjectPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Get data of all the machines available in the project. Returns a json array of objects of type
|
|
25
|
+
* 'machine' defined in Models section.
|
|
26
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
27
|
+
* @param projectName Name of the Azure Migrate project.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _listByProject;
|
|
31
|
+
/**
|
|
32
|
+
* Get the machine with the specified name. Returns a json object of type 'machine' defined in Models
|
|
33
|
+
* section.
|
|
34
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
35
|
+
* @param projectName Name of the Azure Migrate project.
|
|
36
|
+
* @param machineName Unique name of a machine in private datacenter.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
get(resourceGroupName: string, projectName: string, machineName: string, options?: MachinesGetOptionalParams): Promise<MachinesGetResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* ListByProjectNext
|
|
42
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
43
|
+
* @param projectName Name of the Azure Migrate project.
|
|
44
|
+
* @param nextLink The nextLink from the previous successful call to the ListByProject method.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
private _listByProjectNext;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=machines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,OAAO,EAEP,mCAAmC,EAEnC,yBAAyB,EACzB,mBAAmB,EAEpB,MAAM,WAAW,CAAC;AAGnB,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;;;;OAMG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,OAAO,CAAC;YAuBvB,uBAAuB;YAwBvB,sBAAsB;IAcrC;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Machines operations. */
|
|
14
|
+
export class MachinesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Machines class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get data of all the machines available in the project. Returns a json array of objects of type
|
|
24
|
+
* 'machine' defined in Models section.
|
|
25
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
26
|
+
* @param projectName Name of the Azure Migrate project.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listByProject(resourceGroupName, projectName, options) {
|
|
30
|
+
const iter = this.listByProjectPagingAll(resourceGroupName, projectName, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listByProjectPagingPage(resourceGroupName, projectName, options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listByProjectPagingPage(resourceGroupName, projectName, options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listByProjectPagingPage_1() {
|
|
45
|
+
let result = yield __await(this._listByProject(resourceGroupName, projectName, options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listByProjectNext(resourceGroupName, projectName, continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listByProjectPagingAll(resourceGroupName, projectName, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listByProjectPagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listByProjectPagingPage(resourceGroupName, projectName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get data of all the machines available in the project. Returns a json array of objects of type
|
|
75
|
+
* 'machine' defined in Models section.
|
|
76
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
77
|
+
* @param projectName Name of the Azure Migrate project.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
_listByProject(resourceGroupName, projectName, options) {
|
|
81
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, options }, listByProjectOperationSpec);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Get the machine with the specified name. Returns a json object of type 'machine' defined in Models
|
|
85
|
+
* section.
|
|
86
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
87
|
+
* @param projectName Name of the Azure Migrate project.
|
|
88
|
+
* @param machineName Unique name of a machine in private datacenter.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
get(resourceGroupName, projectName, machineName, options) {
|
|
92
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, machineName, options }, getOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* ListByProjectNext
|
|
96
|
+
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
|
|
97
|
+
* @param projectName Name of the Azure Migrate project.
|
|
98
|
+
* @param nextLink The nextLink from the previous successful call to the ListByProject method.
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
_listByProjectNext(resourceGroupName, projectName, nextLink, options) {
|
|
102
|
+
return this.client.sendOperationRequest({ resourceGroupName, projectName, nextLink, options }, listByProjectNextOperationSpec);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
// Operation Specifications
|
|
106
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
107
|
+
const listByProjectOperationSpec = {
|
|
108
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines",
|
|
109
|
+
httpMethod: "GET",
|
|
110
|
+
responses: {
|
|
111
|
+
200: {
|
|
112
|
+
bodyMapper: Mappers.MachineResultList,
|
|
113
|
+
headersMapper: Mappers.MachinesListByProjectHeaders
|
|
114
|
+
},
|
|
115
|
+
default: {
|
|
116
|
+
bodyMapper: Mappers.CloudError
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
queryParameters: [Parameters.apiVersion],
|
|
120
|
+
urlParameters: [
|
|
121
|
+
Parameters.$host,
|
|
122
|
+
Parameters.subscriptionId,
|
|
123
|
+
Parameters.resourceGroupName,
|
|
124
|
+
Parameters.projectName
|
|
125
|
+
],
|
|
126
|
+
headerParameters: [Parameters.accept],
|
|
127
|
+
serializer
|
|
128
|
+
};
|
|
129
|
+
const getOperationSpec = {
|
|
130
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName}",
|
|
131
|
+
httpMethod: "GET",
|
|
132
|
+
responses: {
|
|
133
|
+
200: {
|
|
134
|
+
bodyMapper: Mappers.Machine,
|
|
135
|
+
headersMapper: Mappers.MachinesGetHeaders
|
|
136
|
+
},
|
|
137
|
+
default: {
|
|
138
|
+
bodyMapper: Mappers.CloudError
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
queryParameters: [Parameters.apiVersion],
|
|
142
|
+
urlParameters: [
|
|
143
|
+
Parameters.$host,
|
|
144
|
+
Parameters.subscriptionId,
|
|
145
|
+
Parameters.resourceGroupName,
|
|
146
|
+
Parameters.projectName,
|
|
147
|
+
Parameters.machineName
|
|
148
|
+
],
|
|
149
|
+
headerParameters: [Parameters.accept],
|
|
150
|
+
serializer
|
|
151
|
+
};
|
|
152
|
+
const listByProjectNextOperationSpec = {
|
|
153
|
+
path: "{nextLink}",
|
|
154
|
+
httpMethod: "GET",
|
|
155
|
+
responses: {
|
|
156
|
+
200: {
|
|
157
|
+
bodyMapper: Mappers.MachineResultList,
|
|
158
|
+
headersMapper: Mappers.MachinesListByProjectNextHeaders
|
|
159
|
+
},
|
|
160
|
+
default: {
|
|
161
|
+
bodyMapper: Mappers.CloudError
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
queryParameters: [Parameters.apiVersion],
|
|
165
|
+
urlParameters: [
|
|
166
|
+
Parameters.$host,
|
|
167
|
+
Parameters.subscriptionId,
|
|
168
|
+
Parameters.resourceGroupName,
|
|
169
|
+
Parameters.projectName,
|
|
170
|
+
Parameters.nextLink
|
|
171
|
+
],
|
|
172
|
+
headerParameters: [Parameters.accept],
|
|
173
|
+
serializer
|
|
174
|
+
};
|
|
175
|
+
//# sourceMappingURL=machines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machines.js","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAA6C;QAE7C,MAAM,IAAI,G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IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,wJAAwJ;IAC1J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,OAAO;YAC3B,aAAa,EAAE,OAAO,CAAC,kBAAkB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;YACrC,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operations } from "../operationsInterfaces";
|
|
3
|
+
import { AzureMigrateV2 } from "../azureMigrateV2";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
5
|
+
/** Class containing Operations operations. */
|
|
6
|
+
export declare class OperationsImpl implements Operations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Operations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureMigrateV2);
|
|
13
|
+
/**
|
|
14
|
+
* Get a list of REST API supported by Microsoft.Migrate provider.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Get a list of REST API supported by Microsoft.Migrate provider.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,SAAS,EACT,4BAA4B,EAE7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAezB,cAAc;YAOd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAKd"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Operations operations. */
|
|
14
|
+
export class OperationsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Operations class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get a list of REST API supported by Microsoft.Migrate provider.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
const iter = this.listPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._list(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
listPagingAll(options) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
48
|
+
var e_1, _a;
|
|
49
|
+
try {
|
|
50
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
51
|
+
const page = _c.value;
|
|
52
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
56
|
+
finally {
|
|
57
|
+
try {
|
|
58
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
59
|
+
}
|
|
60
|
+
finally { if (e_1) throw e_1.error; }
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get a list of REST API supported by Microsoft.Migrate provider.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
_list(options) {
|
|
69
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
// Operation Specifications
|
|
73
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
74
|
+
const listOperationSpec = {
|
|
75
|
+
path: "/providers/Microsoft.Migrate/operations",
|
|
76
|
+
httpMethod: "GET",
|
|
77
|
+
responses: {
|
|
78
|
+
200: {
|
|
79
|
+
bodyMapper: Mappers.OperationResultList
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
urlParameters: [Parameters.$host],
|
|
83
|
+
headerParameters: [Parameters.accept],
|
|
84
|
+
serializer
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,U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