Source code for azure.mgmt.automation.models.tag_settings_properties_py3
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
[docs]class TagSettingsProperties(Model):
"""Tag filter information for the VM.
:param tags: Dictionary of tags with its list of values.
:type tags: dict[str, list[str]]
:param filter_operator: Filter VMs by Any or All specified tags. Possible
values include: 'All', 'Any'
:type filter_operator: str or ~azure.mgmt.automation.models.TagOperators
"""
_attribute_map = {
'tags': {'key': 'tags', 'type': '{[str]}'},
'filter_operator': {'key': 'filterOperator', 'type': 'TagOperators'},
}
def __init__(self, *, tags=None, filter_operator=None, **kwargs) -> None:
super(TagSettingsProperties, self).__init__(**kwargs)
self.tags = tags
self.filter_operator = filter_operator