All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.digital.integration.server.common.domain.providers.AzureAksProvider.kt Maven / Gradle / Ivy

There is a newer version: 23.3.0-1025.941
Show newest version
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()
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy