IoTRole Constructors
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.
Overloads
IoTRole() |
Initializes a new instance of the IoTRole class. |
IoTRole(String, IoTDeviceInfo, IoTDeviceInfo, String, String, String, String, IList<MountPointMap>) |
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, IList<MountPointMap>)
Initializes a new instance of the IoTRole class.
public IoTRole (string hostPlatform, Microsoft.Azure.Management.EdgeGateway.Models.IoTDeviceInfo ioTDeviceDetails, Microsoft.Azure.Management.EdgeGateway.Models.IoTDeviceInfo ioTEdgeDeviceDetails, string roleStatus, string id = default, string name = default, string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.MountPointMap> shareMappings = default);
new Microsoft.Azure.Management.EdgeGateway.Models.IoTRole : string * Microsoft.Azure.Management.EdgeGateway.Models.IoTDeviceInfo * Microsoft.Azure.Management.EdgeGateway.Models.IoTDeviceInfo * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.MountPointMap> -> Microsoft.Azure.Management.EdgeGateway.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 shareMappings As IList(Of MountPointMap) = 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.
- shareMappings
- IList<MountPointMap>
Mount points of shares in role(s).
Applies to
Azure SDK for .NET