AzureLogsTemplatePlugin
This class handles Azure Logs specific templating. It addresses the unique encoding scheme of Azure URIs, where the first half contains tenant and resource details, and the second half is a gzipped, base64, and URL-encoded query.
Attributes
| Attribute | Type | Description |
|---|---|---|
| QueryFormat | string | The plain text query to use for Azure Logs. |
Methods
GetTaskLogs()
@classmethod
def GetTaskLogs(
input: [Input](input.md?sid=flyteplugins_go_tasks_pluginmachinery_tasklog_input)
) - > [Output](output.md?sid=flyteplugins_go_tasks_pluginmachinery_tasklog_output)
Retrieves task logs for Azure. This method handles the specific encoding requirements for Azure URIs, where the query part is gzipped, base64 encoded, and then URL encoded.
Parameters
| Name | Type | Description |
|---|---|---|
| input | [Input](input.md?sid=flyteplugins_go_tasks_pluginmachinery_tasklog_input) | The input object containing necessary parameters to fetch the task logs, such as task identifiers or query details. |
Returns
| Type | Description |
|---|---|
[Output](output.md?sid=flyteplugins_go_tasks_pluginmachinery_tasklog_output) | The output containing the task logs, or an error if the operation fails. |