security_ml_analytics_settings
Creates, updates, deletes, gets or lists a security_ml_analytics_settings resource.
Overview
| Name | security_ml_analytics_settings |
| Type | Resource |
| Id | azure.security_insight.security_ml_analytics_settings |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
etag | string | Etag of the azure resource. |
kind | string | Metadata 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" |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
etag | string | Etag of the azure resource. |
kind | string | Metadata 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" |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, workspace_name, settings_resource_name, subscription_id | Gets the Security ML Analytics Settings. | |
list | select | resource_group_name, workspace_name, subscription_id | Gets all Security ML Analytics Settings. | |
create_or_update | insert | resource_group_name, workspace_name, settings_resource_name, subscription_id, kind | Creates or updates the Security ML Analytics Settings. | |
create_or_update | replace | resource_group_name, workspace_name, settings_resource_name, subscription_id, kind | Creates or updates the Security ML Analytics Settings. | |
delete | delete | resource_group_name, workspace_name, settings_resource_name, subscription_id | Delete 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.
| Name | Datatype | Description |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
settings_resource_name | string | Security ML Analytics Settings resource name. Required. |
subscription_id | string | |
workspace_name | string | The name of the monitor workspace. Required. |
SELECT examples
- get
- list
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
;
Gets all 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 subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: security_ml_analytics_settings
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the security_ml_analytics_settings resource.
- name: workspace_name
value: "{{ workspace_name }}"
description: Required parameter for the security_ml_analytics_settings resource.
- name: settings_resource_name
value: "{{ settings_resource_name }}"
description: Required parameter for the security_ml_analytics_settings resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the security_ml_analytics_settings resource.
- name: kind
value: "{{ kind }}"
description: |
Metadata 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"
- name: etag
value: "{{ etag }}"
description: |
Etag of the azure resource.
REPLACE examples
- create_or_update
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
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
;