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

com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs 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.inputs;

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


public final class ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs Empty = new ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs();

    /**
     * The name of the administrator account. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="adminUsername", required=true)
    private Output adminUsername;

    /**
     * @return The name of the administrator account. Changing this forces a new resource to be created.
     * 
     */
    public Output adminUsername() {
        return this.adminUsername;
    }

    /**
     * The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="sshPrivateKey", required=true)
    private Output sshPrivateKey;

    /**
     * @return The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public Output sshPrivateKey() {
        return this.sshPrivateKey;
    }

    /**
     * The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="sshPublicKey", required=true)
    private Output sshPublicKey;

    /**
     * @return The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
     * 
     */
    public Output sshPublicKey() {
        return this.sshPublicKey;
    }

    private ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs() {}

    private ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs(ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs $) {
        this.adminUsername = $.adminUsername;
        this.sshPrivateKey = $.sshPrivateKey;
        this.sshPublicKey = $.sshPublicKey;
    }

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

    public static final class Builder {
        private ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs $;

        public Builder() {
            $ = new ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs();
        }

        public Builder(ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs defaults) {
            $ = new ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param adminUsername The name of the administrator account. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder adminUsername(Output adminUsername) {
            $.adminUsername = adminUsername;
            return this;
        }

        /**
         * @param adminUsername The name of the administrator account. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder adminUsername(String adminUsername) {
            return adminUsername(Output.of(adminUsername));
        }

        /**
         * @param sshPrivateKey The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sshPrivateKey(Output sshPrivateKey) {
            $.sshPrivateKey = sshPrivateKey;
            return this;
        }

        /**
         * @param sshPrivateKey The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sshPrivateKey(String sshPrivateKey) {
            return sshPrivateKey(Output.of(sshPrivateKey));
        }

        /**
         * @param sshPublicKey The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sshPublicKey(Output sshPublicKey) {
            $.sshPublicKey = sshPublicKey;
            return this;
        }

        /**
         * @param sshPublicKey The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sshPublicKey(String sshPublicKey) {
            return sshPublicKey(Output.of(sshPublicKey));
        }

        public ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs build() {
            if ($.adminUsername == null) {
                throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs", "adminUsername");
            }
            if ($.sshPrivateKey == null) {
                throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs", "sshPrivateKey");
            }
            if ($.sshPublicKey == null) {
                throw new MissingRequiredPropertyException("ThreeTierVirtualInstanceThreeTierConfigurationCentralServerConfigurationVirtualMachineConfigurationOsProfileArgs", "sshPublicKey");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy