AzureFirewallsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:azure_firewalls> attribute.

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_packet_capture_operation

Runs a packet capture operation 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, *, create_afc_control_plane: bool | None = None, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AzureFirewall]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

azure_firewall_name
Required
str

The name of the Azure Firewall. Required.

parameters
Required
AzureFirewall or <xref:JSON> or IO[bytes]

Parameters supplied to the create or update Azure Firewall operation. Is one of the following types: AzureFirewall, JSON, IO[bytes] Required.

Keyword-Only Parameters

Name Description
create_afc_control_plane

When set to true, creates an AFC control plane for the Azure Firewall. Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns AzureFirewall. The AzureFirewall is compatible with MutableMapping

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
str

The name of the resource group. The name is case insensitive. Required.

azure_firewall_name
Required
str

The name of the Azure Firewall. Required.

Returns

Type Description

An instance of LROPoller that returns None

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
str

The name of the resource group. The name is case insensitive. Required.

azure_firewall_name
Required
str

The name of the Azure Firewall. Required.

Returns

Type Description

An instance of LROPoller that returns IPPrefixesList. The IPPrefixesList is compatible with MutableMapping

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
str

The name of the resource group. The name is case insensitive. Required.

azure_firewall_name
Required
str

The name of the Azure Firewall. Required.

parameters
Required

Parameters supplied to run packet capture on azure firewall. Is one of the following types: FirewallPacketCaptureParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_packet_capture_operation

Runs a packet capture operation on AzureFirewall.

begin_packet_capture_operation(resource_group_name: str, azure_firewall_name: str, parameters: _models.FirewallPacketCaptureParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AzureFirewallPacketCaptureResponse]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

azure_firewall_name
Required
str

The name of the Azure Firewall. Required.

parameters
Required

Parameters supplied to run packet capture on azure firewall. Is one of the following types: FirewallPacketCaptureParameters, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns AzureFirewallPacketCaptureResponse. The AzureFirewallPacketCaptureResponse is compatible with MutableMapping

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
str

The name of the resource group. The name is case insensitive. Required.

azure_firewall_name
Required
str

The name of the Azure Firewall. Required.

parameters
Required
TagsObject or <xref:JSON> or IO[bytes]

Parameters supplied to update azure firewall tags. Is one of the following types: TagsObject, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns AzureFirewall. The AzureFirewall is compatible with MutableMapping

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
str

The name of the resource group. The name is case insensitive. Required.

azure_firewall_name
Required
str

The name of the Azure Firewall. Required.

Returns

Type Description

AzureFirewall. The AzureFirewall is compatible with MutableMapping

Exceptions

Type Description

list

Lists all Azure Firewalls in a resource group.

list(resource_group_name: str, **kwargs: Any) -> ItemPaged[AzureFirewall]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

Returns

Type Description

An iterator like instance of AzureFirewall

Exceptions

Type Description

list_all

Gets all the Azure Firewalls in a subscription.

list_all(**kwargs: Any) -> ItemPaged[AzureFirewall]

Returns

Type Description

An iterator like instance of AzureFirewall

Exceptions

Type Description