az security iot-solution

Manage your IoT Security solution.

Commands

az security iot-solution create

Create your IoT Security solution.

az security iot-solution delete

Delete your IoT Security solution.

az security iot-solution list

List all IoT Security solutions.

az security iot-solution show

Shows a IoT Security solution.

az security iot-solution update

Update your IoT Security solution.

az security iot-solution create

Create your IoT Security solution.

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

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.

Optional Parameters

--subscription

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

az security iot-solution delete

Delete your IoT Security solution.

az security iot-solution delete --resource-group
                                --solution-name
                                [--subscription]

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.

Optional Parameters

--subscription

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

az security iot-solution list

List all IoT Security solutions.

az security iot-solution list [--query-examples]
                              [--resource-group]
                              [--subscription]

Examples

Get List of all IoT Security solutions in subscription.

az security iot-solution list

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

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

az security iot-solution show

Shows a IoT Security solution.

az security iot-solution show --resource-group
                              --solution-name
                              [--query-examples]
                              [--subscription]

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.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

az security iot-solution update

Update your IoT Security solution.

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

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.

--subscription

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