Share via


AzureFirewallCollection Class

Definition

A class representing a collection of AzureFirewallResource and their operations. Each AzureFirewallResource in the collection will belong to the same instance of ResourceGroupResource. To get an AzureFirewallCollection instance call the GetAzureFirewalls method from an instance of ResourceGroupResource.

public class AzureFirewallCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.AzureFirewallResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.AzureFirewallResource>
type AzureFirewallCollection = class
    inherit ArmCollection
    interface seq<AzureFirewallResource>
    interface IEnumerable
    interface IAsyncEnumerable<AzureFirewallResource>
Public Class AzureFirewallCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of AzureFirewallResource), IEnumerable(Of AzureFirewallResource)
Inheritance
AzureFirewallCollection
Implements

Constructors

AzureFirewallCollection()

Initializes a new instance of the AzureFirewallCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, AzureFirewallData, CancellationToken)

Creates or updates the specified Azure Firewall.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
CreateOrUpdateAsync(WaitUntil, String, AzureFirewallData, CancellationToken)

Creates or updates the specified Azure Firewall.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_Get
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_Get
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
Get(String, CancellationToken)

Gets the specified Azure Firewall.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_Get
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
GetAll(CancellationToken)

Lists all Azure Firewalls in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls
  • Operation Id: AzureFirewalls_List
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
GetAllAsync(CancellationToken)

Lists all Azure Firewalls in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls
  • Operation Id: AzureFirewalls_List
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
GetAsync(String, CancellationToken)

Gets the specified Azure Firewall.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_Get
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_Get
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}
  • Operation Id: AzureFirewalls_Get
  • Default Api Version: 2024-03-01
  • Resource: AzureFirewallResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<AzureFirewallResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AzureFirewallResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to