Skip to main content

iot_security_solution

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

Overview

Nameiot_security_solution
TypeResource
Idazure.security.iot_security_solution

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
additionalWorkspacesarrayList of additional workspaces.
autoDiscoveredResourcesarrayList of resources that were automatically discovered as relevant to the security solution.
disabledDataSourcesarrayDisabled data sources. Disabling these data sources compromises the system.
displayNamestringResource display name. Required.
exportarrayList of additional options for exporting to workspace data.
iotHubsarrayIoT Hub resource IDs. Required.
locationstringThe geo-location where the resource lives.
recommendationsConfigurationarrayList of the configuration status for each recommendation type.
statusstringStatus of the IoT Security solution. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
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".
unmaskedIpLoggingStatusstringUnmasked IP address logging status. Known values are: "Disabled" and "Enabled". (Disabled, Enabled)
userDefinedResourcesobjectProperties of the IoT Security solution's user defined resources.
workspacestringWorkspace resource ID.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, solution_name, subscription_idUser this method to get details of a specific IoT Security solution based on solution name.
list_by_resource_groupselectresource_group_name, subscription_id$filterUse this method to get the list IoT Security solutions organized by resource group.
list_by_subscriptionselectsubscription_id$filterUse this method to get the list of IoT Security solutions by subscription.
create_or_updateinsertresource_group_name, solution_name, subscription_idUse this method to create or update yours IoT Security solution.
updateupdateresource_group_name, solution_name, subscription_idUse this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.
create_or_updatereplaceresource_group_name, solution_name, subscription_idUse this method to create or update yours IoT Security solution.
deletedeleteresource_group_name, solution_name, subscription_idUse 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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
solution_namestringThe name of the IoT Security solution. Required.
subscription_idstring
$filterstringFilter the IoT Security solution with OData syntax. Supports filtering by iotHubs. Default value is None.

SELECT examples

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

SELECT
id,
name,
additionalWorkspaces,
autoDiscoveredResources,
disabledDataSources,
displayName,
export,
iotHubs,
location,
recommendationsConfiguration,
status,
systemData,
tags,
type,
unmaskedIpLoggingStatus,
userDefinedResources,
workspace
FROM azure.security.iot_security_solution
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND solution_name = '{{ solution_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Use this method to create or update yours IoT Security solution.

INSERT INTO azure.security.iot_security_solution (
properties,
tags,
location,
resource_group_name,
solution_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ resource_group_name }}',
'{{ solution_name }}',
'{{ subscription_id }}'
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_solution
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND solution_name = '{{ solution_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

REPLACE examples

Use this method to create or update yours IoT Security solution.

REPLACE azure.security.iot_security_solution
SET
properties = '{{ properties }}',
tags = '{{ tags }}',
location = '{{ location }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND solution_name = '{{ solution_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
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_solution
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND solution_name = '{{ solution_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;