Skip to main content

diagnostic_logs_config_slots

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

Overview

Namediagnostic_logs_config_slots
TypeResource
Idazure.app_service.diagnostic_logs_config_slots

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updatereplaceresourceGroupName, name, slot, subscriptionIdDescription for Updates the logging configuration of an app.

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
namestringName of the app.
resourceGroupNamestringName of the resource group to which the resource belongs.
slotstringName of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

REPLACE examples

Description for Updates the logging configuration of an app.

REPLACE azure.app_service.diagnostic_logs_config_slots
SET
data__kind = '{{ kind }}',
data__properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND name = '{{ name }}' --required
AND slot = '{{ slot }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
id,
name,
kind,
properties,
type;