ManagedNetworkFabricExtensions.GetNetworkFabricIPPrefixes 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
GetNetworkFabricIPPrefixes(ResourceGroupResource) |
Gets a collection of NetworkFabricIPPrefixResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricIPPrefixes() instead. |
GetNetworkFabricIPPrefixes(SubscriptionResource, CancellationToken) |
Implements IpPrefixes list by subscription GET method.
|
GetNetworkFabricIPPrefixes(ResourceGroupResource)
Gets a collection of NetworkFabricIPPrefixResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricIPPrefixes() instead.
public static Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPPrefixCollection GetNetworkFabricIPPrefixes (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkFabricIPPrefixes : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPPrefixCollection
<Extension()>
Public Function GetNetworkFabricIPPrefixes (resourceGroupResource As ResourceGroupResource) As NetworkFabricIPPrefixCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of NetworkFabricIPPrefixResources and their operations over a NetworkFabricIPPrefixResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetNetworkFabricIPPrefixes(SubscriptionResource, CancellationToken)
Implements IpPrefixes list by subscription GET method.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes
- Operation Id: IpPrefixes_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPPrefixResource> GetNetworkFabricIPPrefixes (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricIPPrefixes : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPPrefixResource>
<Extension()>
Public Function GetNetworkFabricIPPrefixes (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkFabricIPPrefixResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of NetworkFabricIPPrefixResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET