Google Cloud OS Config v1alpha API - Class OSPolicy.Types.OSFilter (2.0.0-alpha04)

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

Reference documentation and code samples for the Google Cloud OS Config v1alpha API class OSPolicy.Types.OSFilter.

Filtering criteria to select VMs based on OS details.

Inheritance

object > OSPolicy.Types.OSFilter

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

OSFilter()

public OSFilter()

OSFilter(OSFilter)

public OSFilter(OSPolicy.Types.OSFilter other)
Parameter
NameDescription
otherOSPolicyTypesOSFilter

Properties

OsShortName

public string OsShortName { get; set; }

This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

Property Value
TypeDescription
string

OsVersion

public string OsVersion { get; set; }

This value should match the version emitted by the OS inventory agent. 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.`

Property Value
TypeDescription
string