Share via


ComputeExtensions.GetCloudServiceOSVersions Method

Definition

Gets a collection of CloudServiceOSVersionResources in the SubscriptionResource. <item>MockingTo mock this method, please mock GetCloudServiceOSVersions(AzureLocation) instead.</item>

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

___location
AzureLocation

Name of the ___location that the OS versions pertain to.

Returns

An object representing collection of CloudServiceOSVersionResources and their operations over a CloudServiceOSVersionResource.

Exceptions

subscriptionResource is null.

Applies to