Share via


Service.Devices Property

Definition

Represents a collection of device mappings for the service container. This property defines the host-to-container device paths in Docker.

[YamlDotNet.Serialization.YamlMember(Alias="devices", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.List<string> Devices { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="devices", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Devices : System.Collections.Generic.List<string> with get, set
Public Property Devices As List(Of String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to