Skip to main content

iot_security_solutions

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

Overview

Nameiot_security_solutions
TypeResource
Idazure.security.iot_security_solutions

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
additional_workspacestextfield from the properties object
auto_discovered_resourcestextfield from the properties object
disabled_data_sourcestextfield from the properties object
display_nametextfield from the properties object
exporttextfield from the properties object
iot_hubstextfield from the properties object
locationtextThe resource location.
recommendations_configurationtextfield from the properties object
resourceGroupNametextfield from the properties object
solutionNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags
typetextResource type
unmasked_ip_logging_statustextfield from the properties object
user_defined_resourcestextfield from the properties object
workspacetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, solutionName, subscriptionIdUser this method to get details of a specific IoT Security solution based on solution name
list_by_resource_groupSELECTresourceGroupName, subscriptionIdUse this method to get the list IoT Security solutions organized by resource group.
list_by_subscriptionSELECTsubscriptionIdUse this method to get the list of IoT Security solutions by subscription.
create_or_updateINSERTresourceGroupName, solutionName, subscriptionIdUse this method to create or update yours IoT Security solution
deleteDELETEresourceGroupName, solutionName, subscriptionIdUse this method to delete yours IoT Security solution
updateUPDATEresourceGroupName, solutionName, subscriptionIdUse this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.

SELECT examples

Use this method to get the list of IoT Security solutions by subscription.

SELECT
id,
name,
additional_workspaces,
auto_discovered_resources,
disabled_data_sources,
display_name,
export,
iot_hubs,
location,
recommendations_configuration,
resourceGroupName,
solutionName,
status,
subscriptionId,
system_data,
tags,
type,
unmasked_ip_logging_status,
user_defined_resources,
workspace
FROM azure.security.vw_iot_security_solutions
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.security.iot_security_solutions (
resourceGroupName,
solutionName,
subscriptionId,
location,
properties,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ solutionName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ properties }}',
'{{ tags }}'
;

UPDATE example

Updates a iot_security_solutions resource.

/*+ update */
UPDATE azure.security.iot_security_solutions
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND solutionName = '{{ solutionName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified iot_security_solutions resource.

/*+ delete */
DELETE FROM azure.security.iot_security_solutions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND solutionName = '{{ solutionName }}'
AND subscriptionId = '{{ subscriptionId }}';