NetworkCloudVirtualMachineData Class

Definition

A class representing the NetworkCloudVirtualMachine data model. VirtualMachine represents the on-premises Network Cloud virtual machine.

public class NetworkCloudVirtualMachineData : Azure.ResourceManager.Models.TrackedResourceData
public class NetworkCloudVirtualMachineData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineData>
type NetworkCloudVirtualMachineData = class
    inherit TrackedResourceData
type NetworkCloudVirtualMachineData = class
    inherit TrackedResourceData
    interface IJsonModel<NetworkCloudVirtualMachineData>
    interface IPersistableModel<NetworkCloudVirtualMachineData>
Public Class NetworkCloudVirtualMachineData
Inherits TrackedResourceData
Public Class NetworkCloudVirtualMachineData
Inherits TrackedResourceData
Implements IJsonModel(Of NetworkCloudVirtualMachineData), IPersistableModel(Of NetworkCloudVirtualMachineData)
Inheritance
NetworkCloudVirtualMachineData
Implements

Constructors

NetworkCloudVirtualMachineData(AzureLocation, ExtendedLocation, String, NetworkAttachment, Int64, Int64, NetworkCloudStorageProfile, String)

Initializes a new instance of NetworkCloudVirtualMachineData.

Properties

AdminUsername

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

AvailabilityZone

The cluster availability zone containing this virtual machine.

BareMetalMachineId

The resource ID of the bare metal machine that hosts the virtual machine.

BootMethod

Selects the boot method for the virtual machine.

CloudServicesNetworkAttachment

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

ClusterId

The resource ID of the cluster the virtual machine is created for.

CpuCores

The number of CPU cores in the virtual machine.

DetailedStatus

The more detailed status of the virtual machine.

DetailedStatusMessage

The descriptive message about the current detailed status.

ExtendedLocation

The extended location of the cluster associated with the resource.

Id

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

(Inherited from ResourceData)
IsolateEmulatorThread

Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MemorySizeInGB

The memory size of the virtual machine. Allocations are measured in gibibytes.

Name

The name of the resource.

(Inherited from ResourceData)
NetworkAttachments

The list of network attachments to the virtual machine.

NetworkData

The Base64 encoded cloud-init network data.

PlacementHints

The scheduling hints for the virtual machine.

PowerState

The power state of the virtual machine.

ProvisioningState

The provisioning state of the virtual machine.

ResourceType

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

(Inherited from ResourceData)
SshPublicKeys

The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.

StorageProfile

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UserData

The Base64 encoded cloud-init user data.

VirtioInterface

Field Deprecated, use virtualizationModel instead. The type of the virtio interface.

VmDeviceModel

The type of the device model to use.

VmImage

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

VmImageRepositoryCredentials

The credentials used to login to the image repository that has access to the specified image.

Volumes

The resource IDs of volumes that are attached to the virtual machine.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<NetworkCloudVirtualMachineData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NetworkCloudVirtualMachineData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkCloudVirtualMachineData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkCloudVirtualMachineData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NetworkCloudVirtualMachineData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to