Dela via


ComputeExtensions.GetCloudServiceOSVersions Method

Definition

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

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