iot_security_solutions
Creates, updates, deletes, gets or lists a iot_security_solutions
resource.
Overview
Name | iot_security_solutions |
Type | Resource |
Id | azure.security.iot_security_solutions |
Fields
- vw_iot_security_solutions
- iot_security_solutions
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
additional_workspaces | text | field from the properties object |
auto_discovered_resources | text | field from the properties object |
disabled_data_sources | text | field from the properties object |
display_name | text | field from the properties object |
export | text | field from the properties object |
iot_hubs | text | field from the properties object |
location | text | The resource location. |
recommendations_configuration | text | field from the properties object |
resourceGroupName | text | field from the properties object |
solutionName | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags |
type | text | Resource type |
unmasked_ip_logging_status | text | field from the properties object |
user_defined_resources | text | field from the properties object |
workspace | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
location | string | The resource location. |
properties | object | Security Solution setting data |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, solutionName, subscriptionId | User this method to get details of a specific IoT Security solution based on solution name |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Use this method to get the list IoT Security solutions organized by resource group. |
list_by_subscription | SELECT | subscriptionId | Use this method to get the list of IoT Security solutions by subscription. |
create_or_update | INSERT | resourceGroupName, solutionName, subscriptionId | Use this method to create or update yours IoT Security solution |
delete | DELETE | resourceGroupName, solutionName, subscriptionId | Use this method to delete yours IoT Security solution |
update | UPDATE | resourceGroupName, solutionName, subscriptionId | Use 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.
- vw_iot_security_solutions
- iot_security_solutions
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 }}';
SELECT
id,
name,
location,
properties,
systemData,
tags,
type
FROM azure.security.iot_security_solutions
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new iot_security_solutions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.security.iot_security_solutions (
resourceGroupName,
solutionName,
subscriptionId,
location,
properties,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ solutionName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ properties }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: location
value: string
- name: properties
value:
- name: workspace
value: string
- name: displayName
value: string
- name: status
value: string
- name: export
value:
- string
- name: disabledDataSources
value:
- string
- name: iotHubs
value:
- string
- name: userDefinedResources
value:
- name: query
value: string
- name: querySubscriptions
value:
- string
- name: autoDiscoveredResources
value:
- string
- name: recommendationsConfiguration
value: []
- name: unmaskedIpLoggingStatus
value: string
- name: additionalWorkspaces
value:
- - name: workspace
value: string
- name: type
value: string
- name: dataTypes
value:
- string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: tags
value: object
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 }}';