com.pulumi.azurenative.hybridcontainerservice.outputs.WindowsProfileResponseResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.hybridcontainerservice.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WindowsProfileResponseResponse {
/**
* @return AdminUsername - Specifies the name of the administrator account. <br><br> **restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters
*
*/
private @Nullable String adminUsername;
/**
* @return EnableCSIProxy - Whether to enable CSI proxy.
*
*/
private @Nullable Boolean enableCsiProxy;
/**
* @return LicenseType - The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'
*
*/
private @Nullable String licenseType;
private WindowsProfileResponseResponse() {}
/**
* @return AdminUsername - Specifies the name of the administrator account. <br><br> **restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters
*
*/
public Optional adminUsername() {
return Optional.ofNullable(this.adminUsername);
}
/**
* @return EnableCSIProxy - Whether to enable CSI proxy.
*
*/
public Optional enableCsiProxy() {
return Optional.ofNullable(this.enableCsiProxy);
}
/**
* @return LicenseType - The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'
*
*/
public Optional licenseType() {
return Optional.ofNullable(this.licenseType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsProfileResponseResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String adminUsername;
private @Nullable Boolean enableCsiProxy;
private @Nullable String licenseType;
public Builder() {}
public Builder(WindowsProfileResponseResponse defaults) {
Objects.requireNonNull(defaults);
this.adminUsername = defaults.adminUsername;
this.enableCsiProxy = defaults.enableCsiProxy;
this.licenseType = defaults.licenseType;
}
@CustomType.Setter
public Builder adminUsername(@Nullable String adminUsername) {
this.adminUsername = adminUsername;
return this;
}
@CustomType.Setter
public Builder enableCsiProxy(@Nullable Boolean enableCsiProxy) {
this.enableCsiProxy = enableCsiProxy;
return this;
}
@CustomType.Setter
public Builder licenseType(@Nullable String licenseType) {
this.licenseType = licenseType;
return this;
}
public WindowsProfileResponseResponse build() {
final var _resultValue = new WindowsProfileResponseResponse();
_resultValue.adminUsername = adminUsername;
_resultValue.enableCsiProxy = enableCsiProxy;
_resultValue.licenseType = licenseType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy