Class IoTRole
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.RoleInner
com.azure.resourcemanager.databoxedge.models.IoTRole
Compute role.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the hostPlatform property: Host OS supported by the IoT role.Get the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.Get the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.Get the roleStatus property: Role status.Get the shareMappings property: Mount points of shares in role(s).void
validate()
Validates the instance.withHostPlatform
(PlatformType hostPlatform) Set the hostPlatform property: Host OS supported by the IoT role.withIoTDeviceDetails
(IoTDeviceInfo ioTDeviceDetails) Set the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.withIoTEdgeDeviceDetails
(IoTDeviceInfo ioTEdgeDeviceDetails) Set the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.withRoleStatus
(RoleStatus roleStatus) Set the roleStatus property: Role status.withShareMappings
(List<MountPointMap> shareMappings) Set the shareMappings property: Mount points of shares in role(s).Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
IoTRole
public IoTRole()Creates an instance of IoTRole class.
-
-
Method Details
-
hostPlatform
Get the hostPlatform property: Host OS supported by the IoT role.- Returns:
- the hostPlatform value.
-
withHostPlatform
Set the hostPlatform property: Host OS supported by the IoT role.- Parameters:
hostPlatform
- the hostPlatform value to set.- Returns:
- the IoTRole object itself.
-
ioTDeviceDetails
Get the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.- Returns:
- the ioTDeviceDetails value.
-
withIoTDeviceDetails
Set the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.- Parameters:
ioTDeviceDetails
- the ioTDeviceDetails value to set.- Returns:
- the IoTRole object itself.
-
ioTEdgeDeviceDetails
Get the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.- Returns:
- the ioTEdgeDeviceDetails value.
-
withIoTEdgeDeviceDetails
Set the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.- Parameters:
ioTEdgeDeviceDetails
- the ioTEdgeDeviceDetails value to set.- Returns:
- the IoTRole object itself.
-
roleStatus
Get the roleStatus property: Role status.- Returns:
- the roleStatus value.
-
withRoleStatus
Set the roleStatus property: Role status.- Parameters:
roleStatus
- the roleStatus value to set.- Returns:
- the IoTRole object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classRoleInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-