Share via


NetworkFabricRoutePolicyCollection Class

Definition

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

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

Constructors

NetworkFabricRoutePolicyCollection()

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

Implements Route Policy PUT method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Create
CreateOrUpdateAsync(WaitUntil, String, NetworkFabricRoutePolicyData, CancellationToken)

Implements Route Policy PUT method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Create
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Get
Get(String, CancellationToken)

Implements Route Policy GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Get
GetAll(CancellationToken)

Implements RoutePolicies list by resource group GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies
  • Operation Id: RoutePolicies_ListByResourceGroup
GetAllAsync(CancellationToken)

Implements RoutePolicies list by resource group GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies
  • Operation Id: RoutePolicies_ListByResourceGroup
GetAsync(String, CancellationToken)

Implements Route Policy GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}
  • Operation Id: RoutePolicies_Get
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<NetworkFabricRoutePolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkFabricRoutePolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to