Class OSPolicy.Types.Resource.Types.PackageResource.Types.RPM (1.6.0)

public sealed class RPM : IMessage<OSPolicy.Types.Resource.Types.PackageResource.Types.RPM>, IEquatable<OSPolicy.Types.Resource.Types.PackageResource.Types.RPM>, IDeepCloneable<OSPolicy.Types.Resource.Types.PackageResource.Types.RPM>, IBufferMessage, IMessage

An RPM package file. RPM packages only support INSTALLED state.

Inheritance

Object > OSPolicy.Types.Resource.Types.PackageResource.Types.RPM

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

RPM()

public RPM()

RPM(OSPolicy.Types.Resource.Types.PackageResource.Types.RPM)

public RPM(OSPolicy.Types.Resource.Types.PackageResource.Types.RPM other)
Parameter
NameDescription
otherOSPolicy.Types.Resource.Types.PackageResource.Types.RPM

Properties

PullDeps

public bool PullDeps { get; set; }

Whether dependencies should also be installed.

  • install when false: rpm --upgrade --replacepkgs package.rpm
  • install when true: yum -y install package.rpm or zypper -y install package.rpm
Property Value
TypeDescription
Boolean

Source

public OSPolicy.Types.Resource.Types.File Source { get; set; }

Required. An rpm package.

Property Value
TypeDescription
OSPolicy.Types.Resource.Types.File