Source code for azure.mgmt.network.v2018_02_01.models.ip_tag_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 IpTag(Model): """Contains the IpTag associated with the public IP address. :param ip_tag_type: Gets or sets the ipTag type: Example FirstPartyUsage. :type ip_tag_type: str :param tag: Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc :type tag: str """ _attribute_map = { 'ip_tag_type': {'key': 'ipTagType', 'type': 'str'}, 'tag': {'key': 'tag', 'type': 'str'}, } def __init__(self, *, ip_tag_type: str=None, tag: str=None, **kwargs) -> None: super(IpTag, self).__init__(**kwargs) self.ip_tag_type = ip_tag_type self.tag = tag