Condividi tramite


FirewallPolicyCollection Class

Definition

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

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

Constructors

FirewallPolicyCollection()

Initializes a new instance of the FirewallPolicyCollection 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, FirewallPolicyData, CancellationToken)

Creates or updates the specified Firewall Policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
CreateOrUpdateAsync(WaitUntil, String, FirewallPolicyData, CancellationToken)

Creates or updates the specified Firewall Policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
Get(String, String, CancellationToken)

Gets the specified Firewall Policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
GetAll(CancellationToken)

Lists all Firewall Policies in a resource group.

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

Lists all Firewall Policies in a resource group.

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

Gets the specified Firewall Policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}
  • Operation Id: FirewallPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: FirewallPolicyResource
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<FirewallPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FirewallPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to