Share via


OSProfile.ComputerName Property

Definition

Gets or sets specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. Max-length (Windows): 15 characters. Max-length (Linux): 64 characters. For naming conventions and restrictions see Azure infrastructure services implementation guidelines.

[Newtonsoft.Json.JsonProperty(PropertyName="computerName")]
public string ComputerName { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="computerName")>]
member this.ComputerName : string with get, set
Public Property ComputerName As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to