Skip to main content

mesh_code_package

Creates, updates, deletes, gets or lists a mesh_code_package resource.

Overview

Namemesh_code_package
TypeResource
Idazure.service_fabric_dataplane.mesh_code_package

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
Contentstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_container_logsselectcode_package_name, application_resource_name, service_resource_name, replica_name, endpointTailGets 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.

NameDatatypeDescription
application_resource_namestringThe identity of the application.
code_package_namestringThe name of code package of the service.
endpointstringThe service endpoint host (no scheme). (default: )
replica_namestringService Fabric replica name.
service_resource_namestringThe identity of the service.
TailstringNumber of lines to show from the end of the logs. Default is 100. 'all' to show the complete logs.

SELECT examples

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 }}'
;