code_package_container_logs
Creates, updates, deletes, gets or lists a code_package_container_logs
resource.
Overview
Name | code_package_container_logs |
Type | Resource |
Id | azure.service_fabric_mesh.code_package_container_logs |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
content | string | Container logs. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , applicationResourceName , serviceResourceName , replicaName , codePackageName | api-version , tail | 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 |
---|---|---|
applicationResourceName | string | The identity of the application. |
codePackageName | string | The name of code package of the service. |
replicaName | string | Service Fabric replica name. |
resourceGroupName | string | Azure resource group name |
serviceResourceName | string | The identity of the service. |
subscriptionId | string | The customer subscription identifier |
api-version | string | The version of the API. This parameter is required and its value must be 2018-09-01-preview . |
tail | integer | Number of lines to show from the end of the logs. Default is 100. |
SELECT
examples
- get
Gets the logs for the container of the specified code package of the service replica.
SELECT
content
FROM azure.service_fabric_mesh.code_package_container_logs
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND applicationResourceName = '{{ applicationResourceName }}' -- required
AND serviceResourceName = '{{ serviceResourceName }}' -- required
AND replicaName = '{{ replicaName }}' -- required
AND codePackageName = '{{ codePackageName }}' -- required
AND api-version = '{{ api-version }}'
AND tail = '{{ tail }}'
;