diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule.py b/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule.py index 04870e7f459d..ef8d73bde0b7 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule.py @@ -22,8 +22,8 @@ class OutboundRule(SubResource): :param allocated_outbound_ports: The number of outbound ports to be used for NAT. :type allocated_outbound_ports: int - :param frontend_ip_configurations: The Frontend IP addresses of the load - balancer. + :param frontend_ip_configurations: Required. The Frontend IP addresses of + the load balancer. :type frontend_ip_configurations: list[~azure.mgmt.network.v2018_07_01.models.SubResource] :param backend_address_pool: Required. A reference to a pool of DIPs. @@ -33,8 +33,8 @@ class OutboundRule(SubResource): :param provisioning_state: Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :type provisioning_state: str - :param protocol: Protocol - TCP, UDP or All. Possible values include: - 'Tcp', 'Udp', 'All' + :param protocol: Required. Protocol - TCP, UDP or All. Possible values + include: 'Tcp', 'Udp', 'All' :type protocol: str or ~azure.mgmt.network.v2018_07_01.models.enum :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used @@ -51,7 +51,9 @@ class OutboundRule(SubResource): """ _validation = { + 'frontend_ip_configurations': {'required': True}, 'backend_address_pool': {'required': True}, + 'protocol': {'required': True}, } _attribute_map = { diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule_py3.py index 2f24df8ef9f4..1ac22c81d284 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule_py3.py @@ -22,8 +22,8 @@ class OutboundRule(SubResource): :param allocated_outbound_ports: The number of outbound ports to be used for NAT. :type allocated_outbound_ports: int - :param frontend_ip_configurations: The Frontend IP addresses of the load - balancer. + :param frontend_ip_configurations: Required. The Frontend IP addresses of + the load balancer. :type frontend_ip_configurations: list[~azure.mgmt.network.v2018_07_01.models.SubResource] :param backend_address_pool: Required. A reference to a pool of DIPs. @@ -33,8 +33,8 @@ class OutboundRule(SubResource): :param provisioning_state: Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :type provisioning_state: str - :param protocol: Protocol - TCP, UDP or All. Possible values include: - 'Tcp', 'Udp', 'All' + :param protocol: Required. Protocol - TCP, UDP or All. Possible values + include: 'Tcp', 'Udp', 'All' :type protocol: str or ~azure.mgmt.network.v2018_07_01.models.enum :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used @@ -51,7 +51,9 @@ class OutboundRule(SubResource): """ _validation = { + 'frontend_ip_configurations': {'required': True}, 'backend_address_pool': {'required': True}, + 'protocol': {'required': True}, } _attribute_map = { @@ -67,7 +69,7 @@ class OutboundRule(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, backend_address_pool, id: str=None, allocated_outbound_ports: int=None, frontend_ip_configurations=None, provisioning_state: str=None, protocol=None, enable_tcp_reset: bool=None, idle_timeout_in_minutes: int=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, frontend_ip_configurations, backend_address_pool, protocol, id: str=None, allocated_outbound_ports: int=None, provisioning_state: str=None, enable_tcp_reset: bool=None, idle_timeout_in_minutes: int=None, name: str=None, etag: str=None, **kwargs) -> None: super(OutboundRule, self).__init__(id=id, **kwargs) self.allocated_outbound_ports = allocated_outbound_ports self.frontend_ip_configurations = frontend_ip_configurations