IotSecuritySolutionOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityCenter's

<xref:iot_security_solution> attribute.

Constructor

IotSecuritySolutionOperations(*args, **kwargs)

Methods

create_or_update

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

delete

Use this method to delete yours IoT Security solution.

get

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

list_by_resource_group

Use this method to get the list IoT Security solutions organized by resource group.

list_by_subscription

Use this method to get the list of IoT Security solutions by subscription.

update

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

create_or_update

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

create_or_update(resource_group_name: str, solution_name: str, iot_security_solution_data: _models.IoTSecuritySolutionModel, *, content_type: str = 'application/json', **kwargs: Any) -> _models.IoTSecuritySolutionModel

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

solution_name
Required
str

The name of the IoT Security solution. Required.

iot_security_solution_data
Required

The security solution data. Is either a IoTSecuritySolutionModel type or a IO[bytes] type. Required.

Returns

Type Description

IoTSecuritySolutionModel or the result of cls(response)

Exceptions

Type Description

delete

Use this method to delete yours IoT Security solution.

delete(resource_group_name: str, solution_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

solution_name
Required
str

The name of the IoT Security solution. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

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

get(resource_group_name: str, solution_name: str, **kwargs: Any) -> IoTSecuritySolutionModel

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

solution_name
Required
str

The name of the IoT Security solution. Required.

Returns

Type Description

IoTSecuritySolutionModel or the result of cls(response)

Exceptions

Type Description

list_by_resource_group

Use this method to get the list IoT Security solutions organized by resource group.

list_by_resource_group(resource_group_name: str, filter: str | None = None, **kwargs: Any) -> Iterable[IoTSecuritySolutionModel]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

filter
str

Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of either IoTSecuritySolutionModel or the result of cls(response)

Exceptions

Type Description

list_by_subscription

Use this method to get the list of IoT Security solutions by subscription.

list_by_subscription(filter: str | None = None, **kwargs: Any) -> Iterable[IoTSecuritySolutionModel]

Parameters

Name Description
filter
str

Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of either IoTSecuritySolutionModel or the result of cls(response)

Exceptions

Type Description

update

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

update(resource_group_name: str, solution_name: str, update_iot_security_solution_data: _models.UpdateIotSecuritySolutionData, *, content_type: str = 'application/json', **kwargs: Any) -> _models.IoTSecuritySolutionModel

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

solution_name
Required
str

The name of the IoT Security solution. Required.

update_iot_security_solution_data
Required

The security solution data. Is either a UpdateIotSecuritySolutionData type or a IO[bytes] type. Required.

Returns

Type Description

IoTSecuritySolutionModel or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.security.v2019_08_01.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv218\\Lib\\site-packages\\azure\\mgmt\\security\\v2019_08_01\\models\\__init__.py'>