Share via


ServiceFabricExtensions.GetServiceFabricVmSizeResources Method

Definition

Gets a collection of ServiceFabricVmSizeResources in the SubscriptionResource. MockingTo mock this method, please mock GetServiceFabricVmSizeResources(AzureLocation) instead.

public static Azure.ResourceManager.ServiceFabric.ServiceFabricVmSizeResourceCollection GetServiceFabricVmSizeResources (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location);
static member GetServiceFabricVmSizeResources : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation -> Azure.ResourceManager.ServiceFabric.ServiceFabricVmSizeResourceCollection
<Extension()>
Public Function GetServiceFabricVmSizeResources (subscriptionResource As SubscriptionResource, location As AzureLocation) As ServiceFabricVmSizeResourceCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The location parameter.

Returns

An object representing collection of ServiceFabricVmSizeResources and their operations over a ServiceFabricVmSizeResource.

Exceptions

subscriptionResource is null.

Applies to