OSPolicyAssignmentLabelSet class

Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: env=prod and type=webserver will only be applicable for those VMs with both labels present.

Constructors

OSPolicyAssignmentLabelSet({Input<Map<String, String>>? labels})
Creates a new OSPolicyAssignmentLabelSet. labels Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
const
OSPolicyAssignmentLabelSet.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited