共用方式為


ArmArcScVmmModelFactory.ScVmmVirtualMachineData Method

Definition

Initializes a new instance of ScVmmVirtualMachineData.

public static Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineData ScVmmVirtualMachineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, string inventoryItemId = default, string vmmServerId = default, string cloudId = default, string templateId = default, string checkpointType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ArcScVmm.Models.Checkpoint> checkpoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ArcScVmm.Models.AvailabilitySetListItem> availabilitySets = default, Azure.ResourceManager.ArcScVmm.Models.OSProfile osProfile = default, Azure.ResourceManager.ArcScVmm.Models.HardwareProfile hardwareProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ArcScVmm.Models.NetworkInterfaces> networkInterfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ArcScVmm.Models.VirtualDisk> storageDisks = default, string vmName = default, string uuid = default, int? generation = default, string powerState = default, string provisioningState = default);
static member ScVmmVirtualMachineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Resources.Models.ExtendedLocation * string * string * string * string * string * seq<Azure.ResourceManager.ArcScVmm.Models.Checkpoint> * seq<Azure.ResourceManager.ArcScVmm.Models.AvailabilitySetListItem> * Azure.ResourceManager.ArcScVmm.Models.OSProfile * Azure.ResourceManager.ArcScVmm.Models.HardwareProfile * seq<Azure.ResourceManager.ArcScVmm.Models.NetworkInterfaces> * seq<Azure.ResourceManager.ArcScVmm.Models.VirtualDisk> * string * string * Nullable<int> * string * string -> Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineData
Public Shared Function ScVmmVirtualMachineData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional inventoryItemId As String = Nothing, Optional vmmServerId As String = Nothing, Optional cloudId As String = Nothing, Optional templateId As String = Nothing, Optional checkpointType As String = Nothing, Optional checkpoints As IEnumerable(Of Checkpoint) = Nothing, Optional availabilitySets As IEnumerable(Of AvailabilitySetListItem) = Nothing, Optional osProfile As OSProfile = Nothing, Optional hardwareProfile As HardwareProfile = Nothing, Optional networkInterfaces As IEnumerable(Of NetworkInterfaces) = Nothing, Optional storageDisks As IEnumerable(Of VirtualDisk) = Nothing, Optional vmName As String = Nothing, Optional uuid As String = Nothing, Optional generation As Nullable(Of Integer) = Nothing, Optional powerState As String = Nothing, Optional provisioningState As String = Nothing) As ScVmmVirtualMachineData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

extendedLocation
ExtendedLocation

The extended location.

inventoryItemId
String

Gets or sets the inventory Item ID for the resource.

vmmServerId
String

ARM Id of the vmmServer resource in which this resource resides.

cloudId
String

ARM Id of the cloud resource to use for deploying the vm.

templateId
String

ARM Id of the template resource to use for deploying the vm.

checkpointType
String

Type of checkpoint supported for the vm.

checkpoints
IEnumerable<Checkpoint>

Checkpoints in the vm.

availabilitySets
IEnumerable<AvailabilitySetListItem>

Availability Sets in vm.

osProfile
OSProfile

OS properties.

hardwareProfile
HardwareProfile

Hardware properties.

networkInterfaces
IEnumerable<NetworkInterfaces>

Network properties.

storageDisks
IEnumerable<VirtualDisk>

Storage properties.

vmName
String

VMName is the name of VM on the SCVMM server.

uuid
String

Unique ID of the virtual machine.

generation
Nullable<Int32>

Gets or sets the generation for the vm.

powerState
String

Gets the power state of the virtual machine.

provisioningState
String

Gets or sets the provisioning state.

Returns

A new ScVmmVirtualMachineData instance for mocking.

Applies to