ArmIotOperationsModelFactory.DataflowEndpointMqtt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.IotOperations.Models.DataflowEndpointMqtt DataflowEndpointMqtt(Azure.ResourceManager.IotOperations.Models.DataflowEndpointMqttAuthentication authentication = default, string clientIdPrefix = default, string host = default, Azure.ResourceManager.IotOperations.Models.BrokerProtocolType? protocol = default, int? keepAliveSeconds = default, Azure.ResourceManager.IotOperations.Models.MqttRetainType? retain = default, int? maxInflightMessages = default, int? qos = default, int? sessionExpirySeconds = default, Azure.ResourceManager.IotOperations.Models.IotOperationsTlsProperties tls = default, Azure.ResourceManager.IotOperations.Models.CloudEventAttributeType? cloudEventAttributes = default);
static member DataflowEndpointMqtt : Azure.ResourceManager.IotOperations.Models.DataflowEndpointMqttAuthentication * string * string * Nullable<Azure.ResourceManager.IotOperations.Models.BrokerProtocolType> * Nullable<int> * Nullable<Azure.ResourceManager.IotOperations.Models.MqttRetainType> * Nullable<int> * Nullable<int> * Nullable<int> * Azure.ResourceManager.IotOperations.Models.IotOperationsTlsProperties * Nullable<Azure.ResourceManager.IotOperations.Models.CloudEventAttributeType> -> Azure.ResourceManager.IotOperations.Models.DataflowEndpointMqtt
Public Shared Function DataflowEndpointMqtt (Optional authentication As DataflowEndpointMqttAuthentication = Nothing, Optional clientIdPrefix As String = Nothing, Optional host As String = Nothing, Optional protocol As Nullable(Of BrokerProtocolType) = Nothing, Optional keepAliveSeconds As Nullable(Of Integer) = Nothing, Optional retain As Nullable(Of MqttRetainType) = Nothing, Optional maxInflightMessages As Nullable(Of Integer) = Nothing, Optional qos As Nullable(Of Integer) = Nothing, Optional sessionExpirySeconds As Nullable(Of Integer) = Nothing, Optional tls As IotOperationsTlsProperties = Nothing, Optional cloudEventAttributes As Nullable(Of CloudEventAttributeType) = Nothing) As DataflowEndpointMqtt
Parameters
- authentication
- DataflowEndpointMqttAuthentication
authentication properties. DEFAULT: kubernetes.audience=aio-internal. NOTE - Enum field only property is allowed.
- clientIdPrefix
- String
Client ID prefix. Client ID generated by the dataflow is <prefix>-TBD. Optional; no prefix if omitted.
- host
- String
Host of the Broker in the form of <hostname>:<port>. Optional; connects to Broker if omitted.
- protocol
- Nullable<BrokerProtocolType>
Enable or disable websockets.
- retain
- Nullable<MqttRetainType>
Whether or not to keep the retain setting.
The max number of messages to keep in flight. For subscribe, this is the receive maximum. For publish, this is the maximum number of messages to send before waiting for an ack.
TLS configuration.
- cloudEventAttributes
- Nullable<CloudEventAttributeType>
Cloud event mapping config.
Returns
A new DataflowEndpointMqtt instance for mocking.