ArcScVmmExtensions.GetScVmmVirtualNetworks 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
GetScVmmVirtualNetworks(ResourceGroupResource) |
Gets a collection of ScVmmVirtualNetworkResources in the ResourceGroupResource. MockingTo mock this method, please mock GetScVmmVirtualNetworks() instead. |
GetScVmmVirtualNetworks(SubscriptionResource, CancellationToken) |
List of VirtualNetworks in a subscription.
|
GetScVmmVirtualNetworks(ResourceGroupResource)
- Source:
- ArcScVmmExtensions.cs
Gets a collection of ScVmmVirtualNetworkResources in the ResourceGroupResource. MockingTo mock this method, please mock GetScVmmVirtualNetworks() instead.
public static Azure.ResourceManager.ArcScVmm.ScVmmVirtualNetworkCollection GetScVmmVirtualNetworks (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetScVmmVirtualNetworks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ArcScVmm.ScVmmVirtualNetworkCollection
<Extension()>
Public Function GetScVmmVirtualNetworks (resourceGroupResource As ResourceGroupResource) As ScVmmVirtualNetworkCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of ScVmmVirtualNetworkResources and their operations over a ScVmmVirtualNetworkResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetScVmmVirtualNetworks(SubscriptionResource, CancellationToken)
- Source:
- ArcScVmmExtensions.cs
List of VirtualNetworks in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks
- Operation Id: VirtualNetworks_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ArcScVmm.ScVmmVirtualNetworkResource> GetScVmmVirtualNetworks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetScVmmVirtualNetworks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ArcScVmm.ScVmmVirtualNetworkResource>
<Extension()>
Public Function GetScVmmVirtualNetworks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ScVmmVirtualNetworkResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ScVmmVirtualNetworkResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.