Delen via


ArmDataBoxEdgeModelFactory.EdgeIotRole Method

Definition

Initializes a new instance of EdgeIotRole.

public static Azure.ResourceManager.DataBoxEdge.Models.EdgeIotRole EdgeIotRole (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOSPlatformType? hostPlatform = default, Azure.ResourceManager.DataBoxEdge.Models.EdgeIotDeviceInfo iotDeviceDetails = default, Azure.ResourceManager.DataBoxEdge.Models.EdgeIotDeviceInfo iotEdgeDeviceDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountPointMap> shareMappings = default, Azure.ResourceManager.DataBoxEdge.Models.IotEdgeAgentInfo iotEdgeAgentInfo = default, Azure.ResourceManager.DataBoxEdge.Models.HostPlatformType? hostPlatformType = default, Azure.ResourceManager.DataBoxEdge.Models.EdgeComputeResourceInfo computeResource = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleStatus? roleStatus = default);
static member EdgeIotRole : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOSPlatformType> * Azure.ResourceManager.DataBoxEdge.Models.EdgeIotDeviceInfo * Azure.ResourceManager.DataBoxEdge.Models.EdgeIotDeviceInfo * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountPointMap> * Azure.ResourceManager.DataBoxEdge.Models.IotEdgeAgentInfo * Nullable<Azure.ResourceManager.DataBoxEdge.Models.HostPlatformType> * Azure.ResourceManager.DataBoxEdge.Models.EdgeComputeResourceInfo * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleStatus> -> Azure.ResourceManager.DataBoxEdge.Models.EdgeIotRole
Public Shared Function EdgeIotRole (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional hostPlatform As Nullable(Of DataBoxEdgeOSPlatformType) = Nothing, Optional iotDeviceDetails As EdgeIotDeviceInfo = Nothing, Optional iotEdgeDeviceDetails As EdgeIotDeviceInfo = Nothing, Optional shareMappings As IEnumerable(Of DataBoxEdgeMountPointMap) = Nothing, Optional iotEdgeAgentInfo As IotEdgeAgentInfo = Nothing, Optional hostPlatformType As Nullable(Of HostPlatformType) = Nothing, Optional computeResource As EdgeComputeResourceInfo = Nothing, Optional roleStatus As Nullable(Of DataBoxEdgeRoleStatus) = Nothing) As EdgeIotRole

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

hostPlatform
Nullable<DataBoxEdgeOSPlatformType>

Host OS supported by the IoT role.

iotDeviceDetails
EdgeIotDeviceInfo

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

iotEdgeDeviceDetails
EdgeIotDeviceInfo

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

shareMappings
IEnumerable<DataBoxEdgeMountPointMap>

Mount points of shares in role(s).

iotEdgeAgentInfo
IotEdgeAgentInfo

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

hostPlatformType
Nullable<HostPlatformType>

Platform where the Iot runtime is hosted.

computeResource
EdgeComputeResourceInfo

Resource allocation.

roleStatus
Nullable<DataBoxEdgeRoleStatus>

Role status.

Returns

A new EdgeIotRole instance for mocking.

Applies to