# 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 msrest.serialization import Model
[docs]class UpdateFirewallRuleWithAccountParameters(Model):
"""The parameters used to update a firewall rule while updating a Data Lake
Store account.
All required parameters must be populated in order to send to Azure.
:param name: Required. The unique name of the firewall rule to update.
:type name: str
:param start_ip_address: The start IP address for the firewall rule. This
can be either ipv4 or ipv6. Start and End should be in the same protocol.
:type start_ip_address: str
:param end_ip_address: The end IP address for the firewall rule. This can
be either ipv4 or ipv6. Start and End should be in the same protocol.
:type end_ip_address: str
"""
_validation = {
'name': {'required': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'start_ip_address': {'key': 'properties.startIpAddress', 'type': 'str'},
'end_ip_address': {'key': 'properties.endIpAddress', 'type': 'str'},
}
def __init__(self, *, name: str, start_ip_address: str=None, end_ip_address: str=None, **kwargs) -> None:
super(UpdateFirewallRuleWithAccountParameters, self).__init__(**kwargs)
self.name = name
self.start_ip_address = start_ip_address
self.end_ip_address = end_ip_address