ConsoleProperties Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. fluent. models. ConsoleProperties
- com.
Implements
public final class ConsoleProperties
implements JsonSerializable<ConsoleProperties>
ConsoleProperties represents the properties of the virtual machine console.
Constructor Summary
| Constructor | Description |
|---|---|
| ConsoleProperties() |
Creates an instance of Console |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Console |
detailedStatus()
Get the detailed |
| String |
detailedStatusMessage()
Get the detailed |
|
Console |
enabled()
Get the enabled property: The indicator of whether the console access is enabled. |
|
Offset |
expiration()
Get the expiration property: The date and time after which the key will be disallowed access. |
|
static
Console |
fromJson(JsonReader jsonReader)
Reads an instance of Console |
| String |
privateLinkServiceId()
Get the private |
|
Console |
provisioningState()
Get the provisioning |
|
Ssh |
sshPublicKey()
Get the ssh |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
virtualMachineAccessId()
Get the virtual |
|
Console |
withEnabled(ConsoleEnabled enabled)
Set the enabled property: The indicator of whether the console access is enabled. |
|
Console |
withExpiration(OffsetDateTime expiration)
Set the expiration property: The date and time after which the key will be disallowed access. |
|
Console |
withSshPublicKey(SshPublicKey sshPublicKey)
Set the ssh |
Methods inherited from java.lang.Object
Constructor Details
ConsoleProperties
public ConsoleProperties()
Creates an instance of ConsoleProperties class.
Method Details
detailedStatus
public ConsoleDetailedStatus detailedStatus()
Get the detailedStatus property: The more detailed status of the console.
Returns:
detailedStatusMessage
public String detailedStatusMessage()
Get the detailedStatusMessage property: The descriptive message about the current detailed status.
Returns:
enabled
public ConsoleEnabled enabled()
Get the enabled property: The indicator of whether the console access is enabled.
Returns:
expiration
public OffsetDateTime expiration()
Get the expiration property: The date and time after which the key will be disallowed access.
Returns:
fromJson
public static ConsoleProperties fromJson(JsonReader jsonReader)
Reads an instance of ConsoleProperties from the JsonReader.
Parameters:
Returns:
Throws:
privateLinkServiceId
public String privateLinkServiceId()
Get the privateLinkServiceId property: The resource ID of the private link service that is used to provide virtual machine console access.
Returns:
provisioningState
public ConsoleProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the virtual machine console.
Returns:
sshPublicKey
public SshPublicKey sshPublicKey()
Get the sshPublicKey property: The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualMachineAccessId
public String virtualMachineAccessId()
Get the virtualMachineAccessId property: The unique identifier for the virtual machine that is used to access the console.
Returns:
withEnabled
public ConsoleProperties withEnabled(ConsoleEnabled enabled)
Set the enabled property: The indicator of whether the console access is enabled.
Parameters:
Returns:
withExpiration
public ConsoleProperties withExpiration(OffsetDateTime expiration)
Set the expiration property: The date and time after which the key will be disallowed access.
Parameters:
Returns:
withSshPublicKey
public ConsoleProperties withSshPublicKey(SshPublicKey sshPublicKey)
Set the sshPublicKey property: The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
Parameters:
Returns: