@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
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Processes } from "../operationsInterfaces";
|
|
3
|
+
import { ServiceMap } from "../serviceMap";
|
|
4
|
+
import { Port, ProcessesListAcceptingPortsOptionalParams, Connection, ProcessesListConnectionsOptionalParams, ProcessesGetOptionalParams, ProcessesGetResponse, ProcessesGetLivenessOptionalParams, ProcessesGetLivenessResponse } from "../models";
|
|
5
|
+
/** Class containing Processes operations. */
|
|
6
|
+
export declare class ProcessesImpl implements Processes {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Processes class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: ServiceMap);
|
|
13
|
+
/**
|
|
14
|
+
* Returns a collection of ports on which this process is accepting
|
|
15
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
16
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
17
|
+
* @param machineName Machine resource name.
|
|
18
|
+
* @param processName Process resource name.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesListAcceptingPortsOptionalParams): PagedAsyncIterableIterator<Port>;
|
|
22
|
+
private listAcceptingPortsPagingPage;
|
|
23
|
+
private listAcceptingPortsPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Returns a collection of connections terminating or originating at the specified process
|
|
26
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
27
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
28
|
+
* @param machineName Machine resource name.
|
|
29
|
+
* @param processName Process resource name.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesListConnectionsOptionalParams): PagedAsyncIterableIterator<Connection>;
|
|
33
|
+
private listConnectionsPagingPage;
|
|
34
|
+
private listConnectionsPagingAll;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the specified process.
|
|
37
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
38
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
39
|
+
* @param machineName Machine resource name.
|
|
40
|
+
* @param processName Process resource name.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesGetOptionalParams): Promise<ProcessesGetResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Obtains the liveness status of the process during the specified time interval.
|
|
46
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
47
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
48
|
+
* @param machineName Machine resource name.
|
|
49
|
+
* @param processName Process resource name.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesGetLivenessOptionalParams): Promise<ProcessesGetLivenessResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Returns a collection of ports on which this process is accepting
|
|
55
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
56
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
57
|
+
* @param machineName Machine resource name.
|
|
58
|
+
* @param processName Process resource name.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
private _listAcceptingPorts;
|
|
62
|
+
/**
|
|
63
|
+
* Returns a collection of connections terminating or originating at the specified process
|
|
64
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
65
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
66
|
+
* @param machineName Machine resource name.
|
|
67
|
+
* @param processName Process resource name.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
private _listConnections;
|
|
71
|
+
/**
|
|
72
|
+
* ListAcceptingPortsNext
|
|
73
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
74
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
75
|
+
* @param machineName Machine resource name.
|
|
76
|
+
* @param processName Process resource name.
|
|
77
|
+
* @param nextLink The nextLink from the previous successful call to the ListAcceptingPorts method.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
private _listAcceptingPortsNext;
|
|
81
|
+
/**
|
|
82
|
+
* ListConnectionsNext
|
|
83
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
84
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
85
|
+
* @param machineName Machine resource name.
|
|
86
|
+
* @param processName Process resource name.
|
|
87
|
+
* @param nextLink The nextLink from the previous successful call to the ListConnections method.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
private _listConnectionsNext;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=processes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processes.d.ts","sourceRoot":"","sources":["../../../src/operations/processes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,IAAI,EAEJ,yCAAyC,EACzC,UAAU,EAEV,sCAAsC,EACtC,0BAA0B,EAC1B,oBAAoB,EACpB,kCAAkC,EAClC,4BAA4B,EAK7B,MAAM,WAAW,CAAC;AAGnB,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAa;IAEpC;;;OAGG;gBACS,MAAM,EAAE,UAAU;IAI9B;;;;;;;OAOG;IACI,kBAAkB,CACvB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,IAAI,CAAC;YA2BpB,4BAA4B;YA8B5B,2BAA2B;IAkB1C;;;;;;;OAOG;IACI,eAAe,CACpB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,UAAU,CAAC;YA2B1B,yBAAyB;YA8BzB,wBAAwB;IAkBvC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;IAa3B;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;IAaxB;;;;;;;;OAQG;IACH,OAAO,CAAC,uBAAuB;IAqB/B;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;CAoB7B"}
|
|
@@ -0,0 +1,371 @@
|
|
|
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 Processes operations. */
|
|
14
|
+
export class ProcessesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Processes class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Returns a collection of ports on which this process is accepting
|
|
24
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
25
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
26
|
+
* @param machineName Machine resource name.
|
|
27
|
+
* @param processName Process resource name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listAcceptingPorts(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
31
|
+
const iter = this.listAcceptingPortsPagingAll(resourceGroupName, workspaceName, machineName, processName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listAcceptingPortsPagingPage(resourceGroupName, workspaceName, machineName, processName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listAcceptingPortsPagingPage(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listAcceptingPortsPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._listAcceptingPorts(resourceGroupName, workspaceName, machineName, processName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
let continuationToken = result.nextLink;
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = yield __await(this._listAcceptingPortsNext(resourceGroupName, workspaceName, machineName, processName, continuationToken, options));
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
listAcceptingPortsPagingAll(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
57
|
+
return __asyncGenerator(this, arguments, function* listAcceptingPortsPagingAll_1() {
|
|
58
|
+
var e_1, _a;
|
|
59
|
+
try {
|
|
60
|
+
for (var _b = __asyncValues(this.listAcceptingPortsPagingPage(resourceGroupName, workspaceName, machineName, processName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
+
const page = _c.value;
|
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns a collection of connections terminating or originating at the specified process
|
|
76
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
77
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
78
|
+
* @param machineName Machine resource name.
|
|
79
|
+
* @param processName Process resource name.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
listConnections(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
83
|
+
const iter = this.listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, processName, options);
|
|
84
|
+
return {
|
|
85
|
+
next() {
|
|
86
|
+
return iter.next();
|
|
87
|
+
},
|
|
88
|
+
[Symbol.asyncIterator]() {
|
|
89
|
+
return this;
|
|
90
|
+
},
|
|
91
|
+
byPage: () => {
|
|
92
|
+
return this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, processName, options);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
97
|
+
return __asyncGenerator(this, arguments, function* listConnectionsPagingPage_1() {
|
|
98
|
+
let result = yield __await(this._listConnections(resourceGroupName, workspaceName, machineName, processName, options));
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
let continuationToken = result.nextLink;
|
|
101
|
+
while (continuationToken) {
|
|
102
|
+
result = yield __await(this._listConnectionsNext(resourceGroupName, workspaceName, machineName, processName, continuationToken, options));
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
yield yield __await(result.value || []);
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
109
|
+
return __asyncGenerator(this, arguments, function* listConnectionsPagingAll_1() {
|
|
110
|
+
var e_2, _a;
|
|
111
|
+
try {
|
|
112
|
+
for (var _b = __asyncValues(this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, processName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
113
|
+
const page = _c.value;
|
|
114
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
118
|
+
finally {
|
|
119
|
+
try {
|
|
120
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
121
|
+
}
|
|
122
|
+
finally { if (e_2) throw e_2.error; }
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Returns the specified process.
|
|
128
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
129
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
130
|
+
* @param machineName Machine resource name.
|
|
131
|
+
* @param processName Process resource name.
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
get(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
135
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, getOperationSpec);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Obtains the liveness status of the process during the specified time interval.
|
|
139
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
140
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
141
|
+
* @param machineName Machine resource name.
|
|
142
|
+
* @param processName Process resource name.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
getLiveness(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
146
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, getLivenessOperationSpec);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Returns a collection of ports on which this process is accepting
|
|
150
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
151
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
152
|
+
* @param machineName Machine resource name.
|
|
153
|
+
* @param processName Process resource name.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
_listAcceptingPorts(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
157
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, listAcceptingPortsOperationSpec);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Returns a collection of connections terminating or originating at the specified process
|
|
161
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
162
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
163
|
+
* @param machineName Machine resource name.
|
|
164
|
+
* @param processName Process resource name.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
_listConnections(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
168
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, listConnectionsOperationSpec);
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* ListAcceptingPortsNext
|
|
172
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
173
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
174
|
+
* @param machineName Machine resource name.
|
|
175
|
+
* @param processName Process resource name.
|
|
176
|
+
* @param nextLink The nextLink from the previous successful call to the ListAcceptingPorts method.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
_listAcceptingPortsNext(resourceGroupName, workspaceName, machineName, processName, nextLink, options) {
|
|
180
|
+
return this.client.sendOperationRequest({
|
|
181
|
+
resourceGroupName,
|
|
182
|
+
workspaceName,
|
|
183
|
+
machineName,
|
|
184
|
+
processName,
|
|
185
|
+
nextLink,
|
|
186
|
+
options
|
|
187
|
+
}, listAcceptingPortsNextOperationSpec);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* ListConnectionsNext
|
|
191
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
192
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
193
|
+
* @param machineName Machine resource name.
|
|
194
|
+
* @param processName Process resource name.
|
|
195
|
+
* @param nextLink The nextLink from the previous successful call to the ListConnections method.
|
|
196
|
+
* @param options The options parameters.
|
|
197
|
+
*/
|
|
198
|
+
_listConnectionsNext(resourceGroupName, workspaceName, machineName, processName, nextLink, options) {
|
|
199
|
+
return this.client.sendOperationRequest({
|
|
200
|
+
resourceGroupName,
|
|
201
|
+
workspaceName,
|
|
202
|
+
machineName,
|
|
203
|
+
processName,
|
|
204
|
+
nextLink,
|
|
205
|
+
options
|
|
206
|
+
}, listConnectionsNextOperationSpec);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
// Operation Specifications
|
|
210
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
211
|
+
const getOperationSpec = {
|
|
212
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}",
|
|
213
|
+
httpMethod: "GET",
|
|
214
|
+
responses: {
|
|
215
|
+
200: {
|
|
216
|
+
bodyMapper: Mappers.Process
|
|
217
|
+
},
|
|
218
|
+
default: {
|
|
219
|
+
bodyMapper: Mappers.ErrorResponse
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
queryParameters: [Parameters.apiVersion, Parameters.timestamp],
|
|
223
|
+
urlParameters: [
|
|
224
|
+
Parameters.$host,
|
|
225
|
+
Parameters.subscriptionId,
|
|
226
|
+
Parameters.resourceGroupName,
|
|
227
|
+
Parameters.workspaceName,
|
|
228
|
+
Parameters.machineName,
|
|
229
|
+
Parameters.processName
|
|
230
|
+
],
|
|
231
|
+
headerParameters: [Parameters.accept],
|
|
232
|
+
serializer
|
|
233
|
+
};
|
|
234
|
+
const getLivenessOperationSpec = {
|
|
235
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}/liveness",
|
|
236
|
+
httpMethod: "GET",
|
|
237
|
+
responses: {
|
|
238
|
+
200: {
|
|
239
|
+
bodyMapper: Mappers.Liveness
|
|
240
|
+
},
|
|
241
|
+
default: {
|
|
242
|
+
bodyMapper: Mappers.ErrorResponse
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
queryParameters: [
|
|
246
|
+
Parameters.apiVersion,
|
|
247
|
+
Parameters.startTime,
|
|
248
|
+
Parameters.endTime
|
|
249
|
+
],
|
|
250
|
+
urlParameters: [
|
|
251
|
+
Parameters.$host,
|
|
252
|
+
Parameters.subscriptionId,
|
|
253
|
+
Parameters.resourceGroupName,
|
|
254
|
+
Parameters.workspaceName,
|
|
255
|
+
Parameters.machineName,
|
|
256
|
+
Parameters.processName
|
|
257
|
+
],
|
|
258
|
+
headerParameters: [Parameters.accept],
|
|
259
|
+
serializer
|
|
260
|
+
};
|
|
261
|
+
const listAcceptingPortsOperationSpec = {
|
|
262
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}/acceptingPorts",
|
|
263
|
+
httpMethod: "GET",
|
|
264
|
+
responses: {
|
|
265
|
+
200: {
|
|
266
|
+
bodyMapper: Mappers.PortCollection
|
|
267
|
+
},
|
|
268
|
+
default: {
|
|
269
|
+
bodyMapper: Mappers.ErrorResponse
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
queryParameters: [
|
|
273
|
+
Parameters.apiVersion,
|
|
274
|
+
Parameters.startTime,
|
|
275
|
+
Parameters.endTime
|
|
276
|
+
],
|
|
277
|
+
urlParameters: [
|
|
278
|
+
Parameters.$host,
|
|
279
|
+
Parameters.subscriptionId,
|
|
280
|
+
Parameters.resourceGroupName,
|
|
281
|
+
Parameters.workspaceName,
|
|
282
|
+
Parameters.machineName,
|
|
283
|
+
Parameters.processName
|
|
284
|
+
],
|
|
285
|
+
headerParameters: [Parameters.accept],
|
|
286
|
+
serializer
|
|
287
|
+
};
|
|
288
|
+
const listConnectionsOperationSpec = {
|
|
289
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}/connections",
|
|
290
|
+
httpMethod: "GET",
|
|
291
|
+
responses: {
|
|
292
|
+
200: {
|
|
293
|
+
bodyMapper: Mappers.ConnectionCollection
|
|
294
|
+
},
|
|
295
|
+
default: {
|
|
296
|
+
bodyMapper: Mappers.ErrorResponse
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
queryParameters: [
|
|
300
|
+
Parameters.apiVersion,
|
|
301
|
+
Parameters.startTime,
|
|
302
|
+
Parameters.endTime
|
|
303
|
+
],
|
|
304
|
+
urlParameters: [
|
|
305
|
+
Parameters.$host,
|
|
306
|
+
Parameters.subscriptionId,
|
|
307
|
+
Parameters.resourceGroupName,
|
|
308
|
+
Parameters.workspaceName,
|
|
309
|
+
Parameters.machineName,
|
|
310
|
+
Parameters.processName
|
|
311
|
+
],
|
|
312
|
+
headerParameters: [Parameters.accept],
|
|
313
|
+
serializer
|
|
314
|
+
};
|
|
315
|
+
const listAcceptingPortsNextOperationSpec = {
|
|
316
|
+
path: "{nextLink}",
|
|
317
|
+
httpMethod: "GET",
|
|
318
|
+
responses: {
|
|
319
|
+
200: {
|
|
320
|
+
bodyMapper: Mappers.PortCollection
|
|
321
|
+
},
|
|
322
|
+
default: {
|
|
323
|
+
bodyMapper: Mappers.ErrorResponse
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
queryParameters: [
|
|
327
|
+
Parameters.apiVersion,
|
|
328
|
+
Parameters.startTime,
|
|
329
|
+
Parameters.endTime
|
|
330
|
+
],
|
|
331
|
+
urlParameters: [
|
|
332
|
+
Parameters.$host,
|
|
333
|
+
Parameters.subscriptionId,
|
|
334
|
+
Parameters.resourceGroupName,
|
|
335
|
+
Parameters.workspaceName,
|
|
336
|
+
Parameters.machineName,
|
|
337
|
+
Parameters.nextLink,
|
|
338
|
+
Parameters.processName
|
|
339
|
+
],
|
|
340
|
+
headerParameters: [Parameters.accept],
|
|
341
|
+
serializer
|
|
342
|
+
};
|
|
343
|
+
const listConnectionsNextOperationSpec = {
|
|
344
|
+
path: "{nextLink}",
|
|
345
|
+
httpMethod: "GET",
|
|
346
|
+
responses: {
|
|
347
|
+
200: {
|
|
348
|
+
bodyMapper: Mappers.ConnectionCollection
|
|
349
|
+
},
|
|
350
|
+
default: {
|
|
351
|
+
bodyMapper: Mappers.ErrorResponse
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
queryParameters: [
|
|
355
|
+
Parameters.apiVersion,
|
|
356
|
+
Parameters.startTime,
|
|
357
|
+
Parameters.endTime
|
|
358
|
+
],
|
|
359
|
+
urlParameters: [
|
|
360
|
+
Parameters.$host,
|
|
361
|
+
Parameters.subscriptionId,
|
|
362
|
+
Parameters.resourceGroupName,
|
|
363
|
+
Parameters.workspaceName,
|
|
364
|
+
Parameters.machineName,
|
|
365
|
+
Parameters.nextLink,
|
|
366
|
+
Parameters.processName
|
|
367
|
+
],
|
|
368
|
+
headerParameters: [Parameters.accept],
|
|
369
|
+
serializer
|
|
370
|
+
};
|
|
371
|
+
//# sourceMappingURL=processes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processes.js","sourceRoot":"","sources":["../../../src/operations/processes.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;AAmBnD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAkB;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,kBAAkB,CACvB,iBAAyB,EACzB,aAAqB,EACrB,WAAmB,EACnB,WAAmB,EACnB,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAC3C,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,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,4BAA4B,CACtC,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,WAAW,EACX,OAAO,CACR,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,iBAAyB,EACzB,aAAqB,EACrB,WAAmB,EACnB,WAAmB,EACnB,OAAmD;;YAEnD,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,mBAAmB,CACzC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Interfaces";
|
|
2
|
+
import { ServiceMap } from "../serviceMap";
|
|
3
|
+
import { SummariesGetMachinesOptionalParams, SummariesGetMachinesResponse } from "../models";
|
|
4
|
+
/** Class containing Summaries operations. */
|
|
5
|
+
export declare class SummariesImpl implements Summaries {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Summaries class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: ServiceMap);
|
|
12
|
+
/**
|
|
13
|
+
* Returns summary information about the machines in the workspace.
|
|
14
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
15
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
getMachines(resourceGroupName: string, workspaceName: string, options?: SummariesGetMachinesOptionalParams): Promise<SummariesGetMachinesResponse>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=summaries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summaries.d.ts","sourceRoot":"","sources":["../../../src/operations/summaries.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,WAAW,CAAC;AAEnB,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAa;IAEpC;;;OAGG;gBACS,MAAM,EAAE,UAAU;IAI9B;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;CAMzC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing Summaries operations. */
|
|
12
|
+
export class SummariesImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class Summaries class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns summary information about the machines in the workspace.
|
|
22
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
23
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
getMachines(resourceGroupName, workspaceName, options) {
|
|
27
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, getMachinesOperationSpec);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
// Operation Specifications
|
|
31
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
32
|
+
const getMachinesOperationSpec = {
|
|
33
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/summaries/machines",
|
|
34
|
+
httpMethod: "GET",
|
|
35
|
+
responses: {
|
|
36
|
+
200: {
|
|
37
|
+
bodyMapper: Mappers.MachinesSummary
|
|
38
|
+
},
|
|
39
|
+
default: {
|
|
40
|
+
bodyMapper: Mappers.ErrorResponse
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
queryParameters: [
|
|
44
|
+
Parameters.apiVersion,
|
|
45
|
+
Parameters.startTime,
|
|
46
|
+
Parameters.endTime
|
|
47
|
+
],
|
|
48
|
+
urlParameters: [
|
|
49
|
+
Parameters.$host,
|
|
50
|
+
Parameters.subscriptionId,
|
|
51
|
+
Parameters.resourceGroupName,
|
|
52
|
+
Parameters.workspaceName
|
|
53
|
+
],
|
|
54
|
+
headerParameters: [Parameters.accept],
|
|
55
|
+
serializer
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=summaries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summaries.js","sourceRoot":"","sources":["../../../src/operations/summaries.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAkB;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,WAAW,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,EAAE,EAC7C,wBAAwB,CACzB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EACF,8KAA8K;IAChL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;KACnB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ClientGroupMember, ClientGroupsListMembersOptionalParams, ClientGroupsGetOptionalParams, ClientGroupsGetResponse, ClientGroupsGetMembersCountOptionalParams, ClientGroupsGetMembersCountResponse } from "../models";
|
|
3
|
+
/** Interface representing a ClientGroups. */
|
|
4
|
+
export interface ClientGroups {
|
|
5
|
+
/**
|
|
6
|
+
* Returns the members of the client group during the specified time interval.
|
|
7
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
8
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
9
|
+
* @param clientGroupName Client Group resource name.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsListMembersOptionalParams): PagedAsyncIterableIterator<ClientGroupMember>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the specified client group
|
|
15
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
16
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
17
|
+
* @param clientGroupName Client Group resource name.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
get(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsGetOptionalParams): Promise<ClientGroupsGetResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the approximate number of members in the client group.
|
|
23
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
24
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
25
|
+
* @param clientGroupName Client Group resource name.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsGetMembersCountOptionalParams): Promise<ClientGroupsGetMembersCountResponse>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=clientGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGroups.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/clientGroups.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,iBAAiB,EACjB,qCAAqC,EACrC,6BAA6B,EAC7B,uBAAuB,EACvB,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,WAAW,CAAC;AAGnB,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;OAMG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
9
|
+
//# sourceMappingURL=clientGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGroups.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/clientGroups.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 "./machines";
|
|
9
|
+
export * from "./processes";
|
|
10
|
+
export * from "./ports";
|
|
11
|
+
export * from "./clientGroups";
|
|
12
|
+
export * from "./maps";
|
|
13
|
+
export * from "./summaries";
|
|
14
|
+
export * from "./machineGroups";
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|