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.
Implements
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, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
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 | |
---|---|
Name | Description |
other | OSPolicy.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
orzypper -y install package.rpm
Property Value | |
---|---|
Type | Description |
Boolean |
Source
public OSPolicy.Types.Resource.Types.File Source { get; set; }
Required. An rpm package.
Property Value | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.File |