public sealed class PatchInstanceFilter.Types.GroupLabel : IMessage<PatchInstanceFilter.Types.GroupLabel>, IEquatable<PatchInstanceFilter.Types.GroupLabel>, IDeepCloneable<PatchInstanceFilter.Types.GroupLabel>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud OS Config v1 API class PatchInstanceFilter.Types.GroupLabel.
Targets a group of VM instances by using their assigned
labels. Labels
are key-value pairs. A GroupLabel is a combination of labels
that is used to target VMs for a patch job.
For example, a patch job can target VMs that have the following
GroupLabel: {"env":"test", "app":"web"}. This means that the patch job
is applied to VMs that have both the labels env=test and app=web.
Implements
IMessagePatchInstanceFilterTypesGroupLabel, IEquatablePatchInstanceFilterTypesGroupLabel, IDeepCloneablePatchInstanceFilterTypesGroupLabel, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
GroupLabel()
public GroupLabel()GroupLabel(GroupLabel)
public GroupLabel(PatchInstanceFilter.Types.GroupLabel other)| Parameter | |
|---|---|
| Name | Description |
other |
PatchInstanceFilterTypesGroupLabel |
Properties
Labels
public MapField<string, string> Labels { get; }Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|