From 4f1c1db5e59d64bf6b7371e0b52e0974120733fc Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 30 Aug 2018 09:41:35 -0700 Subject: [PATCH] Generated from 990371c06dc12d57ee8a50e4e282edbedb4c4041 (#3218) Use the correct name for publicIPAddress in AzureFirewall PUT example --- .../models/azure_firewall_ip_configuration.py | 8 +------- .../models/azure_firewall_ip_configuration_py3.py | 10 ++-------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration.py index e3d24b603a8..b9bc81836ff 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration.py @@ -23,12 +23,8 @@ class AzureFirewallIPConfiguration(SubResource): :param subnet: Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'. :type subnet: ~azure.mgmt.network.v2018_08_01.models.SubResource - :param internal_public_ip_address: Reference of the PublicIP resource. - This field is a mandatory input. - :type internal_public_ip_address: - ~azure.mgmt.network.v2018_08_01.models.SubResource :param public_ip_address: Reference of the PublicIP resource. This field - is populated in the output. + is a mandatory input if subnet is not null. :type public_ip_address: ~azure.mgmt.network.v2018_08_01.models.SubResource :param provisioning_state: The provisioning state of the resource. @@ -47,7 +43,6 @@ class AzureFirewallIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, - 'internal_public_ip_address': {'key': 'properties.internalPublicIpAddress', 'type': 'SubResource'}, 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, @@ -58,7 +53,6 @@ def __init__(self, **kwargs): super(AzureFirewallIPConfiguration, self).__init__(**kwargs) self.private_ip_address = kwargs.get('private_ip_address', None) self.subnet = kwargs.get('subnet', None) - self.internal_public_ip_address = kwargs.get('internal_public_ip_address', None) self.public_ip_address = kwargs.get('public_ip_address', None) self.provisioning_state = kwargs.get('provisioning_state', None) self.name = kwargs.get('name', None) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration_py3.py index 27e67a18f96..4f48de4304e 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/azure_firewall_ip_configuration_py3.py @@ -23,12 +23,8 @@ class AzureFirewallIPConfiguration(SubResource): :param subnet: Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'. :type subnet: ~azure.mgmt.network.v2018_08_01.models.SubResource - :param internal_public_ip_address: Reference of the PublicIP resource. - This field is a mandatory input. - :type internal_public_ip_address: - ~azure.mgmt.network.v2018_08_01.models.SubResource :param public_ip_address: Reference of the PublicIP resource. This field - is populated in the output. + is a mandatory input if subnet is not null. :type public_ip_address: ~azure.mgmt.network.v2018_08_01.models.SubResource :param provisioning_state: The provisioning state of the resource. @@ -47,18 +43,16 @@ class AzureFirewallIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, - 'internal_public_ip_address': {'key': 'properties.internalPublicIpAddress', 'type': 'SubResource'}, 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, private_ip_address: str=None, subnet=None, internal_public_ip_address=None, public_ip_address=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_ip_address: str=None, subnet=None, public_ip_address=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: super(AzureFirewallIPConfiguration, self).__init__(id=id, **kwargs) self.private_ip_address = private_ip_address self.subnet = subnet - self.internal_public_ip_address = internal_public_ip_address self.public_ip_address = public_ip_address self.provisioning_state = provisioning_state self.name = name