ai.digital.integration.server.common.domain.providers.AzureAksProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integration-server-gradle-plugin Show documentation
Show all versions of integration-server-gradle-plugin Show documentation
The easy way to get custom setup for Deploy up and running
package ai.digital.integration.server.common.domain.providers
import org.gradle.api.Project
import org.gradle.api.tasks.Input
import org.gradle.kotlin.dsl.property
import javax.inject.Inject
@Suppress("UnstableApiUsage")
open class AzureAksProvider @Inject constructor(project: Project) : Provider(project) {
@Input
val clusterNodeCount = project.objects.property().value(2)
@Input
val clusterNodeVmSize = project.objects.property()
@Input
val kubernetesVersion = project.objects.property()
@Input
val location = project.objects.property()
@Input
val skipExisting = project.objects.property().value(true)
fun getAzUsername(): String = project.property("azUsername").toString()
fun getAzPassword(): String = project.property("azPassword").toString()
}