FirewallRulesOperations Class
FirewallRulesOperations operations.
- Inheritance
-
builtins.objectFirewallRulesOperations
Constructor
FirewallRulesOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- api_version
Client Api Version. Constant value: "2016-11-01".
Methods
| create_or_update |
Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule. |
| delete |
Deletes the specified firewall rule from the specified Data Lake Analytics account. |
| get |
Gets the specified Data Lake Analytics firewall rule. |
| list_by_account |
Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account. |
| update |
Updates the specified firewall rule. |
create_or_update
Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.
create_or_update(resource_group_name, account_name, firewall_rule_name, start_ip_address, end_ip_address, custom_headers=None, raw=False, **operation_config)
Parameters
- start_ip_address
- str
The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
- end_ip_address
- str
The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
- operation_config
Operation configuration overrides.
Returns
FirewallRule or ClientRawResponse if raw=true
Return type
Exceptions
delete
Deletes the specified firewall rule from the specified Data Lake Analytics account.
delete(resource_group_name, account_name, firewall_rule_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
get
Gets the specified Data Lake Analytics firewall rule.
get(resource_group_name, account_name, firewall_rule_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
FirewallRule or ClientRawResponse if raw=true
Return type
Exceptions
list_by_account
Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.
list_by_account(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of FirewallRule
Return type
Exceptions
update
Updates the specified firewall rule.
update(resource_group_name, account_name, firewall_rule_name, start_ip_address=None, end_ip_address=None, custom_headers=None, raw=False, **operation_config)
Parameters
- start_ip_address
- str
The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
- end_ip_address
- str
The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
- operation_config
Operation configuration overrides.
Returns
FirewallRule or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.datalake.analytics.account.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\datalake\\analytics\\account\\models\\__init__.py'>
Feedback
Submit and view feedback for