共用方式為


RouteFilterRuleCollection Class

Definition

A class representing a collection of RouteFilterRuleResource and their operations. Each RouteFilterRuleResource in the collection will belong to the same instance of RouteFilterResource. To get a RouteFilterRuleCollection instance call the GetRouteFilterRules method from an instance of RouteFilterResource.

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

Constructors

RouteFilterRuleCollection()

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

Creates or updates a route in the specified route filter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
CreateOrUpdateAsync(WaitUntil, String, RouteFilterRuleData, CancellationToken)

Creates or updates a route in the specified route filter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_Get
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_Get
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
Get(String, CancellationToken)

Gets the specified rule from a route filter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_Get
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
GetAll(CancellationToken)

Gets all RouteFilterRules in a route filter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules
  • Operation Id: RouteFilterRules_ListByRouteFilter
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
GetAllAsync(CancellationToken)

Gets all RouteFilterRules in a route filter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules
  • Operation Id: RouteFilterRules_ListByRouteFilter
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
GetAsync(String, CancellationToken)

Gets the specified rule from a route filter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_Get
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_Get
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}
  • Operation Id: RouteFilterRules_Get
  • Default Api Version: 2024-03-01
  • Resource: RouteFilterRuleResource
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<RouteFilterRuleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RouteFilterRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to