Share via


NetworkExtensions.GetIPGroups Method

Definition

Overloads

GetIPGroups(ResourceGroupResource)

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

GetIPGroups(SubscriptionResource, CancellationToken)

Gets all IpGroups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups
  • Operation Id: IpGroups_List
  • Default Api Version: 2024-03-01
  • Resource: IPGroupResource

GetIPGroups(ResourceGroupResource)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

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

public static Azure.ResourceManager.Network.IPGroupCollection GetIPGroups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetIPGroups : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.IPGroupCollection
<Extension()>
Public Function GetIPGroups (resourceGroupResource As ResourceGroupResource) As IPGroupCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of IPGroupResources and their operations over a IPGroupResource.

Exceptions

resourceGroupResource is null.

Applies to

GetIPGroups(SubscriptionResource, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets all IpGroups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups
  • Operation Id: IpGroups_List
  • Default Api Version: 2024-03-01
  • Resource: IPGroupResource
public static Azure.Pageable<Azure.ResourceManager.Network.IPGroupResource> GetIPGroups (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetIPGroups : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.IPGroupResource>
<Extension()>
Public Function GetIPGroups (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IPGroupResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to