Dela via


ComputeExtensions.GetCloudServiceOSFamilies Method

Definition

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

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

Name of the location that the OS families pertain to.

Returns

An object representing collection of CloudServiceOSFamilyResources and their operations over a CloudServiceOSFamilyResource.

Exceptions

subscriptionResource is null.

Applies to