Skip to main content

iot_security_solutions

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

Overview

Nameiot_security_solutions
TypeResource
Idazure.security.iot_security_solutions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
locationstringThe resource location.
propertiesobjectSecurity Solution data
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags
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
getselectsubscriptionId, resourceGroupName, solutionNameapi-versionUser this method to get details of a specific IoT Security solution based on solution name
list_by_resource_groupselectsubscriptionId, resourceGroupNameapi-version, $filterUse this method to get the list IoT Security solutions organized by resource group.
list_by_subscriptionselectsubscriptionIdapi-version, $filterUse this method to get the list of IoT Security solutions by subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, solutionNameapi-versionUse this method to create or update yours IoT Security solution
updateupdatesubscriptionId, resourceGroupName, solutionNameapi-versionUse this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.
deletedeletesubscriptionId, resourceGroupName, solutionNameapi-versionUse this method to delete yours IoT Security solution

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
resourceGroupNamestringThe name of the resource group within the user's subscription. The name is case insensitive.
solutionNamestringThe name of the IoT Security solution.
subscriptionIdstringAzure subscription ID
$filterstringFilter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
api-versionstringAPI version for the operation

SELECT examples

User this method to get details of a specific IoT Security solution based on solution name

SELECT
id,
name,
location,
properties,
systemData,
tags,
type
FROM azure.security.iot_security_solutions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND solutionName = '{{ solutionName }}' -- required
AND api-version = '{{ api-version }}'
;

INSERT examples

Use this method to create or update yours IoT Security solution

INSERT INTO azure.security.iot_security_solutions (
data__location,
data__properties,
data__tags,
subscriptionId,
resourceGroupName,
solutionName,
api-version
)
SELECT
'{{ location }}',
'{{ properties }}',
'{{ tags }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ solutionName }}',
'{{ api-version }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.

UPDATE azure.security.iot_security_solutions
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND solutionName = '{{ solutionName }}' --required
AND api-version = '{{ api-version}}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Use this method to delete yours IoT Security solution

DELETE FROM azure.security.iot_security_solutions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND solutionName = '{{ solutionName }}' --required
AND api-version = '{{ api-version }}'
;