IotConnectorsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

HealthcareApisManagementClient's

<xref:iot_connectors> attribute.

Inheritance
builtins.object
IotConnectorsOperations

Constructor

IotConnectorsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates an IoT Connector resource with the specified parameters.

begin_delete

Deletes an IoT Connector.

begin_update

Patch an IoT Connector.

get

Gets the properties of the specified IoT Connector.

list_by_workspace

Lists all IoT Connectors for the given workspace.

begin_create_or_update

Creates or updates an IoT Connector resource with the specified parameters.

async begin_create_or_update(resource_group_name: str, workspace_name: str, iot_connector_name: str, iot_connector: _models.IotConnector, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.IotConnector]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

workspace_name
Required
str

The name of workspace resource. Required.

iot_connector_name
Required
str

The name of IoT Connector resource. Required.

iot_connector
Required

The parameters for creating or updating an IoT Connectors resource. Is either a IotConnector type or a IO[bytes] type. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either IotConnector or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes an IoT Connector.

async begin_delete(resource_group_name: str, iot_connector_name: str, workspace_name: str, **kwargs: Any) -> AsyncLROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

iot_connector_name
Required
str

The name of IoT Connector resource. Required.

workspace_name
Required
str

The name of workspace resource. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

begin_update

Patch an IoT Connector.

async begin_update(resource_group_name: str, iot_connector_name: str, workspace_name: str, iot_connector_patch_resource: _models.IotConnectorPatchResource, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.IotConnector]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

iot_connector_name
Required
str

The name of IoT Connector resource. Required.

workspace_name
Required
str

The name of workspace resource. Required.

iot_connector_patch_resource
Required

The parameters for updating an IoT Connector. Is either a IotConnectorPatchResource type or a IO[bytes] type. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either IotConnector or the result of cls(response)

Exceptions

Type Description

get

Gets the properties of the specified IoT Connector.

async get(resource_group_name: str, workspace_name: str, iot_connector_name: str, **kwargs: Any) -> IotConnector

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

workspace_name
Required
str

The name of workspace resource. Required.

iot_connector_name
Required
str

The name of IoT Connector resource. Required.

Returns

Type Description

IotConnector or the result of cls(response)

Exceptions

Type Description

list_by_workspace

Lists all IoT Connectors for the given workspace.

list_by_workspace(resource_group_name: str, workspace_name: str, **kwargs: Any) -> AsyncIterable[IotConnector]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

workspace_name
Required
str

The name of workspace resource. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.healthcareapis.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\healthcareapis\\models\\__init__.py'>