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

ArmRecoveryServicesSiteRecoveryModelFactory.OSUpgradeSupportedVersions 方法

定义

初始化 OSUpgradeSupportedVersions 的新实例。

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions OSUpgradeSupportedVersions (string supportedSourceOSVersion = default, System.Collections.Generic.IEnumerable<string> supportedTargetOSVersions = default);
static member OSUpgradeSupportedVersions : string * seq<string> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions
Public Shared Function OSUpgradeSupportedVersions (Optional supportedSourceOSVersion As String = Nothing, Optional supportedTargetOSVersions As IEnumerable(Of String) = Nothing) As OSUpgradeSupportedVersions

参数

supportedSourceOSVersion
String

源 OS 版本名称。

supportedTargetOSVersions
IEnumerable<String>

目标 OS 版本名称。

返回

用于模拟的新 OSUpgradeSupportedVersions 实例。

适用于