com.pulumi.alicloud.cs.outputs.ManagedKubernetesAddon Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.cs.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 ManagedKubernetesAddon {
/**
* @return If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
*
*/
private @Nullable String config;
/**
* @return It specifies whether to disable automatic installation.
*
* It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
*
* You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
*
* `logtail-ds` - You can specify `IngressDashboardEnabled` and `sls_project_name` in config. If you switch on `IngressDashboardEnabled` and `sls_project_name`,then logtail-ds would use `sls_project_name` as default log store.
*
* `nginx-ingress-controller` - You can specific `IngressSlbNetworkType` in config. Options: internet|intranet.
*
* The `main.tf`:
*
*/
private @Nullable Boolean disabled;
/**
* @return This parameter specifies the name of the component.
*
*/
private @Nullable String name;
/**
* @return It specifies the version of the component.
*
*/
private @Nullable String version;
private ManagedKubernetesAddon() {}
/**
* @return If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
*
*/
public Optional config() {
return Optional.ofNullable(this.config);
}
/**
* @return It specifies whether to disable automatic installation.
*
* It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
*
* You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
*
* `logtail-ds` - You can specify `IngressDashboardEnabled` and `sls_project_name` in config. If you switch on `IngressDashboardEnabled` and `sls_project_name`,then logtail-ds would use `sls_project_name` as default log store.
*
* `nginx-ingress-controller` - You can specific `IngressSlbNetworkType` in config. Options: internet|intranet.
*
* The `main.tf`:
*
*/
public Optional disabled() {
return Optional.ofNullable(this.disabled);
}
/**
* @return This parameter specifies the name of the component.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return It specifies the version of the component.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedKubernetesAddon defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String config;
private @Nullable Boolean disabled;
private @Nullable String name;
private @Nullable String version;
public Builder() {}
public Builder(ManagedKubernetesAddon defaults) {
Objects.requireNonNull(defaults);
this.config = defaults.config;
this.disabled = defaults.disabled;
this.name = defaults.name;
this.version = defaults.version;
}
@CustomType.Setter
public Builder config(@Nullable String config) {
this.config = config;
return this;
}
@CustomType.Setter
public Builder disabled(@Nullable Boolean disabled) {
this.disabled = disabled;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public ManagedKubernetesAddon build() {
final var _resultValue = new ManagedKubernetesAddon();
_resultValue.config = config;
_resultValue.disabled = disabled;
_resultValue.name = name;
_resultValue.version = version;
return _resultValue;
}
}
}