Share via


az security iot-solution

Manage your IoT Security solution.

Commands

Name Description Type Status
az security iot-solution create

Create your IoT Security solution.

Core GA
az security iot-solution delete

Delete your IoT Security solution.

Core GA
az security iot-solution list

List all IoT Security solutions.

Core GA
az security iot-solution show

Shows a IoT Security solution.

Core GA
az security iot-solution update

Update your IoT Security solution.

Core GA

az security iot-solution create

Create your IoT Security solution.

az security iot-solution create --display-name
                                --iot-hubs
                                --location
                                --resource-group
                                --solution-name

Examples

create an IoT Security solution on existing IoT Hub.

az security iot-solution create --solution-name 'IoT-Hub1' --resource-group 'rg1' --iot-hubs /subscriptions/subscriptionId/resourcegroups/rg1/providers/Microsoft.Devices/IotHubs/IoT-Hub1 --display-name "Solution Default" --location "eastus"

Required Parameters

--display-name

Resource display name.

--iot-hubs

IoT Hub resource IDs.

--location -l

Location of the resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--solution-name

Name of the IoT Security solution.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security iot-solution delete

Delete your IoT Security solution.

az security iot-solution delete --resource-group
                                --solution-name

Examples

Delete an IoT Security solutions.

az security iot-solution delete --solution-name 'IoT-Hub1' --resource-group 'rg1'

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--solution-name

Name of the IoT Security solution.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security iot-solution list

List all IoT Security solutions.

az security iot-solution list [--resource-group]

Examples

Get List of all IoT Security solutions in subscription.

az security iot-solution list

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security iot-solution show

Shows a IoT Security solution.

az security iot-solution show --resource-group
                              --solution-name

Examples

Get an IoT Security solutions.

az security iot-solution show --solution-name 'IoT-Hub1' --resource-group 'rg1'

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--solution-name

Name of the IoT Security solution.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security iot-solution update

Update your IoT Security solution.

az security iot-solution update --resource-group
                                --solution-name
                                [--display-name]
                                [--iot-hubs]

Examples

Update your IoT Security solution.

az security iot-solution update --solution-name 'IoT-Hub1' --resource-group 'rg1' --iot-hubs /subscriptions/subscriptionId/resourcegroups/rg1/providers/Microsoft.Devices/IotHubs/IoT-Hub1 --display-name "Solution Default"

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--solution-name

Name of the IoT Security solution.

Optional Parameters

--display-name

Resource display name.

--iot-hubs

IoT Hub resource IDs.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.