Skip to main content

log_files

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

Overview

Namelog_files
TypeResource
Idazure.maria_db.log_files

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the log file.
propertiesobjectThe properties of the log file.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_serverselectsubscriptionId, resourceGroupName, serverNameList all the log files in a given server.

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serverNamestringThe name of the server.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

List all the log files in a given server.

SELECT
name,
properties
FROM azure.maria_db.log_files
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
;