upload_node_logs
Creates, updates, deletes, gets or lists a upload_node_logs resource.
Overview
| Name | upload_node_logs |
| Type | Resource |
| Id | azure.batch_dataplane.upload_node_logs |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
upload_node_logs | exec | pool_id, node_id, endpoint, containerUrl, startTime | timeOut, ocp-date | Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. 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. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
node_id | string | The ID of the Compute Node for which you want to get the Remote Desktop Protocol file. Required. |
pool_id | string | The ID of the Pool that contains the Compute Node. Required. |
ocp-date | string | The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. Default value is None. |
timeOut | integer | The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". Default value is None. |
Lifecycle Methods
- upload_node_logs
Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. 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.
EXEC azure.batch_dataplane.upload_node_logs.upload_node_logs
@pool_id='{{ pool_id }}' --required,
@node_id='{{ node_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeOut='{{ timeOut }}',
@ocp-date='{{ ocp-date }}'
@@json=
'{
"containerUrl": "{{ containerUrl }}",
"startTime": "{{ startTime }}",
"endTime": "{{ endTime }}",
"identityReference": "{{ identityReference }}"
}'
;