1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
# 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 .sub_resource import SubResource
class VirtualMachineScaleSetIPConfiguration(SubResource):
"""Describes a virtual machine scale set network profile's IP configuration.
:param id: Resource Id
:type id: str
:param name: the IP configuration name.
:type name: str
:param subnet: the subnet.
:type subnet: :class:`ApiEntityReference
<azure.mgmt.compute.models.ApiEntityReference>`
:param application_gateway_backend_address_pools: the application gateway
backend address pools.
:type application_gateway_backend_address_pools: list of
:class:`SubResource <azure.mgmt.compute.models.SubResource>`
:param load_balancer_backend_address_pools: the load balancer backend
address pools.
:type load_balancer_backend_address_pools: list of :class:`SubResource
<azure.mgmt.compute.models.SubResource>`
:param load_balancer_inbound_nat_pools: the load balancer inbound nat
pools.
:type load_balancer_inbound_nat_pools: list of :class:`SubResource
<azure.mgmt.compute.models.SubResource>`
"""
_validation = {
'name': {'required': True},
'subnet': {'required': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'subnet': {'key': 'properties.subnet', 'type': 'ApiEntityReference'},
'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[SubResource]'},
'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[SubResource]'},
'load_balancer_inbound_nat_pools': {'key': 'properties.loadBalancerInboundNatPools', 'type': '[SubResource]'},
}
def __init__(self, name, subnet, id=None, application_gateway_backend_address_pools=None, load_balancer_backend_address_pools=None, load_balancer_inbound_nat_pools=None):
super(VirtualMachineScaleSetIPConfiguration, self).__init__(id=id)
self.name = name
self.subnet = subnet
self.application_gateway_backend_address_pools = application_gateway_backend_address_pools
self.load_balancer_backend_address_pools = load_balancer_backend_address_pools
self.load_balancer_inbound_nat_pools = load_balancer_inbound_nat_pools
|