Google Cloud OS Config v1 API - Class YumSettings (2.4.0)

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

Reference documentation and code samples for the Google Cloud OS Config v1 API class YumSettings.

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
Name Description
other YumSettings

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
Type Description
RepeatedFieldstring

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
Type Description
RepeatedFieldstring

Minimal

public bool Minimal { get; set; }

Will cause patch to run yum update-minimal instead.

Property Value
Type Description
bool

Security

public bool Security { get; set; }

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

Property Value
Type Description
bool