Share via


NetworkFunctionCollection Class

Definition

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

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

Constructors

NetworkFunctionCollection()

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

Creates or updates a network function resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, NetworkFunctionData, CancellationToken)

Creates or updates a network function resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_Get
Get(String, CancellationToken)

Gets information about the specified network function resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_Get
GetAll(CancellationToken)

Lists all the network function resources in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions
  • Operation Id: NetworkFunctions_ListByResourceGroup
GetAllAsync(CancellationToken)

Lists all the network function resources in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions
  • Operation Id: NetworkFunctions_ListByResourceGroup
GetAsync(String, CancellationToken)

Gets information about the specified network function resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • Operation Id: NetworkFunctions_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<NetworkFunctionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkFunctionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to