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

com.pulumi.azure.batch.outputs.PoolStartTaskUserIdentityAutoUser 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.15.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.azure.batch.outputs;

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

@CustomType
public final class PoolStartTaskUserIdentityAutoUser {
    /**
     * @return The elevation level of the user identity under which the start task runs. Possible values are `Admin` or `NonAdmin`. Defaults to `NonAdmin`.
     * 
     */
    private @Nullable String elevationLevel;
    /**
     * @return The scope of the user identity under which the start task runs. Possible values are `Task` or `Pool`. Defaults to `Task`.
     * 
     */
    private @Nullable String scope;

    private PoolStartTaskUserIdentityAutoUser() {}
    /**
     * @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);
    }
    /**
     * @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);
    }

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

    public static Builder builder(PoolStartTaskUserIdentityAutoUser defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String elevationLevel;
        private @Nullable String scope;
        public Builder() {}
        public Builder(PoolStartTaskUserIdentityAutoUser defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.elevationLevel = defaults.elevationLevel;
    	      this.scope = defaults.scope;
        }

        @CustomType.Setter
        public Builder elevationLevel(@Nullable String elevationLevel) {

            this.elevationLevel = elevationLevel;
            return this;
        }
        @CustomType.Setter
        public Builder scope(@Nullable String scope) {

            this.scope = scope;
            return this;
        }
        public PoolStartTaskUserIdentityAutoUser build() {
            final var _resultValue = new PoolStartTaskUserIdentityAutoUser();
            _resultValue.elevationLevel = elevationLevel;
            _resultValue.scope = scope;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy