Share via


ConfigReference Class

Definition

Represents a reference to a configuration used within a service resource.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class ConfigReference
[<YamlDotNet.Serialization.YamlSerializable>]
type ConfigReference = class
Public NotInheritable Class ConfigReference
Inheritance
ConfigReference
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

This class is typically used to define configurations associated with a service in a containerized environment. It includes information about the configuration source, target, ownership, and permissions.

Constructors

ConfigReference()

Properties

Gid

Gets or sets the group ID (GID) used to identify the group of the referenced configuration.

Mode

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.

Source

Gets or sets the source configuration reference. This property specifies the origin of the configuration file or data required by the service node.

Target

Specifies the target ___location where the referenced configuration data will be applied or mounted in the context of the Docker service.

Uid

Gets or sets the user identifier (UID) associated with the configuration reference. Optional property that specifies the user ID for accessing the configuration target.

Applies to