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

com.pulumi.azure.batch.inputs.PoolStartTaskUserIdentityAutoUserArgs 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.batch.inputs;

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


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

    public static final PoolStartTaskUserIdentityAutoUserArgs Empty = new PoolStartTaskUserIdentityAutoUserArgs();

    /**
     * The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
     * 
     */
    @Import(name="elevationLevel")
    private @Nullable Output elevationLevel;

    /**
     * @return The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
     * 
     */
    public Optional> elevationLevel() {
        return Optional.ofNullable(this.elevationLevel);
    }

    /**
     * The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
     * 
     */
    @Import(name="scope")
    private @Nullable Output scope;

    /**
     * @return The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
     * 
     */
    public Optional> scope() {
        return Optional.ofNullable(this.scope);
    }

    private PoolStartTaskUserIdentityAutoUserArgs() {}

    private PoolStartTaskUserIdentityAutoUserArgs(PoolStartTaskUserIdentityAutoUserArgs $) {
        this.elevationLevel = $.elevationLevel;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private PoolStartTaskUserIdentityAutoUserArgs $;

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

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

        /**
         * @param elevationLevel The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
         * 
         * @return builder
         * 
         */
        public Builder elevationLevel(@Nullable Output elevationLevel) {
            $.elevationLevel = elevationLevel;
            return this;
        }

        /**
         * @param elevationLevel The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
         * 
         * @return builder
         * 
         */
        public Builder elevationLevel(String elevationLevel) {
            return elevationLevel(Output.of(elevationLevel));
        }

        /**
         * @param scope The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
         * 
         * @return builder
         * 
         */
        public Builder scope(@Nullable Output scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            return scope(Output.of(scope));
        }

        public PoolStartTaskUserIdentityAutoUserArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy