Share via


VirtualMachineResourceNames Class

Definition

The resource names object for virtual machine and related resources.

public class VirtualMachineResourceNames
public class VirtualMachineResourceNames : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Workloads.Models.VirtualMachineResourceNames>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Workloads.Models.VirtualMachineResourceNames>
type VirtualMachineResourceNames = class
type VirtualMachineResourceNames = class
    interface IJsonModel<VirtualMachineResourceNames>
    interface IPersistableModel<VirtualMachineResourceNames>
Public Class VirtualMachineResourceNames
Public Class VirtualMachineResourceNames
Implements IJsonModel(Of VirtualMachineResourceNames), IPersistableModel(Of VirtualMachineResourceNames)
Inheritance
VirtualMachineResourceNames
Implements

Constructors

VirtualMachineResourceNames()

Initializes a new instance of VirtualMachineResourceNames.

Properties

DataDiskNames

The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported.

HostName

The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.

NetworkInterfaces

The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.

OSDiskName

The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.

VmName

The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.

Explicit Interface Implementations

IJsonModel<VirtualMachineResourceNames>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineResourceNames>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineResourceNames>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineResourceNames>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineResourceNames>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to