Class VmExtensionPolicyLabelSelector
A LabelSelector is applied to a VM only if it matches all the specified labels.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class VmExtensionPolicyLabelSelector : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InclusionLabels
Optional. A map of key-value pairs representing VM labels. VMs must have all of the labels specified in this
map to be selected (logical AND). e.g. If the inclusion_labels are {("key1", "value1"), ("key2",
"value2")}, the VM labels must contain both ("key1", "value1") and ("key2", "value2") to be selected. If the
VM labels are ("key1", "value1") and ("something", "else"), it will not be selected. If the map is empty,
it's considered a match.
Declaration
[JsonProperty("inclusionLabels")]
public virtual IDictionary<string, string> InclusionLabels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |