你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ComputeExtensions.GetCloudServiceOSVersions 方法

定义

获取 SubscriptionResource 中的 CloudServiceOSVersionResources 集合。

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

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

location
AzureLocation

OS 版本相关位置的名称。

返回

一个 对象,表示 CloudServiceOSVersionResource 的集合及其在 CloudServiceOSVersionResource 上的操作。

适用于