Class YumSettings (1.4.0)

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

Yum patching is performed by executing yum update. Additional options can be set to control how this is executed.

Note that not all settings are supported on all platforms.

Inheritance

Object > YumSettings

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

YumSettings()

public YumSettings()

YumSettings(YumSettings)

public YumSettings(YumSettings other)
Parameter
NameDescription
otherYumSettings

Properties

Excludes

public RepeatedField<string> Excludes { get; }

List of packages to exclude from update. These packages are excluded by using the yum --exclude flag.

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 must not be specified with any other patch configuration fields.

Property Value
TypeDescription
RepeatedField<String>

Minimal

public bool Minimal { get; set; }

Will cause patch to run yum update-minimal instead.

Property Value
TypeDescription
Boolean

Security

public bool Security { get; set; }

Adds the --security flag to yum update. Not supported on all platforms.

Property Value
TypeDescription
Boolean