@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,1556 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
|
|
5
|
+
/** A process accepting on a port. */
|
|
6
|
+
export declare type Acceptor = Relationship & {
|
|
7
|
+
/** Port being accepted. */
|
|
8
|
+
source?: PortReference;
|
|
9
|
+
/** Accepting process. */
|
|
10
|
+
destination?: ProcessReference;
|
|
11
|
+
/** Relationship start time. */
|
|
12
|
+
startTime?: Date;
|
|
13
|
+
/** Relationship end time. */
|
|
14
|
+
endTime?: Date;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** Defines values for Accuracy. */
|
|
18
|
+
export declare type Accuracy = "actual" | "estimated";
|
|
19
|
+
|
|
20
|
+
/** Describes the configuration of the Dependency Agent installed on a machine. */
|
|
21
|
+
export declare interface AgentConfiguration {
|
|
22
|
+
/** Health Service Agent unique identifier. */
|
|
23
|
+
agentId: string;
|
|
24
|
+
/** Dependency Agent unique identifier. */
|
|
25
|
+
dependencyAgentId?: string;
|
|
26
|
+
/** Dependency Agent version number. */
|
|
27
|
+
dependencyAgentVersion?: string;
|
|
28
|
+
/** Dependency Agent revision number. */
|
|
29
|
+
dependencyAgentRevision?: string;
|
|
30
|
+
/** Specifies whether the machine has been rebooted since the Dependency Agent installation. */
|
|
31
|
+
rebootStatus?: MachineRebootStatus;
|
|
32
|
+
/** Machine clock granularity in milliseconds. */
|
|
33
|
+
clockGranularity?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Describes an Azure Cloud Service */
|
|
37
|
+
export declare interface AzureCloudServiceConfiguration {
|
|
38
|
+
/** Cloud Service name */
|
|
39
|
+
name?: string;
|
|
40
|
+
/** Cloud Service instance identifier */
|
|
41
|
+
instanceId?: string;
|
|
42
|
+
/** Cloud Service deployment identifier */
|
|
43
|
+
deployment?: string;
|
|
44
|
+
/** Cloud Service role name */
|
|
45
|
+
roleName?: string;
|
|
46
|
+
/** Used to specify type of an Azure Cloud Service role */
|
|
47
|
+
roleType?: AzureCloudServiceRoleType;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** Defines values for AzureCloudServiceRoleType. */
|
|
51
|
+
export declare type AzureCloudServiceRoleType = "unknown" | "worker" | "web";
|
|
52
|
+
|
|
53
|
+
/** Provides information about how a machine is hosted in Azure */
|
|
54
|
+
export declare type AzureHostingConfiguration = HostingConfiguration & {
|
|
55
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
56
|
+
kind: "provider:azure";
|
|
57
|
+
/** Virtual Machine ID (unique identifier). */
|
|
58
|
+
vmId?: string;
|
|
59
|
+
/** Geographical location of the VM. */
|
|
60
|
+
location?: string;
|
|
61
|
+
/** Machine name according to the hosting provider. */
|
|
62
|
+
name?: string;
|
|
63
|
+
/** Size of the VM. */
|
|
64
|
+
size?: string;
|
|
65
|
+
/** Update domain of the VM. */
|
|
66
|
+
updateDomain?: string;
|
|
67
|
+
/** Fault domain of the VM. */
|
|
68
|
+
faultDomain?: string;
|
|
69
|
+
/** Subscription ID. */
|
|
70
|
+
subscriptionId?: string;
|
|
71
|
+
/** Resource group name within the specified subscription. */
|
|
72
|
+
resourceGroup?: string;
|
|
73
|
+
/** Unique identifier of the resource. */
|
|
74
|
+
resourceId?: string;
|
|
75
|
+
/** Image of the machine. */
|
|
76
|
+
image?: ImageConfiguration;
|
|
77
|
+
/** Contains information about machines hosted as an Azure Cloud Service */
|
|
78
|
+
cloudService?: AzureCloudServiceConfiguration;
|
|
79
|
+
/** Contains information about machines hosted as an Azure Virtual Machine Scale Set */
|
|
80
|
+
vmScaleSet?: AzureVmScaleSetConfiguration;
|
|
81
|
+
/** Contains information about machines that belong an Azure Service Fabric Cluster */
|
|
82
|
+
serviceFabricCluster?: AzureServiceFabricClusterConfiguration;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/** Describes the hosting configuration of a process when hosted on azure */
|
|
86
|
+
export declare type AzureProcessHostingConfiguration = ProcessHostingConfiguration & {
|
|
87
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
88
|
+
kind: "provider:azure";
|
|
89
|
+
/** Contains information about the cloud service the process belongs to */
|
|
90
|
+
cloudService?: AzureCloudServiceConfiguration;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/** Describes an Azure Service Fabric Cluster */
|
|
94
|
+
export declare interface AzureServiceFabricClusterConfiguration {
|
|
95
|
+
/** Service Fabric cluster name. */
|
|
96
|
+
name?: string;
|
|
97
|
+
/** Service Fabric cluster identifier. */
|
|
98
|
+
clusterId?: string;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Describes an Azure Virtual Machine Scale Set */
|
|
102
|
+
export declare interface AzureVmScaleSetConfiguration {
|
|
103
|
+
/** Virtual Machine Scale Set name */
|
|
104
|
+
name?: string;
|
|
105
|
+
/** Virtual Machine Scale Set instance identifier */
|
|
106
|
+
instanceId?: string;
|
|
107
|
+
/** Virtual Machine Scale Set deployment identifier */
|
|
108
|
+
deployment?: string;
|
|
109
|
+
/** Unique identifier of the resource. */
|
|
110
|
+
resourceId?: string;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/** Defines values for Bitness. */
|
|
114
|
+
export declare type Bitness = "32bit" | "64bit";
|
|
115
|
+
|
|
116
|
+
/** Represents a collection of clients of a resource. A client group can represent the clients of a port, process, or a machine. */
|
|
117
|
+
export declare type ClientGroup = CoreResource & {
|
|
118
|
+
/** Reference to the resource whose clients are represented by this group. */
|
|
119
|
+
clientsOf?: ResourceReferenceUnion;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/** Represents a member of a client group */
|
|
123
|
+
export declare type ClientGroupMember = Resource & {
|
|
124
|
+
/** IP address. */
|
|
125
|
+
ipAddress?: string;
|
|
126
|
+
/** Port into which this client connected */
|
|
127
|
+
port?: PortReference;
|
|
128
|
+
/** Processes accepting on the above port that received connections from this client. */
|
|
129
|
+
processes?: ProcessReference[];
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/** Collection of ClientGroupMember resources. */
|
|
133
|
+
export declare interface ClientGroupMembersCollection {
|
|
134
|
+
/** Collection of ClientGroupMember resources. */
|
|
135
|
+
value?: ClientGroupMember[];
|
|
136
|
+
/** The URL to the next set of resources. */
|
|
137
|
+
nextLink?: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** Specifies the number of members in a client group. */
|
|
141
|
+
export declare interface ClientGroupMembersCount {
|
|
142
|
+
/** Membership interval start time. */
|
|
143
|
+
startTime: Date;
|
|
144
|
+
/** Membership interval start time. */
|
|
145
|
+
endTime: Date;
|
|
146
|
+
/** Client Group URI. */
|
|
147
|
+
groupId: string;
|
|
148
|
+
/** Number of members in the client group. Use this value together with the value of ```accuracy```. If accuracy is `exact` then the value represents the actual number of members in the cloud. When accuracy is `estimated`, the actual number of members is larger than the value of ```count```. */
|
|
149
|
+
count: number;
|
|
150
|
+
/** Accuracy of the reported count. */
|
|
151
|
+
accuracy: Accuracy;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/** Reference to a client group. */
|
|
155
|
+
export declare type ClientGroupReference = ResourceReference & {
|
|
156
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
157
|
+
kind: "ref:clientgroup";
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/** Interface representing a ClientGroups. */
|
|
161
|
+
export declare interface ClientGroups {
|
|
162
|
+
/**
|
|
163
|
+
* Returns the members of the client group during the specified time interval.
|
|
164
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
165
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
166
|
+
* @param clientGroupName Client Group resource name.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsListMembersOptionalParams): PagedAsyncIterableIterator<ClientGroupMember>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieves the specified client group
|
|
172
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
173
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
174
|
+
* @param clientGroupName Client Group resource name.
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
get(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsGetOptionalParams): Promise<ClientGroupsGetResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* Returns the approximate number of members in the client group.
|
|
180
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
181
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
182
|
+
* @param clientGroupName Client Group resource name.
|
|
183
|
+
* @param options The options parameters.
|
|
184
|
+
*/
|
|
185
|
+
getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsGetMembersCountOptionalParams): Promise<ClientGroupsGetMembersCountResponse>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** Optional parameters. */
|
|
189
|
+
export declare interface ClientGroupsGetMembersCountOptionalParams extends coreClient.OperationOptions {
|
|
190
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
191
|
+
startTime?: Date;
|
|
192
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
193
|
+
endTime?: Date;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/** Contains response data for the getMembersCount operation. */
|
|
197
|
+
export declare type ClientGroupsGetMembersCountResponse = ClientGroupMembersCount;
|
|
198
|
+
|
|
199
|
+
/** Optional parameters. */
|
|
200
|
+
export declare interface ClientGroupsGetOptionalParams extends coreClient.OperationOptions {
|
|
201
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
202
|
+
startTime?: Date;
|
|
203
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
204
|
+
endTime?: Date;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/** Contains response data for the get operation. */
|
|
208
|
+
export declare type ClientGroupsGetResponse = ClientGroup;
|
|
209
|
+
|
|
210
|
+
/** Optional parameters. */
|
|
211
|
+
export declare interface ClientGroupsListMembersNextOptionalParams extends coreClient.OperationOptions {
|
|
212
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
213
|
+
startTime?: Date;
|
|
214
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
215
|
+
endTime?: Date;
|
|
216
|
+
/** Page size to use. When not specified, the default page size is 100 records. */
|
|
217
|
+
top?: number;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/** Contains response data for the listMembersNext operation. */
|
|
221
|
+
export declare type ClientGroupsListMembersNextResponse = ClientGroupMembersCollection;
|
|
222
|
+
|
|
223
|
+
/** Optional parameters. */
|
|
224
|
+
export declare interface ClientGroupsListMembersOptionalParams extends coreClient.OperationOptions {
|
|
225
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
226
|
+
startTime?: Date;
|
|
227
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
228
|
+
endTime?: Date;
|
|
229
|
+
/** Page size to use. When not specified, the default page size is 100 records. */
|
|
230
|
+
top?: number;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/** Contains response data for the listMembers operation. */
|
|
234
|
+
export declare type ClientGroupsListMembersResponse = ClientGroupMembersCollection;
|
|
235
|
+
|
|
236
|
+
/** A network connection. */
|
|
237
|
+
export declare type Connection = Relationship & {
|
|
238
|
+
/** Source resource of the relationship. */
|
|
239
|
+
source?: ResourceReferenceUnion;
|
|
240
|
+
/** Destination resource of the relationship. */
|
|
241
|
+
destination?: ResourceReferenceUnion;
|
|
242
|
+
/** Relationship start time. */
|
|
243
|
+
startTime?: Date;
|
|
244
|
+
/** Relationship end time. */
|
|
245
|
+
endTime?: Date;
|
|
246
|
+
/** Reference to the server port via which this connection has been established. */
|
|
247
|
+
serverPort?: PortReference;
|
|
248
|
+
/** Specifies whether there are only successful, failed or a mixture of both connections represented by this resource. */
|
|
249
|
+
failureState?: ConnectionFailureState;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/** Collection of Connection resources. */
|
|
253
|
+
export declare interface ConnectionCollection {
|
|
254
|
+
/** Collection of Connection resources. */
|
|
255
|
+
value?: Connection[];
|
|
256
|
+
/** The URL to the next set of resources. */
|
|
257
|
+
nextLink?: string;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** Defines values for ConnectionFailureState. */
|
|
261
|
+
export declare type ConnectionFailureState = "ok" | "failed" | "mixed";
|
|
262
|
+
|
|
263
|
+
/** Properties for a connection resource. */
|
|
264
|
+
export declare type ConnectionProperties = RelationshipProperties & {
|
|
265
|
+
/** Reference to the server port via which this connection has been established. */
|
|
266
|
+
serverPort?: PortReference;
|
|
267
|
+
/** Specifies whether there are only successful, failed or a mixture of both connections represented by this resource. */
|
|
268
|
+
failureState?: ConnectionFailureState;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
/** Marker resource for the core Service Map resources */
|
|
272
|
+
export declare type CoreResource = Resource & {
|
|
273
|
+
/** Resource ETAG. */
|
|
274
|
+
etag?: string;
|
|
275
|
+
/** Additional resource type qualifier. */
|
|
276
|
+
kind: CoreResourceKind;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Defines values for CoreResourceKind. \
|
|
281
|
+
* {@link KnownCoreResourceKind} can be used interchangeably with CoreResourceKind,
|
|
282
|
+
* this enum contains the known values that the service supports.
|
|
283
|
+
* ### Known values supported by the service
|
|
284
|
+
* **machine** \
|
|
285
|
+
* **process** \
|
|
286
|
+
* **port** \
|
|
287
|
+
* **clientGroup** \
|
|
288
|
+
* **machineGroup**
|
|
289
|
+
*/
|
|
290
|
+
export declare type CoreResourceKind = string;
|
|
291
|
+
|
|
292
|
+
export declare type CoreResourceUnion = CoreResource | Machine | Process | Port | MachineGroup | ClientGroup;
|
|
293
|
+
|
|
294
|
+
/** Error details. */
|
|
295
|
+
export declare interface ErrorModel {
|
|
296
|
+
/** Error code identifying the specific error. */
|
|
297
|
+
code: string;
|
|
298
|
+
/** Error message in the caller's locale. */
|
|
299
|
+
message?: string;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/** An error response from the API. */
|
|
303
|
+
export declare interface ErrorResponse {
|
|
304
|
+
/** Error information. */
|
|
305
|
+
error: ErrorModel;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/** Describes the hosting configuration of a machine. */
|
|
309
|
+
export declare interface HostingConfiguration {
|
|
310
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
311
|
+
kind: "provider:azure";
|
|
312
|
+
/** The hosting provider of the VM. */
|
|
313
|
+
provider?: "azure";
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export declare type HostingConfigurationUnion = HostingConfiguration | AzureHostingConfiguration;
|
|
317
|
+
|
|
318
|
+
/** Describes the hypervisor configuration of a machine. */
|
|
319
|
+
export declare interface HypervisorConfiguration {
|
|
320
|
+
/** Specifies the virtualization technology used by the hypervisor (hyperv, vmware, etc.) */
|
|
321
|
+
hypervisorType?: HypervisorType;
|
|
322
|
+
/** The unique identifier of the hypervisor machine as reported by the underlying virtualization system. */
|
|
323
|
+
nativeHostMachineId?: string;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/** Defines values for HypervisorType. */
|
|
327
|
+
export declare type HypervisorType = "unknown" | "hyperv";
|
|
328
|
+
|
|
329
|
+
/** Describes the VM image of a machine. */
|
|
330
|
+
export declare interface ImageConfiguration {
|
|
331
|
+
/** Publisher of the VM image. */
|
|
332
|
+
publisher?: string;
|
|
333
|
+
/** Offering of the VM image. */
|
|
334
|
+
offering?: string;
|
|
335
|
+
/** SKU of the VM image. */
|
|
336
|
+
sku?: string;
|
|
337
|
+
/** Version of the VM image. */
|
|
338
|
+
version?: string;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** Describes an IPv4 network interface. */
|
|
342
|
+
export declare interface Ipv4NetworkInterface {
|
|
343
|
+
/** IPv4 address. */
|
|
344
|
+
ipAddress: string;
|
|
345
|
+
/** IPv4 subnet mask. */
|
|
346
|
+
subnetMask?: string;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/** Describes an IPv6 network interface. */
|
|
350
|
+
export declare interface Ipv6NetworkInterface {
|
|
351
|
+
/** IPv6 address. */
|
|
352
|
+
ipAddress: string;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/** Known values of {@link CoreResourceKind} that the service accepts. */
|
|
356
|
+
export declare enum KnownCoreResourceKind {
|
|
357
|
+
Machine = "machine",
|
|
358
|
+
Process = "process",
|
|
359
|
+
Port = "port",
|
|
360
|
+
ClientGroup = "clientGroup",
|
|
361
|
+
MachineGroup = "machineGroup"
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/** Known values of {@link MachineGroupType} that the service accepts. */
|
|
365
|
+
export declare enum KnownMachineGroupType {
|
|
366
|
+
Unknown = "unknown",
|
|
367
|
+
AzureCs = "azure-cs",
|
|
368
|
+
AzureSf = "azure-sf",
|
|
369
|
+
AzureVmss = "azure-vmss",
|
|
370
|
+
UserStatic = "user-static"
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/** Known values of {@link MapRequestKind} that the service accepts. */
|
|
374
|
+
export declare enum KnownMapRequestKind {
|
|
375
|
+
MapSingleMachineDependency = "map:single-machine-dependency",
|
|
376
|
+
MapMachineGroupDependency = "map:machine-group-dependency",
|
|
377
|
+
MapMachineListDependency = "map:machine-list-dependency"
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/** Known values of {@link ProcessRole} that the service accepts. */
|
|
381
|
+
export declare enum KnownProcessRole {
|
|
382
|
+
WebServer = "webServer",
|
|
383
|
+
AppServer = "appServer",
|
|
384
|
+
DatabaseServer = "databaseServer",
|
|
385
|
+
LdapServer = "ldapServer",
|
|
386
|
+
SmbServer = "smbServer"
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/** Known values of {@link RelationshipKind} that the service accepts. */
|
|
390
|
+
export declare enum KnownRelationshipKind {
|
|
391
|
+
RelConnection = "rel:connection",
|
|
392
|
+
RelAcceptor = "rel:acceptor"
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/** Known values of {@link ResourceReferenceKind} that the service accepts. */
|
|
396
|
+
export declare enum KnownResourceReferenceKind {
|
|
397
|
+
RefMachine = "ref:machine",
|
|
398
|
+
RefMachinewithhints = "ref:machinewithhints",
|
|
399
|
+
RefProcess = "ref:process",
|
|
400
|
+
RefPort = "ref:port",
|
|
401
|
+
RefOnmachine = "ref:onmachine",
|
|
402
|
+
RefClientgroup = "ref:clientgroup"
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/** Specifies the contents of a check liveness response. */
|
|
406
|
+
export declare interface Liveness {
|
|
407
|
+
/** Liveness interval start time. */
|
|
408
|
+
startTime: Date;
|
|
409
|
+
/** Liveness interval end time. */
|
|
410
|
+
endTime: Date;
|
|
411
|
+
/** `true` if the resource is live during [startTime, endTime], `false` otherwise */
|
|
412
|
+
live: boolean;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/** A machine resource represents a discovered computer system. It can be *monitored*, i.e., a Dependency Agent is running on it, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. As machines change, prior versions of the machine resource are preserved and available for access. A machine is live during an interval of time, if either its Dependency Agent has reported data during (parts) of that interval, or a Dependency agent running on other machines has reported activity associated with the machine. */
|
|
416
|
+
export declare type Machine = CoreResource & {
|
|
417
|
+
/** UTC date and time when this resource was updated in the system. */
|
|
418
|
+
timestamp?: Date;
|
|
419
|
+
/** Specifies whether the machine is actively monitored or discovered. */
|
|
420
|
+
monitoringState?: MonitoringState;
|
|
421
|
+
/** Specifies whether the machine is virtualized. */
|
|
422
|
+
virtualizationState?: VirtualizationState;
|
|
423
|
+
/** Name to use for display purposes */
|
|
424
|
+
displayName?: string;
|
|
425
|
+
/** Name of the machine, e.g., server */
|
|
426
|
+
computerName?: string;
|
|
427
|
+
/** Fully-qualified name of the machine, e.g., server.company.com */
|
|
428
|
+
fullyQualifiedDomainName?: string;
|
|
429
|
+
/** UTC date and time when the machine last booted */
|
|
430
|
+
bootTime?: Date;
|
|
431
|
+
/** Timezone of the machine. */
|
|
432
|
+
timezone?: Timezone;
|
|
433
|
+
/** Dependency Agent configuration. */
|
|
434
|
+
agent?: AgentConfiguration;
|
|
435
|
+
/** Machine resources (memory, cpu, etc.). */
|
|
436
|
+
resources?: MachineResourcesConfiguration;
|
|
437
|
+
/** Network configuration (ips, gateways, dns, etc.) */
|
|
438
|
+
networking?: NetworkConfiguration;
|
|
439
|
+
/** Operating system information. */
|
|
440
|
+
operatingSystem?: OperatingSystemConfiguration;
|
|
441
|
+
/** Virtualization-related configuration. Present only when `virtualizationState` is `virtual`. */
|
|
442
|
+
virtualMachine?: VirtualMachineConfiguration;
|
|
443
|
+
/** Hypervisor-related configuration. Present only when 'virtualizationState' is `hypervisor`. */
|
|
444
|
+
hypervisor?: HypervisorConfiguration;
|
|
445
|
+
/** Hosting-related configuration. Present if hosting information is discovered for the VM. */
|
|
446
|
+
hosting?: HostingConfigurationUnion;
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
/** Collection of Machine resources. */
|
|
450
|
+
export declare interface MachineCollection {
|
|
451
|
+
/** Collection of Machine resources. */
|
|
452
|
+
value?: Machine[];
|
|
453
|
+
/** The URL to the next set of resources. */
|
|
454
|
+
nextLink?: string;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/** Machines by operating system. */
|
|
458
|
+
export declare interface MachineCountsByOperatingSystem {
|
|
459
|
+
/** Number of live Windows machines. */
|
|
460
|
+
windows: number;
|
|
461
|
+
/** Number of live Linux machines. */
|
|
462
|
+
linux: number;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/** A user-defined logical grouping of machines. */
|
|
466
|
+
export declare type MachineGroup = CoreResource & {
|
|
467
|
+
/** Type of the machine group */
|
|
468
|
+
groupType?: MachineGroupType;
|
|
469
|
+
/** User defined name for the group */
|
|
470
|
+
displayName?: string;
|
|
471
|
+
/** Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle. */
|
|
472
|
+
count?: number;
|
|
473
|
+
/** References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated. */
|
|
474
|
+
machines?: MachineReferenceWithHints[];
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
/** Collection of Machine Group resources. */
|
|
478
|
+
export declare interface MachineGroupCollection {
|
|
479
|
+
/** Collection of Machine Group resources. */
|
|
480
|
+
value?: MachineGroup[];
|
|
481
|
+
/** The URL to the next set of resources. */
|
|
482
|
+
nextLink?: string;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/** Specifies the computation of a machine group dependency map. A machine group dependency map includes all direct dependencies the machines in the group. */
|
|
486
|
+
export declare type MachineGroupMapRequest = MultipleMachinesMapRequest & {
|
|
487
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
488
|
+
kind: "map:machine-group-dependency";
|
|
489
|
+
/** URI of machine group resource for which to generate the map. */
|
|
490
|
+
machineGroupId: string;
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
/** Interface representing a MachineGroups. */
|
|
494
|
+
export declare interface MachineGroups {
|
|
495
|
+
/**
|
|
496
|
+
* Returns all machine groups during the specified time interval.
|
|
497
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
498
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
499
|
+
* @param options The options parameters.
|
|
500
|
+
*/
|
|
501
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: MachineGroupsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<MachineGroup>;
|
|
502
|
+
/**
|
|
503
|
+
* Creates a new machine group.
|
|
504
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
505
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
506
|
+
* @param machineGroup Machine Group resource to create.
|
|
507
|
+
* @param options The options parameters.
|
|
508
|
+
*/
|
|
509
|
+
create(resourceGroupName: string, workspaceName: string, machineGroup: MachineGroup, options?: MachineGroupsCreateOptionalParams): Promise<MachineGroupsCreateResponse>;
|
|
510
|
+
/**
|
|
511
|
+
* Returns the specified machine group as it existed during the specified time interval.
|
|
512
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
513
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
514
|
+
* @param machineGroupName Machine Group resource name.
|
|
515
|
+
* @param options The options parameters.
|
|
516
|
+
*/
|
|
517
|
+
get(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: MachineGroupsGetOptionalParams): Promise<MachineGroupsGetResponse>;
|
|
518
|
+
/**
|
|
519
|
+
* Updates a machine group.
|
|
520
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
521
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
522
|
+
* @param machineGroupName Machine Group resource name.
|
|
523
|
+
* @param machineGroup Machine Group resource to update.
|
|
524
|
+
* @param options The options parameters.
|
|
525
|
+
*/
|
|
526
|
+
update(resourceGroupName: string, workspaceName: string, machineGroupName: string, machineGroup: MachineGroup, options?: MachineGroupsUpdateOptionalParams): Promise<MachineGroupsUpdateResponse>;
|
|
527
|
+
/**
|
|
528
|
+
* Deletes the specified Machine Group.
|
|
529
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
530
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
531
|
+
* @param machineGroupName Machine Group resource name.
|
|
532
|
+
* @param options The options parameters.
|
|
533
|
+
*/
|
|
534
|
+
delete(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: MachineGroupsDeleteOptionalParams): Promise<void>;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/** Optional parameters. */
|
|
538
|
+
export declare interface MachineGroupsCreateOptionalParams extends coreClient.OperationOptions {
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/** Contains response data for the create operation. */
|
|
542
|
+
export declare type MachineGroupsCreateResponse = MachineGroup;
|
|
543
|
+
|
|
544
|
+
/** Optional parameters. */
|
|
545
|
+
export declare interface MachineGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/** Optional parameters. */
|
|
549
|
+
export declare interface MachineGroupsGetOptionalParams extends coreClient.OperationOptions {
|
|
550
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
551
|
+
startTime?: Date;
|
|
552
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
553
|
+
endTime?: Date;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/** Contains response data for the get operation. */
|
|
557
|
+
export declare type MachineGroupsGetResponse = MachineGroup;
|
|
558
|
+
|
|
559
|
+
/** Optional parameters. */
|
|
560
|
+
export declare interface MachineGroupsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
561
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
562
|
+
startTime?: Date;
|
|
563
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
564
|
+
endTime?: Date;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
568
|
+
export declare type MachineGroupsListByWorkspaceNextResponse = MachineGroupCollection;
|
|
569
|
+
|
|
570
|
+
/** Optional parameters. */
|
|
571
|
+
export declare interface MachineGroupsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
572
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
573
|
+
startTime?: Date;
|
|
574
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
575
|
+
endTime?: Date;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
579
|
+
export declare type MachineGroupsListByWorkspaceResponse = MachineGroupCollection;
|
|
580
|
+
|
|
581
|
+
/** Optional parameters. */
|
|
582
|
+
export declare interface MachineGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/** Contains response data for the update operation. */
|
|
586
|
+
export declare type MachineGroupsUpdateResponse = MachineGroup;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Defines values for MachineGroupType. \
|
|
590
|
+
* {@link KnownMachineGroupType} can be used interchangeably with MachineGroupType,
|
|
591
|
+
* this enum contains the known values that the service supports.
|
|
592
|
+
* ### Known values supported by the service
|
|
593
|
+
* **unknown** \
|
|
594
|
+
* **azure-cs** \
|
|
595
|
+
* **azure-sf** \
|
|
596
|
+
* **azure-vmss** \
|
|
597
|
+
* **user-static**
|
|
598
|
+
*/
|
|
599
|
+
export declare type MachineGroupType = string;
|
|
600
|
+
|
|
601
|
+
/** Specifies the computation of a one hope dependency map for a list of machines. The resulting map includes all direct dependencies for the specified machines. */
|
|
602
|
+
export declare type MachineListMapRequest = MultipleMachinesMapRequest & {
|
|
603
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
604
|
+
kind: "map:machine-list-dependency";
|
|
605
|
+
/** a list of URIs of machine resources for which to generate the map. */
|
|
606
|
+
machineIds: string[];
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
/** Defines values for MachineRebootStatus. */
|
|
610
|
+
export declare type MachineRebootStatus = "unknown" | "rebooted" | "notRebooted";
|
|
611
|
+
|
|
612
|
+
/** Reference to a machine. */
|
|
613
|
+
export declare type MachineReference = ResourceReference & {
|
|
614
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
615
|
+
kind: "ref:machine";
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
/** A machine reference with a hint of the machine's name and operating system. */
|
|
619
|
+
export declare type MachineReferenceWithHints = ResourceReference & {
|
|
620
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
621
|
+
kind: "ref:machinewithhints";
|
|
622
|
+
/**
|
|
623
|
+
* Last known display name.
|
|
624
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
625
|
+
*/
|
|
626
|
+
readonly displayNameHint?: string;
|
|
627
|
+
/**
|
|
628
|
+
* Last known operating system family.
|
|
629
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
630
|
+
*/
|
|
631
|
+
readonly osFamilyHint?: OperatingSystemFamily;
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
/** Describes the resources of a machine. */
|
|
635
|
+
export declare interface MachineResourcesConfiguration {
|
|
636
|
+
/** Physical memory in megabytes (MB). */
|
|
637
|
+
physicalMemory?: number;
|
|
638
|
+
/** Number of CPUs. */
|
|
639
|
+
cpus?: number;
|
|
640
|
+
/** CPU speed in megahertz (Mhz). */
|
|
641
|
+
cpuSpeed?: number;
|
|
642
|
+
/** Describes the accuracy of the cpuSpeed field. */
|
|
643
|
+
cpuSpeedAccuracy?: Accuracy;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/** Interface representing a Machines. */
|
|
647
|
+
export declare interface Machines {
|
|
648
|
+
/**
|
|
649
|
+
* Returns a collection of machines matching the specified conditions. The returned collection
|
|
650
|
+
* represents either machines that are active/live during the specified interval of time (`live=true`
|
|
651
|
+
* and `startTime`/`endTime` are specified) or that are known to have existed at or some time prior to
|
|
652
|
+
* the specified point in time (`live=false` and `timestamp` is specified).
|
|
653
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
654
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
655
|
+
* @param options The options parameters.
|
|
656
|
+
*/
|
|
657
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: MachinesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Machine>;
|
|
658
|
+
/**
|
|
659
|
+
* Returns a collection of connections terminating or originating at the specified machine
|
|
660
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
661
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
662
|
+
* @param machineName Machine resource name.
|
|
663
|
+
* @param options The options parameters.
|
|
664
|
+
*/
|
|
665
|
+
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListConnectionsOptionalParams): PagedAsyncIterableIterator<Connection>;
|
|
666
|
+
/**
|
|
667
|
+
* Returns a collection of processes on the specified machine matching the specified conditions. The
|
|
668
|
+
* returned collection represents either processes that are active/live during the specified interval
|
|
669
|
+
* of time (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at
|
|
670
|
+
* or some time prior to the specified point in time (`live=false` and `timestamp` is specified).
|
|
671
|
+
*
|
|
672
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
673
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
674
|
+
* @param machineName Machine resource name.
|
|
675
|
+
* @param options The options parameters.
|
|
676
|
+
*/
|
|
677
|
+
listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListProcessesOptionalParams): PagedAsyncIterableIterator<Process>;
|
|
678
|
+
/**
|
|
679
|
+
* Returns a collection of live ports on the specified machine during the specified time interval.
|
|
680
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
681
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
682
|
+
* @param machineName Machine resource name.
|
|
683
|
+
* @param options The options parameters.
|
|
684
|
+
*/
|
|
685
|
+
listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListPortsOptionalParams): PagedAsyncIterableIterator<Port>;
|
|
686
|
+
/**
|
|
687
|
+
* Returns a collection of machine groups this machine belongs to during the specified time interval.
|
|
688
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
689
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
690
|
+
* @param machineName Machine resource name.
|
|
691
|
+
* @param options The options parameters.
|
|
692
|
+
*/
|
|
693
|
+
listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListMachineGroupMembershipOptionalParams): PagedAsyncIterableIterator<MachineGroup>;
|
|
694
|
+
/**
|
|
695
|
+
* Returns the specified machine.
|
|
696
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
697
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
698
|
+
* @param machineName Machine resource name.
|
|
699
|
+
* @param options The options parameters.
|
|
700
|
+
*/
|
|
701
|
+
get(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesGetOptionalParams): Promise<MachinesGetResponse>;
|
|
702
|
+
/**
|
|
703
|
+
* Obtains the liveness status of the machine during the specified time interval.
|
|
704
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
705
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
706
|
+
* @param machineName Machine resource name.
|
|
707
|
+
* @param options The options parameters.
|
|
708
|
+
*/
|
|
709
|
+
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesGetLivenessOptionalParams): Promise<MachinesGetLivenessResponse>;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/** Optional parameters. */
|
|
713
|
+
export declare interface MachinesGetLivenessOptionalParams extends coreClient.OperationOptions {
|
|
714
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
715
|
+
startTime?: Date;
|
|
716
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
717
|
+
endTime?: Date;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/** Contains response data for the getLiveness operation. */
|
|
721
|
+
export declare type MachinesGetLivenessResponse = Liveness;
|
|
722
|
+
|
|
723
|
+
/** Optional parameters. */
|
|
724
|
+
export declare interface MachinesGetOptionalParams extends coreClient.OperationOptions {
|
|
725
|
+
/** UTC date and time specifying a time instance relative to which to evaluate the machine resource. When not specified, the service uses DateTime.UtcNow. */
|
|
726
|
+
timestamp?: Date;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/** Contains response data for the get operation. */
|
|
730
|
+
export declare type MachinesGetResponse = Machine;
|
|
731
|
+
|
|
732
|
+
/** Optional parameters. */
|
|
733
|
+
export declare interface MachinesListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
734
|
+
/** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
|
|
735
|
+
live?: boolean;
|
|
736
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
737
|
+
startTime?: Date;
|
|
738
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
739
|
+
endTime?: Date;
|
|
740
|
+
/** UTC date and time specifying a time instance relative to which to evaluate each machine resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
|
|
741
|
+
timestamp?: Date;
|
|
742
|
+
/** Page size to use. When not specified, the default page size is 100 records. */
|
|
743
|
+
top?: number;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
747
|
+
export declare type MachinesListByWorkspaceNextResponse = MachineCollection;
|
|
748
|
+
|
|
749
|
+
/** Optional parameters. */
|
|
750
|
+
export declare interface MachinesListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
751
|
+
/** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
|
|
752
|
+
live?: boolean;
|
|
753
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
754
|
+
startTime?: Date;
|
|
755
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
756
|
+
endTime?: Date;
|
|
757
|
+
/** UTC date and time specifying a time instance relative to which to evaluate each machine resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
|
|
758
|
+
timestamp?: Date;
|
|
759
|
+
/** Page size to use. When not specified, the default page size is 100 records. */
|
|
760
|
+
top?: number;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
764
|
+
export declare type MachinesListByWorkspaceResponse = MachineCollection;
|
|
765
|
+
|
|
766
|
+
/** Optional parameters. */
|
|
767
|
+
export declare interface MachinesListConnectionsNextOptionalParams extends coreClient.OperationOptions {
|
|
768
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
769
|
+
startTime?: Date;
|
|
770
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
771
|
+
endTime?: Date;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
/** Contains response data for the listConnectionsNext operation. */
|
|
775
|
+
export declare type MachinesListConnectionsNextResponse = ConnectionCollection;
|
|
776
|
+
|
|
777
|
+
/** Optional parameters. */
|
|
778
|
+
export declare interface MachinesListConnectionsOptionalParams extends coreClient.OperationOptions {
|
|
779
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
780
|
+
startTime?: Date;
|
|
781
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
782
|
+
endTime?: Date;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/** Contains response data for the listConnections operation. */
|
|
786
|
+
export declare type MachinesListConnectionsResponse = ConnectionCollection;
|
|
787
|
+
|
|
788
|
+
/** Optional parameters. */
|
|
789
|
+
export declare interface MachinesListMachineGroupMembershipNextOptionalParams extends coreClient.OperationOptions {
|
|
790
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
791
|
+
startTime?: Date;
|
|
792
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
793
|
+
endTime?: Date;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/** Contains response data for the listMachineGroupMembershipNext operation. */
|
|
797
|
+
export declare type MachinesListMachineGroupMembershipNextResponse = MachineGroupCollection;
|
|
798
|
+
|
|
799
|
+
/** Optional parameters. */
|
|
800
|
+
export declare interface MachinesListMachineGroupMembershipOptionalParams extends coreClient.OperationOptions {
|
|
801
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
802
|
+
startTime?: Date;
|
|
803
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
804
|
+
endTime?: Date;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/** Contains response data for the listMachineGroupMembership operation. */
|
|
808
|
+
export declare type MachinesListMachineGroupMembershipResponse = MachineGroupCollection;
|
|
809
|
+
|
|
810
|
+
/** Optional parameters. */
|
|
811
|
+
export declare interface MachinesListPortsNextOptionalParams extends coreClient.OperationOptions {
|
|
812
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
813
|
+
startTime?: Date;
|
|
814
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
815
|
+
endTime?: Date;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/** Contains response data for the listPortsNext operation. */
|
|
819
|
+
export declare type MachinesListPortsNextResponse = PortCollection;
|
|
820
|
+
|
|
821
|
+
/** Optional parameters. */
|
|
822
|
+
export declare interface MachinesListPortsOptionalParams extends coreClient.OperationOptions {
|
|
823
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
824
|
+
startTime?: Date;
|
|
825
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
826
|
+
endTime?: Date;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/** Contains response data for the listPorts operation. */
|
|
830
|
+
export declare type MachinesListPortsResponse = PortCollection;
|
|
831
|
+
|
|
832
|
+
/** Optional parameters. */
|
|
833
|
+
export declare interface MachinesListProcessesNextOptionalParams extends coreClient.OperationOptions {
|
|
834
|
+
/** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
|
|
835
|
+
live?: boolean;
|
|
836
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
837
|
+
startTime?: Date;
|
|
838
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
839
|
+
endTime?: Date;
|
|
840
|
+
/** UTC date and time specifying a time instance relative to which to evaluate all process resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
|
|
841
|
+
timestamp?: Date;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
/** Contains response data for the listProcessesNext operation. */
|
|
845
|
+
export declare type MachinesListProcessesNextResponse = ProcessCollection;
|
|
846
|
+
|
|
847
|
+
/** Optional parameters. */
|
|
848
|
+
export declare interface MachinesListProcessesOptionalParams extends coreClient.OperationOptions {
|
|
849
|
+
/** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
|
|
850
|
+
live?: boolean;
|
|
851
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
852
|
+
startTime?: Date;
|
|
853
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
854
|
+
endTime?: Date;
|
|
855
|
+
/** UTC date and time specifying a time instance relative to which to evaluate all process resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
|
|
856
|
+
timestamp?: Date;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
/** Contains response data for the listProcesses operation. */
|
|
860
|
+
export declare type MachinesListProcessesResponse = ProcessCollection;
|
|
861
|
+
|
|
862
|
+
/** A summary of the machines in the workspace. */
|
|
863
|
+
export declare type MachinesSummary = Summary & {
|
|
864
|
+
/** Summary interval start time. */
|
|
865
|
+
startTime?: Date;
|
|
866
|
+
/** Summary interval end time. */
|
|
867
|
+
endTime?: Date;
|
|
868
|
+
/** Total number of machines. */
|
|
869
|
+
total?: number;
|
|
870
|
+
/** Number of live machines. */
|
|
871
|
+
live?: number;
|
|
872
|
+
/** Machine counts by operating system. */
|
|
873
|
+
os?: MachineCountsByOperatingSystem;
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
/** Summarizes machines in the workspace. */
|
|
877
|
+
export declare type MachinesSummaryProperties = SummaryProperties & {
|
|
878
|
+
/** Total number of machines. */
|
|
879
|
+
total: number;
|
|
880
|
+
/** Number of live machines. */
|
|
881
|
+
live: number;
|
|
882
|
+
/** Machine counts by operating system. */
|
|
883
|
+
os: MachineCountsByOperatingSystem;
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
/** A map of resources and relationships between them. */
|
|
887
|
+
declare interface Map_2 {
|
|
888
|
+
/** The nodes (entities) of a map. */
|
|
889
|
+
nodes: MapNodes;
|
|
890
|
+
/** The edges (relationships) of a map. */
|
|
891
|
+
edges: MapEdges;
|
|
892
|
+
}
|
|
893
|
+
export { Map_2 as Map }
|
|
894
|
+
|
|
895
|
+
/** The edges (relationships) of a map. */
|
|
896
|
+
export declare interface MapEdges {
|
|
897
|
+
/** Network connections. */
|
|
898
|
+
connections?: Connection[];
|
|
899
|
+
/** Processes accepting on a port. */
|
|
900
|
+
acceptors?: Acceptor[];
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/** The nodes (entities) of a map. */
|
|
904
|
+
export declare interface MapNodes {
|
|
905
|
+
/** Machine resources. */
|
|
906
|
+
machines?: Machine[];
|
|
907
|
+
/** Process resources. */
|
|
908
|
+
processes?: Process[];
|
|
909
|
+
/** Port resources. */
|
|
910
|
+
ports?: Port[];
|
|
911
|
+
/** Client Group resources. */
|
|
912
|
+
clientGroups?: ClientGroup[];
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/** Specifies the contents of request to generate a map. */
|
|
916
|
+
export declare interface MapRequest {
|
|
917
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
918
|
+
kind: "map:single-machine-dependency" | "MultipleMachinesMapRequest" | "map:machine-list-dependency" | "map:machine-group-dependency";
|
|
919
|
+
/** Map interval start time. */
|
|
920
|
+
startTime?: Date;
|
|
921
|
+
/** Map interval end time. */
|
|
922
|
+
endTime?: Date;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Defines values for MapRequestKind. \
|
|
927
|
+
* {@link KnownMapRequestKind} can be used interchangeably with MapRequestKind,
|
|
928
|
+
* this enum contains the known values that the service supports.
|
|
929
|
+
* ### Known values supported by the service
|
|
930
|
+
* **map:single-machine-dependency** \
|
|
931
|
+
* **map:machine-group-dependency** \
|
|
932
|
+
* **map:machine-list-dependency**
|
|
933
|
+
*/
|
|
934
|
+
export declare type MapRequestKind = string;
|
|
935
|
+
|
|
936
|
+
export declare type MapRequestUnion = MapRequest | SingleMachineDependencyMapRequest | MultipleMachinesMapRequestUnion;
|
|
937
|
+
|
|
938
|
+
/** Specified the contents of a map response. */
|
|
939
|
+
export declare interface MapResponse {
|
|
940
|
+
/** Map interval start time. */
|
|
941
|
+
startTime: Date;
|
|
942
|
+
/** Map interval end time. */
|
|
943
|
+
endTime: Date;
|
|
944
|
+
/** The generated map. */
|
|
945
|
+
map: Map_2;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
/** Interface representing a Maps. */
|
|
949
|
+
export declare interface Maps {
|
|
950
|
+
/**
|
|
951
|
+
* Generates the specified map.
|
|
952
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
953
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
954
|
+
* @param request Request options.
|
|
955
|
+
* @param options The options parameters.
|
|
956
|
+
*/
|
|
957
|
+
generate(resourceGroupName: string, workspaceName: string, request: MapRequestUnion, options?: MapsGenerateOptionalParams): Promise<MapsGenerateResponse>;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
/** Optional parameters. */
|
|
961
|
+
export declare interface MapsGenerateOptionalParams extends coreClient.OperationOptions {
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/** Contains response data for the generate operation. */
|
|
965
|
+
export declare type MapsGenerateResponse = MapResponse;
|
|
966
|
+
|
|
967
|
+
/** Defines values for MonitoringState. */
|
|
968
|
+
export declare type MonitoringState = "monitored" | "discovered";
|
|
969
|
+
|
|
970
|
+
/** Provides a base class for describing map requests for a collection of machines */
|
|
971
|
+
export declare type MultipleMachinesMapRequest = MapRequest & {
|
|
972
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
973
|
+
kind: "MultipleMachinesMapRequest" | "map:machine-list-dependency" | "map:machine-group-dependency";
|
|
974
|
+
/** If true, only processes between specified machines will be included. Any connections in or out of those processes will be included. */
|
|
975
|
+
filterProcesses?: boolean;
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
export declare type MultipleMachinesMapRequestUnion = MultipleMachinesMapRequest | MachineListMapRequest | MachineGroupMapRequest;
|
|
979
|
+
|
|
980
|
+
/** Describes the network configuration of a machine. */
|
|
981
|
+
export declare interface NetworkConfiguration {
|
|
982
|
+
/** IPv4 interfaces. */
|
|
983
|
+
ipv4Interfaces?: Ipv4NetworkInterface[];
|
|
984
|
+
/** IPv6 interfaces. */
|
|
985
|
+
ipv6Interfaces?: Ipv6NetworkInterface[];
|
|
986
|
+
/** Default IPv4 gateways. */
|
|
987
|
+
defaultIpv4Gateways?: string[];
|
|
988
|
+
/** MAC addresses of all active network interfaces. */
|
|
989
|
+
macAddresses?: string[];
|
|
990
|
+
/** DNS names associated with the machine. */
|
|
991
|
+
dnsNames?: string[];
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
/** Describes the configuration of the operating system of a machine. */
|
|
995
|
+
export declare interface OperatingSystemConfiguration {
|
|
996
|
+
/** Windows, Linux, etc. */
|
|
997
|
+
family: OperatingSystemFamily;
|
|
998
|
+
/** Operating system full name. */
|
|
999
|
+
fullName: string;
|
|
1000
|
+
/** Operating system bitness (32-bit or 64-bit). */
|
|
1001
|
+
bitness: Bitness;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/** Defines values for OperatingSystemFamily. */
|
|
1005
|
+
export declare type OperatingSystemFamily = "unknown" | "windows" | "linux" | "solaris" | "aix";
|
|
1006
|
+
|
|
1007
|
+
/** A port resource represents a server port on a machine. The port may be actively *monitored*, i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. A port is live during an interval of time, if that port had associated activity during (parts) of that interval. */
|
|
1008
|
+
export declare type Port = CoreResource & {
|
|
1009
|
+
/** Specifies whether the port is actively monitored or discovered. */
|
|
1010
|
+
monitoringState?: MonitoringState;
|
|
1011
|
+
/** Machine hosting this port. */
|
|
1012
|
+
machine?: ResourceReferenceUnion;
|
|
1013
|
+
/** Name to use for display purposes. */
|
|
1014
|
+
displayName?: string;
|
|
1015
|
+
/** IP address associated with the port. At present only IPv4 addresses are supported. */
|
|
1016
|
+
ipAddress?: string;
|
|
1017
|
+
/** Port number. */
|
|
1018
|
+
portNumber?: number;
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
/** Collection of Port resources. */
|
|
1022
|
+
export declare interface PortCollection {
|
|
1023
|
+
/** Collection of Port resources. */
|
|
1024
|
+
value?: Port[];
|
|
1025
|
+
/** The URL to the next set of resources. */
|
|
1026
|
+
nextLink?: string;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/** Reference to a port. */
|
|
1030
|
+
export declare type PortReference = ResourceReference & {
|
|
1031
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1032
|
+
kind: "ref:port";
|
|
1033
|
+
/**
|
|
1034
|
+
* Machine hosting the port.
|
|
1035
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1036
|
+
*/
|
|
1037
|
+
readonly machine?: MachineReference;
|
|
1038
|
+
/**
|
|
1039
|
+
* IP address of the port.
|
|
1040
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1041
|
+
*/
|
|
1042
|
+
readonly ipAddress?: string;
|
|
1043
|
+
/** Port number. */
|
|
1044
|
+
portNumber?: number;
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
/** Interface representing a Ports. */
|
|
1048
|
+
export declare interface Ports {
|
|
1049
|
+
/**
|
|
1050
|
+
* Returns a collection of processes accepting on the specified port
|
|
1051
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1052
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1053
|
+
* @param machineName Machine resource name.
|
|
1054
|
+
* @param portName Port resource name.
|
|
1055
|
+
* @param options The options parameters.
|
|
1056
|
+
*/
|
|
1057
|
+
listAcceptingProcesses(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: PortsListAcceptingProcessesOptionalParams): PagedAsyncIterableIterator<Process>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Returns a collection of connections established via the specified port.
|
|
1060
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1061
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1062
|
+
* @param machineName Machine resource name.
|
|
1063
|
+
* @param portName Port resource name.
|
|
1064
|
+
* @param options The options parameters.
|
|
1065
|
+
*/
|
|
1066
|
+
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: PortsListConnectionsOptionalParams): PagedAsyncIterableIterator<Connection>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Returns the specified port. The port must be live during the specified time interval. If the port is
|
|
1069
|
+
* not live during the interval, status 404 (Not Found) is returned.
|
|
1070
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1071
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1072
|
+
* @param machineName Machine resource name.
|
|
1073
|
+
* @param portName Port resource name.
|
|
1074
|
+
* @param options The options parameters.
|
|
1075
|
+
*/
|
|
1076
|
+
get(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: PortsGetOptionalParams): Promise<PortsGetResponse>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Obtains the liveness status of the port during the specified time interval.
|
|
1079
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1080
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1081
|
+
* @param machineName Machine resource name.
|
|
1082
|
+
* @param portName Port resource name.
|
|
1083
|
+
* @param options The options parameters.
|
|
1084
|
+
*/
|
|
1085
|
+
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, portName: string, options?: PortsGetLivenessOptionalParams): Promise<PortsGetLivenessResponse>;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
/** Optional parameters. */
|
|
1089
|
+
export declare interface PortsGetLivenessOptionalParams extends coreClient.OperationOptions {
|
|
1090
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1091
|
+
startTime?: Date;
|
|
1092
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1093
|
+
endTime?: Date;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/** Contains response data for the getLiveness operation. */
|
|
1097
|
+
export declare type PortsGetLivenessResponse = Liveness;
|
|
1098
|
+
|
|
1099
|
+
/** Optional parameters. */
|
|
1100
|
+
export declare interface PortsGetOptionalParams extends coreClient.OperationOptions {
|
|
1101
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1102
|
+
startTime?: Date;
|
|
1103
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1104
|
+
endTime?: Date;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/** Contains response data for the get operation. */
|
|
1108
|
+
export declare type PortsGetResponse = Port;
|
|
1109
|
+
|
|
1110
|
+
/** Optional parameters. */
|
|
1111
|
+
export declare interface PortsListAcceptingProcessesNextOptionalParams extends coreClient.OperationOptions {
|
|
1112
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1113
|
+
startTime?: Date;
|
|
1114
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1115
|
+
endTime?: Date;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/** Contains response data for the listAcceptingProcessesNext operation. */
|
|
1119
|
+
export declare type PortsListAcceptingProcessesNextResponse = ProcessCollection;
|
|
1120
|
+
|
|
1121
|
+
/** Optional parameters. */
|
|
1122
|
+
export declare interface PortsListAcceptingProcessesOptionalParams extends coreClient.OperationOptions {
|
|
1123
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1124
|
+
startTime?: Date;
|
|
1125
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1126
|
+
endTime?: Date;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/** Contains response data for the listAcceptingProcesses operation. */
|
|
1130
|
+
export declare type PortsListAcceptingProcessesResponse = ProcessCollection;
|
|
1131
|
+
|
|
1132
|
+
/** Optional parameters. */
|
|
1133
|
+
export declare interface PortsListConnectionsNextOptionalParams extends coreClient.OperationOptions {
|
|
1134
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1135
|
+
startTime?: Date;
|
|
1136
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1137
|
+
endTime?: Date;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
/** Contains response data for the listConnectionsNext operation. */
|
|
1141
|
+
export declare type PortsListConnectionsNextResponse = ConnectionCollection;
|
|
1142
|
+
|
|
1143
|
+
/** Optional parameters. */
|
|
1144
|
+
export declare interface PortsListConnectionsOptionalParams extends coreClient.OperationOptions {
|
|
1145
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1146
|
+
startTime?: Date;
|
|
1147
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1148
|
+
endTime?: Date;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/** Contains response data for the listConnections operation. */
|
|
1152
|
+
export declare type PortsListConnectionsResponse = ConnectionCollection;
|
|
1153
|
+
|
|
1154
|
+
/** A process resource represents a process running on a machine. The process may be actively *monitored*, i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. A process resource represents a pool of actual operating system resources that share command lines and metadata. As the process pool evolves over time, prior versions of the process resource are preserved and available for access. A process is live during an interval of time, if that process is executing during (parts) of that interval */
|
|
1155
|
+
export declare type Process = CoreResource & {
|
|
1156
|
+
/** UTC date and time when this process resource was updated in the system */
|
|
1157
|
+
timestamp?: Date;
|
|
1158
|
+
/** Specifies whether the process is actively monitored or discovered. */
|
|
1159
|
+
monitoringState?: MonitoringState;
|
|
1160
|
+
/** Machine hosting this process. */
|
|
1161
|
+
machine?: ResourceReferenceUnion;
|
|
1162
|
+
/** The name of the process executable */
|
|
1163
|
+
executableName?: string;
|
|
1164
|
+
/** Name to use for display purposes */
|
|
1165
|
+
displayName?: string;
|
|
1166
|
+
/** UTC date and time when the process started */
|
|
1167
|
+
startTime?: Date;
|
|
1168
|
+
/** The inferred role of this process based on its name, command line, etc. */
|
|
1169
|
+
role?: ProcessRole;
|
|
1170
|
+
/** The name of the product or suite of the process. The group is determined by its executable name, command line, etc. */
|
|
1171
|
+
group?: string;
|
|
1172
|
+
/** Process metadata (command line, product name, etc.). */
|
|
1173
|
+
details?: ProcessDetails;
|
|
1174
|
+
/** Information about the account under which the process is executing. */
|
|
1175
|
+
user?: ProcessUser;
|
|
1176
|
+
/** Present only for a discovered process acting as a client of a monitored process/machine/port. References the monitored process/machine/port that this process is a client of. */
|
|
1177
|
+
clientOf?: ResourceReferenceUnion;
|
|
1178
|
+
/** Present only for a discovered process acting as a server. References the port on which the discovered process is accepting. */
|
|
1179
|
+
acceptorOf?: ResourceReferenceUnion;
|
|
1180
|
+
/** Information about the hosting environment */
|
|
1181
|
+
hosting?: ProcessHostingConfigurationUnion;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
/** Collection of Process resources. */
|
|
1185
|
+
export declare interface ProcessCollection {
|
|
1186
|
+
/** Collection of Process resources. */
|
|
1187
|
+
value?: Process[];
|
|
1188
|
+
/** The URL to the next set of resources. */
|
|
1189
|
+
nextLink?: string;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/** Describes process metadata. */
|
|
1193
|
+
export declare interface ProcessDetails {
|
|
1194
|
+
/** A unique identifier for a process, generally resilient to process restart, computed by Service Map. */
|
|
1195
|
+
persistentKey?: string;
|
|
1196
|
+
/** Represents the identity of the process pool assigned to the process by Dependency Agent. */
|
|
1197
|
+
poolId?: number;
|
|
1198
|
+
/** The Operating System Process Identifier (PID) of the first process in this process pool. */
|
|
1199
|
+
firstPid?: number;
|
|
1200
|
+
/** Process description. */
|
|
1201
|
+
description?: string;
|
|
1202
|
+
/** Name of company that created the process executable. */
|
|
1203
|
+
companyName?: string;
|
|
1204
|
+
/** Internal process name. */
|
|
1205
|
+
internalName?: string;
|
|
1206
|
+
/** Product name. */
|
|
1207
|
+
productName?: string;
|
|
1208
|
+
/** Product version. */
|
|
1209
|
+
productVersion?: string;
|
|
1210
|
+
/** File version. */
|
|
1211
|
+
fileVersion?: string;
|
|
1212
|
+
/** Process command line. */
|
|
1213
|
+
commandLine?: string;
|
|
1214
|
+
/** Process executable path. */
|
|
1215
|
+
executablePath?: string;
|
|
1216
|
+
/** Process workingDirectory. */
|
|
1217
|
+
workingDirectory?: string;
|
|
1218
|
+
/** Collection of services hosted by this Process (Windows only). */
|
|
1219
|
+
services?: ProcessHostedService[];
|
|
1220
|
+
/** Process zone name (Linux only). */
|
|
1221
|
+
zoneName?: string;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/** Interface representing a Processes. */
|
|
1225
|
+
export declare interface Processes {
|
|
1226
|
+
/**
|
|
1227
|
+
* Returns a collection of ports on which this process is accepting
|
|
1228
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1229
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1230
|
+
* @param machineName Machine resource name.
|
|
1231
|
+
* @param processName Process resource name.
|
|
1232
|
+
* @param options The options parameters.
|
|
1233
|
+
*/
|
|
1234
|
+
listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesListAcceptingPortsOptionalParams): PagedAsyncIterableIterator<Port>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Returns a collection of connections terminating or originating at the specified process
|
|
1237
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1238
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1239
|
+
* @param machineName Machine resource name.
|
|
1240
|
+
* @param processName Process resource name.
|
|
1241
|
+
* @param options The options parameters.
|
|
1242
|
+
*/
|
|
1243
|
+
listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesListConnectionsOptionalParams): PagedAsyncIterableIterator<Connection>;
|
|
1244
|
+
/**
|
|
1245
|
+
* Returns the specified process.
|
|
1246
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1247
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1248
|
+
* @param machineName Machine resource name.
|
|
1249
|
+
* @param processName Process resource name.
|
|
1250
|
+
* @param options The options parameters.
|
|
1251
|
+
*/
|
|
1252
|
+
get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesGetOptionalParams): Promise<ProcessesGetResponse>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Obtains the liveness status of the process during the specified time interval.
|
|
1255
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1256
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1257
|
+
* @param machineName Machine resource name.
|
|
1258
|
+
* @param processName Process resource name.
|
|
1259
|
+
* @param options The options parameters.
|
|
1260
|
+
*/
|
|
1261
|
+
getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesGetLivenessOptionalParams): Promise<ProcessesGetLivenessResponse>;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/** Optional parameters. */
|
|
1265
|
+
export declare interface ProcessesGetLivenessOptionalParams extends coreClient.OperationOptions {
|
|
1266
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1267
|
+
startTime?: Date;
|
|
1268
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1269
|
+
endTime?: Date;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/** Contains response data for the getLiveness operation. */
|
|
1273
|
+
export declare type ProcessesGetLivenessResponse = Liveness;
|
|
1274
|
+
|
|
1275
|
+
/** Optional parameters. */
|
|
1276
|
+
export declare interface ProcessesGetOptionalParams extends coreClient.OperationOptions {
|
|
1277
|
+
/** UTC date and time specifying a time instance relative to which to evaluate a resource. When not specified, the service uses DateTime.UtcNow. */
|
|
1278
|
+
timestamp?: Date;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/** Contains response data for the get operation. */
|
|
1282
|
+
export declare type ProcessesGetResponse = Process;
|
|
1283
|
+
|
|
1284
|
+
/** Optional parameters. */
|
|
1285
|
+
export declare interface ProcessesListAcceptingPortsNextOptionalParams extends coreClient.OperationOptions {
|
|
1286
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1287
|
+
startTime?: Date;
|
|
1288
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1289
|
+
endTime?: Date;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/** Contains response data for the listAcceptingPortsNext operation. */
|
|
1293
|
+
export declare type ProcessesListAcceptingPortsNextResponse = PortCollection;
|
|
1294
|
+
|
|
1295
|
+
/** Optional parameters. */
|
|
1296
|
+
export declare interface ProcessesListAcceptingPortsOptionalParams extends coreClient.OperationOptions {
|
|
1297
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1298
|
+
startTime?: Date;
|
|
1299
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1300
|
+
endTime?: Date;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/** Contains response data for the listAcceptingPorts operation. */
|
|
1304
|
+
export declare type ProcessesListAcceptingPortsResponse = PortCollection;
|
|
1305
|
+
|
|
1306
|
+
/** Optional parameters. */
|
|
1307
|
+
export declare interface ProcessesListConnectionsNextOptionalParams extends coreClient.OperationOptions {
|
|
1308
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1309
|
+
startTime?: Date;
|
|
1310
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1311
|
+
endTime?: Date;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/** Contains response data for the listConnectionsNext operation. */
|
|
1315
|
+
export declare type ProcessesListConnectionsNextResponse = ConnectionCollection;
|
|
1316
|
+
|
|
1317
|
+
/** Optional parameters. */
|
|
1318
|
+
export declare interface ProcessesListConnectionsOptionalParams extends coreClient.OperationOptions {
|
|
1319
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1320
|
+
startTime?: Date;
|
|
1321
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1322
|
+
endTime?: Date;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/** Contains response data for the listConnections operation. */
|
|
1326
|
+
export declare type ProcessesListConnectionsResponse = ConnectionCollection;
|
|
1327
|
+
|
|
1328
|
+
/** A service hosted by a process. */
|
|
1329
|
+
export declare interface ProcessHostedService {
|
|
1330
|
+
/** The name of the service. */
|
|
1331
|
+
name?: string;
|
|
1332
|
+
/** The service's display name. */
|
|
1333
|
+
displayName?: string;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/** Describes the hosting configuration of a process. */
|
|
1337
|
+
export declare interface ProcessHostingConfiguration {
|
|
1338
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1339
|
+
kind: "provider:azure";
|
|
1340
|
+
/** The hosting provider of the VM. */
|
|
1341
|
+
provider?: "azure";
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
export declare type ProcessHostingConfigurationUnion = ProcessHostingConfiguration | AzureProcessHostingConfiguration;
|
|
1345
|
+
|
|
1346
|
+
/** Reference to a process. */
|
|
1347
|
+
export declare type ProcessReference = ResourceReference & {
|
|
1348
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1349
|
+
kind: "ref:process";
|
|
1350
|
+
/**
|
|
1351
|
+
* Machine hosting the process.
|
|
1352
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1353
|
+
*/
|
|
1354
|
+
readonly machine?: MachineReference;
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* Defines values for ProcessRole. \
|
|
1359
|
+
* {@link KnownProcessRole} can be used interchangeably with ProcessRole,
|
|
1360
|
+
* this enum contains the known values that the service supports.
|
|
1361
|
+
* ### Known values supported by the service
|
|
1362
|
+
* **webServer** \
|
|
1363
|
+
* **appServer** \
|
|
1364
|
+
* **databaseServer** \
|
|
1365
|
+
* **ldapServer** \
|
|
1366
|
+
* **smbServer**
|
|
1367
|
+
*/
|
|
1368
|
+
export declare type ProcessRole = string;
|
|
1369
|
+
|
|
1370
|
+
/** Describes the user under which a process is running. */
|
|
1371
|
+
export declare interface ProcessUser {
|
|
1372
|
+
/** User name under which the process is running. */
|
|
1373
|
+
userName?: string;
|
|
1374
|
+
/** Domain name for the user. */
|
|
1375
|
+
userDomain?: string;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/** A typed relationship between two entities. */
|
|
1379
|
+
export declare type Relationship = Resource & {
|
|
1380
|
+
/** Additional resource type qualifier. */
|
|
1381
|
+
kind: RelationshipKind;
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Defines values for RelationshipKind. \
|
|
1386
|
+
* {@link KnownRelationshipKind} can be used interchangeably with RelationshipKind,
|
|
1387
|
+
* this enum contains the known values that the service supports.
|
|
1388
|
+
* ### Known values supported by the service
|
|
1389
|
+
* **rel:connection** \
|
|
1390
|
+
* **rel:acceptor**
|
|
1391
|
+
*/
|
|
1392
|
+
export declare type RelationshipKind = string;
|
|
1393
|
+
|
|
1394
|
+
/** Relationship properties. */
|
|
1395
|
+
export declare interface RelationshipProperties {
|
|
1396
|
+
/** Source resource of the relationship. */
|
|
1397
|
+
source: ResourceReferenceUnion;
|
|
1398
|
+
/** Destination resource of the relationship. */
|
|
1399
|
+
destination: ResourceReferenceUnion;
|
|
1400
|
+
/** Relationship start time. */
|
|
1401
|
+
startTime?: Date;
|
|
1402
|
+
/** Relationship end time. */
|
|
1403
|
+
endTime?: Date;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
export declare type RelationshipUnion = Relationship | Connection | Acceptor;
|
|
1407
|
+
|
|
1408
|
+
/** Resource model definition. */
|
|
1409
|
+
export declare interface Resource {
|
|
1410
|
+
/**
|
|
1411
|
+
* Resource identifier.
|
|
1412
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1413
|
+
*/
|
|
1414
|
+
readonly id?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* Resource type.
|
|
1417
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1418
|
+
*/
|
|
1419
|
+
readonly type?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Resource name.
|
|
1422
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1423
|
+
*/
|
|
1424
|
+
readonly name?: string;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
/** Represents a reference to another resource. */
|
|
1428
|
+
export declare interface ResourceReference {
|
|
1429
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1430
|
+
kind: "ref:machine" | "ref:port" | "ref:machinewithhints" | "ref:process" | "ref:clientgroup";
|
|
1431
|
+
/** Resource URI. */
|
|
1432
|
+
id: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* Resource type qualifier.
|
|
1435
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1436
|
+
*/
|
|
1437
|
+
readonly type?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Resource name.
|
|
1440
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1441
|
+
*/
|
|
1442
|
+
readonly name?: string;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* Defines values for ResourceReferenceKind. \
|
|
1447
|
+
* {@link KnownResourceReferenceKind} can be used interchangeably with ResourceReferenceKind,
|
|
1448
|
+
* this enum contains the known values that the service supports.
|
|
1449
|
+
* ### Known values supported by the service
|
|
1450
|
+
* **ref:machine** \
|
|
1451
|
+
* **ref:machinewithhints** \
|
|
1452
|
+
* **ref:process** \
|
|
1453
|
+
* **ref:port** \
|
|
1454
|
+
* **ref:onmachine** \
|
|
1455
|
+
* **ref:clientgroup**
|
|
1456
|
+
*/
|
|
1457
|
+
export declare type ResourceReferenceKind = string;
|
|
1458
|
+
|
|
1459
|
+
export declare type ResourceReferenceUnion = ResourceReference | MachineReference | PortReference | MachineReferenceWithHints | ProcessReference | ClientGroupReference;
|
|
1460
|
+
|
|
1461
|
+
export declare class ServiceMap extends coreClient.ServiceClient {
|
|
1462
|
+
$host: string;
|
|
1463
|
+
subscriptionId: string;
|
|
1464
|
+
apiVersion: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Initializes a new instance of the ServiceMap class.
|
|
1467
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1468
|
+
* @param subscriptionId Azure subscription identifier.
|
|
1469
|
+
* @param options The parameter options
|
|
1470
|
+
*/
|
|
1471
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ServiceMapOptionalParams);
|
|
1472
|
+
machines: Machines;
|
|
1473
|
+
processes: Processes;
|
|
1474
|
+
ports: Ports;
|
|
1475
|
+
clientGroups: ClientGroups;
|
|
1476
|
+
maps: Maps;
|
|
1477
|
+
summaries: Summaries;
|
|
1478
|
+
machineGroups: MachineGroups;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/** Optional parameters. */
|
|
1482
|
+
export declare interface ServiceMapOptionalParams extends coreClient.ServiceClientOptions {
|
|
1483
|
+
/** server parameter */
|
|
1484
|
+
$host?: string;
|
|
1485
|
+
/** Api Version */
|
|
1486
|
+
apiVersion?: string;
|
|
1487
|
+
/** Overrides client endpoint. */
|
|
1488
|
+
endpoint?: string;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/** Specifies the computation of a single server dependency map. A single server dependency map includes all direct dependencies of a given machine. */
|
|
1492
|
+
export declare type SingleMachineDependencyMapRequest = MapRequest & {
|
|
1493
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1494
|
+
kind: "map:single-machine-dependency";
|
|
1495
|
+
/** URI of machine resource for which to generate the map. */
|
|
1496
|
+
machineId: string;
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
/** Interface representing a Summaries. */
|
|
1500
|
+
export declare interface Summaries {
|
|
1501
|
+
/**
|
|
1502
|
+
* Returns summary information about the machines in the workspace.
|
|
1503
|
+
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
1504
|
+
* @param workspaceName OMS workspace containing the resources of interest.
|
|
1505
|
+
* @param options The options parameters.
|
|
1506
|
+
*/
|
|
1507
|
+
getMachines(resourceGroupName: string, workspaceName: string, options?: SummariesGetMachinesOptionalParams): Promise<SummariesGetMachinesResponse>;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/** Optional parameters. */
|
|
1511
|
+
export declare interface SummariesGetMachinesOptionalParams extends coreClient.OperationOptions {
|
|
1512
|
+
/** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
|
|
1513
|
+
startTime?: Date;
|
|
1514
|
+
/** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
|
|
1515
|
+
endTime?: Date;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/** Contains response data for the getMachines operation. */
|
|
1519
|
+
export declare type SummariesGetMachinesResponse = MachinesSummary;
|
|
1520
|
+
|
|
1521
|
+
/** Base for all resource summaries. */
|
|
1522
|
+
export declare type Summary = Resource & {};
|
|
1523
|
+
|
|
1524
|
+
/** Base for all summaries. */
|
|
1525
|
+
export declare interface SummaryProperties {
|
|
1526
|
+
/** Summary interval start time. */
|
|
1527
|
+
startTime: Date;
|
|
1528
|
+
/** Summary interval end time. */
|
|
1529
|
+
endTime: Date;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
/** Describes a timezone. */
|
|
1533
|
+
export declare interface Timezone {
|
|
1534
|
+
/** Timezone full name. */
|
|
1535
|
+
fullName?: string;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/** Defines values for VirtualizationState. */
|
|
1539
|
+
export declare type VirtualizationState = "unknown" | "physical" | "virtual" | "hypervisor";
|
|
1540
|
+
|
|
1541
|
+
/** Describes the virtualization-related configuration of a machine. */
|
|
1542
|
+
export declare interface VirtualMachineConfiguration {
|
|
1543
|
+
/** Specifies the virtualization technology used by the machine (hyperv, vmware, etc.) */
|
|
1544
|
+
virtualMachineType?: VirtualMachineType;
|
|
1545
|
+
/** The unique identifier of the virtual machine as reported by the underlying virtualization system. */
|
|
1546
|
+
nativeMachineId?: string;
|
|
1547
|
+
/** The Name of the virtual machine. */
|
|
1548
|
+
virtualMachineName?: string;
|
|
1549
|
+
/** The unique identifier of the host of this virtual machine as reported by the underlying virtualization system. */
|
|
1550
|
+
nativeHostMachineId?: string;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/** Defines values for VirtualMachineType. */
|
|
1554
|
+
export declare type VirtualMachineType = "unknown" | "hyperv" | "ldom" | "lpar" | "vmware" | "virtualPc" | "xen";
|
|
1555
|
+
|
|
1556
|
+
export { }
|