All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.containerservice.inputs.KubernetesClusterExtensionState Maven / Gradle / Ivy
// *** 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.containerservice.inputs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterExtensionAksAssignedIdentityArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterExtensionPlanArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class KubernetesClusterExtensionState extends com.pulumi.resources.ResourceArgs {
public static final KubernetesClusterExtensionState Empty = new KubernetesClusterExtensionState();
/**
* An `aks_assigned_identity` block as defined below.
*
*/
@Import(name="aksAssignedIdentities")
private @Nullable Output> aksAssignedIdentities;
/**
* @return An `aks_assigned_identity` block as defined below.
*
*/
public Optional>> aksAssignedIdentities() {
return Optional.ofNullable(this.aksAssignedIdentities);
}
/**
* Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
@Import(name="clusterId")
private @Nullable Output clusterId;
/**
* @return Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
public Optional> clusterId() {
return Optional.ofNullable(this.clusterId);
}
/**
* Configuration settings that are sensitive, as name-value pairs for configuring this extension.
*
*/
@Import(name="configurationProtectedSettings")
private @Nullable Output> configurationProtectedSettings;
/**
* @return Configuration settings that are sensitive, as name-value pairs for configuring this extension.
*
*/
public Optional>> configurationProtectedSettings() {
return Optional.ofNullable(this.configurationProtectedSettings);
}
/**
* Configuration settings, as name-value pairs for configuring this extension.
*
*/
@Import(name="configurationSettings")
private @Nullable Output> configurationSettings;
/**
* @return Configuration settings, as name-value pairs for configuring this extension.
*
*/
public Optional>> configurationSettings() {
return Optional.ofNullable(this.configurationSettings);
}
/**
* The current version of the extension.
*
*/
@Import(name="currentVersion")
private @Nullable Output currentVersion;
/**
* @return The current version of the extension.
*
*/
public Optional> currentVersion() {
return Optional.ofNullable(this.currentVersion);
}
/**
* Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to [Available Extensions for AKS](https://learn.microsoft.com/en-us/azure/aks/cluster-extensions?tabs=azure-cli#currently-available-extensions). Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
@Import(name="extensionType")
private @Nullable Output extensionType;
/**
* @return Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to [Available Extensions for AKS](https://learn.microsoft.com/en-us/azure/aks/cluster-extensions?tabs=azure-cli#currently-available-extensions). Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
public Optional> extensionType() {
return Optional.ofNullable(this.extensionType);
}
/**
* Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* A `plan` block as defined below. Changing this forces a new resource to be created.
*
*/
@Import(name="plan")
private @Nullable Output plan;
/**
* @return A `plan` block as defined below. Changing this forces a new resource to be created.
*
*/
public Optional> plan() {
return Optional.ofNullable(this.plan);
}
/**
* Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
@Import(name="releaseNamespace")
private @Nullable Output releaseNamespace;
/**
* @return Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
public Optional> releaseNamespace() {
return Optional.ofNullable(this.releaseNamespace);
}
/**
* The release train used by this extension. Possible values include but are not limited to `Stable`, `Preview`. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
@Import(name="releaseTrain")
private @Nullable Output releaseTrain;
/**
* @return The release train used by this extension. Possible values include but are not limited to `Stable`, `Preview`. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
public Optional> releaseTrain() {
return Optional.ofNullable(this.releaseTrain);
}
/**
* Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
@Import(name="targetNamespace")
private @Nullable Output targetNamespace;
/**
* @return Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
public Optional> targetNamespace() {
return Optional.ofNullable(this.targetNamespace);
}
/**
* User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
@Import(name="version")
private @Nullable Output version;
/**
* @return User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Kubernetes Cluster Extension to be created.
*
*/
public Optional> version() {
return Optional.ofNullable(this.version);
}
private KubernetesClusterExtensionState() {}
private KubernetesClusterExtensionState(KubernetesClusterExtensionState $) {
this.aksAssignedIdentities = $.aksAssignedIdentities;
this.clusterId = $.clusterId;
this.configurationProtectedSettings = $.configurationProtectedSettings;
this.configurationSettings = $.configurationSettings;
this.currentVersion = $.currentVersion;
this.extensionType = $.extensionType;
this.name = $.name;
this.plan = $.plan;
this.releaseNamespace = $.releaseNamespace;
this.releaseTrain = $.releaseTrain;
this.targetNamespace = $.targetNamespace;
this.version = $.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KubernetesClusterExtensionState defaults) {
return new Builder(defaults);
}
public static final class Builder {
private KubernetesClusterExtensionState $;
public Builder() {
$ = new KubernetesClusterExtensionState();
}
public Builder(KubernetesClusterExtensionState defaults) {
$ = new KubernetesClusterExtensionState(Objects.requireNonNull(defaults));
}
/**
* @param aksAssignedIdentities An `aks_assigned_identity` block as defined below.
*
* @return builder
*
*/
public Builder aksAssignedIdentities(@Nullable Output> aksAssignedIdentities) {
$.aksAssignedIdentities = aksAssignedIdentities;
return this;
}
/**
* @param aksAssignedIdentities An `aks_assigned_identity` block as defined below.
*
* @return builder
*
*/
public Builder aksAssignedIdentities(List aksAssignedIdentities) {
return aksAssignedIdentities(Output.of(aksAssignedIdentities));
}
/**
* @param aksAssignedIdentities An `aks_assigned_identity` block as defined below.
*
* @return builder
*
*/
public Builder aksAssignedIdentities(KubernetesClusterExtensionAksAssignedIdentityArgs... aksAssignedIdentities) {
return aksAssignedIdentities(List.of(aksAssignedIdentities));
}
/**
* @param clusterId Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder clusterId(@Nullable Output clusterId) {
$.clusterId = clusterId;
return this;
}
/**
* @param clusterId Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder clusterId(String clusterId) {
return clusterId(Output.of(clusterId));
}
/**
* @param configurationProtectedSettings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
*
* @return builder
*
*/
public Builder configurationProtectedSettings(@Nullable Output> configurationProtectedSettings) {
$.configurationProtectedSettings = configurationProtectedSettings;
return this;
}
/**
* @param configurationProtectedSettings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
*
* @return builder
*
*/
public Builder configurationProtectedSettings(Map configurationProtectedSettings) {
return configurationProtectedSettings(Output.of(configurationProtectedSettings));
}
/**
* @param configurationSettings Configuration settings, as name-value pairs for configuring this extension.
*
* @return builder
*
*/
public Builder configurationSettings(@Nullable Output> configurationSettings) {
$.configurationSettings = configurationSettings;
return this;
}
/**
* @param configurationSettings Configuration settings, as name-value pairs for configuring this extension.
*
* @return builder
*
*/
public Builder configurationSettings(Map configurationSettings) {
return configurationSettings(Output.of(configurationSettings));
}
/**
* @param currentVersion The current version of the extension.
*
* @return builder
*
*/
public Builder currentVersion(@Nullable Output currentVersion) {
$.currentVersion = currentVersion;
return this;
}
/**
* @param currentVersion The current version of the extension.
*
* @return builder
*
*/
public Builder currentVersion(String currentVersion) {
return currentVersion(Output.of(currentVersion));
}
/**
* @param extensionType Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to [Available Extensions for AKS](https://learn.microsoft.com/en-us/azure/aks/cluster-extensions?tabs=azure-cli#currently-available-extensions). Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder extensionType(@Nullable Output extensionType) {
$.extensionType = extensionType;
return this;
}
/**
* @param extensionType Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to [Available Extensions for AKS](https://learn.microsoft.com/en-us/azure/aks/cluster-extensions?tabs=azure-cli#currently-available-extensions). Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder extensionType(String extensionType) {
return extensionType(Output.of(extensionType));
}
/**
* @param name Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param plan A `plan` block as defined below. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder plan(@Nullable Output plan) {
$.plan = plan;
return this;
}
/**
* @param plan A `plan` block as defined below. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder plan(KubernetesClusterExtensionPlanArgs plan) {
return plan(Output.of(plan));
}
/**
* @param releaseNamespace Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder releaseNamespace(@Nullable Output releaseNamespace) {
$.releaseNamespace = releaseNamespace;
return this;
}
/**
* @param releaseNamespace Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder releaseNamespace(String releaseNamespace) {
return releaseNamespace(Output.of(releaseNamespace));
}
/**
* @param releaseTrain The release train used by this extension. Possible values include but are not limited to `Stable`, `Preview`. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder releaseTrain(@Nullable Output releaseTrain) {
$.releaseTrain = releaseTrain;
return this;
}
/**
* @param releaseTrain The release train used by this extension. Possible values include but are not limited to `Stable`, `Preview`. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder releaseTrain(String releaseTrain) {
return releaseTrain(Output.of(releaseTrain));
}
/**
* @param targetNamespace Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder targetNamespace(@Nullable Output targetNamespace) {
$.targetNamespace = targetNamespace;
return this;
}
/**
* @param targetNamespace Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder targetNamespace(String targetNamespace) {
return targetNamespace(Output.of(targetNamespace));
}
/**
* @param version User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder version(@Nullable Output version) {
$.version = version;
return this;
}
/**
* @param version User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Kubernetes Cluster Extension to be created.
*
* @return builder
*
*/
public Builder version(String version) {
return version(Output.of(version));
}
public KubernetesClusterExtensionState build() {
return $;
}
}
}