Source code for azure.mgmt.devtestlabs.models.subnet_shared_public_ip_address_configuration_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 SubnetSharedPublicIpAddressConfigurationFragment(Model): """Configuration for public IP address sharing. :param allowed_ports: Backend ports that virtual machines on this subnet are allowed to expose :type allowed_ports: list[~azure.mgmt.devtestlabs.models.PortFragment] """ _attribute_map = { 'allowed_ports': {'key': 'allowedPorts', 'type': '[PortFragment]'}, } def __init__(self, allowed_ports=None): super(SubnetSharedPublicIpAddressConfigurationFragment, self).__init__() self.allowed_ports = allowed_ports