Skip to main content

sentinel_onboarding_states

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

Overview

Namesentinel_onboarding_states
TypeResource
Idazure.security_insight.sentinel_onboarding_states

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.
customerManagedKeybooleanFlag that indicates the status of the CMK setting.
etagstringEtag of the azure resource.
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, sentinel_onboarding_state_name, subscription_idGet Sentinel onboarding state.
listselectresource_group_name, workspace_name, subscription_idGets all Sentinel onboarding states.
createinsertresource_group_name, workspace_name, sentinel_onboarding_state_name, subscription_idCreate Sentinel onboarding state.
deletedeleteresource_group_name, workspace_name, sentinel_onboarding_state_name, subscription_idDelete Sentinel onboarding state.

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.
sentinel_onboarding_state_namestringThe Sentinel onboarding state name. Supports - default. Required.
subscription_idstring
workspace_namestringThe name of the monitor workspace. Required.

SELECT examples

Get Sentinel onboarding state.

SELECT
id,
name,
customerManagedKey,
etag,
systemData,
type
FROM azure.security_insight.sentinel_onboarding_states
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND sentinel_onboarding_state_name = '{{ sentinel_onboarding_state_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create Sentinel onboarding state.

INSERT INTO azure.security_insight.sentinel_onboarding_states (
properties,
etag,
resource_group_name,
workspace_name,
sentinel_onboarding_state_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ etag }}',
'{{ resource_group_name }}',
'{{ workspace_name }}',
'{{ sentinel_onboarding_state_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;

DELETE examples

Delete Sentinel onboarding state.

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