Condividi tramite


ArmAvsModelFactory.WorkloadNetworkVirtualMachineData Method

Definition

Initializes a new instance of WorkloadNetworkVirtualMachineData.

public static Azure.ResourceManager.Avs.WorkloadNetworkVirtualMachineData WorkloadNetworkVirtualMachineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkProvisioningState? provisioningState = default, string displayName = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkVmType? vmType = default);
static member WorkloadNetworkVirtualMachineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkProvisioningState> * string * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkVmType> -> Azure.ResourceManager.Avs.WorkloadNetworkVirtualMachineData
Public Shared Function WorkloadNetworkVirtualMachineData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkProvisioningState) = Nothing, Optional displayName As String = Nothing, Optional vmType As Nullable(Of WorkloadNetworkVmType) = Nothing) As WorkloadNetworkVirtualMachineData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<WorkloadNetworkProvisioningState>

The provisioning state of the resource.

displayName
String

Display name of the VM.

vmType
Nullable<WorkloadNetworkVmType>

Virtual machine type.

Returns

A new WorkloadNetworkVirtualMachineData instance for mocking.

Applies to