mesh_code_package
Creates, updates, deletes, gets or lists a mesh_code_package resource.
Overview
| Name | mesh_code_package |
| Type | Resource |
| Id | azure.service_fabric_dataplane.mesh_code_package |
Fields
The following fields are returned by SELECT queries:
- get_container_logs
| 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 | select | code_package_name, application_resource_name, service_resource_name, replica_name, endpoint | Tail | Gets the logs from the container. Gets the logs for the container of the specified code package of the service replica. |
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 |
|---|---|---|
application_resource_name | string | The identity of the application. |
code_package_name | string | The name of code package of the service. |
endpoint | string | The service endpoint host (no scheme). (default: ) |
replica_name | string | Service Fabric replica name. |
service_resource_name | string | The identity of the service. |
Tail | string | Number of lines to show from the end of the logs. Default is 100. 'all' to show the complete logs. |
SELECT examples
- get_container_logs
Gets the logs from the container. Gets the logs for the container of the specified code package of the service replica.
SELECT
Content
FROM azure.service_fabric_dataplane.mesh_code_package
WHERE code_package_name = '{{ code_package_name }}' -- required
AND application_resource_name = '{{ application_resource_name }}' -- required
AND service_resource_name = '{{ service_resource_name }}' -- required
AND replica_name = '{{ replica_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND Tail = '{{ Tail }}'
;