public sealed class AptSettings : IMessage<AptSettings>, IEquatable<AptSettings>, IDeepCloneable<AptSettings>, IBufferMessage, IMessage
Apt patching is completed by executing apt-get update && apt-get
upgrade
. Additional options can be set to control how this is executed.
Implements
IMessage<AptSettings>, System.IEquatable<AptSettings>, IDeepCloneable<AptSettings>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
AptSettings()
public AptSettings()
AptSettings(AptSettings)
public AptSettings(AptSettings other)
Parameter | |
---|---|
Name | Description |
other | AptSettings |
Properties
Excludes
public RepeatedField<string> Excludes { get; }
List of packages to exclude from update. These packages will be excluded
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
ExclusivePackages
public RepeatedField<string> ExclusivePackages { get; }
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Type
public AptSettings.Types.Type Type { get; set; }
By changing the type to DIST, the patching is performed
using apt-get dist-upgrade
instead.
Property Value | |
---|---|
Type | Description |
AptSettings.Types.Type |