Source code for azure.mgmt.devtestlabs.models.external_subnet_fragment

# 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 ExternalSubnetFragment(Model): """Subnet information as returned by the Microsoft.Network API. :param id: Gets or sets the identifier. :type id: str :param name: Gets or sets the name. :type name: str """ _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, } def __init__(self, id=None, name=None): super(ExternalSubnetFragment, self).__init__() self.id = id self.name = name