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

com.pulumi.azurenative.batch.inputs.LinuxUserConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.batch.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final LinuxUserConfigurationArgs Empty = new LinuxUserConfigurationArgs();

    /**
     * The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
     * 
     */
    @Import(name="gid")
    private @Nullable Output gid;

    /**
     * @return The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
     * 
     */
    public Optional> gid() {
        return Optional.ofNullable(this.gid);
    }

    /**
     * The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
     * 
     */
    @Import(name="sshPrivateKey")
    private @Nullable Output sshPrivateKey;

    /**
     * @return The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
     * 
     */
    public Optional> sshPrivateKey() {
        return Optional.ofNullable(this.sshPrivateKey);
    }

    /**
     * The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
     * 
     */
    @Import(name="uid")
    private @Nullable Output uid;

    /**
     * @return The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
     * 
     */
    public Optional> uid() {
        return Optional.ofNullable(this.uid);
    }

    private LinuxUserConfigurationArgs() {}

    private LinuxUserConfigurationArgs(LinuxUserConfigurationArgs $) {
        this.gid = $.gid;
        this.sshPrivateKey = $.sshPrivateKey;
        this.uid = $.uid;
    }

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

    public static final class Builder {
        private LinuxUserConfigurationArgs $;

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

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

        /**
         * @param gid The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
         * 
         * @return builder
         * 
         */
        public Builder gid(@Nullable Output gid) {
            $.gid = gid;
            return this;
        }

        /**
         * @param gid The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
         * 
         * @return builder
         * 
         */
        public Builder gid(Integer gid) {
            return gid(Output.of(gid));
        }

        /**
         * @param sshPrivateKey The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
         * 
         * @return builder
         * 
         */
        public Builder sshPrivateKey(@Nullable Output sshPrivateKey) {
            $.sshPrivateKey = sshPrivateKey;
            return this;
        }

        /**
         * @param sshPrivateKey The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
         * 
         * @return builder
         * 
         */
        public Builder sshPrivateKey(String sshPrivateKey) {
            return sshPrivateKey(Output.of(sshPrivateKey));
        }

        /**
         * @param uid The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
         * 
         * @return builder
         * 
         */
        public Builder uid(@Nullable Output uid) {
            $.uid = uid;
            return this;
        }

        /**
         * @param uid The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
         * 
         * @return builder
         * 
         */
        public Builder uid(Integer uid) {
            return uid(Output.of(uid));
        }

        public LinuxUserConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy