
com.pulumi.azurenative.networkcloud.outputs.GetConsoleResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.networkcloud.outputs;
import com.pulumi.azurenative.networkcloud.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.networkcloud.outputs.SshPublicKeyResponse;
import com.pulumi.azurenative.networkcloud.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetConsoleResult {
/**
* @return The more detailed status of the console.
*
*/
private String detailedStatus;
/**
* @return The descriptive message about the current detailed status.
*
*/
private String detailedStatusMessage;
/**
* @return The indicator of whether the console access is enabled.
*
*/
private String enabled;
/**
* @return The date and time after which the key will be disallowed access.
*
*/
private @Nullable String expiration;
/**
* @return The extended location of the cluster manager associated with the cluster this virtual machine is created on.
*
*/
private ExtendedLocationResponse extendedLocation;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The resource ID of the private link service that is used to provide virtual machine console access.
*
*/
private String privateLinkServiceId;
/**
* @return The provisioning state of the virtual machine console.
*
*/
private String provisioningState;
/**
* @return 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.
*
*/
private SshPublicKeyResponse sshPublicKey;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return The unique identifier for the virtual machine that is used to access the console.
*
*/
private String virtualMachineAccessId;
private GetConsoleResult() {}
/**
* @return The more detailed status of the console.
*
*/
public String detailedStatus() {
return this.detailedStatus;
}
/**
* @return The descriptive message about the current detailed status.
*
*/
public String detailedStatusMessage() {
return this.detailedStatusMessage;
}
/**
* @return The indicator of whether the console access is enabled.
*
*/
public String enabled() {
return this.enabled;
}
/**
* @return The date and time after which the key will be disallowed access.
*
*/
public Optional expiration() {
return Optional.ofNullable(this.expiration);
}
/**
* @return The extended location of the cluster manager associated with the cluster this virtual machine is created on.
*
*/
public ExtendedLocationResponse extendedLocation() {
return this.extendedLocation;
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The resource ID of the private link service that is used to provide virtual machine console access.
*
*/
public String privateLinkServiceId() {
return this.privateLinkServiceId;
}
/**
* @return The provisioning state of the virtual machine console.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return 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.
*
*/
public SshPublicKeyResponse sshPublicKey() {
return this.sshPublicKey;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return The unique identifier for the virtual machine that is used to access the console.
*
*/
public String virtualMachineAccessId() {
return this.virtualMachineAccessId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetConsoleResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String detailedStatus;
private String detailedStatusMessage;
private String enabled;
private @Nullable String expiration;
private ExtendedLocationResponse extendedLocation;
private String id;
private String location;
private String name;
private String privateLinkServiceId;
private String provisioningState;
private SshPublicKeyResponse sshPublicKey;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private String virtualMachineAccessId;
public Builder() {}
public Builder(GetConsoleResult defaults) {
Objects.requireNonNull(defaults);
this.detailedStatus = defaults.detailedStatus;
this.detailedStatusMessage = defaults.detailedStatusMessage;
this.enabled = defaults.enabled;
this.expiration = defaults.expiration;
this.extendedLocation = defaults.extendedLocation;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.privateLinkServiceId = defaults.privateLinkServiceId;
this.provisioningState = defaults.provisioningState;
this.sshPublicKey = defaults.sshPublicKey;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.virtualMachineAccessId = defaults.virtualMachineAccessId;
}
@CustomType.Setter
public Builder detailedStatus(String detailedStatus) {
if (detailedStatus == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "detailedStatus");
}
this.detailedStatus = detailedStatus;
return this;
}
@CustomType.Setter
public Builder detailedStatusMessage(String detailedStatusMessage) {
if (detailedStatusMessage == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "detailedStatusMessage");
}
this.detailedStatusMessage = detailedStatusMessage;
return this;
}
@CustomType.Setter
public Builder enabled(String enabled) {
if (enabled == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "enabled");
}
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder expiration(@Nullable String expiration) {
this.expiration = expiration;
return this;
}
@CustomType.Setter
public Builder extendedLocation(ExtendedLocationResponse extendedLocation) {
if (extendedLocation == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "extendedLocation");
}
this.extendedLocation = extendedLocation;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateLinkServiceId(String privateLinkServiceId) {
if (privateLinkServiceId == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "privateLinkServiceId");
}
this.privateLinkServiceId = privateLinkServiceId;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder sshPublicKey(SshPublicKeyResponse sshPublicKey) {
if (sshPublicKey == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "sshPublicKey");
}
this.sshPublicKey = sshPublicKey;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder virtualMachineAccessId(String virtualMachineAccessId) {
if (virtualMachineAccessId == null) {
throw new MissingRequiredPropertyException("GetConsoleResult", "virtualMachineAccessId");
}
this.virtualMachineAccessId = virtualMachineAccessId;
return this;
}
public GetConsoleResult build() {
final var _resultValue = new GetConsoleResult();
_resultValue.detailedStatus = detailedStatus;
_resultValue.detailedStatusMessage = detailedStatusMessage;
_resultValue.enabled = enabled;
_resultValue.expiration = expiration;
_resultValue.extendedLocation = extendedLocation;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.privateLinkServiceId = privateLinkServiceId;
_resultValue.provisioningState = provisioningState;
_resultValue.sshPublicKey = sshPublicKey;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.virtualMachineAccessId = virtualMachineAccessId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy