iot

class pulumi_azure.iot.ConsumerGroup(resource_name, opts=None, eventhub_endpoint_name=None, iothub_name=None, name=None, resource_group_name=None, __name__=None, __opts__=None)

Manages a Consumer Group within an IotHub

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • eventhub_endpoint_name (pulumi.Input[str]) – The name of the Event Hub-compatible endpoint in the IoT hub. Changing this forces a new resource to be created.
  • iothub_name (pulumi.Input[str]) – The name of the IoT Hub. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – The name of this Consumer Group. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group that contains the IoT hub. Changing this forces a new resource to be created.
eventhub_endpoint_name = None

The name of the Event Hub-compatible endpoint in the IoT hub. Changing this forces a new resource to be created.

iothub_name = None

The name of the IoT Hub. Changing this forces a new resource to be created.

name = None

The name of this Consumer Group. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group that contains the IoT hub. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.iot.IoTHub(resource_name, opts=None, endpoints=None, location=None, name=None, resource_group_name=None, routes=None, sku=None, tags=None, __name__=None, __opts__=None)

Manages an IotHub

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • endpoints (pulumi.Input[list]) – An endpoint block as defined below.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the IotHub resource. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.
  • routes (pulumi.Input[list]) – A route block as defined below.
  • sku (pulumi.Input[dict]) – A sku block as defined below.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
endpoints = None

An endpoint block as defined below.

event_hub_events_endpoint = None

The EventHub compatible endpoint for events data

event_hub_events_path = None

The EventHub compatible path for events data

event_hub_operations_endpoint = None

The EventHub compatible endpoint for operational data

event_hub_operations_path = None

The EventHub compatible path for operational data

hostname = None

The hostname of the IotHub Resource.

location = None

Specifies the supported Azure location where the resource has to be createc. Changing this forces a new resource to be created.

name = None

Specifies the name of the IotHub resource. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group under which the IotHub resource has to be created. Changing this forces a new resource to be created.

routes = None

A route block as defined below.

shared_access_policies = None

One or more shared_access_policy blocks as defined below.

sku = None

A sku block as defined below.

tags = None

A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str