com.pulumi.azure.batch.outputs.GetPoolStartTaskUserIdentityAutoUser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetPoolStartTaskUserIdentityAutoUser {
/**
* @return The elevation level of the user account. "NonAdmin" - The auto user is a standard user without elevated access. "Admin" - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
*
*/
private String elevationLevel;
/**
* @return The scope of the user identity under which the start task runs.
*
*/
private String scope;
private GetPoolStartTaskUserIdentityAutoUser() {}
/**
* @return The elevation level of the user account. "NonAdmin" - The auto user is a standard user without elevated access. "Admin" - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
*
*/
public String elevationLevel() {
return this.elevationLevel;
}
/**
* @return The scope of the user identity under which the start task runs.
*
*/
public String scope() {
return this.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPoolStartTaskUserIdentityAutoUser defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String elevationLevel;
private String scope;
public Builder() {}
public Builder(GetPoolStartTaskUserIdentityAutoUser defaults) {
Objects.requireNonNull(defaults);
this.elevationLevel = defaults.elevationLevel;
this.scope = defaults.scope;
}
@CustomType.Setter
public Builder elevationLevel(String elevationLevel) {
if (elevationLevel == null) {
throw new MissingRequiredPropertyException("GetPoolStartTaskUserIdentityAutoUser", "elevationLevel");
}
this.elevationLevel = elevationLevel;
return this;
}
@CustomType.Setter
public Builder scope(String scope) {
if (scope == null) {
throw new MissingRequiredPropertyException("GetPoolStartTaskUserIdentityAutoUser", "scope");
}
this.scope = scope;
return this;
}
public GetPoolStartTaskUserIdentityAutoUser build() {
final var _resultValue = new GetPoolStartTaskUserIdentityAutoUser();
_resultValue.elevationLevel = elevationLevel;
_resultValue.scope = scope;
return _resultValue;
}
}
}