OSPolicyResourcePackageResource class

A resource that manages a system package.

Constructors

OSPolicyResourcePackageResource({Input<OSPolicyResourcePackageResourceAPT>? apt, Input<OSPolicyResourcePackageResourceDeb>? deb, required Input<OSPolicyResourcePackageResourceDesiredState> desiredState, Input<OSPolicyResourcePackageResourceGooGet>? googet, Input<OSPolicyResourcePackageResourceMSI>? msi, Input<OSPolicyResourcePackageResourceRPM>? rpm, Input<OSPolicyResourcePackageResourceYUM>? yum, Input<OSPolicyResourcePackageResourceZypper>? zypper})
Creates a new OSPolicyResourcePackageResource. apt A package managed by Apt. deb A deb package file. desiredState The desired state the agent should maintain for this package. googet A package managed by GooGet. msi An MSI package. rpm An rpm package file. yum A package managed by YUM. zypper A package managed by Zypper.
const
OSPolicyResourcePackageResource.fromMap(Map<String, dynamic> map)
factory

Properties

apt → Input<OSPolicyResourcePackageResourceAPT>?
A package managed by Apt.
final
deb → Input<OSPolicyResourcePackageResourceDeb>?
A deb package file.
final
desiredState → Input<OSPolicyResourcePackageResourceDesiredState>
The desired state the agent should maintain for this package.
final
googet → Input<OSPolicyResourcePackageResourceGooGet>?
A package managed by GooGet.
final
hashCode → int
The hash code for this object.
no setterinherited
msi → Input<OSPolicyResourcePackageResourceMSI>?
An MSI package.
final
rpm → Input<OSPolicyResourcePackageResourceRPM>?
An rpm package file.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
yum → Input<OSPolicyResourcePackageResourceYUM>?
A package managed by YUM.
final
zypper → Input<OSPolicyResourcePackageResourceZypper>?
A package managed by Zypper.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited