# 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 SubnetSharedPublicIpAddressConfiguration(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.Port]
"""
_attribute_map = {
'allowed_ports': {'key': 'allowedPorts', 'type': '[Port]'},
}
def __init__(self, allowed_ports=None):
super(SubnetSharedPublicIpAddressConfiguration, self).__init__()
self.allowed_ports = allowed_ports