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