共用方式為


OSProfile.ComputerName Property

Definition

Gets or sets specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> Max-length (Windows): 15 characters <br><br> Max-length (Linux): 64 characters. <br><br> 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