Skip to main content

sync_groups_logs

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

Overview

Namesync_groups_logs
TypeResource
Idazure.sql.sync_groups_logs

Fields

The following fields are returned by SELECT queries:

Successfully retrieved sync group logs.

NameDatatypeDescription
detailsstringDetails of the sync group log.
operationStatusstringOperationStatus of the sync group log.
sourcestringSource of the sync group log.
timestampstring (date-time)Timestamp of the sync group log.
tracingIdstring (uuid)TracingId of the sync group log.
typestringType of the sync group log.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, serverName, databaseName, syncGroupName, startTime, endTime, type, subscriptionIdcontinuationTokenGets a collection of sync group logs.

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
databaseNamestringThe name of the database on which the sync group is hosted.
endTimestringGet logs generated before this time.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverNamestringThe name of the server.
startTimestringGet logs generated after this time.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.
syncGroupNamestringThe name of the sync group.
typestringThe types of logs to retrieve.
continuationTokenstringThe continuation token for this operation.

SELECT examples

Gets a collection of sync group logs.

SELECT
details,
operationStatus,
source,
timestamp,
tracingId,
type
FROM azure.sql.sync_groups_logs
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND databaseName = '{{ databaseName }}' -- required
AND syncGroupName = '{{ syncGroupName }}' -- required
AND startTime = '{{ startTime }}' -- required
AND endTime = '{{ endTime }}' -- required
AND type = '{{ type }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND continuationToken = '{{ continuationToken }}'
;