Skip to main content

connector_applications

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

Overview

Nameconnector_applications
TypeResource
Idazure.security.connector_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
resourceGroupNametextfield from the properties object
securityConnectorNametextfield from the properties object
source_resource_typetextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource type

Methods

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

SELECT examples

Get a list of all relevant applications over a security connector level scope

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

INSERT example

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

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

DELETE example

Deletes the specified connector_applications resource.

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