Skip to main content

security_ml_analytics_settings

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

Overview

Namesecurity_ml_analytics_settings
TypeResource
Idazure.security_insight.security_ml_analytics_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
etagstringEtag of the azure resource.
kindstringMetadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. Required. "Anomaly"
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, workspace_name, settings_resource_name, subscription_idGets the Security ML Analytics Settings.
listselectresource_group_name, workspace_name, subscription_idGets all Security ML Analytics Settings.
create_or_updateinsertresource_group_name, workspace_name, settings_resource_name, subscription_id, kindCreates or updates the Security ML Analytics Settings.
create_or_updatereplaceresource_group_name, workspace_name, settings_resource_name, subscription_id, kindCreates or updates the Security ML Analytics Settings.
deletedeleteresource_group_name, workspace_name, settings_resource_name, subscription_idDelete the Security ML Analytics Settings.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
settings_resource_namestringSecurity ML Analytics Settings resource name. Required.
subscription_idstring
workspace_namestringThe name of the monitor workspace. Required.

SELECT examples

Gets the Security ML Analytics Settings.

SELECT
id,
name,
etag,
kind,
systemData,
type
FROM azure.security_insight.security_ml_analytics_settings
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND settings_resource_name = '{{ settings_resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates the Security ML Analytics Settings.

INSERT INTO azure.security_insight.security_ml_analytics_settings (
kind,
etag,
resource_group_name,
workspace_name,
settings_resource_name,
subscription_id
)
SELECT
'{{ kind }}' /* required */,
'{{ etag }}',
'{{ resource_group_name }}',
'{{ workspace_name }}',
'{{ settings_resource_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
kind,
systemData,
type
;

REPLACE examples

Creates or updates the Security ML Analytics Settings.

REPLACE azure.security_insight.security_ml_analytics_settings
SET
kind = '{{ kind }}',
etag = '{{ etag }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND settings_resource_name = '{{ settings_resource_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND kind = '{{ kind }}' --required
RETURNING
id,
name,
etag,
kind,
systemData,
type;

DELETE examples

Delete the Security ML Analytics Settings.

DELETE FROM azure.security_insight.security_ml_analytics_settings
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND settings_resource_name = '{{ settings_resource_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;