
com.pulumi.azurenative.azurestackhci.outputs.VirtualMachineInstancePropertiesResponseLinuxConfiguration 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.azurestackhci.outputs;
import com.pulumi.azurenative.azurestackhci.outputs.SshConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualMachineInstancePropertiesResponseLinuxConfiguration {
/**
* @return DisablePasswordAuthentication - whether password authentication should be disabled
*
*/
private @Nullable Boolean disablePasswordAuthentication;
/**
* @return Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
*
*/
private @Nullable Boolean provisionVMAgent;
/**
* @return Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
*
*/
private @Nullable Boolean provisionVMConfigAgent;
/**
* @return Specifies the ssh key configuration for a Linux OS.
*
*/
private @Nullable SshConfigurationResponse ssh;
private VirtualMachineInstancePropertiesResponseLinuxConfiguration() {}
/**
* @return DisablePasswordAuthentication - whether password authentication should be disabled
*
*/
public Optional disablePasswordAuthentication() {
return Optional.ofNullable(this.disablePasswordAuthentication);
}
/**
* @return Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
*
*/
public Optional provisionVMAgent() {
return Optional.ofNullable(this.provisionVMAgent);
}
/**
* @return Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
*
*/
public Optional provisionVMConfigAgent() {
return Optional.ofNullable(this.provisionVMConfigAgent);
}
/**
* @return Specifies the ssh key configuration for a Linux OS.
*
*/
public Optional ssh() {
return Optional.ofNullable(this.ssh);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualMachineInstancePropertiesResponseLinuxConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean disablePasswordAuthentication;
private @Nullable Boolean provisionVMAgent;
private @Nullable Boolean provisionVMConfigAgent;
private @Nullable SshConfigurationResponse ssh;
public Builder() {}
public Builder(VirtualMachineInstancePropertiesResponseLinuxConfiguration defaults) {
Objects.requireNonNull(defaults);
this.disablePasswordAuthentication = defaults.disablePasswordAuthentication;
this.provisionVMAgent = defaults.provisionVMAgent;
this.provisionVMConfigAgent = defaults.provisionVMConfigAgent;
this.ssh = defaults.ssh;
}
@CustomType.Setter
public Builder disablePasswordAuthentication(@Nullable Boolean disablePasswordAuthentication) {
this.disablePasswordAuthentication = disablePasswordAuthentication;
return this;
}
@CustomType.Setter
public Builder provisionVMAgent(@Nullable Boolean provisionVMAgent) {
this.provisionVMAgent = provisionVMAgent;
return this;
}
@CustomType.Setter
public Builder provisionVMConfigAgent(@Nullable Boolean provisionVMConfigAgent) {
this.provisionVMConfigAgent = provisionVMConfigAgent;
return this;
}
@CustomType.Setter
public Builder ssh(@Nullable SshConfigurationResponse ssh) {
this.ssh = ssh;
return this;
}
public VirtualMachineInstancePropertiesResponseLinuxConfiguration build() {
final var _resultValue = new VirtualMachineInstancePropertiesResponseLinuxConfiguration();
_resultValue.disablePasswordAuthentication = disablePasswordAuthentication;
_resultValue.provisionVMAgent = provisionVMAgent;
_resultValue.provisionVMConfigAgent = provisionVMConfigAgent;
_resultValue.ssh = ssh;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy