Share via


ComputeNodeOperations class

Class representing a ComputeNodeOperations.

Constructors

ComputeNodeOperations(BatchServiceClientContext)

Create a ComputeNodeOperations.

Methods

addUser(string, string, ComputeNodeUser, ComputeNodeAddUserOptionalParams)

You can add a user Account to a Compute Node only when it is in the idle or running state.

addUser(string, string, ComputeNodeUser, ComputeNodeAddUserOptionalParams, ServiceCallback<void>)
addUser(string, string, ComputeNodeUser, ServiceCallback<void>)
deleteUser(string, string, string, ComputeNodeDeleteUserOptionalParams)

You can delete a user Account to a Compute Node only when it is in the idle or running state.

deleteUser(string, string, string, ComputeNodeDeleteUserOptionalParams, ServiceCallback<void>)
deleteUser(string, string, string, ServiceCallback<void>)
disableScheduling(string, string, ComputeNodeDisableSchedulingOptionalParams)

You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.

disableScheduling(string, string, ComputeNodeDisableSchedulingOptionalParams, ServiceCallback<void>)
disableScheduling(string, string, ServiceCallback<void>)
enableScheduling(string, string, ComputeNodeEnableSchedulingOptionalParams)

You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled

enableScheduling(string, string, ComputeNodeEnableSchedulingOptionalParams, ServiceCallback<void>)
enableScheduling(string, string, ServiceCallback<void>)
get(string, string, ComputeNodeGetOptionalParams)
get(string, string, ComputeNodeGetOptionalParams, ServiceCallback<ComputeNode>)
get(string, string, ServiceCallback<ComputeNode>)
getRemoteDesktop(string, string, ComputeNodeGetRemoteDesktopOptionalParams)

Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

getRemoteDesktop(string, string, ComputeNodeGetRemoteDesktopOptionalParams, ServiceCallback<void>)
getRemoteDesktop(string, string, ServiceCallback<void>)
getRemoteLoginSettings(string, string, ComputeNodeGetRemoteLoginSettingsOptionalParams)

Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.

getRemoteLoginSettings(string, string, ComputeNodeGetRemoteLoginSettingsOptionalParams, ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult>)
getRemoteLoginSettings(string, string, ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult>)
list(string, ComputeNodeListOptionalParams)
list(string, ComputeNodeListOptionalParams, ServiceCallback<ComputeNodeListResult>)
list(string, ServiceCallback<ComputeNodeListResult>)
listNext(string, ComputeNodeListNextOptionalParams)
listNext(string, ComputeNodeListNextOptionalParams, ServiceCallback<ComputeNodeListResult>)
listNext(string, ServiceCallback<ComputeNodeListResult>)
reboot(string, string, ComputeNodeRebootOptionalParams)

You can restart a Compute Node only if it is in an idle or running state.

reboot(string, string, ComputeNodeRebootOptionalParams, ServiceCallback<void>)
reboot(string, string, ServiceCallback<void>)
reimage(string, string, ComputeNodeReimageOptionalParams)

You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.

reimage(string, string, ComputeNodeReimageOptionalParams, ServiceCallback<void>)
reimage(string, string, ServiceCallback<void>)
updateUser(string, string, string, NodeUpdateUserParameter, ComputeNodeUpdateUserOptionalParams)

This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.

updateUser(string, string, string, NodeUpdateUserParameter, ComputeNodeUpdateUserOptionalParams, ServiceCallback<void>)
updateUser(string, string, string, NodeUpdateUserParameter, ServiceCallback<void>)
uploadBatchServiceLogs(string, string, UploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptionalParams)

This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

uploadBatchServiceLogs(string, string, UploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptionalParams, ServiceCallback<UploadBatchServiceLogsResult>)
uploadBatchServiceLogs(string, string, UploadBatchServiceLogsConfiguration, ServiceCallback<UploadBatchServiceLogsResult>)

Constructor Details

ComputeNodeOperations(BatchServiceClientContext)

Create a ComputeNodeOperations.

new ComputeNodeOperations(client: BatchServiceClientContext)

Parameters

client
BatchServiceClientContext

Reference to the service client.

Method Details

addUser(string, string, ComputeNodeUser, ComputeNodeAddUserOptionalParams)

You can add a user Account to a Compute Node only when it is in the idle or running state.

function addUser(poolId: string, nodeId: string, user: ComputeNodeUser, options?: ComputeNodeAddUserOptionalParams): Promise<ComputeNodeAddUserResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to create a user Account.

