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

ConnectionProfile Class

Definition

Connection profile for how users connect to lab virtual machines.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ConnectionProfileTypeConverter))]
public class ConnectionProfile : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IConnectionProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ConnectionProfileTypeConverter))>]
type ConnectionProfile = class
    interface IConnectionProfile
    interface IJsonSerializable
Public Class ConnectionProfile
Implements IConnectionProfile
Inheritance
ConnectionProfile
Attributes
Implements

Constructors

ConnectionProfile()

Creates an new ConnectionProfile instance.

Properties

ClientRdpAccess

The enabled access level for Client Access over RDP.

ClientSshAccess

The enabled access level for Client Access over SSH.

WebRdpAccess

The enabled access level for Web Access over RDP.

WebSshAccess

The enabled access level for Web Access over SSH.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ConnectionProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ConnectionProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IConnectionProfile.

FromJsonString(String)

Creates a new instance of ConnectionProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ConnectionProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to