Skip to content
DocsTry Aspire
DocsTry

ConfigReference Properties

ClassProperties5 members
Represents a reference to a configuration used within a service resource.
GidSection titled Gidnullablestring?
Gets or sets the group ID (GID) used to identify the group of the referenced configuration.
public string? Gid { get; set; }
The GID is an optional integer parameter that specifies the group ownership for the resource. If set, it defines the group to which the target resource belongs.
ModeSection titled ModenullableUnixFileMode?
Represents the access mode for the configuration reference in the form of an integer value. This property determines the permissions or access level for the configuration being referenced. Typical values might correspond to standard file permission modes.
public UnixFileMode? Mode { get; set; }
SourceSection titled Sourcenullablestring?
Gets or sets the source configuration reference. This property specifies the origin of the configuration file or data required by the service node.
public string? Source { get; set; }
TargetSection titled Targetnullablestring?
Specifies the target location where the referenced configuration data will be applied or mounted in the context of the Docker service.
public string? Target { get; set; }
UidSection titled Uidnullablestring?
Gets or sets the user identifier (UID) associated with the configuration reference. Optional property that specifies the user ID for accessing the configuration target.
public string? Uid { get; set; }