Udostępnij za pośrednictwem


ArmHybridComputeModelFactory.HybridComputeOSProfile Method

Definition

Initializes a new instance of HybridComputeOSProfile.

public static Azure.ResourceManager.HybridCompute.Models.HybridComputeOSProfile HybridComputeOSProfile (string computerName = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeWindowsConfiguration windowsConfiguration = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeLinuxConfiguration linuxConfiguration = default);
static member HybridComputeOSProfile : string * Azure.ResourceManager.HybridCompute.Models.HybridComputeWindowsConfiguration * Azure.ResourceManager.HybridCompute.Models.HybridComputeLinuxConfiguration -> Azure.ResourceManager.HybridCompute.Models.HybridComputeOSProfile
Public Shared Function HybridComputeOSProfile (Optional computerName As String = Nothing, Optional windowsConfiguration As HybridComputeWindowsConfiguration = Nothing, Optional linuxConfiguration As HybridComputeLinuxConfiguration = Nothing) As HybridComputeOSProfile

Parameters

computerName
String

Specifies the host OS name of the hybrid machine.

windowsConfiguration
HybridComputeWindowsConfiguration

Specifies the windows configuration for update management.

linuxConfiguration
HybridComputeLinuxConfiguration

Specifies the linux configuration for update management.

Returns

A new HybridComputeOSProfile instance for mocking.

Applies to