Skip to content

Commit

Permalink
Generated from c588675255041df691fc413f19c346a30538fbb9 (#3189)
Browse files Browse the repository at this point in the history
Fetch upstream master
  • Loading branch information
AutorestCI authored Aug 24, 2018
1 parent daa56d2 commit 2492c53
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -51,7 +51,9 @@ class OutboundRule(SubResource):
"""

_validation = {
'frontend_ip_configurations': {'required': True},
'backend_address_pool': {'required': True},
'protocol': {'required': True},
}

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -51,7 +51,9 @@ class OutboundRule(SubResource):
"""

_validation = {
'frontend_ip_configurations': {'required': True},
'backend_address_pool': {'required': True},
'protocol': {'required': True},
}

_attribute_map = {
Expand All @@ -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
Expand Down

0 comments on commit 2492c53

Please # to comment.