ConsoleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. networkcloud. fluent. models. ConsoleInner
- com.
- com.
- com.
public final class ConsoleInner
extends Resource
Console represents the console of an on-premises Network Cloud virtual machine.
Constructor Summary
| Constructor | Description |
|---|---|
| ConsoleInner() |
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. |
| String |
etag()
Get the etag property: Resource ETag. |
|
Offset |
expiration()
Get the expiration property: The date and time after which the key will be disallowed access. |
|
Extended |
extendedLocation()
Get the extended |
|
static
Console |
fromJson(JsonReader jsonReader)
Reads an instance of Console |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
privateLinkServiceId()
Get the private |
|
Console |
provisioningState()
Get the provisioning |
|
Ssh |
sshPublicKey()
Get the ssh |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Console |
withLocation(String location) |
|
Console |
withSshPublicKey(SshPublicKey sshPublicKey)
Set the ssh |
|
Console |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ConsoleInner
public ConsoleInner()
Creates an instance of ConsoleInner 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:
etag
public String etag()
Get the etag property: Resource ETag.
Returns:
expiration
public OffsetDateTime expiration()
Get the expiration property: The date and time after which the key will be disallowed access.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the cluster manager associated with the cluster this virtual machine is created on.
Returns:
fromJson
public static ConsoleInner fromJson(JsonReader jsonReader)
Reads an instance of ConsoleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ConsoleInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ConsoleInner.name()Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConsoleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ConsoleInner.type()Returns:
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 ConsoleInner withEnabled(ConsoleEnabled enabled)
Set the enabled property: The indicator of whether the console access is enabled.
Parameters:
Returns:
withExpiration
public ConsoleInner withExpiration(OffsetDateTime expiration)
Set the expiration property: The date and time after which the key will be disallowed access.
Parameters:
Returns:
withExtendedLocation
public ConsoleInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the cluster manager associated with the cluster this virtual machine is created on.
Parameters:
Returns:
withLocation
public ConsoleInner withLocation(String location)
Overrides:
ConsoleInner.withLocation(String location)Parameters:
withSshPublicKey
public ConsoleInner 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:
withTags
public ConsoleInner withTags(Map<String,String> tags)
Overrides:
ConsoleInner.withTags(Map<String,String> tags)Parameters: