Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idazure.security.applications

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
descriptiontextfield from the properties object
applicationIdtextfield from the properties object
condition_setstextfield from the properties object
display_nametextfield from the properties object
source_resource_typetextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationId, subscriptionIdGet a specific application for the requested scope by applicationId
listSELECTsubscriptionIdGet a list of all relevant applications over a subscription level scope
create_or_updateINSERTapplicationId, subscriptionIdCreates or update a security application on the given subscription.
deleteDELETEapplicationId, subscriptionIdDelete an Application over a given scope

SELECT examples

Get a list of all relevant applications over a subscription level scope

SELECT
id,
name,
description,
applicationId,
condition_sets,
display_name,
source_resource_type,
subscriptionId,
type
FROM azure.security.vw_applications
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.security.applications (
applicationId,
subscriptionId,
properties
)
SELECT
'{{ applicationId }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified applications resource.

/*+ delete */
DELETE FROM azure.security.applications
WHERE applicationId = '{{ applicationId }}'
AND subscriptionId = '{{ subscriptionId }}';