Sdílet prostřednictvím


Console Class

Definition

Console represents the console of an on-premises Network Cloud virtual machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ConsoleTypeConverter))]
public class Console : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IConsole, Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ConsoleTypeConverter))>]
type Console = class
    interface IConsole
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Console
Implements IConsole, IValidates
Inheritance
Console
Attributes
Implements

Constructors

Console()

Creates an new Console instance.

Properties

DetailedStatus

The more detailed status of the console.

DetailedStatusMessage

The descriptive message about the current detailed status.

Enabled

The indicator of whether the console access is enabled.

Expiration

The date and time after which the key will be disallowed access.

ExtendedLocationName

The resource ID of the extended location on which the resource will be created.

ExtendedLocationType

The extended location type, for example, CustomLocation.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Location

The geo-location where the resource lives

Name

The name of the resource

PrivateLinkServiceId

The resource ID of the private link service that is used to provide virtual machine console access.

ProvisioningState

The provisioning state of the virtual machine console.

ResourceGroupName

Gets the resource group name

SshPublicKeyData

The SSH public key data.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

VirtualMachineAccessId

The unique identifier for the virtual machine that is used to access the console.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Console.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Console.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IConsole.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Console into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to