Message to represent the filters to select VMs for an assignment
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#all
def all() -> ::Boolean
- (::Boolean) — Target all VMs in the project. If true, no other criteria is permitted.
#all=
def all=(value) -> ::Boolean
- value (::Boolean) — Target all VMs in the project. If true, no other criteria is permitted.
- (::Boolean) — Target all VMs in the project. If true, no other criteria is permitted.
#exclusion_labels
def exclusion_labels() -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>) — 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.
This filter is applied last in the filtering chain and therefore a VM is guaranteed to be excluded if it satisfies one of the below label sets.
#exclusion_labels=
def exclusion_labels=(value) -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>
-
value (::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>) — 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.
This filter is applied last in the filtering chain and therefore a VM is guaranteed to be excluded if it satisfies one of the below label sets.
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>) — 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.
This filter is applied last in the filtering chain and therefore a VM is guaranteed to be excluded if it satisfies one of the below label sets.
#inclusion_labels
def inclusion_labels() -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>) — 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.
#inclusion_labels=
def inclusion_labels=(value) -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>
-
value (::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>) — 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.
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignment::LabelSet>) — 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.
#os_short_names
def os_short_names() -> ::Array<::String>
- (::Array<::String>) — A VM is included if it's OS short name matches with any of the values provided in this list.
#os_short_names=
def os_short_names=(value) -> ::Array<::String>
- value (::Array<::String>) — A VM is included if it's OS short name matches with any of the values provided in this list.
- (::Array<::String>) — A VM is included if it's OS short name matches with any of the values provided in this list.