Share via


ArmComputeModelFactory.VirtualMachineAgentInstanceView Method

Definition

Initializes a new instance of VirtualMachineAgentInstanceView.

public static Azure.ResourceManager.Compute.Models.VirtualMachineAgentInstanceView VirtualMachineAgentInstanceView (string vmAgentVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.VirtualMachineExtensionHandlerInstanceView> extensionHandlers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default);
static member VirtualMachineAgentInstanceView : string * seq<Azure.ResourceManager.Compute.Models.VirtualMachineExtensionHandlerInstanceView> * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> -> Azure.ResourceManager.Compute.Models.VirtualMachineAgentInstanceView
Public Shared Function VirtualMachineAgentInstanceView (Optional vmAgentVersion As String = Nothing, Optional extensionHandlers As IEnumerable(Of VirtualMachineExtensionHandlerInstanceView) = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing) As VirtualMachineAgentInstanceView

Parameters

vmAgentVersion
String

The VM Agent full version.

extensionHandlers
IEnumerable<VirtualMachineExtensionHandlerInstanceView>

The virtual machine extension handler instance view.

statuses
IEnumerable<InstanceViewStatus>

The resource status information.

Returns

A new VirtualMachineAgentInstanceView instance for mocking.

Applies to