共用方式為


CloudServiceOperatingSystemsOperationsExtensions.GetOSVersion Method

Definition

Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.

public static Microsoft.Azure.Management.Compute.Models.OSVersion GetOSVersion (this Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations operations, string location, string osVersionName);
static member GetOSVersion : Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations * string * string -> Microsoft.Azure.Management.Compute.Models.OSVersion
<Extension()>
Public Function GetOSVersion (operations As ICloudServiceOperatingSystemsOperations, location As String, osVersionName As String) As OSVersion

Parameters

operations
ICloudServiceOperatingSystemsOperations

The operations group for this extension method.

location
String

Name of the location that the OS version pertains to.

osVersionName
String

Name of the OS version.

Returns

Applies to