container_logs_deployed_on_nodes
Creates, updates, deletes, gets or lists a container_logs_deployed_on_nodes resource.
Overview
| Name | container_logs_deployed_on_nodes |
| Type | Resource |
| Id | azure.service_fabric_dataplane.container_logs_deployed_on_nodes |
Fields
The following fields are returned by SELECT queries:
- get_container_logs_deployed_on_node
| Name | Datatype | Description |
|---|---|---|
Content | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_container_logs_deployed_on_node | select | CodePackageName, application_id, ServiceManifestName, node_name, endpoint | Tail, Previous, timeout | Gets the container logs for container deployed on a Service Fabric node. Gets the container logs for container deployed on a Service Fabric node for the given code package. |
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 |
|---|---|---|
CodePackageName | string | The name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster. |
ServiceManifestName | string | The name of a service manifest registered as part of an application type in a Service Fabric cluster. |
application_id | string | The identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the " |
endpoint | string | The service endpoint host (no scheme). (default: ) |
node_name | string | The name of the node. |
Previous | boolean | Specifies whether to get container logs from exited/dead containers of the code package instance. |
Tail | string | Number of lines to show from the end of the logs. Default is 100. 'all' to show the complete logs. |
timeout | integer (int64) | The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds. |
SELECT examples
- get_container_logs_deployed_on_node
Gets the container logs for container deployed on a Service Fabric node. Gets the container logs for container deployed on a Service Fabric node for the given code package.
SELECT
Content
FROM azure.service_fabric_dataplane.container_logs_deployed_on_nodes
WHERE CodePackageName = '{{ CodePackageName }}' -- required
AND application_id = '{{ application_id }}' -- required
AND ServiceManifestName = '{{ ServiceManifestName }}' -- required
AND node_name = '{{ node_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND Tail = '{{ Tail }}'
AND Previous = '{{ Previous }}'
AND timeout = '{{ timeout }}'
;