NetworkCloudVirtualMachineData Constructor

Definition

Initializes a new instance of NetworkCloudVirtualMachineData.

public NetworkCloudVirtualMachineData (Azure.Core.AzureLocation location, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation, string adminUsername, Azure.ResourceManager.NetworkCloud.Models.NetworkAttachment cloudServicesNetworkAttachment, long cpuCores, long memorySizeInGB, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStorageProfile storageProfile, string vmImage);
new Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineData : Azure.Core.AzureLocation * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation * string * Azure.ResourceManager.NetworkCloud.Models.NetworkAttachment * int64 * int64 * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStorageProfile * string -> Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineData
Public Sub New (location As AzureLocation, extendedLocation As ExtendedLocation, adminUsername As String, cloudServicesNetworkAttachment As NetworkAttachment, cpuCores As Long, memorySizeInGB As Long, storageProfile As NetworkCloudStorageProfile, vmImage As String)

Parameters

location
AzureLocation

The location.

extendedLocation
ExtendedLocation

The extended location of the cluster associated with the resource.

adminUsername
String

The name of the administrator to which the ssh public keys will be added into the authorized keys.

cloudServicesNetworkAttachment
NetworkAttachment

The cloud service network that provides platform-level services for the virtual machine.

cpuCores
Int64

The number of CPU cores in the virtual machine.

memorySizeInGB
Int64

The memory size of the virtual machine in GB.

storageProfile
NetworkCloudStorageProfile

The storage profile that specifies size and other parameters about the disks related to the virtual machine.

vmImage
String

The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.

Exceptions

extendedLocation, adminUsername, cloudServicesNetworkAttachment, storageProfile or vmImage is null.

Applies to