共用方式為


Machines class

代表機器的類別。

建構函式

Machines(ServicemapManagementClientContext)

建立電腦。

方法

get(string, string, string, MachinesGetOptionalParams)

傳回指定的機器。

get(string, string, string, MachinesGetOptionalParams, ServiceCallback<Machine>)
get(string, string, string, ServiceCallback<Machine>)
getLiveness(string, string, string, MachinesGetLivenessOptionalParams)

取得指定時間間隔內機器的活躍度狀態。

getLiveness(string, string, string, MachinesGetLivenessOptionalParams, ServiceCallback<Liveness>)
getLiveness(string, string, string, ServiceCallback<Liveness>)
listByWorkspace(string, string, MachinesListByWorkspaceOptionalParams)

傳回符合指定條件的機器集合。 傳回的集合代表在指定時間間隔內作用中/即時的計算機(已指定live=truestartTime/endTime),或已知在指定時間點之前或某個時間點存在的計算機(已指定live=falsetimestamp)。

listByWorkspace(string, string, MachinesListByWorkspaceOptionalParams, ServiceCallback<MachineCollection>)
listByWorkspace(string, string, ServiceCallback<MachineCollection>)
listByWorkspaceNext(string, RequestOptionsBase)

傳回符合指定條件的機器集合。 傳回的集合代表在指定時間間隔內作用中/即時的計算機(已指定live=truestartTime/endTime),或已知在指定時間點之前或某個時間點存在的計算機(已指定live=falsetimestamp)。

listByWorkspaceNext(string, RequestOptionsBase, ServiceCallback<MachineCollection>)
listByWorkspaceNext(string, ServiceCallback<MachineCollection>)
listConnections(string, string, string, MachinesListConnectionsOptionalParams)

傳回終止或源自指定機器的連接集合

listConnections(string, string, string, MachinesListConnectionsOptionalParams, ServiceCallback<ConnectionCollection>)
listConnections(string, string, string, ServiceCallback<ConnectionCollection>)
listConnectionsNext(string, RequestOptionsBase)

傳回終止或源自指定機器的連接集合

listConnectionsNext(string, RequestOptionsBase, ServiceCallback<ConnectionCollection>)
listConnectionsNext(string, ServiceCallback<ConnectionCollection>)
listMachineGroupMembership(string, string, string, MachinesListMachineGroupMembershipOptionalParams)

傳回此電腦在指定時間間隔內所屬的計算機群組集合。

listMachineGroupMembership(string, string, string, MachinesListMachineGroupMembershipOptionalParams, ServiceCallback<MachineGroupCollection>)
listMachineGroupMembership(string, string, string, ServiceCallback<MachineGroupCollection>)
listMachineGroupMembershipNext(string, RequestOptionsBase)

傳回此電腦在指定時間間隔內所屬的計算機群組集合。

listMachineGroupMembershipNext(string, RequestOptionsBase, ServiceCallback<MachineGroupCollection>)
listMachineGroupMembershipNext(string, ServiceCallback<MachineGroupCollection>)
listPorts(string, string, string, MachinesListPortsOptionalParams)

傳回指定時間間隔內指定計算機上即時埠的集合。

listPorts(string, string, string, MachinesListPortsOptionalParams, ServiceCallback<PortCollection>)
listPorts(string, string, string, ServiceCallback<PortCollection>)
listPortsNext(string, RequestOptionsBase)

傳回指定時間間隔內指定計算機上即時埠的集合。

listPortsNext(string, RequestOptionsBase, ServiceCallback<PortCollection>)
listPortsNext(string, ServiceCallback<PortCollection>)
listProcesses(string, string, string, MachinesListProcessesOptionalParams)

傳回指定計算機上符合指定條件的進程集合。 傳回的集合代表在指定時間間隔內作用中/即時的進程(已指定live=truestartTime/endTime),或已知存在於指定時間點之前或某個時間點之前的進程(已指定live=falsetimestamp)。

listProcesses(string, string, string, MachinesListProcessesOptionalParams, ServiceCallback<ProcessCollection>)
listProcesses(string, string, string, ServiceCallback<ProcessCollection>)
listProcessesNext(string, RequestOptionsBase)

傳回指定計算機上符合指定條件的進程集合。 傳回的集合代表在指定時間間隔內作用中/即時的進程(已指定live=truestartTime/endTime),或已知存在於指定時間點之前或某個時間點之前的進程(已指定live=falsetimestamp)。

listProcessesNext(string, RequestOptionsBase, ServiceCallback<ProcessCollection>)
listProcessesNext(string, ServiceCallback<ProcessCollection>)

建構函式詳細資料

Machines(ServicemapManagementClientContext)

建立電腦。

new Machines(client: ServicemapManagementClientContext)

參數

client
ServicemapManagementClientContext

服務客戶端的參考。

方法詳細資料

get(string, string, string, MachinesGetOptionalParams)

傳回指定的機器。

function get(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesGetOptionalParams): Promise<MachinesGetResponse>

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesGetOptionalParams

選擇性參數

傳回

承諾<Models.MachinesGetResponse>

get(string, string, string, MachinesGetOptionalParams, ServiceCallback<Machine>)

function get(resourceGroupName: string, workspaceName: string, machineName: string, options: MachinesGetOptionalParams, callback: ServiceCallback<Machine>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesGetOptionalParams

選擇性參數

callback

ServiceCallback<Machine>

回呼

get(string, string, string, ServiceCallback<Machine>)

function get(resourceGroupName: string, workspaceName: string, machineName: string, callback: ServiceCallback<Machine>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

callback

ServiceCallback<Machine>

回呼

getLiveness(string, string, string, MachinesGetLivenessOptionalParams)

取得指定時間間隔內機器的活躍度狀態。

function getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesGetLivenessOptionalParams): Promise<MachinesGetLivenessResponse>

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesGetLivenessOptionalParams

選擇性參數

傳回

承諾<Models.MachinesGetLivenessResponse>

getLiveness(string, string, string, MachinesGetLivenessOptionalParams, ServiceCallback<Liveness>)

function getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, options: MachinesGetLivenessOptionalParams, callback: ServiceCallback<Liveness>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesGetLivenessOptionalParams

選擇性參數

callback

ServiceCallback<Liveness>

回呼

getLiveness(string, string, string, ServiceCallback<Liveness>)

function getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, callback: ServiceCallback<Liveness>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

callback

ServiceCallback<Liveness>

回呼

listByWorkspace(string, string, MachinesListByWorkspaceOptionalParams)

傳回符合指定條件的機器集合。 傳回的集合代表在指定時間間隔內作用中/即時的計算機(已指定live=truestartTime/endTime),或已知在指定時間點之前或某個時間點存在的計算機(已指定live=falsetimestamp)。

function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: MachinesListByWorkspaceOptionalParams): Promise<MachinesListByWorkspaceResponse>

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

options
MachinesListByWorkspaceOptionalParams

選擇性參數

傳回

承諾<Models.MachinesListByWorkspaceResponse>

listByWorkspace(string, string, MachinesListByWorkspaceOptionalParams, ServiceCallback<MachineCollection>)

