Class OSPolicy.Types.InventoryFilter (2.0.0-alpha01)

public sealed class InventoryFilter : IMessage<OSPolicy.Types.InventoryFilter>, IEquatable<OSPolicy.Types.InventoryFilter>, IDeepCloneable<OSPolicy.Types.InventoryFilter>, IBufferMessage, IMessage

Filtering criteria to select VMs based on inventory details.

Inheritance

Object > OSPolicy.Types.InventoryFilter

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

InventoryFilter()

public InventoryFilter()

InventoryFilter(OSPolicy.Types.InventoryFilter)

public InventoryFilter(OSPolicy.Types.InventoryFilter other)
Parameter
NameDescription
otherOSPolicy.Types.InventoryFilter

Properties

OsShortName

public string OsShortName { get; set; }

Required. The OS short name

Property Value
TypeDescription
String

OsVersion

public string OsVersion { get; set; }

The OS version

Prefix matches are supported if asterisk() is provided as the last character. For example, to match all versions with a major version of 7, specify the following value for this field `7.`

An empty string matches all OS versions.

Property Value
TypeDescription
String