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.
Implements
IMessageOSPolicyTypesOSFilter, IEquatableOSPolicyTypesOSFilter, IDeepCloneableOSPolicyTypesOSFilter, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1AlphaAssembly
Google.Cloud.OsConfig.V1Alpha.dll
Constructors
OSFilter()
public OSFilter()
OSFilter(OSFilter)
public OSFilter(OSPolicy.Types.OSFilter other)
Parameter | |
---|---|
Name | Description |
other | OSPolicyTypesOSFilter |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |