@azure/arm-servicemap 2.1.0 → 3.0.0-beta.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 +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -21
- package/README.md +98 -110
- package/dist/index.js +4469 -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/smClientGroupsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smClientGroupsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smClientGroupsGet.js +35 -0
- package/dist-esm/samples-dev/smClientGroupsGet.js.map +1 -0
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts +2 -0
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js +35 -0
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js.map +1 -0
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts +2 -0
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.js +49 -0
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts +2 -0
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.js +43 -0
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.js.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsDelete.js +32 -0
- package/dist-esm/samples-dev/smMachineGroupsDelete.js.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachineGroupsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsGet.js +32 -0
- package/dist-esm/samples-dev/smMachineGroupsGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js +48 -0
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts +2 -0
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js +44 -0
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesGet.js +34 -0
- package/dist-esm/samples-dev/smMachinesGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.js +35 -0
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js +48 -0
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.js +49 -0
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js +49 -0
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesListPortsGet.js +49 -0
- package/dist-esm/samples-dev/smMachinesListPortsGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesListProcessesGet.js +49 -0
- package/dist-esm/samples-dev/smMachinesListProcessesGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesPortsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsGet.js +36 -0
- package/dist-esm/samples-dev/smMachinesPortsGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js +36 -0
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js +50 -0
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js +50 -0
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesGet.js +35 -0
- package/dist-esm/samples-dev/smMachinesProcessesGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js +36 -0
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js +50 -0
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js +50 -0
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts +2 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js +38 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js.map +1 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts +2 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js +41 -0
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js.map +1 -0
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts +2 -0
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts.map +1 -0
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js +37 -0
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js.map +1 -0
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts +2 -0
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.js +34 -0
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.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 +1126 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +58 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +91 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1005 -1054
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +22 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +124 -108
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/clientGroups.d.ts +57 -0
- package/dist-esm/src/operations/clientGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/clientGroups.js +224 -0
- package/dist-esm/src/operations/clientGroups.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/machineGroups.d.ts +71 -0
- package/dist-esm/src/operations/machineGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/machineGroups.js +285 -0
- package/dist-esm/src/operations/machineGroups.js.map +1 -0
- package/dist-esm/src/operations/machines.d.ts +177 -0
- package/dist-esm/src/operations/machines.d.ts.map +1 -0
- package/dist-esm/src/operations/machines.js +738 -0
- package/dist-esm/src/operations/machines.js.map +1 -0
- package/dist-esm/src/operations/maps.d.ts +21 -0
- package/dist-esm/src/operations/maps.d.ts.map +1 -0
- package/dist-esm/src/operations/maps.js +56 -0
- package/dist-esm/src/operations/maps.js.map +1 -0
- package/dist-esm/src/operations/ports.d.ts +93 -0
- package/dist-esm/src/operations/ports.d.ts.map +1 -0
- package/dist-esm/src/operations/ports.js +376 -0
- package/dist-esm/src/operations/ports.js.map +1 -0
- package/dist-esm/src/operations/processes.d.ts +92 -0
- package/dist-esm/src/operations/processes.d.ts.map +1 -0
- package/dist-esm/src/operations/processes.js +371 -0
- package/dist-esm/src/operations/processes.js.map +1 -0
- package/dist-esm/src/operations/summaries.d.ts +20 -0
- package/dist-esm/src/operations/summaries.d.ts.map +1 -0
- package/dist-esm/src/operations/summaries.js +57 -0
- package/dist-esm/src/operations/summaries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clientGroups.d.ts +30 -0
- package/dist-esm/src/operationsInterfaces/clientGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clientGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/clientGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +15 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/machineGroups.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/machineGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/machineGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/machineGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/machines.d.ts +68 -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/maps.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/maps.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/maps.js +9 -0
- package/dist-esm/src/operationsInterfaces/maps.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/ports.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/ports.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/ports.js +9 -0
- package/dist-esm/src/operationsInterfaces/ports.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/processes.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/processes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/processes.js +9 -0
- package/dist-esm/src/operationsInterfaces/processes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/summaries.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/summaries.js +9 -0
- package/dist-esm/src/operationsInterfaces/summaries.js.map +1 -0
- package/dist-esm/src/serviceMap.d.ts +24 -0
- package/dist-esm/src/serviceMap.d.ts.map +1 -0
- package/dist-esm/src/serviceMap.js +57 -0
- package/dist-esm/src/serviceMap.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 +79 -34
- package/review/arm-servicemap.api.md +1034 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +1362 -0
- package/{lib → src}/models/mappers.ts +1116 -1152
- package/{lib → src}/models/parameters.ts +151 -109
- package/src/operations/clientGroups.ts +310 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/machineGroups.ts +385 -0
- package/src/operations/machines.ts +1030 -0
- package/src/operations/maps.ts +77 -0
- package/src/operations/ports.ts +538 -0
- package/src/operations/processes.ts +533 -0
- package/src/operations/summaries.ts +76 -0
- package/src/operationsInterfaces/clientGroups.ts +61 -0
- package/src/operationsInterfaces/index.ts +15 -0
- package/src/operationsInterfaces/machineGroups.ts +90 -0
- package/src/operationsInterfaces/machines.ts +126 -0
- package/src/operationsInterfaces/maps.ts +30 -0
- package/src/operationsInterfaces/ports.ts +85 -0
- package/src/operationsInterfaces/processes.ts +84 -0
- package/src/operationsInterfaces/summaries.ts +27 -0
- package/src/serviceMap.ts +103 -0
- package/tsconfig.json +6 -5
- package/types/arm-servicemap.d.ts +1556 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-servicemap.js +0 -4248
- package/dist/arm-servicemap.js.map +0 -1
- package/dist/arm-servicemap.min.js +0 -1
- package/dist/arm-servicemap.min.js.map +0 -1
- package/esm/models/clientGroupsMappers.d.ts +0 -2
- package/esm/models/clientGroupsMappers.d.ts.map +0 -1
- package/esm/models/clientGroupsMappers.js +0 -11
- package/esm/models/clientGroupsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -3005
- 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/machineGroupsMappers.d.ts +0 -2
- package/esm/models/machineGroupsMappers.d.ts.map +0 -1
- package/esm/models/machineGroupsMappers.js +0 -11
- package/esm/models/machineGroupsMappers.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 -91
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/mapsMappers.d.ts +0 -2
- package/esm/models/mapsMappers.d.ts.map +0 -1
- package/esm/models/mapsMappers.js +0 -11
- package/esm/models/mapsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -18
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/portsMappers.d.ts +0 -2
- package/esm/models/portsMappers.d.ts.map +0 -1
- package/esm/models/portsMappers.js +0 -11
- package/esm/models/portsMappers.js.map +0 -1
- package/esm/models/processesMappers.d.ts +0 -2
- package/esm/models/processesMappers.d.ts.map +0 -1
- package/esm/models/processesMappers.js +0 -11
- package/esm/models/processesMappers.js.map +0 -1
- package/esm/models/summariesMappers.d.ts +0 -2
- package/esm/models/summariesMappers.d.ts.map +0 -1
- package/esm/models/summariesMappers.js +0 -11
- package/esm/models/summariesMappers.js.map +0 -1
- package/esm/operations/clientGroups.d.ts +0 -103
- package/esm/operations/clientGroups.d.ts.map +0 -1
- package/esm/operations/clientGroups.js +0 -159
- package/esm/operations/clientGroups.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/machineGroups.d.ts +0 -151
- package/esm/operations/machineGroups.d.ts.map +0 -1
- package/esm/operations/machineGroups.js +0 -227
- package/esm/operations/machineGroups.js.map +0 -1
- package/esm/operations/machines.d.ts +0 -284
- package/esm/operations/machines.d.ts.map +0 -1
- package/esm/operations/machines.js +0 -404
- package/esm/operations/machines.js.map +0 -1
- package/esm/operations/maps.d.ts +0 -37
- package/esm/operations/maps.d.ts.map +0 -1
- package/esm/operations/maps.js +0 -64
- package/esm/operations/maps.js.map +0 -1
- package/esm/operations/ports.d.ts +0 -158
- package/esm/operations/ports.d.ts.map +0 -1
- package/esm/operations/ports.js +0 -227
- package/esm/operations/ports.js.map +0 -1
- package/esm/operations/processes.d.ts +0 -157
- package/esm/operations/processes.d.ts.map +0 -1
- package/esm/operations/processes.js +0 -226
- package/esm/operations/processes.js.map +0 -1
- package/esm/operations/summaries.d.ts +0 -34
- package/esm/operations/summaries.d.ts.map +0 -1
- package/esm/operations/summaries.js +0 -60
- package/esm/operations/summaries.js.map +0 -1
- package/esm/servicemapManagementClient.d.ts +0 -24
- package/esm/servicemapManagementClient.d.ts.map +0 -1
- package/esm/servicemapManagementClient.js +0 -39
- package/esm/servicemapManagementClient.js.map +0 -1
- package/esm/servicemapManagementClientContext.d.ts +0 -16
- package/esm/servicemapManagementClientContext.d.ts.map +0 -1
- package/esm/servicemapManagementClientContext.js +0 -56
- package/esm/servicemapManagementClientContext.js.map +0 -1
- package/lib/models/clientGroupsMappers.ts +0 -59
- package/lib/models/index.ts +0 -3156
- package/lib/models/machineGroupsMappers.ts +0 -58
- package/lib/models/machinesMappers.ts +0 -63
- package/lib/models/mapsMappers.ts +0 -66
- package/lib/models/portsMappers.ts +0 -60
- package/lib/models/processesMappers.ts +0 -60
- package/lib/models/summariesMappers.ts +0 -57
- package/lib/operations/clientGroups.ts +0 -272
- package/lib/operations/machineGroups.ts +0 -403
- package/lib/operations/machines.ts +0 -738
- package/lib/operations/maps.ts +0 -98
- package/lib/operations/ports.ts +0 -405
- package/lib/operations/processes.ts +0 -403
- package/lib/operations/summaries.ts +0 -89
- package/lib/servicemapManagementClient.ts +0 -54
- package/lib/servicemapManagementClientContext.ts +0 -62
|
@@ -1,738 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "../models";
|
|
13
|
-
import * as Mappers from "../models/machinesMappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { ServicemapManagementClientContext } from "../servicemapManagementClientContext";
|
|
16
|
-
|
|
17
|
-
/** Class representing a Machines. */
|
|
18
|
-
export class Machines {
|
|
19
|
-
private readonly client: ServicemapManagementClientContext;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create a Machines.
|
|
23
|
-
* @param {ServicemapManagementClientContext} client Reference to the service client.
|
|
24
|
-
*/
|
|
25
|
-
constructor(client: ServicemapManagementClientContext) {
|
|
26
|
-
this.client = client;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Returns a collection of machines matching the specified conditions. The returned collection
|
|
31
|
-
* represents either machines that are active/live during the specified interval of time
|
|
32
|
-
* (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at or
|
|
33
|
-
* some time prior to the specified point in time (`live=false` and `timestamp` is specified).
|
|
34
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
35
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.MachinesListByWorkspaceResponse>
|
|
38
|
-
*/
|
|
39
|
-
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachinesListByWorkspaceOptionalParams): Promise<Models.MachinesListByWorkspaceResponse>;
|
|
40
|
-
/**
|
|
41
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
42
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
43
|
-
* @param callback The callback
|
|
44
|
-
*/
|
|
45
|
-
listByWorkspace(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback<Models.MachineCollection>): void;
|
|
46
|
-
/**
|
|
47
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
48
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
49
|
-
* @param options The optional parameters
|
|
50
|
-
* @param callback The callback
|
|
51
|
-
*/
|
|
52
|
-
listByWorkspace(resourceGroupName: string, workspaceName: string, options: Models.MachinesListByWorkspaceOptionalParams, callback: msRest.ServiceCallback<Models.MachineCollection>): void;
|
|
53
|
-
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachinesListByWorkspaceOptionalParams | msRest.ServiceCallback<Models.MachineCollection>, callback?: msRest.ServiceCallback<Models.MachineCollection>): Promise<Models.MachinesListByWorkspaceResponse> {
|
|
54
|
-
return this.client.sendOperationRequest(
|
|
55
|
-
{
|
|
56
|
-
resourceGroupName,
|
|
57
|
-
workspaceName,
|
|
58
|
-
options
|
|
59
|
-
},
|
|
60
|
-
listByWorkspaceOperationSpec,
|
|
61
|
-
callback) as Promise<Models.MachinesListByWorkspaceResponse>;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Returns the specified machine.
|
|
66
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
67
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
68
|
-
* @param machineName Machine resource name.
|
|
69
|
-
* @param [options] The optional parameters
|
|
70
|
-
* @returns Promise<Models.MachinesGetResponse>
|
|
71
|
-
*/
|
|
72
|
-
get(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetOptionalParams): Promise<Models.MachinesGetResponse>;
|
|
73
|
-
/**
|
|
74
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
75
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
76
|
-
* @param machineName Machine resource name.
|
|
77
|
-
* @param callback The callback
|
|
78
|
-
*/
|
|
79
|
-
get(resourceGroupName: string, workspaceName: string, machineName: string, callback: msRest.ServiceCallback<Models.Machine>): void;
|
|
80
|
-
/**
|
|
81
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
82
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
83
|
-
* @param machineName Machine resource name.
|
|
84
|
-
* @param options The optional parameters
|
|
85
|
-
* @param callback The callback
|
|
86
|
-
*/
|
|
87
|
-
get(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesGetOptionalParams, callback: msRest.ServiceCallback<Models.Machine>): void;
|
|
88
|
-
get(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetOptionalParams | msRest.ServiceCallback<Models.Machine>, callback?: msRest.ServiceCallback<Models.Machine>): Promise<Models.MachinesGetResponse> {
|
|
89
|
-
return this.client.sendOperationRequest(
|
|
90
|
-
{
|
|
91
|
-
resourceGroupName,
|
|
92
|
-
workspaceName,
|
|
93
|
-
machineName,
|
|
94
|
-
options
|
|
95
|
-
},
|
|
96
|
-
getOperationSpec,
|
|
97
|
-
callback) as Promise<Models.MachinesGetResponse>;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Obtains the liveness status of the machine during the specified time interval.
|
|
102
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
103
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
104
|
-
* @param machineName Machine resource name.
|
|
105
|
-
* @param [options] The optional parameters
|
|
106
|
-
* @returns Promise<Models.MachinesGetLivenessResponse>
|
|
107
|
-
*/
|
|
108
|
-
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetLivenessOptionalParams): Promise<Models.MachinesGetLivenessResponse>;
|
|
109
|
-
/**
|
|
110
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
111
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
112
|
-
* @param machineName Machine resource name.
|
|
113
|
-
* @param callback The callback
|
|
114
|
-
*/
|
|
115
|
-
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, callback: msRest.ServiceCallback<Models.Liveness>): void;
|
|
116
|
-
/**
|
|
117
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
118
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
119
|
-
* @param machineName Machine resource name.
|
|
120
|
-
* @param options The optional parameters
|
|
121
|
-
* @param callback The callback
|
|
122
|
-
*/
|
|
123
|
-
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesGetLivenessOptionalParams, callback: msRest.ServiceCallback<Models.Liveness>): void;
|
|
124
|
-
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesGetLivenessOptionalParams | msRest.ServiceCallback<Models.Liveness>, callback?: msRest.ServiceCallback<Models.Liveness>): Promise<Models.MachinesGetLivenessResponse> {
|
|
125
|
-
return this.client.sendOperationRequest(
|
|
126
|
-
{
|
|
127
|
-
resourceGroupName,
|
|
128
|
-
workspaceName,
|
|
129
|
-
machineName,
|
|
130
|
-
options
|
|
131
|
-
},
|
|
132
|
-
getLivenessOperationSpec,
|
|
133
|
-
callback) as Promise<Models.MachinesGetLivenessResponse>;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Returns a collection of connections terminating or originating at the specified machine
|
|
138
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
139
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
140
|
-
* @param machineName Machine resource name.
|
|
141
|
-
* @param [options] The optional parameters
|
|
142
|
-
* @returns Promise<Models.MachinesListConnectionsResponse>
|
|
143
|
-
*/
|
|
144
|
-
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListConnectionsOptionalParams): Promise<Models.MachinesListConnectionsResponse>;
|
|
145
|
-
/**
|
|
146
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
147
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
148
|
-
* @param machineName Machine resource name.
|
|
149
|
-
* @param callback The callback
|
|
150
|
-
*/
|
|
151
|
-
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, callback: msRest.ServiceCallback<Models.ConnectionCollection>): void;
|
|
152
|
-
/**
|
|
153
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
154
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
155
|
-
* @param machineName Machine resource name.
|
|
156
|
-
* @param options The optional parameters
|
|
157
|
-
* @param callback The callback
|
|
158
|
-
*/
|
|
159
|
-
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListConnectionsOptionalParams, callback: msRest.ServiceCallback<Models.ConnectionCollection>): void;
|
|
160
|
-
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListConnectionsOptionalParams | msRest.ServiceCallback<Models.ConnectionCollection>, callback?: msRest.ServiceCallback<Models.ConnectionCollection>): Promise<Models.MachinesListConnectionsResponse> {
|
|
161
|
-
return this.client.sendOperationRequest(
|
|
162
|
-
{
|
|
163
|
-
resourceGroupName,
|
|
164
|
-
workspaceName,
|
|
165
|
-
machineName,
|
|
166
|
-
options
|
|
167
|
-
},
|
|
168
|
-
listConnectionsOperationSpec,
|
|
169
|
-
callback) as Promise<Models.MachinesListConnectionsResponse>;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Returns a collection of processes on the specified machine matching the specified conditions.
|
|
174
|
-
* The returned collection represents either processes that are active/live during the specified
|
|
175
|
-
* interval of time (`live=true` and `startTime`/`endTime` are specified) or that are known to
|
|
176
|
-
* have existed at or some time prior to the specified point in time (`live=false` and `timestamp`
|
|
177
|
-
* is specified).
|
|
178
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
179
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
180
|
-
* @param machineName Machine resource name.
|
|
181
|
-
* @param [options] The optional parameters
|
|
182
|
-
* @returns Promise<Models.MachinesListProcessesResponse>
|
|
183
|
-
*/
|
|
184
|
-
listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListProcessesOptionalParams): Promise<Models.MachinesListProcessesResponse>;
|
|
185
|
-
/**
|
|
186
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
187
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
188
|
-
* @param machineName Machine resource name.
|
|
189
|
-
* @param callback The callback
|
|
190
|
-
*/
|
|
191
|
-
listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, callback: msRest.ServiceCallback<Models.ProcessCollection>): void;
|
|
192
|
-
/**
|
|
193
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
194
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
195
|
-
* @param machineName Machine resource name.
|
|
196
|
-
* @param options The optional parameters
|
|
197
|
-
* @param callback The callback
|
|
198
|
-
*/
|
|
199
|
-
listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListProcessesOptionalParams, callback: msRest.ServiceCallback<Models.ProcessCollection>): void;
|
|
200
|
-
listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListProcessesOptionalParams | msRest.ServiceCallback<Models.ProcessCollection>, callback?: msRest.ServiceCallback<Models.ProcessCollection>): Promise<Models.MachinesListProcessesResponse> {
|
|
201
|
-
return this.client.sendOperationRequest(
|
|
202
|
-
{
|
|
203
|
-
resourceGroupName,
|
|
204
|
-
workspaceName,
|
|
205
|
-
machineName,
|
|
206
|
-
options
|
|
207
|
-
},
|
|
208
|
-
listProcessesOperationSpec,
|
|
209
|
-
callback) as Promise<Models.MachinesListProcessesResponse>;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Returns a collection of live ports on the specified machine during the specified time interval.
|
|
214
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
215
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
216
|
-
* @param machineName Machine resource name.
|
|
217
|
-
* @param [options] The optional parameters
|
|
218
|
-
* @returns Promise<Models.MachinesListPortsResponse>
|
|
219
|
-
*/
|
|
220
|
-
listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListPortsOptionalParams): Promise<Models.MachinesListPortsResponse>;
|
|
221
|
-
/**
|
|
222
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
223
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
224
|
-
* @param machineName Machine resource name.
|
|
225
|
-
* @param callback The callback
|
|
226
|
-
*/
|
|
227
|
-
listPorts(resourceGroupName: string, workspaceName: string, machineName: string, callback: msRest.ServiceCallback<Models.PortCollection>): void;
|
|
228
|
-
/**
|
|
229
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
230
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
231
|
-
* @param machineName Machine resource name.
|
|
232
|
-
* @param options The optional parameters
|
|
233
|
-
* @param callback The callback
|
|
234
|
-
*/
|
|
235
|
-
listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListPortsOptionalParams, callback: msRest.ServiceCallback<Models.PortCollection>): void;
|
|
236
|
-
listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListPortsOptionalParams | msRest.ServiceCallback<Models.PortCollection>, callback?: msRest.ServiceCallback<Models.PortCollection>): Promise<Models.MachinesListPortsResponse> {
|
|
237
|
-
return this.client.sendOperationRequest(
|
|
238
|
-
{
|
|
239
|
-
resourceGroupName,
|
|
240
|
-
workspaceName,
|
|
241
|
-
machineName,
|
|
242
|
-
options
|
|
243
|
-
},
|
|
244
|
-
listPortsOperationSpec,
|
|
245
|
-
callback) as Promise<Models.MachinesListPortsResponse>;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Returns a collection of machine groups this machine belongs to during the specified time
|
|
250
|
-
* interval.
|
|
251
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
252
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
253
|
-
* @param machineName Machine resource name.
|
|
254
|
-
* @param [options] The optional parameters
|
|
255
|
-
* @returns Promise<Models.MachinesListMachineGroupMembershipResponse>
|
|
256
|
-
*/
|
|
257
|
-
listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListMachineGroupMembershipOptionalParams): Promise<Models.MachinesListMachineGroupMembershipResponse>;
|
|
258
|
-
/**
|
|
259
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
260
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
261
|
-
* @param machineName Machine resource name.
|
|
262
|
-
* @param callback The callback
|
|
263
|
-
*/
|
|
264
|
-
listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, callback: msRest.ServiceCallback<Models.MachineGroupCollection>): void;
|
|
265
|
-
/**
|
|
266
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
267
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
268
|
-
* @param machineName Machine resource name.
|
|
269
|
-
* @param options The optional parameters
|
|
270
|
-
* @param callback The callback
|
|
271
|
-
*/
|
|
272
|
-
listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options: Models.MachinesListMachineGroupMembershipOptionalParams, callback: msRest.ServiceCallback<Models.MachineGroupCollection>): void;
|
|
273
|
-
listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options?: Models.MachinesListMachineGroupMembershipOptionalParams | msRest.ServiceCallback<Models.MachineGroupCollection>, callback?: msRest.ServiceCallback<Models.MachineGroupCollection>): Promise<Models.MachinesListMachineGroupMembershipResponse> {
|
|
274
|
-
return this.client.sendOperationRequest(
|
|
275
|
-
{
|
|
276
|
-
resourceGroupName,
|
|
277
|
-
workspaceName,
|
|
278
|
-
machineName,
|
|
279
|
-
options
|
|
280
|
-
},
|
|
281
|
-
listMachineGroupMembershipOperationSpec,
|
|
282
|
-
callback) as Promise<Models.MachinesListMachineGroupMembershipResponse>;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Returns a collection of machines matching the specified conditions. The returned collection
|
|
287
|
-
* represents either machines that are active/live during the specified interval of time
|
|
288
|
-
* (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at or
|
|
289
|
-
* some time prior to the specified point in time (`live=false` and `timestamp` is specified).
|
|
290
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
291
|
-
* @param [options] The optional parameters
|
|
292
|
-
* @returns Promise<Models.MachinesListByWorkspaceNextResponse>
|
|
293
|
-
*/
|
|
294
|
-
listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.MachinesListByWorkspaceNextResponse>;
|
|
295
|
-
/**
|
|
296
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
297
|
-
* @param callback The callback
|
|
298
|
-
*/
|
|
299
|
-
listByWorkspaceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.MachineCollection>): void;
|
|
300
|
-
/**
|
|
301
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
302
|
-
* @param options The optional parameters
|
|
303
|
-
* @param callback The callback
|
|
304
|
-
*/
|
|
305
|
-
listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MachineCollection>): void;
|
|
306
|
-
listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.MachineCollection>, callback?: msRest.ServiceCallback<Models.MachineCollection>): Promise<Models.MachinesListByWorkspaceNextResponse> {
|
|
307
|
-
return this.client.sendOperationRequest(
|
|
308
|
-
{
|
|
309
|
-
nextPageLink,
|
|
310
|
-
options
|
|
311
|
-
},
|
|
312
|
-
listByWorkspaceNextOperationSpec,
|
|
313
|
-
callback) as Promise<Models.MachinesListByWorkspaceNextResponse>;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Returns a collection of connections terminating or originating at the specified machine
|
|
318
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
319
|
-
* @param [options] The optional parameters
|
|
320
|
-
* @returns Promise<Models.MachinesListConnectionsNextResponse>
|
|
321
|
-
*/
|
|
322
|
-
listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.MachinesListConnectionsNextResponse>;
|
|
323
|
-
/**
|
|
324
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
325
|
-
* @param callback The callback
|
|
326
|
-
*/
|
|
327
|
-
listConnectionsNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ConnectionCollection>): void;
|
|
328
|
-
/**
|
|
329
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
330
|
-
* @param options The optional parameters
|
|
331
|
-
* @param callback The callback
|
|
332
|
-
*/
|
|
333
|
-
listConnectionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ConnectionCollection>): void;
|
|
334
|
-
listConnectionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ConnectionCollection>, callback?: msRest.ServiceCallback<Models.ConnectionCollection>): Promise<Models.MachinesListConnectionsNextResponse> {
|
|
335
|
-
return this.client.sendOperationRequest(
|
|
336
|
-
{
|
|
337
|
-
nextPageLink,
|
|
338
|
-
options
|
|
339
|
-
},
|
|
340
|
-
listConnectionsNextOperationSpec,
|
|
341
|
-
callback) as Promise<Models.MachinesListConnectionsNextResponse>;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Returns a collection of processes on the specified machine matching the specified conditions.
|
|
346
|
-
* The returned collection represents either processes that are active/live during the specified
|
|
347
|
-
* interval of time (`live=true` and `startTime`/`endTime` are specified) or that are known to
|
|
348
|
-
* have existed at or some time prior to the specified point in time (`live=false` and `timestamp`
|
|
349
|
-
* is specified).
|
|
350
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
351
|
-
* @param [options] The optional parameters
|
|
352
|
-
* @returns Promise<Models.MachinesListProcessesNextResponse>
|
|
353
|
-
*/
|
|
354
|
-
listProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.MachinesListProcessesNextResponse>;
|
|
355
|
-
/**
|
|
356
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
357
|
-
* @param callback The callback
|
|
358
|
-
*/
|
|
359
|
-
listProcessesNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProcessCollection>): void;
|
|
360
|
-
/**
|
|
361
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
362
|
-
* @param options The optional parameters
|
|
363
|
-
* @param callback The callback
|
|
364
|
-
*/
|
|
365
|
-
listProcessesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProcessCollection>): void;
|
|
366
|
-
listProcessesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProcessCollection>, callback?: msRest.ServiceCallback<Models.ProcessCollection>): Promise<Models.MachinesListProcessesNextResponse> {
|
|
367
|
-
return this.client.sendOperationRequest(
|
|
368
|
-
{
|
|
369
|
-
nextPageLink,
|
|
370
|
-
options
|
|
371
|
-
},
|
|
372
|
-
listProcessesNextOperationSpec,
|
|
373
|
-
callback) as Promise<Models.MachinesListProcessesNextResponse>;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Returns a collection of live ports on the specified machine during the specified time interval.
|
|
378
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
379
|
-
* @param [options] The optional parameters
|
|
380
|
-
* @returns Promise<Models.MachinesListPortsNextResponse>
|
|
381
|
-
*/
|
|
382
|
-
listPortsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.MachinesListPortsNextResponse>;
|
|
383
|
-
/**
|
|
384
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
385
|
-
* @param callback The callback
|
|
386
|
-
*/
|
|
387
|
-
listPortsNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.PortCollection>): void;
|
|
388
|
-
/**
|
|
389
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
390
|
-
* @param options The optional parameters
|
|
391
|
-
* @param callback The callback
|
|
392
|
-
*/
|
|
393
|
-
listPortsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PortCollection>): void;
|
|
394
|
-
listPortsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PortCollection>, callback?: msRest.ServiceCallback<Models.PortCollection>): Promise<Models.MachinesListPortsNextResponse> {
|
|
395
|
-
return this.client.sendOperationRequest(
|
|
396
|
-
{
|
|
397
|
-
nextPageLink,
|
|
398
|
-
options
|
|
399
|
-
},
|
|
400
|
-
listPortsNextOperationSpec,
|
|
401
|
-
callback) as Promise<Models.MachinesListPortsNextResponse>;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Returns a collection of machine groups this machine belongs to during the specified time
|
|
406
|
-
* interval.
|
|
407
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
408
|
-
* @param [options] The optional parameters
|
|
409
|
-
* @returns Promise<Models.MachinesListMachineGroupMembershipNextResponse>
|
|
410
|
-
*/
|
|
411
|
-
listMachineGroupMembershipNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.MachinesListMachineGroupMembershipNextResponse>;
|
|
412
|
-
/**
|
|
413
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
414
|
-
* @param callback The callback
|
|
415
|
-
*/
|
|
416
|
-
listMachineGroupMembershipNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.MachineGroupCollection>): void;
|
|
417
|
-
/**
|
|
418
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
419
|
-
* @param options The optional parameters
|
|
420
|
-
* @param callback The callback
|
|
421
|
-
*/
|
|
422
|
-
listMachineGroupMembershipNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MachineGroupCollection>): void;
|
|
423
|
-
listMachineGroupMembershipNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.MachineGroupCollection>, callback?: msRest.ServiceCallback<Models.MachineGroupCollection>): Promise<Models.MachinesListMachineGroupMembershipNextResponse> {
|
|
424
|
-
return this.client.sendOperationRequest(
|
|
425
|
-
{
|
|
426
|
-
nextPageLink,
|
|
427
|
-
options
|
|
428
|
-
},
|
|
429
|
-
listMachineGroupMembershipNextOperationSpec,
|
|
430
|
-
callback) as Promise<Models.MachinesListMachineGroupMembershipNextResponse>;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
// Operation Specifications
|
|
435
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
436
|
-
const listByWorkspaceOperationSpec: msRest.OperationSpec = {
|
|
437
|
-
httpMethod: "GET",
|
|
438
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines",
|
|
439
|
-
urlParameters: [
|
|
440
|
-
Parameters.subscriptionId,
|
|
441
|
-
Parameters.resourceGroupName,
|
|
442
|
-
Parameters.workspaceName
|
|
443
|
-
],
|
|
444
|
-
queryParameters: [
|
|
445
|
-
Parameters.apiVersion,
|
|
446
|
-
Parameters.live,
|
|
447
|
-
Parameters.startTime,
|
|
448
|
-
Parameters.endTime,
|
|
449
|
-
Parameters.timestamp,
|
|
450
|
-
Parameters.top
|
|
451
|
-
],
|
|
452
|
-
headerParameters: [
|
|
453
|
-
Parameters.acceptLanguage
|
|
454
|
-
],
|
|
455
|
-
responses: {
|
|
456
|
-
200: {
|
|
457
|
-
bodyMapper: Mappers.MachineCollection
|
|
458
|
-
},
|
|
459
|
-
default: {
|
|
460
|
-
bodyMapper: Mappers.ErrorResponse
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
serializer
|
|
464
|
-
};
|
|
465
|
-
|
|
466
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
467
|
-
httpMethod: "GET",
|
|
468
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}",
|
|
469
|
-
urlParameters: [
|
|
470
|
-
Parameters.subscriptionId,
|
|
471
|
-
Parameters.resourceGroupName,
|
|
472
|
-
Parameters.workspaceName,
|
|
473
|
-
Parameters.machineName
|
|
474
|
-
],
|
|
475
|
-
queryParameters: [
|
|
476
|
-
Parameters.apiVersion,
|
|
477
|
-
Parameters.timestamp
|
|
478
|
-
],
|
|
479
|
-
headerParameters: [
|
|
480
|
-
Parameters.acceptLanguage
|
|
481
|
-
],
|
|
482
|
-
responses: {
|
|
483
|
-
200: {
|
|
484
|
-
bodyMapper: Mappers.Machine
|
|
485
|
-
},
|
|
486
|
-
default: {
|
|
487
|
-
bodyMapper: Mappers.ErrorResponse
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
serializer
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
const getLivenessOperationSpec: msRest.OperationSpec = {
|
|
494
|
-
httpMethod: "GET",
|
|
495
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/liveness",
|
|
496
|
-
urlParameters: [
|
|
497
|
-
Parameters.subscriptionId,
|
|
498
|
-
Parameters.resourceGroupName,
|
|
499
|
-
Parameters.workspaceName,
|
|
500
|
-
Parameters.machineName
|
|
501
|
-
],
|
|
502
|
-
queryParameters: [
|
|
503
|
-
Parameters.apiVersion,
|
|
504
|
-
Parameters.startTime,
|
|
505
|
-
Parameters.endTime
|
|
506
|
-
],
|
|
507
|
-
headerParameters: [
|
|
508
|
-
Parameters.acceptLanguage
|
|
509
|
-
],
|
|
510
|
-
responses: {
|
|
511
|
-
200: {
|
|
512
|
-
bodyMapper: Mappers.Liveness
|
|
513
|
-
},
|
|
514
|
-
default: {
|
|
515
|
-
bodyMapper: Mappers.ErrorResponse
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
serializer
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
const listConnectionsOperationSpec: msRest.OperationSpec = {
|
|
522
|
-
httpMethod: "GET",
|
|
523
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/connections",
|
|
524
|
-
urlParameters: [
|
|
525
|
-
Parameters.subscriptionId,
|
|
526
|
-
Parameters.resourceGroupName,
|
|
527
|
-
Parameters.workspaceName,
|
|
528
|
-
Parameters.machineName
|
|
529
|
-
],
|
|
530
|
-
queryParameters: [
|
|
531
|
-
Parameters.apiVersion,
|
|
532
|
-
Parameters.startTime,
|
|
533
|
-
Parameters.endTime
|
|
534
|
-
],
|
|
535
|
-
headerParameters: [
|
|
536
|
-
Parameters.acceptLanguage
|
|
537
|
-
],
|
|
538
|
-
responses: {
|
|
539
|
-
200: {
|
|
540
|
-
bodyMapper: Mappers.ConnectionCollection
|
|
541
|
-
},
|
|
542
|
-
default: {
|
|
543
|
-
bodyMapper: Mappers.ErrorResponse
|
|
544
|
-
}
|
|
545
|
-
},
|
|
546
|
-
serializer
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
const listProcessesOperationSpec: msRest.OperationSpec = {
|
|
550
|
-
httpMethod: "GET",
|
|
551
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes",
|
|
552
|
-
urlParameters: [
|
|
553
|
-
Parameters.subscriptionId,
|
|
554
|
-
Parameters.resourceGroupName,
|
|
555
|
-
Parameters.workspaceName,
|
|
556
|
-
Parameters.machineName
|
|
557
|
-
],
|
|
558
|
-
queryParameters: [
|
|
559
|
-
Parameters.apiVersion,
|
|
560
|
-
Parameters.live,
|
|
561
|
-
Parameters.startTime,
|
|
562
|
-
Parameters.endTime,
|
|
563
|
-
Parameters.timestamp
|
|
564
|
-
],
|
|
565
|
-
headerParameters: [
|
|
566
|
-
Parameters.acceptLanguage
|
|
567
|
-
],
|
|
568
|
-
responses: {
|
|
569
|
-
200: {
|
|
570
|
-
bodyMapper: Mappers.ProcessCollection
|
|
571
|
-
},
|
|
572
|
-
default: {
|
|
573
|
-
bodyMapper: Mappers.ErrorResponse
|
|
574
|
-
}
|
|
575
|
-
},
|
|
576
|
-
serializer
|
|
577
|
-
};
|
|
578
|
-
|
|
579
|
-
const listPortsOperationSpec: msRest.OperationSpec = {
|
|
580
|
-
httpMethod: "GET",
|
|
581
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports",
|
|
582
|
-
urlParameters: [
|
|
583
|
-
Parameters.subscriptionId,
|
|
584
|
-
Parameters.resourceGroupName,
|
|
585
|
-
Parameters.workspaceName,
|
|
586
|
-
Parameters.machineName
|
|
587
|
-
],
|
|
588
|
-
queryParameters: [
|
|
589
|
-
Parameters.apiVersion,
|
|
590
|
-
Parameters.startTime,
|
|
591
|
-
Parameters.endTime
|
|
592
|
-
],
|
|
593
|
-
headerParameters: [
|
|
594
|
-
Parameters.acceptLanguage
|
|
595
|
-
],
|
|
596
|
-
responses: {
|
|
597
|
-
200: {
|
|
598
|
-
bodyMapper: Mappers.PortCollection
|
|
599
|
-
},
|
|
600
|
-
default: {
|
|
601
|
-
bodyMapper: Mappers.ErrorResponse
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
serializer
|
|
605
|
-
};
|
|
606
|
-
|
|
607
|
-
const listMachineGroupMembershipOperationSpec: msRest.OperationSpec = {
|
|
608
|
-
httpMethod: "GET",
|
|
609
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/machineGroups",
|
|
610
|
-
urlParameters: [
|
|
611
|
-
Parameters.subscriptionId,
|
|
612
|
-
Parameters.resourceGroupName,
|
|
613
|
-
Parameters.workspaceName,
|
|
614
|
-
Parameters.machineName
|
|
615
|
-
],
|
|
616
|
-
queryParameters: [
|
|
617
|
-
Parameters.apiVersion,
|
|
618
|
-
Parameters.startTime,
|
|
619
|
-
Parameters.endTime
|
|
620
|
-
],
|
|
621
|
-
headerParameters: [
|
|
622
|
-
Parameters.acceptLanguage
|
|
623
|
-
],
|
|
624
|
-
responses: {
|
|
625
|
-
200: {
|
|
626
|
-
bodyMapper: Mappers.MachineGroupCollection
|
|
627
|
-
},
|
|
628
|
-
default: {
|
|
629
|
-
bodyMapper: Mappers.ErrorResponse
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
serializer
|
|
633
|
-
};
|
|
634
|
-
|
|
635
|
-
const listByWorkspaceNextOperationSpec: msRest.OperationSpec = {
|
|
636
|
-
httpMethod: "GET",
|
|
637
|
-
baseUrl: "https://management.azure.com",
|
|
638
|
-
path: "{nextLink}",
|
|
639
|
-
urlParameters: [
|
|
640
|
-
Parameters.nextPageLink
|
|
641
|
-
],
|
|
642
|
-
headerParameters: [
|
|
643
|
-
Parameters.acceptLanguage
|
|
644
|
-
],
|
|
645
|
-
responses: {
|
|
646
|
-
200: {
|
|
647
|
-
bodyMapper: Mappers.MachineCollection
|
|
648
|
-
},
|
|
649
|
-
default: {
|
|
650
|
-
bodyMapper: Mappers.ErrorResponse
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
serializer
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
const listConnectionsNextOperationSpec: msRest.OperationSpec = {
|
|
657
|
-
httpMethod: "GET",
|
|
658
|
-
baseUrl: "https://management.azure.com",
|
|
659
|
-
path: "{nextLink}",
|
|
660
|
-
urlParameters: [
|
|
661
|
-
Parameters.nextPageLink
|
|
662
|
-
],
|
|
663
|
-
headerParameters: [
|
|
664
|
-
Parameters.acceptLanguage
|
|
665
|
-
],
|
|
666
|
-
responses: {
|
|
667
|
-
200: {
|
|
668
|
-
bodyMapper: Mappers.ConnectionCollection
|
|
669
|
-
},
|
|
670
|
-
default: {
|
|
671
|
-
bodyMapper: Mappers.ErrorResponse
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
serializer
|
|
675
|
-
};
|
|
676
|
-
|
|
677
|
-
const listProcessesNextOperationSpec: msRest.OperationSpec = {
|
|
678
|
-
httpMethod: "GET",
|
|
679
|
-
baseUrl: "https://management.azure.com",
|
|
680
|
-
path: "{nextLink}",
|
|
681
|
-
urlParameters: [
|
|
682
|
-
Parameters.nextPageLink
|
|
683
|
-
],
|
|
684
|
-
headerParameters: [
|
|
685
|
-
Parameters.acceptLanguage
|
|
686
|
-
],
|
|
687
|
-
responses: {
|
|
688
|
-
200: {
|
|
689
|
-
bodyMapper: Mappers.ProcessCollection
|
|
690
|
-
},
|
|
691
|
-
default: {
|
|
692
|
-
bodyMapper: Mappers.ErrorResponse
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
serializer
|
|
696
|
-
};
|
|
697
|
-
|
|
698
|
-
const listPortsNextOperationSpec: msRest.OperationSpec = {
|
|
699
|
-
httpMethod: "GET",
|
|
700
|
-
baseUrl: "https://management.azure.com",
|
|
701
|
-
path: "{nextLink}",
|
|
702
|
-
urlParameters: [
|
|
703
|
-
Parameters.nextPageLink
|
|
704
|
-
],
|
|
705
|
-
headerParameters: [
|
|
706
|
-
Parameters.acceptLanguage
|
|
707
|
-
],
|
|
708
|
-
responses: {
|
|
709
|
-
200: {
|
|
710
|
-
bodyMapper: Mappers.PortCollection
|
|
711
|
-
},
|
|
712
|
-
default: {
|
|
713
|
-
bodyMapper: Mappers.ErrorResponse
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
serializer
|
|
717
|
-
};
|
|
718
|
-
|
|
719
|
-
const listMachineGroupMembershipNextOperationSpec: msRest.OperationSpec = {
|
|
720
|
-
httpMethod: "GET",
|
|
721
|
-
baseUrl: "https://management.azure.com",
|
|
722
|
-
path: "{nextLink}",
|
|
723
|
-
urlParameters: [
|
|
724
|
-
Parameters.nextPageLink
|
|
725
|
-
],
|
|
726
|
-
headerParameters: [
|
|
727
|
-
Parameters.acceptLanguage
|
|
728
|
-
],
|
|
729
|
-
responses: {
|
|
730
|
-
200: {
|
|
731
|
-
bodyMapper: Mappers.MachineGroupCollection
|
|
732
|
-
},
|
|
733
|
-
default: {
|
|
734
|
-
bodyMapper: Mappers.ErrorResponse
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
serializer
|
|
738
|
-
};
|