Skip to content

Commit 2492c53

Browse files
authored
Generated from c588675255041df691fc413f19c346a30538fbb9 (#3189)
Fetch upstream master
1 parent daa56d2 commit 2492c53

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class OutboundRule(SubResource):
2222
:param allocated_outbound_ports: The number of outbound ports to be used
2323
for NAT.
2424
:type allocated_outbound_ports: int
25-
:param frontend_ip_configurations: The Frontend IP addresses of the load
26-
balancer.
25+
:param frontend_ip_configurations: Required. The Frontend IP addresses of
26+
the load balancer.
2727
:type frontend_ip_configurations:
2828
list[~azure.mgmt.network.v2018_07_01.models.SubResource]
2929
:param backend_address_pool: Required. A reference to a pool of DIPs.
@@ -33,8 +33,8 @@ class OutboundRule(SubResource):
3333
:param provisioning_state: Gets the provisioning state of the PublicIP
3434
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
3535
:type provisioning_state: str
36-
:param protocol: Protocol - TCP, UDP or All. Possible values include:
37-
'Tcp', 'Udp', 'All'
36+
:param protocol: Required. Protocol - TCP, UDP or All. Possible values
37+
include: 'Tcp', 'Udp', 'All'
3838
:type protocol: str or ~azure.mgmt.network.v2018_07_01.models.enum
3939
:param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle
4040
timeout or unexpected connection termination. This element is only used
@@ -51,7 +51,9 @@ class OutboundRule(SubResource):
5151
"""
5252

5353
_validation = {
54+
'frontend_ip_configurations': {'required': True},
5455
'backend_address_pool': {'required': True},
56+
'protocol': {'required': True},
5557
}
5658

5759
_attribute_map = {

azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/outbound_rule_py3.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class OutboundRule(SubResource):
2222
:param allocated_outbound_ports: The number of outbound ports to be used
2323
for NAT.
2424
:type allocated_outbound_ports: int
25-
:param frontend_ip_configurations: The Frontend IP addresses of the load
26-
balancer.
25+
:param frontend_ip_configurations: Required. The Frontend IP addresses of
26+
the load balancer.
2727
:type frontend_ip_configurations:
2828
list[~azure.mgmt.network.v2018_07_01.models.SubResource]
2929
:param backend_address_pool: Required. A reference to a pool of DIPs.
@@ -33,8 +33,8 @@ class OutboundRule(SubResource):
3333
:param provisioning_state: Gets the provisioning state of the PublicIP
3434
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
3535
:type provisioning_state: str
36-
:param protocol: Protocol - TCP, UDP or All. Possible values include:
37-
'Tcp', 'Udp', 'All'
36+
:param protocol: Required. Protocol - TCP, UDP or All. Possible values
37+
include: 'Tcp', 'Udp', 'All'
3838
:type protocol: str or ~azure.mgmt.network.v2018_07_01.models.enum
3939
:param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle
4040
timeout or unexpected connection termination. This element is only used
@@ -51,7 +51,9 @@ class OutboundRule(SubResource):
5151
"""
5252

5353
_validation = {
54+
'frontend_ip_configurations': {'required': True},
5455
'backend_address_pool': {'required': True},
56+
'protocol': {'required': True},
5557
}
5658

5759
_attribute_map = {
@@ -67,7 +69,7 @@ class OutboundRule(SubResource):
6769
'etag': {'key': 'etag', 'type': 'str'},
6870
}
6971

70-
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:
72+
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:
7173
super(OutboundRule, self).__init__(id=id, **kwargs)
7274
self.allocated_outbound_ports = allocated_outbound_ports
7375
self.frontend_ip_configurations = frontend_ip_configurations

0 commit comments

Comments
 (0)