ManagedNetworkFabricExtensions.GetNetworkFabricIPCommunities Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
|
GetNetworkFabricIPCommunities(ResourceGroupResource)
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)
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
Azure SDK for .NET