All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.workloadssap.outputs.SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.azure.workloadssap.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile {
    /**
     * @return The name of the administrator account. Changing this forces a new resource to be created.
     * 
     */
    private String adminUsername;
    /**
     * @return The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    private String sshPrivateKey;
    /**
     * @return The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    private String sshPublicKey;

    private SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile() {}
    /**
     * @return The name of the administrator account. Changing this forces a new resource to be created.
     * 
     */
    public String adminUsername() {
        return this.adminUsername;
    }
    /**
     * @return The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public String sshPrivateKey() {
        return this.sshPrivateKey;
    }
    /**
     * @return The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public String sshPublicKey() {
        return this.sshPublicKey;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String adminUsername;
        private String sshPrivateKey;
        private String sshPublicKey;
        public Builder() {}
        public Builder(SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.adminUsername = defaults.adminUsername;
    	      this.sshPrivateKey = defaults.sshPrivateKey;
    	      this.sshPublicKey = defaults.sshPublicKey;
        }

        @CustomType.Setter
        public Builder adminUsername(String adminUsername) {
            if (adminUsername == null) {
              throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile", "adminUsername");
            }
            this.adminUsername = adminUsername;
            return this;
        }
        @CustomType.Setter
        public Builder sshPrivateKey(String sshPrivateKey) {
            if (sshPrivateKey == null) {
              throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile", "sshPrivateKey");
            }
            this.sshPrivateKey = sshPrivateKey;
            return this;
        }
        @CustomType.Setter
        public Builder sshPublicKey(String sshPublicKey) {
            if (sshPublicKey == null) {
              throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile", "sshPublicKey");
            }
            this.sshPublicKey = sshPublicKey;
            return this;
        }
        public SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile build() {
            final var _resultValue = new SingleNodeVirtualInstanceSingleServerConfigurationVirtualMachineConfigurationOsProfile();
            _resultValue.adminUsername = adminUsername;
            _resultValue.sshPrivateKey = sshPrivateKey;
            _resultValue.sshPublicKey = sshPublicKey;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy