你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SshBaseCmdlet.UsePrivateIp Property

Definition

Gets or sets a flag that uses a Private Ip when connecting to an Azure Virtual Machine. User must have a line of sight to the Private Ip. Will fail if no private ip can be found.

[System.Management.Automation.Parameter(ParameterSetName="Interactive")]
[System.Management.Automation.Parameter(ParameterSetName="ResourceId")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public System.Management.Automation.SwitchParameter UsePrivateIp { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="Interactive")>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceId")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.UsePrivateIp : System.Management.Automation.SwitchParameter with get, set
Public Property UsePrivateIp As SwitchParameter

Property Value

Attributes

Applies to