Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.TargetComputeSizeProperties Method

Definition

Initializes a new instance of TargetComputeSizeProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TargetComputeSizeProperties TargetComputeSizeProperties (string name = default, string friendlyName = default, int? cpuCoresCount = default, int? vCpusAvailable = default, double? memoryInGB = default, int? maxDataDiskCount = default, int? maxNicsCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryComputeSizeErrorDetails> errors = default, string highIopsSupported = default, System.Collections.Generic.IEnumerable<string> hyperVGenerations = default);
static member TargetComputeSizeProperties : string * string * Nullable<int> * Nullable<int> * Nullable<double> * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryComputeSizeErrorDetails> * string * seq<string> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TargetComputeSizeProperties
Public Shared Function TargetComputeSizeProperties (Optional name As String = Nothing, Optional friendlyName As String = Nothing, Optional cpuCoresCount As Nullable(Of Integer) = Nothing, Optional vCpusAvailable As Nullable(Of Integer) = Nothing, Optional memoryInGB As Nullable(Of Double) = Nothing, Optional maxDataDiskCount As Nullable(Of Integer) = Nothing, Optional maxNicsCount As Nullable(Of Integer) = Nothing, Optional errors As IEnumerable(Of SiteRecoveryComputeSizeErrorDetails) = Nothing, Optional highIopsSupported As String = Nothing, Optional hyperVGenerations As IEnumerable(Of String) = Nothing) As TargetComputeSizeProperties

Parameters

name
String

Target compute size name.

friendlyName
String

Target compute size display name.

cpuCoresCount
Nullable<Int32>

The maximum cpu cores count supported by target compute size.

vCpusAvailable
Nullable<Int32>

The Available vCPUs supported by target compute size.

memoryInGB
Nullable<Double>

The maximum memory in GB supported by target compute size.

maxDataDiskCount
Nullable<Int32>

The maximum data disks count supported by target compute size.

maxNicsCount
Nullable<Int32>

The maximum Nics count supported by target compute size.

errors
IEnumerable<SiteRecoveryComputeSizeErrorDetails>

The reasons why the target compute size is not applicable for the protected item.

highIopsSupported
String

The value indicating whether the target compute size supports high Iops.

hyperVGenerations
IEnumerable<String>

The supported HyperV Generations.

Returns

A new TargetComputeSizeProperties instance for mocking.

Applies to