Share via


ArmScVmmModelFactory.ScVmmVirtualMachineInstanceData Method

Definition

Initializes a new instance of ScVmmVirtualMachineInstanceData.

public static Azure.ResourceManager.ScVmm.ScVmmVirtualMachineInstanceData ScVmmVirtualMachineInstanceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmAvailabilitySetItem> availabilitySets = default, Azure.ResourceManager.ScVmm.Models.OSProfileForVmInstance osProfile = default, Azure.ResourceManager.ScVmm.Models.ScVmmHardwareProfile hardwareProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface> networkInterfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk> storageDisks = default, Azure.ResourceManager.ScVmm.Models.ScVmmInfrastructureProfile infrastructureProfile = default, string powerState = default, Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState? provisioningState = default);
static member ScVmmVirtualMachineInstanceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Resources.Models.ExtendedLocation * seq<Azure.ResourceManager.ScVmm.Models.ScVmmAvailabilitySetItem> * Azure.ResourceManager.ScVmm.Models.OSProfileForVmInstance * Azure.ResourceManager.ScVmm.Models.ScVmmHardwareProfile * seq<Azure.ResourceManager.ScVmm.Models.ScVmmNetworkInterface> * seq<Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk> * Azure.ResourceManager.ScVmm.Models.ScVmmInfrastructureProfile * string * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> -> Azure.ResourceManager.ScVmm.ScVmmVirtualMachineInstanceData
Public Shared Function ScVmmVirtualMachineInstanceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional availabilitySets As IEnumerable(Of ScVmmAvailabilitySetItem) = Nothing, Optional osProfile As OSProfileForVmInstance = Nothing, Optional hardwareProfile As ScVmmHardwareProfile = Nothing, Optional networkInterfaces As IEnumerable(Of ScVmmNetworkInterface) = Nothing, Optional storageDisks As IEnumerable(Of ScVmmVirtualDisk) = Nothing, Optional infrastructureProfile As ScVmmInfrastructureProfile = Nothing, Optional powerState As String = Nothing, Optional provisioningState As Nullable(Of ScVmmProvisioningState) = Nothing) As ScVmmVirtualMachineInstanceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

extendedLocation
ExtendedLocation

Gets or sets the extended location.

availabilitySets
IEnumerable<ScVmmAvailabilitySetItem>

Availability Sets in vm.

osProfile
OSProfileForVmInstance

OS properties.

hardwareProfile
ScVmmHardwareProfile

Hardware properties.

networkInterfaces
IEnumerable<ScVmmNetworkInterface>

Network properties.

storageDisks
IEnumerable<ScVmmVirtualDisk>

Storage properties.

infrastructureProfile
ScVmmInfrastructureProfile

Gets the infrastructure profile.

powerState
String

Gets the power state of the virtual machine.

provisioningState
Nullable<ScVmmProvisioningState>

Provisioning state of the resource.

Returns

A new ScVmmVirtualMachineInstanceData instance for mocking.

Applies to