user
ComputeNodeUser

The user Account to be created.

options
ComputeNodeAddUserOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeAddUserResponse>

addUser(string, string, ComputeNodeUser, ComputeNodeAddUserOptionalParams, ServiceCallback<void>)

function addUser(poolId: string, nodeId: string, user: ComputeNodeUser, options: ComputeNodeAddUserOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to create a user Account.

user
ComputeNodeUser

The user Account to be created.

options
ComputeNodeAddUserOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

addUser(string, string, ComputeNodeUser, ServiceCallback<void>)

function addUser(poolId: string, nodeId: string, user: ComputeNodeUser, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to create a user Account.

user
ComputeNodeUser

The user Account to be created.

callback

ServiceCallback<void>

The callback

deleteUser(string, string, string, ComputeNodeDeleteUserOptionalParams)

You can delete a user Account to a Compute Node only when it is in the idle or running state.

function deleteUser(poolId: string, nodeId: string, userName: string, options?: ComputeNodeDeleteUserOptionalParams): Promise<ComputeNodeDeleteUserResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to delete a user Account.

userName

string

The name of the user Account to delete.

options
ComputeNodeDeleteUserOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeDeleteUserResponse>

deleteUser(string, string, string, ComputeNodeDeleteUserOptionalParams, ServiceCallback<void>)

function deleteUser(poolId: string, nodeId: string, userName: string, options: ComputeNodeDeleteUserOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to delete a user Account.

userName

string

The name of the user Account to delete.

options
ComputeNodeDeleteUserOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

deleteUser(string, string, string, ServiceCallback<void>)

function deleteUser(poolId: string, nodeId: string, userName: string, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to delete a user Account.

userName

string

The name of the user Account to delete.

callback

ServiceCallback<void>

The callback

disableScheduling(string, string, ComputeNodeDisableSchedulingOptionalParams)

You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.

function disableScheduling(poolId: string, nodeId: string, options?: ComputeNodeDisableSchedulingOptionalParams): Promise<ComputeNodeDisableSchedulingResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node on which you want to disable Task scheduling.

options
ComputeNodeDisableSchedulingOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeDisableSchedulingResponse>

disableScheduling(string, string, ComputeNodeDisableSchedulingOptionalParams, ServiceCallback<void>)

function disableScheduling(poolId: string, nodeId: string, options: ComputeNodeDisableSchedulingOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node on which you want to disable Task scheduling.

options
ComputeNodeDisableSchedulingOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

disableScheduling(string, string, ServiceCallback<void>)

function disableScheduling(poolId: string, nodeId: string, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node on which you want to disable Task scheduling.

callback

ServiceCallback<void>

The callback

enableScheduling(string, string, ComputeNodeEnableSchedulingOptionalParams)

You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled

function enableScheduling(poolId: string, nodeId: string, options?: ComputeNodeEnableSchedulingOptionalParams): Promise<ComputeNodeEnableSchedulingResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node on which you want to enable Task scheduling.

options
ComputeNodeEnableSchedulingOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeEnableSchedulingResponse>

enableScheduling(string, string, ComputeNodeEnableSchedulingOptionalParams, ServiceCallback<void>)

function enableScheduling(poolId: string, nodeId: string, options: ComputeNodeEnableSchedulingOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node on which you want to enable Task scheduling.

options
ComputeNodeEnableSchedulingOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

enableScheduling(string, string, ServiceCallback<void>)

function enableScheduling(poolId: string, nodeId: string, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node on which you want to enable Task scheduling.

callback

ServiceCallback<void>

The callback

get(string, string, ComputeNodeGetOptionalParams)

function get(poolId: string, nodeId: string, options?: ComputeNodeGetOptionalParams): Promise<ComputeNodeGetResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to get information about.

options
ComputeNodeGetOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeGetResponse>

get(string, string, ComputeNodeGetOptionalParams, ServiceCallback<ComputeNode>)

function get(poolId: string, nodeId: string, options: ComputeNodeGetOptionalParams, callback: ServiceCallback<ComputeNode>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to get information about.

options
ComputeNodeGetOptionalParams

The optional parameters

callback

ServiceCallback<ComputeNode>

The callback

get(string, string, ServiceCallback<ComputeNode>)

function get(poolId: string, nodeId: string, callback: ServiceCallback<ComputeNode>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to get information about.

callback

ServiceCallback<ComputeNode>

The callback

getRemoteDesktop(string, string, ComputeNodeGetRemoteDesktopOptionalParams)

Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

function getRemoteDesktop(poolId: string, nodeId: string, options?: ComputeNodeGetRemoteDesktopOptionalParams): Promise<ComputeNodeGetRemoteDesktopResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.

options
ComputeNodeGetRemoteDesktopOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeGetRemoteDesktopResponse>

getRemoteDesktop(string, string, ComputeNodeGetRemoteDesktopOptionalParams, ServiceCallback<void>)

function getRemoteDesktop(poolId: string, nodeId: string, options: ComputeNodeGetRemoteDesktopOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.

options
ComputeNodeGetRemoteDesktopOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

getRemoteDesktop(string, string, ServiceCallback<void>)

function getRemoteDesktop(poolId: string, nodeId: string, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.

callback

ServiceCallback<void>

The callback

getRemoteLoginSettings(string, string, ComputeNodeGetRemoteLoginSettingsOptionalParams)

Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.

function getRemoteLoginSettings(poolId: string, nodeId: string, options?: ComputeNodeGetRemoteLoginSettingsOptionalParams): Promise<ComputeNodeGetRemoteLoginSettingsResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node for which to obtain the remote login settings.

options
ComputeNodeGetRemoteLoginSettingsOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeGetRemoteLoginSettingsResponse>

getRemoteLoginSettings(string, string, ComputeNodeGetRemoteLoginSettingsOptionalParams, ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult>)

function getRemoteLoginSettings(poolId: string, nodeId: string, options: ComputeNodeGetRemoteLoginSettingsOptionalParams, callback: ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node for which to obtain the remote login settings.

options
ComputeNodeGetRemoteLoginSettingsOptionalParams

The optional parameters

getRemoteLoginSettings(string, string, ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult>)

function getRemoteLoginSettings(poolId: string, nodeId: string, callback: ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node for which to obtain the remote login settings.

list(string, ComputeNodeListOptionalParams)

function list(poolId: string, options?: ComputeNodeListOptionalParams): Promise<ComputeNodeListResponse>

Parameters

poolId

string

The ID of the Pool from which you want to list Compute Nodes.

options
ComputeNodeListOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeListResponse>

list(string, ComputeNodeListOptionalParams, ServiceCallback<ComputeNodeListResult>)

function list(poolId: string, options: ComputeNodeListOptionalParams, callback: ServiceCallback<ComputeNodeListResult>)

Parameters

poolId

string

The ID of the Pool from which you want to list Compute Nodes.

options
ComputeNodeListOptionalParams

The optional parameters

callback

ServiceCallback<ComputeNodeListResult>

The callback

list(string, ServiceCallback<ComputeNodeListResult>)

function list(poolId: string, callback: ServiceCallback<ComputeNodeListResult>)

Parameters

poolId

string

The ID of the Pool from which you want to list Compute Nodes.

callback

ServiceCallback<ComputeNodeListResult>

The callback

listNext(string, ComputeNodeListNextOptionalParams)

function listNext(nextPageLink: string, options?: ComputeNodeListNextOptionalParams): Promise<ComputeNodeListResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
ComputeNodeListNextOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeListResponse>

listNext(string, ComputeNodeListNextOptionalParams, ServiceCallback<ComputeNodeListResult>)

function listNext(nextPageLink: string, options: ComputeNodeListNextOptionalParams, callback: ServiceCallback<ComputeNodeListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
ComputeNodeListNextOptionalParams

The optional parameters

callback

ServiceCallback<ComputeNodeListResult>

The callback

listNext(string, ServiceCallback<ComputeNodeListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<ComputeNodeListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<ComputeNodeListResult>

The callback

reboot(string, string, ComputeNodeRebootOptionalParams)

You can restart a Compute Node only if it is in an idle or running state.

function reboot(poolId: string, nodeId: string, options?: ComputeNodeRebootOptionalParams): Promise<ComputeNodeRebootResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to restart.

options
ComputeNodeRebootOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeRebootResponse>

reboot(string, string, ComputeNodeRebootOptionalParams, ServiceCallback<void>)

function reboot(poolId: string, nodeId: string, options: ComputeNodeRebootOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to restart.

options
ComputeNodeRebootOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

reboot(string, string, ServiceCallback<void>)

function reboot(poolId: string, nodeId: string, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to restart.

callback

ServiceCallback<void>

The callback

reimage(string, string, ComputeNodeReimageOptionalParams)

You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.

function reimage(poolId: string, nodeId: string, options?: ComputeNodeReimageOptionalParams): Promise<ComputeNodeReimageResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to restart.

options
ComputeNodeReimageOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeReimageResponse>

reimage(string, string, ComputeNodeReimageOptionalParams, ServiceCallback<void>)

function reimage(poolId: string, nodeId: string, options: ComputeNodeReimageOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to restart.

options
ComputeNodeReimageOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

reimage(string, string, ServiceCallback<void>)

function reimage(poolId: string, nodeId: string, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node that you want to restart.

callback

ServiceCallback<void>

The callback

updateUser(string, string, string, NodeUpdateUserParameter, ComputeNodeUpdateUserOptionalParams)

This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.

function updateUser(poolId: string, nodeId: string, userName: string, nodeUpdateUserParameter: NodeUpdateUserParameter, options?: ComputeNodeUpdateUserOptionalParams): Promise<ComputeNodeUpdateUserResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to update a user Account.

userName

string

The name of the user Account to update.

nodeUpdateUserParameter
NodeUpdateUserParameter

The parameters for the request.

options
ComputeNodeUpdateUserOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeUpdateUserResponse>

updateUser(string, string, string, NodeUpdateUserParameter, ComputeNodeUpdateUserOptionalParams, ServiceCallback<void>)

function updateUser(poolId: string, nodeId: string, userName: string, nodeUpdateUserParameter: NodeUpdateUserParameter, options: ComputeNodeUpdateUserOptionalParams, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to update a user Account.

userName

string

The name of the user Account to update.

nodeUpdateUserParameter
NodeUpdateUserParameter

The parameters for the request.

options
ComputeNodeUpdateUserOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

updateUser(string, string, string, NodeUpdateUserParameter, ServiceCallback<void>)

function updateUser(poolId: string, nodeId: string, userName: string, nodeUpdateUserParameter: NodeUpdateUserParameter, callback: ServiceCallback<void>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the machine on which you want to update a user Account.

userName

string

The name of the user Account to update.

nodeUpdateUserParameter
NodeUpdateUserParameter

The parameters for the request.

callback

ServiceCallback<void>

The callback

uploadBatchServiceLogs(string, string, UploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptionalParams)

This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

function uploadBatchServiceLogs(poolId: string, nodeId: string, uploadBatchServiceLogsConfiguration: UploadBatchServiceLogsConfiguration, options?: ComputeNodeUploadBatchServiceLogsOptionalParams): Promise<ComputeNodeUploadBatchServiceLogsResponse>

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node from which you want to upload the Azure Batch service log files.

uploadBatchServiceLogsConfiguration
UploadBatchServiceLogsConfiguration

The Azure Batch service log files upload configuration.

options
ComputeNodeUploadBatchServiceLogsOptionalParams

The optional parameters

Returns

Promise<Models.ComputeNodeUploadBatchServiceLogsResponse>

uploadBatchServiceLogs(string, string, UploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptionalParams, ServiceCallback<UploadBatchServiceLogsResult>)

function uploadBatchServiceLogs(poolId: string, nodeId: string, uploadBatchServiceLogsConfiguration: UploadBatchServiceLogsConfiguration, options: ComputeNodeUploadBatchServiceLogsOptionalParams, callback: ServiceCallback<UploadBatchServiceLogsResult>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node from which you want to upload the Azure Batch service log files.

uploadBatchServiceLogsConfiguration
UploadBatchServiceLogsConfiguration

The Azure Batch service log files upload configuration.

options
ComputeNodeUploadBatchServiceLogsOptionalParams

The optional parameters

uploadBatchServiceLogs(string, string, UploadBatchServiceLogsConfiguration, ServiceCallback<UploadBatchServiceLogsResult>)

function uploadBatchServiceLogs(poolId: string, nodeId: string, uploadBatchServiceLogsConfiguration: UploadBatchServiceLogsConfiguration, callback: ServiceCallback<UploadBatchServiceLogsResult>)

Parameters

poolId

string

The ID of the Pool that contains the Compute Node.

nodeId

string

The ID of the Compute Node from which you want to upload the Azure Batch service log files.

uploadBatchServiceLogsConfiguration
UploadBatchServiceLogsConfiguration

The Azure Batch service log files upload configuration.