ComputeExtensions.GetCloudServiceOSVersions 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.
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.