AzureFirewallsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:azure_firewalls> attribute.
- Inheritance
-
builtins.objectAzureFirewallsOperations
Constructor
AzureFirewallsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates or updates the specified Azure Firewall. |
begin_delete |
Deletes the specified Azure Firewall. |
begin_list_learned_prefixes |
Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. |
begin_packet_capture |
Runs a packet capture on AzureFirewall. |
begin_update_tags |
Updates tags of an Azure Firewall resource. |
get |
Gets the specified Azure Firewall. |
list |
Lists all Azure Firewalls in a resource group. |
list_all |
Gets all the Azure Firewalls in a subscription. |
begin_create_or_update
Creates or updates the specified Azure Firewall.
begin_create_or_update(resource_group_name: str, azure_firewall_name: str, parameters: _models.AzureFirewall, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AzureFirewall]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
azure_firewall_name
Required
|
The name of the Azure Firewall. Required. |
parameters
Required
|
Parameters supplied to the create or update Azure Firewall operation. Is either a AzureFirewall type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either AzureFirewall or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Deletes the specified Azure Firewall.
begin_delete(resource_group_name: str, azure_firewall_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
azure_firewall_name
Required
|
The name of the Azure Firewall. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_list_learned_prefixes
Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.
begin_list_learned_prefixes(resource_group_name: str, azure_firewall_name: str, **kwargs: Any) -> LROPoller[IPPrefixesList]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
azure_firewall_name
Required
|
The name of the azure firewall. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either IPPrefixesList or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_packet_capture
Runs a packet capture on AzureFirewall.
begin_packet_capture(resource_group_name: str, azure_firewall_name: str, parameters: _models.FirewallPacketCaptureParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
azure_firewall_name
Required
|
The name of the Azure Firewall. Required. |
parameters
Required
|
Parameters supplied to run packet capture on azure firewall. Is either a FirewallPacketCaptureParameters type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_update_tags
Updates tags of an Azure Firewall resource.
begin_update_tags(resource_group_name: str, azure_firewall_name: str, parameters: _models.TagsObject, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AzureFirewall]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
azure_firewall_name
Required
|
The name of the Azure Firewall. Required. |
parameters
Required
|
Parameters supplied to update azure firewall tags. Is either a TagsObject type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either AzureFirewall or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Gets the specified Azure Firewall.
get(resource_group_name: str, azure_firewall_name: str, **kwargs: Any) -> AzureFirewall
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
azure_firewall_name
Required
|
The name of the Azure Firewall. Required. |
Returns
Type | Description |
---|---|
AzureFirewall or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Lists all Azure Firewalls in a resource group.
list(resource_group_name: str, **kwargs: Any) -> Iterable[AzureFirewall]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either AzureFirewall or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_all
Gets all the Azure Firewalls in a subscription.
list_all(**kwargs: Any) -> Iterable[AzureFirewall]
Returns
Type | Description |
---|---|
An iterator like instance of either AzureFirewall or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>
Azure SDK for Python