Share via


IoTRole Constructors

Definition

Overloads

IoTRole()

Initializes a new instance of the IoTRole class.

IoTRole(String, IoTDeviceInfo, IoTDeviceInfo, String, String, String, String, SystemData, IList<MountPointMap>, IoTEdgeAgentInfo, String, ComputeResource)

Initializes a new instance of the IoTRole class.

IoTRole()

Initializes a new instance of the IoTRole class.

public IoTRole ();
Public Sub New ()

Applies to

IoTRole(String, IoTDeviceInfo, IoTDeviceInfo, String, String, String, String, SystemData, IList<MountPointMap>, IoTEdgeAgentInfo, String, ComputeResource)

Initializes a new instance of the IoTRole class.

public IoTRole (string hostPlatform, Microsoft.Azure.Management.DataBoxEdge.Models.IoTDeviceInfo ioTDeviceDetails, Microsoft.Azure.Management.DataBoxEdge.Models.IoTDeviceInfo ioTEdgeDeviceDetails, string roleStatus, string id = default, string name = default, string type = default, Microsoft.Azure.Management.DataBoxEdge.Models.SystemData systemData = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MountPointMap> shareMappings = default, Microsoft.Azure.Management.DataBoxEdge.Models.IoTEdgeAgentInfo ioTEdgeAgentInfo = default, string hostPlatformType = default, Microsoft.Azure.Management.DataBoxEdge.Models.ComputeResource computeResource = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.IoTRole : string * Microsoft.Azure.Management.DataBoxEdge.Models.IoTDeviceInfo * Microsoft.Azure.Management.DataBoxEdge.Models.IoTDeviceInfo * string * string * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.SystemData * System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MountPointMap> * Microsoft.Azure.Management.DataBoxEdge.Models.IoTEdgeAgentInfo * string * Microsoft.Azure.Management.DataBoxEdge.Models.ComputeResource -> Microsoft.Azure.Management.DataBoxEdge.Models.IoTRole
Public Sub New (hostPlatform As String, ioTDeviceDetails As IoTDeviceInfo, ioTEdgeDeviceDetails As IoTDeviceInfo, roleStatus As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional shareMappings As IList(Of MountPointMap) = Nothing, Optional ioTEdgeAgentInfo As IoTEdgeAgentInfo = Nothing, Optional hostPlatformType As String = Nothing, Optional computeResource As ComputeResource = Nothing)

Parameters

hostPlatform
String

Host OS supported by the IoT role. Possible values include: 'Windows', 'Linux'

ioTDeviceDetails
IoTDeviceInfo

IoT device metadata to which data box edge device needs to be connected.

ioTEdgeDeviceDetails
IoTDeviceInfo

IoT edge device to which the IoT role needs to be configured.

roleStatus
String

Role status. Possible values include: 'Enabled', 'Disabled'

id
String

The path ID that uniquely identifies the object.

name
String

The object name.

type
String

The hierarchical type of the object.

systemData
SystemData

Role configured on ASE resource

shareMappings
IList<MountPointMap>

Mount points of shares in role(s).

ioTEdgeAgentInfo
IoTEdgeAgentInfo

Iot edge agent details to download the agent and bootstrap iot runtime.

hostPlatformType
String

Platform where the Iot runtime is hosted. Possible values include: 'KubernetesCluster', 'LinuxVM'

computeResource
ComputeResource

Resource allocation

Applies to