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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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