다음을 통해 공유


NetworkFunctionExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.NetworkFunction.

public static class NetworkFunctionExtensions
type NetworkFunctionExtensions = class
Public Module NetworkFunctionExtensions
Inheritance
NetworkFunctionExtensions

Methods

GetAzureTrafficCollector(ResourceGroupResource, String, CancellationToken)

Gets the specified Azure Traffic Collector in a specified resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}
  • Operation Id: AzureTrafficCollectors_Get
GetAzureTrafficCollectorAsync(ResourceGroupResource, String, CancellationToken)

Gets the specified Azure Traffic Collector in a specified resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}
  • Operation Id: AzureTrafficCollectors_Get
GetAzureTrafficCollectorResource(ArmClient, ResourceIdentifier)

Gets an object representing an AzureTrafficCollectorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an AzureTrafficCollectorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAzureTrafficCollectorResource(ResourceIdentifier) instead.

GetAzureTrafficCollectors(ResourceGroupResource)

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

GetAzureTrafficCollectors(SubscriptionResource, CancellationToken)

Return list of Azure Traffic Collectors in a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors
  • Operation Id: AzureTrafficCollectorsBySubscription_List
GetAzureTrafficCollectorsAsync(SubscriptionResource, CancellationToken)

Return list of Azure Traffic Collectors in a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors
  • Operation Id: AzureTrafficCollectorsBySubscription_List
GetCollectorPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a CollectorPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a CollectorPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCollectorPolicyResource(ResourceIdentifier) instead.

Applies to