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

com.pulumi.azurenative.machinelearningservices.inputs.KubernetesArgs 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.machinelearningservices.inputs;

import com.pulumi.azurenative.machinelearningservices.inputs.KubernetesPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * A Machine Learning compute based on Kubernetes Compute.
 * 
 */
public final class KubernetesArgs extends com.pulumi.resources.ResourceArgs {

    public static final KubernetesArgs Empty = new KubernetesArgs();

    /**
     * Location for the underlying compute
     * 
     */
    @Import(name="computeLocation")
    private @Nullable Output computeLocation;

    /**
     * @return Location for the underlying compute
     * 
     */
    public Optional> computeLocation() {
        return Optional.ofNullable(this.computeLocation);
    }

    /**
     * The type of compute
     * Expected value is 'Kubernetes'.
     * 
     */
    @Import(name="computeType", required=true)
    private Output computeType;

    /**
     * @return The type of compute
     * Expected value is 'Kubernetes'.
     * 
     */
    public Output computeType() {
        return this.computeType;
    }

    /**
     * The description of the Machine Learning compute.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the Machine Learning compute.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
     * 
     */
    @Import(name="disableLocalAuth")
    private @Nullable Output disableLocalAuth;

    /**
     * @return Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
     * 
     */
    public Optional> disableLocalAuth() {
        return Optional.ofNullable(this.disableLocalAuth);
    }

    /**
     * Properties of Kubernetes
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return Properties of Kubernetes
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * ARM resource id of the underlying compute
     * 
     */
    @Import(name="resourceId")
    private @Nullable Output resourceId;

    /**
     * @return ARM resource id of the underlying compute
     * 
     */
    public Optional> resourceId() {
        return Optional.ofNullable(this.resourceId);
    }

    private KubernetesArgs() {}

    private KubernetesArgs(KubernetesArgs $) {
        this.computeLocation = $.computeLocation;
        this.computeType = $.computeType;
        this.description = $.description;
        this.disableLocalAuth = $.disableLocalAuth;
        this.properties = $.properties;
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private KubernetesArgs $;

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

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

        /**
         * @param computeLocation Location for the underlying compute
         * 
         * @return builder
         * 
         */
        public Builder computeLocation(@Nullable Output computeLocation) {
            $.computeLocation = computeLocation;
            return this;
        }

        /**
         * @param computeLocation Location for the underlying compute
         * 
         * @return builder
         * 
         */
        public Builder computeLocation(String computeLocation) {
            return computeLocation(Output.of(computeLocation));
        }

        /**
         * @param computeType The type of compute
         * Expected value is 'Kubernetes'.
         * 
         * @return builder
         * 
         */
        public Builder computeType(Output computeType) {
            $.computeType = computeType;
            return this;
        }

        /**
         * @param computeType The type of compute
         * Expected value is 'Kubernetes'.
         * 
         * @return builder
         * 
         */
        public Builder computeType(String computeType) {
            return computeType(Output.of(computeType));
        }

        /**
         * @param description The description of the Machine Learning compute.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the Machine Learning compute.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param disableLocalAuth Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
         * 
         * @return builder
         * 
         */
        public Builder disableLocalAuth(@Nullable Output disableLocalAuth) {
            $.disableLocalAuth = disableLocalAuth;
            return this;
        }

        /**
         * @param disableLocalAuth Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
         * 
         * @return builder
         * 
         */
        public Builder disableLocalAuth(Boolean disableLocalAuth) {
            return disableLocalAuth(Output.of(disableLocalAuth));
        }

        /**
         * @param properties Properties of Kubernetes
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Properties of Kubernetes
         * 
         * @return builder
         * 
         */
        public Builder properties(KubernetesPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param resourceId ARM resource id of the underlying compute
         * 
         * @return builder
         * 
         */
        public Builder resourceId(@Nullable Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId ARM resource id of the underlying compute
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        public KubernetesArgs build() {
            $.computeType = Codegen.stringProp("computeType").output().arg($.computeType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy