IotSecuritySolutionOperations Class
IotSecuritySolutionOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectIotSecuritySolutionOperations
Constructor
IotSecuritySolutionOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
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.
async create_or_update(resource_group_name: str, solution_name: str, iot_security_solution_data: azure.mgmt.security.models._models_py3.IoTSecuritySolutionModel, **kwargs) -> azure.mgmt.security.models._models_py3.IoTSecuritySolutionModel
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IoTSecuritySolutionModel, or the result of cls(response)
Return type
Exceptions
delete
Use this method to delete yours IoT Security solution.
async delete(resource_group_name: str, solution_name: str, **kwargs) -> None
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
User this method to get details of a specific IoT Security solution based on solution name.
async get(resource_group_name: str, solution_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.IoTSecuritySolutionModel
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IoTSecuritySolutionModel, or the result of cls(response)
Return type
Exceptions
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: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.IoTSecuritySolutionsList]
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- filter
- str
Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either IoTSecuritySolutionsList or the result of cls(response)
Return type
Exceptions
list_by_subscription
Use this method to get the list of IoT Security solutions by subscription.
list_by_subscription(filter: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.IoTSecuritySolutionsList]
Parameters
- filter
- str
Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either IoTSecuritySolutionsList or the result of cls(response)
Return type
Exceptions
update
Use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.
async update(resource_group_name: str, solution_name: str, update_iot_security_solution_data: azure.mgmt.security.models._models_py3.UpdateIotSecuritySolutionData, **kwargs) -> azure.mgmt.security.models._models_py3.IoTSecuritySolutionModel
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- update_iot_security_solution_data
- UpdateIotSecuritySolutionData
The security solution data.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IoTSecuritySolutionModel, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.security.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\security\\models\\__init__.py'>
Feedback
Submit and view feedback for