IotHubOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:iot_hub> attribute.
Constructor
IotHubOperations(*args, **kwargs)
Methods
begin_manual_failover |
Manual Failover Fail over. Perform manual fail over of given hub. |
begin_manual_failover
Manual Failover Fail over.
Perform manual fail over of given hub.
begin_manual_failover(iot_hub_name: str, resource_group_name: str, failover_input: _models.FailoverInput, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
iot_hub_name
Required
|
IotHub to fail over. Required. |
resource_group_name
Required
|
resource group which Iot Hub belongs to. Required. |
failover_input
Required
|
Region to failover to. Must be a azure DR pair. Is either a FailoverInput type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.iothub.v2019_07_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv143\\Lib\\site-packages\\azure\\mgmt\\iothub\\v2019_07_01_preview\\models\\__init__.py'>
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.
Azure SDK for Python