Freigeben über


DevBoxTunnel Class

Definition

The Dev Box Tunnel addon.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.DevBoxTunnelTypeConverter))]
public class DevBoxTunnel : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IDevBoxTunnel, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.DevBoxTunnelTypeConverter))>]
type DevBoxTunnel = class
    interface IDevBoxTunnel
    interface IJsonSerializable
    interface IDevBoxAddOn
    interface IValidates
    interface IHeaderSerializable
Public Class DevBoxTunnel
Implements IDevBoxTunnel, IHeaderSerializable, IValidates
Inheritance
DevBoxTunnel
Attributes
Implements

Constructors

Name Description
DevBoxTunnel()

Creates an new DevBoxTunnel instance.

Properties

Name Description
ActionState

The current action state of the Dev Box addon. This state is based on previous action performed by user.

Code

One of a server-defined set of error codes.

CodeTunnelName

The code tunnel name.

CodeTunnelUrl

The code tunnel's url.

Detail

An array of details about specific errors that led to this reported error.

Error

Creation, deletion or action error details. Populated only for error states.

HostingResourceName

The hosting resource name, either a DevBox or HyperV. Leaving it empty or Default if it's for DevBox.

Innererror

An object containing more specific information than the current object about the error.

Kind

The type of the Dev Box addon.

Message

A human-readable representation of the error.

Name

Name of the dev box addon.

OperationLocation
ProvisioningState

Provisioning state of this addon.

Status

The tunnel status.

Target

The target of the error.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DevBoxTunnel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DevBoxTunnel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IDevBoxTunnel.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DevBoxTunnel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Explicit Interface Implementations

Name Description
IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to