Udostępnij za pośrednictwem


HybridNetworkExtensions.GetNetworkFunctions Method

Definition

Overloads

GetNetworkFunctions(SubscriptionResource, CancellationToken)

Lists all the network functions in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridNetwork/networkFunctions
  • Operation Id: NetworkFunctions_ListBySubscription
GetNetworkFunctions(ResourceGroupResource)

Gets a collection of NetworkFunctionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFunctions() instead.

GetNetworkFunctions(SubscriptionResource, CancellationToken)

Source:
HybridNetworkExtensions.cs

Lists all the network functions in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridNetwork/networkFunctions
  • Operation Id: NetworkFunctions_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.HybridNetwork.NetworkFunctionResource> GetNetworkFunctions (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFunctions : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridNetwork.NetworkFunctionResource>
<Extension()>
Public Function GetNetworkFunctions (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkFunctionResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetworkFunctionResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to

GetNetworkFunctions(ResourceGroupResource)

Source:
HybridNetworkExtensions.cs

Gets a collection of NetworkFunctionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFunctions() instead.

public static Azure.ResourceManager.HybridNetwork.NetworkFunctionCollection GetNetworkFunctions (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkFunctions : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HybridNetwork.NetworkFunctionCollection
<Extension()>
Public Function GetNetworkFunctions (resourceGroupResource As ResourceGroupResource) As NetworkFunctionCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkFunctionResources and their operations over a NetworkFunctionResource.

Exceptions

resourceGroupResource is null.

Applies to