Skip to main content

onboarding_states

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

Overview

Nameonboarding_states
TypeResource
Idazure.sentinel.onboarding_states

Fields

NameDatatypeDescription
customer_managed_keytextfield from the properties object
etagtextEtag of the azure resource
resourceGroupNametextfield from the properties object
sentinelOnboardingStateNametextfield from the properties object
subscriptionIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, sentinelOnboardingStateName, subscriptionId, workspaceNameGet Sentinel onboarding state
listSELECTresourceGroupName, subscriptionId, workspaceNameGets all Sentinel onboarding states
createINSERTresourceGroupName, sentinelOnboardingStateName, subscriptionId, workspaceNameCreate Sentinel onboarding state
deleteDELETEresourceGroupName, sentinelOnboardingStateName, subscriptionId, workspaceNameDelete Sentinel onboarding state

SELECT examples

Gets all Sentinel onboarding states

SELECT
customer_managed_key,
etag,
resourceGroupName,
sentinelOnboardingStateName,
subscriptionId,
workspaceName
FROM azure.sentinel.vw_onboarding_states
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

Use the following StackQL query and manifest file to create a new onboarding_states resource.

/*+ create */
INSERT INTO azure.sentinel.onboarding_states (
resourceGroupName,
sentinelOnboardingStateName,
subscriptionId,
workspaceName,
etag,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ sentinelOnboardingStateName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ etag }}',
'{{ properties }}'
;

DELETE example

Deletes the specified onboarding_states resource.

/*+ delete */
DELETE FROM azure.sentinel.onboarding_states
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sentinelOnboardingStateName = '{{ sentinelOnboardingStateName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';