
com.pulumi.azurenative.containerservice.inputs.ListManagedClusterUserCredentialsPlainArgs 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.containerservice.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ListManagedClusterUserCredentialsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final ListManagedClusterUserCredentialsPlainArgs Empty = new ListManagedClusterUserCredentialsPlainArgs();
/**
* Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
*
*/
@Import(name="format")
private @Nullable String format;
/**
* @return Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
*
*/
public Optional format() {
return Optional.ofNullable(this.format);
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the managed cluster resource.
*
*/
@Import(name="resourceName", required=true)
private String resourceName;
/**
* @return The name of the managed cluster resource.
*
*/
public String resourceName() {
return this.resourceName;
}
/**
* server fqdn type for credentials to be returned
*
*/
@Import(name="serverFqdn")
private @Nullable String serverFqdn;
/**
* @return server fqdn type for credentials to be returned
*
*/
public Optional serverFqdn() {
return Optional.ofNullable(this.serverFqdn);
}
private ListManagedClusterUserCredentialsPlainArgs() {}
private ListManagedClusterUserCredentialsPlainArgs(ListManagedClusterUserCredentialsPlainArgs $) {
this.format = $.format;
this.resourceGroupName = $.resourceGroupName;
this.resourceName = $.resourceName;
this.serverFqdn = $.serverFqdn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListManagedClusterUserCredentialsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ListManagedClusterUserCredentialsPlainArgs $;
public Builder() {
$ = new ListManagedClusterUserCredentialsPlainArgs();
}
public Builder(ListManagedClusterUserCredentialsPlainArgs defaults) {
$ = new ListManagedClusterUserCredentialsPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param format Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
*
* @return builder
*
*/
public Builder format(@Nullable String format) {
$.format = format;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceName The name of the managed cluster resource.
*
* @return builder
*
*/
public Builder resourceName(String resourceName) {
$.resourceName = resourceName;
return this;
}
/**
* @param serverFqdn server fqdn type for credentials to be returned
*
* @return builder
*
*/
public Builder serverFqdn(@Nullable String serverFqdn) {
$.serverFqdn = serverFqdn;
return this;
}
public ListManagedClusterUserCredentialsPlainArgs build() {
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("ListManagedClusterUserCredentialsPlainArgs", "resourceGroupName");
}
if ($.resourceName == null) {
throw new MissingRequiredPropertyException("ListManagedClusterUserCredentialsPlainArgs", "resourceName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy