Source code for azure.mgmt.compute.v2017_03_30.models.virtual_machine_scale_set_update_ip_configuration_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 .sub_resource_py3 import SubResource


[docs]class VirtualMachineScaleSetUpdateIPConfiguration(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: ~azure.mgmt.compute.v2017_03_30.models.ApiEntityReference :param primary: Specifies the primary IP Configuration in case the network interface has more than one IP Configuration. :type primary: bool :param public_ip_address_configuration: The publicIPAddressConfiguration. :type public_ip_address_configuration: ~azure.mgmt.compute.v2017_03_30.models.VirtualMachineScaleSetUpdatePublicIPAddressConfiguration :param private_ip_address_version: Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6' :type private_ip_address_version: str or ~azure.mgmt.compute.v2017_03_30.models.IPVersion :param application_gateway_backend_address_pools: The application gateway backend address pools. :type application_gateway_backend_address_pools: list[~azure.mgmt.compute.v2017_03_30.models.SubResource] :param load_balancer_backend_address_pools: The load balancer backend address pools. :type load_balancer_backend_address_pools: list[~azure.mgmt.compute.v2017_03_30.models.SubResource] :param load_balancer_inbound_nat_pools: The load balancer inbound nat pools. :type load_balancer_inbound_nat_pools: list[~azure.mgmt.compute.v2017_03_30.models.SubResource] """ _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'subnet': {'key': 'properties.subnet', 'type': 'ApiEntityReference'}, 'primary': {'key': 'properties.primary', 'type': 'bool'}, 'public_ip_address_configuration': {'key': 'properties.publicIPAddressConfiguration', 'type': 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration'}, 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, '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, *, id: str=None, name: str=None, subnet=None, primary: bool=None, public_ip_address_configuration=None, private_ip_address_version=None, application_gateway_backend_address_pools=None, load_balancer_backend_address_pools=None, load_balancer_inbound_nat_pools=None, **kwargs) -> None: super(VirtualMachineScaleSetUpdateIPConfiguration, self).__init__(id=id, **kwargs) self.name = name self.subnet = subnet self.primary = primary self.public_ip_address_configuration = public_ip_address_configuration self.private_ip_address_version = private_ip_address_version 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