Share via


ManagedNetworkFabricExtensions.GetNetworkFabricIPCommunities Method

Definition

Overloads

GetNetworkFabricIPCommunities(ResourceGroupResource)

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

GetNetworkFabricIPCommunities(SubscriptionResource, CancellationToken)

Implements IP Communities list by subscription GET method.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipCommunities
  • Operation Id: IpCommunities_ListBySubscription

GetNetworkFabricIPCommunities(ResourceGroupResource)

Source:
ManagedNetworkFabricExtensions.cs

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

public static Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityCollection GetNetworkFabricIPCommunities (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkFabricIPCommunities : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityCollection
<Extension()>
Public Function GetNetworkFabricIPCommunities (resourceGroupResource As ResourceGroupResource) As NetworkFabricIPCommunityCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkFabricIPCommunityResources and their operations over a NetworkFabricIPCommunityResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkFabricIPCommunities(SubscriptionResource, CancellationToken)

Source:
ManagedNetworkFabricExtensions.cs

Implements IP Communities list by subscription GET method.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to