Class AptSettings (1.8.0)

public sealed class AptSettings : IMessage<AptSettings>, IEquatable<AptSettings>, IDeepCloneable<AptSettings>, IBufferMessage, IMessage

Apt patching is completed by executing apt-get update &amp;&amp; apt-get upgrade. Additional options can be set to control how this is executed.

Inheritance

Object > AptSettings

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

AptSettings()

public AptSettings()

AptSettings(AptSettings)

public AptSettings(AptSettings other)
Parameter
NameDescription
otherAptSettings

Properties

Excludes

public RepeatedField<string> Excludes { get; }

List of packages to exclude from update. These packages will be excluded

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
AptSettings.Types.Type