Skip to main content

instances_log_analytics

Creates, updates, deletes, gets or lists an instances_log_analytics resource.

Overview

Nameinstances_log_analytics
TypeResource
Idazure.scom.instances_log_analytics

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
updateexecsubscriptionId, resourceGroupName, instanceNameUpdate configuration for log analytics linking for SCOM monitoring instance

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
instanceNamestringName of the SCOM managed instance.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

Lifecycle Methods

Update configuration for log analytics linking for SCOM monitoring instance

EXEC azure.scom.instances_log_analytics.update 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@instanceName='{{ instanceName }}' --required
@@json=
'{
"dataTypes": "{{ dataTypes }}"
}'
;