Partager via


ArmDeviceRegistryModelFactory.DiscoveredAssetEndpointProfileProperties Method

Definition

Initializes a new instance of DiscoveredAssetEndpointProfileProperties.

public static Azure.ResourceManager.DeviceRegistry.Models.DiscoveredAssetEndpointProfileProperties DiscoveredAssetEndpointProfileProperties (Uri targetAddress = default, string additionalConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.AuthenticationMethod> supportedAuthenticationMethods = default, string endpointProfileType = default, string discoveryId = default, long version = 0, Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryProvisioningState? provisioningState = default);
static member DiscoveredAssetEndpointProfileProperties : Uri * string * seq<Azure.ResourceManager.DeviceRegistry.Models.AuthenticationMethod> * string * string * int64 * Nullable<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryProvisioningState> -> Azure.ResourceManager.DeviceRegistry.Models.DiscoveredAssetEndpointProfileProperties
Public Shared Function DiscoveredAssetEndpointProfileProperties (Optional targetAddress As Uri = Nothing, Optional additionalConfiguration As String = Nothing, Optional supportedAuthenticationMethods As IEnumerable(Of AuthenticationMethod) = Nothing, Optional endpointProfileType As String = Nothing, Optional discoveryId As String = Nothing, Optional version As Long = 0, Optional provisioningState As Nullable(Of DeviceRegistryProvisioningState) = Nothing) As DiscoveredAssetEndpointProfileProperties

Parameters

targetAddress
Uri

The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.

additionalConfiguration
String

Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).

supportedAuthenticationMethods
IEnumerable<AuthenticationMethod>

List of supported authentication methods supported by the target server.

endpointProfileType
String

Defines the configuration for the connector type that is being used with the endpoint profile.

discoveryId
String

Identifier used to detect changes in the asset endpoint profile.

version
Int64

An integer that is incremented each time the resource is modified.

provisioningState
Nullable<DeviceRegistryProvisioningState>

Provisioning state of the resource.

Returns

A new DiscoveredAssetEndpointProfileProperties instance for mocking.

Applies to