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
Reference documentation and code samples for the Google Cloud OS Config v1alpha API class OSPolicy.Types.Resource.Types.PackageResource.Types.RPM.
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.V1AlphaAssembly
Google.Cloud.OsConfig.V1Alpha.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 |