function listByWorkspace(resourceGroupName: string, workspaceName: string, options: MachinesListByWorkspaceOptionalParams, callback: ServiceCallback<MachineCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

options
MachinesListByWorkspaceOptionalParams

選擇性參數

listByWorkspace(string, string, ServiceCallback<MachineCollection>)

function listByWorkspace(resourceGroupName: string, workspaceName: string, callback: ServiceCallback<MachineCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

listByWorkspaceNext(string, RequestOptionsBase)

傳回符合指定條件的機器集合。 傳回的集合代表在指定時間間隔內作用中/即時的計算機(已指定live=truestartTime/endTime),或已知在指定時間點之前或某個時間點存在的計算機(已指定live=falsetimestamp)。

function listByWorkspaceNext(nextPageLink: string, options?: RequestOptionsBase): Promise<MachinesListByWorkspaceNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

承諾<Models.MachinesListByWorkspaceNextResponse>

listByWorkspaceNext(string, RequestOptionsBase, ServiceCallback<MachineCollection>)

function listByWorkspaceNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<MachineCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listByWorkspaceNext(string, ServiceCallback<MachineCollection>)

function listByWorkspaceNext(nextPageLink: string, callback: ServiceCallback<MachineCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

listConnections(string, string, string, MachinesListConnectionsOptionalParams)

傳回終止或源自指定機器的連接集合

function listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListConnectionsOptionalParams): Promise<MachinesListConnectionsResponse>

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesListConnectionsOptionalParams

選擇性參數

傳回

承諾<Models.MachinesListConnectionsResponse>

listConnections(string, string, string, MachinesListConnectionsOptionalParams, ServiceCallback<ConnectionCollection>)

function listConnections(resourceGroupName: string, workspaceName: string, machineName: string, options: MachinesListConnectionsOptionalParams, callback: ServiceCallback<ConnectionCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesListConnectionsOptionalParams

選擇性參數

listConnections(string, string, string, ServiceCallback<ConnectionCollection>)

function listConnections(resourceGroupName: string, workspaceName: string, machineName: string, callback: ServiceCallback<ConnectionCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

listConnectionsNext(string, RequestOptionsBase)

傳回終止或源自指定機器的連接集合

function listConnectionsNext(nextPageLink: string, options?: RequestOptionsBase): Promise<MachinesListConnectionsNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.MachinesListConnectionsNext回應>

listConnectionsNext(string, RequestOptionsBase, ServiceCallback<ConnectionCollection>)

function listConnectionsNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ConnectionCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listConnectionsNext(string, ServiceCallback<ConnectionCollection>)

function listConnectionsNext(nextPageLink: string, callback: ServiceCallback<ConnectionCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

listMachineGroupMembership(string, string, string, MachinesListMachineGroupMembershipOptionalParams)

傳回此電腦在指定時間間隔內所屬的計算機群組集合。

function listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListMachineGroupMembershipOptionalParams): Promise<MachinesListMachineGroupMembershipResponse>

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

傳回

承諾<Models.MachinesListMachineGroupMembershipResponse>

listMachineGroupMembership(string, string, string, MachinesListMachineGroupMembershipOptionalParams, ServiceCallback<MachineGroupCollection>)

function listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, options: MachinesListMachineGroupMembershipOptionalParams, callback: ServiceCallback<MachineGroupCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

listMachineGroupMembership(string, string, string, ServiceCallback<MachineGroupCollection>)

function listMachineGroupMembership(resourceGroupName: string, workspaceName: string, machineName: string, callback: ServiceCallback<MachineGroupCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

listMachineGroupMembershipNext(string, RequestOptionsBase)

傳回此電腦在指定時間間隔內所屬的計算機群組集合。

function listMachineGroupMembershipNext(nextPageLink: string, options?: RequestOptionsBase): Promise<MachinesListMachineGroupMembershipNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise Models.MachinesListMachineGroupMembershipNext<回應>

listMachineGroupMembershipNext(string, RequestOptionsBase, ServiceCallback<MachineGroupCollection>)

function listMachineGroupMembershipNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<MachineGroupCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listMachineGroupMembershipNext(string, ServiceCallback<MachineGroupCollection>)

function listMachineGroupMembershipNext(nextPageLink: string, callback: ServiceCallback<MachineGroupCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

listPorts(string, string, string, MachinesListPortsOptionalParams)

傳回指定時間間隔內指定計算機上即時埠的集合。

function listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListPortsOptionalParams): Promise<MachinesListPortsResponse>

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesListPortsOptionalParams

選擇性參數

傳回

承諾<Models.MachinesListPortsResponse>

listPorts(string, string, string, MachinesListPortsOptionalParams, ServiceCallback<PortCollection>)

function listPorts(resourceGroupName: string, workspaceName: string, machineName: string, options: MachinesListPortsOptionalParams, callback: ServiceCallback<PortCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesListPortsOptionalParams

選擇性參數

callback

ServiceCallback<PortCollection>

回呼

listPorts(string, string, string, ServiceCallback<PortCollection>)

function listPorts(resourceGroupName: string, workspaceName: string, machineName: string, callback: ServiceCallback<PortCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

callback

ServiceCallback<PortCollection>

回呼

listPortsNext(string, RequestOptionsBase)

傳回指定時間間隔內指定計算機上即時埠的集合。

function listPortsNext(nextPageLink: string, options?: RequestOptionsBase): Promise<MachinesListPortsNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.MachinesListPortsNext回應>

listPortsNext(string, RequestOptionsBase, ServiceCallback<PortCollection>)

function listPortsNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<PortCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<PortCollection>

回呼

listPortsNext(string, ServiceCallback<PortCollection>)

function listPortsNext(nextPageLink: string, callback: ServiceCallback<PortCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

callback

ServiceCallback<PortCollection>

回呼

listProcesses(string, string, string, MachinesListProcessesOptionalParams)

傳回指定計算機上符合指定條件的進程集合。 傳回的集合代表在指定時間間隔內作用中/即時的進程(已指定live=truestartTime/endTime),或已知存在於指定時間點之前或某個時間點之前的進程(已指定live=falsetimestamp)。

function listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options?: MachinesListProcessesOptionalParams): Promise<MachinesListProcessesResponse>

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesListProcessesOptionalParams

選擇性參數

傳回

承諾<Models.MachinesListProcessesResponse>

listProcesses(string, string, string, MachinesListProcessesOptionalParams, ServiceCallback<ProcessCollection>)

function listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, options: MachinesListProcessesOptionalParams, callback: ServiceCallback<ProcessCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

options
MachinesListProcessesOptionalParams

選擇性參數

listProcesses(string, string, string, ServiceCallback<ProcessCollection>)

function listProcesses(resourceGroupName: string, workspaceName: string, machineName: string, callback: ServiceCallback<ProcessCollection>)

參數

resourceGroupName

string

指定 subscriptionId 內的資源組名。

workspaceName

string

包含感興趣資源的 OMS 工作區。

machineName

string

計算機資源名稱。

listProcessesNext(string, RequestOptionsBase)

傳回指定計算機上符合指定條件的進程集合。 傳回的集合代表在指定時間間隔內作用中/即時的進程(已指定live=truestartTime/endTime),或已知存在於指定時間點之前或某個時間點之前的進程(已指定live=falsetimestamp)。

function listProcessesNext(nextPageLink: string, options?: RequestOptionsBase): Promise<MachinesListProcessesNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

承諾<Models.MachinesListProcessesNextResponse>

listProcessesNext(string, RequestOptionsBase, ServiceCallback<ProcessCollection>)

function listProcessesNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ProcessCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listProcessesNext(string, ServiceCallback<ProcessCollection>)

function listProcessesNext(nextPageLink: string, callback: ServiceCallback<ProcessCollection>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。