IotSitesOperations Class
IotSitesOperations 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.objectIotSitesOperations
Constructor
IotSitesOperations(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 |
Create or update IoT site. |
| delete |
Delete IoT site. |
| get |
Get IoT site. |
| list |
List IoT sites. |
create_or_update
Create or update IoT site.
async create_or_update(scope: str, iot_sites_model: azure.mgmt.security.models._models_py3.IotSitesModel, **kwargs) -> azure.mgmt.security.models._models_py3.IotSitesModel
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IotSitesModel, or the result of cls(response)
Return type
Exceptions
delete
Delete IoT site.
async delete(scope: str, **kwargs) -> None
Parameters
- 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
Get IoT site.
async get(scope: str, **kwargs) -> azure.mgmt.security.models._models_py3.IotSitesModel
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IotSitesModel, or the result of cls(response)
Return type
Exceptions
list
List IoT sites.
async list(scope: str, **kwargs) -> azure.mgmt.security.models._models_py3.IotSitesList
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IotSitesList, 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