Freigeben über


ArmComputeModelFactory.VirtualMachineScaleSetVmData Method

Definition

Initializes a new instance of VirtualMachineScaleSetVmData.

public static Azure.ResourceManager.Compute.VirtualMachineScaleSetVmData VirtualMachineScaleSetVmData(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.Compute.Models.VirtualMachineScaleSetVmProperties properties = default, string instanceId = default, Azure.ResourceManager.Compute.Models.ComputeSku sku = default, Azure.ResourceManager.Compute.Models.ComputePlan plan = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.VirtualMachineExtensionData> resources = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string etag = default);
static member VirtualMachineScaleSetVmData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProperties * string * Azure.ResourceManager.Compute.Models.ComputeSku * Azure.ResourceManager.Compute.Models.ComputePlan * seq<Azure.ResourceManager.Compute.VirtualMachineExtensionData> * seq<string> * Azure.ResourceManager.Models.ManagedServiceIdentity * string -> Azure.ResourceManager.Compute.VirtualMachineScaleSetVmData
Public Shared Function VirtualMachineScaleSetVmData (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 properties As VirtualMachineScaleSetVmProperties = Nothing, Optional instanceId As String = Nothing, Optional sku As ComputeSku = Nothing, Optional plan As ComputePlan = Nothing, Optional resources As IEnumerable(Of VirtualMachineExtensionData) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional etag As String = Nothing) As VirtualMachineScaleSetVmData

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.

properties
VirtualMachineScaleSetVmProperties

Describes the properties of a virtual machine scale set virtual machine.

instanceId
String

The virtual machine instance ID.

sku
ComputeSku

The virtual machine SKU.

plan
ComputePlan

Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

resources
IEnumerable<VirtualMachineExtensionData>

The virtual machine child extension resources.

zones
IEnumerable<String>

The virtual machine zones.

identity
ManagedServiceIdentity

The identity of the virtual machine, if configured.

etag
String

Etag is property returned in Update/Get response of the VMSS VM, so that customer can supply it in the header to ensure optimistic updates.

Returns

A new VirtualMachineScaleSetVmData instance for mocking.

Applies to