Share via


ArmRecoveryServicesSiteRecoveryModelFactory.OSUpgradeSupportedVersions Method

Definition

Initializes a new instance of 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

Parameters

supportedSourceOSVersion
String

The source OS version name.

supportedTargetOSVersions
IEnumerable<String>

The target OS version names.

Returns

A new OSUpgradeSupportedVersions instance for mocking.

Applies to