Condividi tramite


ArmDeviceRegistryModelFactory.DiscoveredInboundEndpoints Method

Definition

An endpoint to connect to the device.

public static Azure.ResourceManager.DeviceRegistry.Models.DiscoveredInboundEndpoints DiscoveredInboundEndpoints(string endpointType = default, string address = default, string version = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.AuthenticationMethod> supportedAuthenticationMethods = default, string additionalConfiguration = default, DateTimeOffset? lastUpdatedOn = default);
static member DiscoveredInboundEndpoints : string * string * string * seq<Azure.ResourceManager.DeviceRegistry.Models.AuthenticationMethod> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.DeviceRegistry.Models.DiscoveredInboundEndpoints
Public Shared Function DiscoveredInboundEndpoints (Optional endpointType As String = Nothing, Optional address As String = Nothing, Optional version As String = Nothing, Optional supportedAuthenticationMethods As IEnumerable(Of AuthenticationMethod) = Nothing, Optional additionalConfiguration As String = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As DiscoveredInboundEndpoints

Parameters

endpointType
String

Type of connection endpoint.

address
String

The endpoint address & port. This can be either an IP address (e.g., 192.168.1.1) or a fully qualified domain name (FQDN, e.g., server.example.com).

version
String

Protocol version associated with the endpoint e.g. 1 or 2 for endpointType Microsoft.HTTP, and 3.5 or 5.0 for endpointType Microsoft.Mqtt etc.

supportedAuthenticationMethods
IEnumerable<AuthenticationMethod>

List of supported authentication methods supported by device for Inbound connections.

additionalConfiguration
String

Stringified JSON that contains configuration to be used by the connector (e.g., OPC UA, ONVIF).

lastUpdatedOn
Nullable<DateTimeOffset>

The timestamp (in UTC) when the endpoint was discovered.

Returns

A new DiscoveredInboundEndpoints instance for mocking.

Applies to