Class OSPolicyAssignmentInstanceFilter
Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1.Data
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class OSPolicyAssignmentInstanceFilter : IDirectResponseSchema
Properties
All
Target all VMs in the project. If true, no other criteria is permitted.
Declaration
[JsonProperty("all")]
public virtual bool? All { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExclusionLabels
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
Declaration
[JsonProperty("exclusionLabels")]
public virtual IList<OSPolicyAssignmentLabelSet> ExclusionLabels { get; set; }
Property Value
Type | Description |
---|---|
IList<OSPolicyAssignmentLabelSet> |
InclusionLabels
List of label sets used for VM inclusion. If the list has more than one LabelSet
, the VM is included if
any of the label sets are applicable for the VM.
Declaration
[JsonProperty("inclusionLabels")]
public virtual IList<OSPolicyAssignmentLabelSet> InclusionLabels { get; set; }
Property Value
Type | Description |
---|---|
IList<OSPolicyAssignmentLabelSet> |
Inventories
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
Declaration
[JsonProperty("inventories")]
public virtual IList<OSPolicyAssignmentInstanceFilterInventory> Inventories { get; set; }
Property Value
Type | Description |
---|---|
IList<OSPolicyAssignmentInstanceFilterInventory> |