Package-level declarations

Types

Link copied to clipboard
class Application : KotlinCustomResource
Link copied to clipboard
data class ApplicationArgs(val blueGreen: Output<Boolean>? = null, val blueGreenConfirm: Output<Boolean>? = null, val clusterName: Output<String>? = null, val description: Output<String>? = null, val environment: Output<Map<String, String>>? = null, val latestImage: Output<Boolean>? = null, val name: Output<String>? = null, val template: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<ApplicationArgs>
Link copied to clipboard
Link copied to clipboard
object ApplicationMapper : ResourceMapper<Application>
Link copied to clipboard
Link copied to clipboard
class AutoscalingConfig : KotlinCustomResource

This resource will help you configure auto scaling for the kubernetes cluster, see What is autoscaling config.

Link copied to clipboard
data class AutoscalingConfigArgs(val clusterId: Output<String>? = null, val coolDownDuration: Output<String>? = null, val daemonsetEvictionForNodes: Output<Boolean>? = null, val expander: Output<String>? = null, val gpuUtilizationThreshold: Output<String>? = null, val maxGracefulTerminationSec: Output<Int>? = null, val minReplicaCount: Output<Int>? = null, val recycleNodeDeletionEnabled: Output<Boolean>? = null, val scaleDownEnabled: Output<Boolean>? = null, val scaleUpFromZero: Output<Boolean>? = null, val scalerType: Output<String>? = null, val scanInterval: Output<String>? = null, val skipNodesWithLocalStorage: Output<Boolean>? = null, val skipNodesWithSystemPods: Output<Boolean>? = null, val unneededDuration: Output<String>? = null, val utilizationThreshold: Output<String>? = null) : ConvertibleToJava<AutoscalingConfigArgs>

This resource will help you configure auto scaling for the kubernetes cluster, see What is autoscaling config.

Link copied to clipboard
object AutoscalingConfigMapper : ResourceMapper<AutoscalingConfig>
Link copied to clipboard
class Cluster : KotlinCustomResource
Link copied to clipboard
data class ClusterArgs(val cidrBlock: Output<String>? = null, val diskCategory: Output<String>? = null, val diskSize: Output<Int>? = null, val imageId: Output<String>? = null, val instanceType: Output<String>? = null, val isOutdated: Output<Boolean>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val needSlb: Output<Boolean>? = null, val nodeNumber: Output<Int>? = null, val password: Output<String>? = null, val releaseEip: Output<Boolean>? = null, val size: Output<Int>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<ClusterArgs>
Link copied to clipboard
Link copied to clipboard
object ClusterMapper : ResourceMapper<Cluster>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class EdgeKubernetes : KotlinCustomResource

This resource will help you to manage a Edge Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see What is edge kubernetes.

Link copied to clipboard
data class EdgeKubernetesArgs(val addons: Output<List<EdgeKubernetesAddonArgs>>? = null, val availabilityZone: Output<String>? = null, val clientCert: Output<String>? = null, val clientKey: Output<String>? = null, val clusterCaCert: Output<String>? = null, val clusterSpec: Output<String>? = null, val deletionProtection: Output<Boolean>? = null, val installCloudMonitor: Output<Boolean>? = null, val isEnterpriseSecurityGroup: Output<Boolean>? = null, val keyName: Output<String>? = null, val kubeConfig: Output<String>? = null, val loadBalancerSpec: Output<String>? = null, val logConfig: Output<EdgeKubernetesLogConfigArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val newNatGateway: Output<Boolean>? = null, val nodeCidrMask: Output<Int>? = null, val password: Output<String>? = null, val podCidr: Output<String>? = null, val proxyMode: Output<String>? = null, val rdsInstances: Output<List<String>>? = null, val resourceGroupId: Output<String>? = null, val retainResources: Output<List<String>>? = null, val runtime: Output<EdgeKubernetesRuntimeArgs>? = null, val securityGroupId: Output<String>? = null, val serviceCidr: Output<String>? = null, val skipSetCertificateAuthority: Output<Boolean>? = null, val slbInternetEnabled: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val userData: Output<String>? = null, val version: Output<String>? = null, val workerDataDisks: Output<List<EdgeKubernetesWorkerDataDiskArgs>>? = null, val workerDiskCategory: Output<String>? = null, val workerDiskPerformanceLevel: Output<String>? = null, val workerDiskSize: Output<Int>? = null, val workerDiskSnapshotPolicyId: Output<String>? = null, val workerInstanceChargeType: Output<String>? = null, val workerInstanceTypes: Output<List<String>>? = null, val workerNumber: Output<Int>? = null, val workerVswitchIds: Output<List<String>>? = null) : ConvertibleToJava<EdgeKubernetesArgs>

This resource will help you to manage a Edge Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see What is edge kubernetes.

Link copied to clipboard
Link copied to clipboard
object EdgeKubernetesMapper : ResourceMapper<EdgeKubernetes>
Link copied to clipboard
class Kubernetes : KotlinCustomResource

This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see What is kubernetes.

Link copied to clipboard
class KubernetesAddon : KotlinCustomResource

Basic Usage

Link copied to clipboard
data class KubernetesAddonArgs(val cleanupCloudResources: Output<Boolean>? = null, val clusterId: Output<String>? = null, val config: Output<String>? = null, val name: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<KubernetesAddonArgs>

Basic Usage

Link copied to clipboard
object KubernetesAddonMapper : ResourceMapper<KubernetesAddon>
Link copied to clipboard
data class KubernetesArgs(val addons: Output<List<KubernetesAddonArgs>>? = null, val apiAudiences: Output<List<String>>? = null, val clientCert: Output<String>? = null, val clientKey: Output<String>? = null, val clusterCaCert: Output<String>? = null, val clusterDomain: Output<String>? = null, val customSan: Output<String>? = null, val deleteOptions: Output<List<KubernetesDeleteOptionArgs>>? = null, val deletionProtection: Output<Boolean>? = null, val enableSsh: Output<Boolean>? = null, val imageId: Output<String>? = null, val installCloudMonitor: Output<Boolean>? = null, val isEnterpriseSecurityGroup: Output<Boolean>? = null, val keyName: Output<String>? = null, val kmsEncryptedPassword: Output<String>? = null, val kmsEncryptionContext: Output<Map<String, String>>? = null, val loadBalancerSpec: Output<String>? = null, val masterAutoRenew: Output<Boolean>? = null, val masterAutoRenewPeriod: Output<Int>? = null, val masterDiskCategory: Output<String>? = null, val masterDiskPerformanceLevel: Output<String>? = null, val masterDiskSize: Output<Int>? = null, val masterDiskSnapshotPolicyId: Output<String>? = null, val masterInstanceChargeType: Output<String>? = null, val masterInstanceTypes: Output<List<String>>? = null, val masterPeriod: Output<Int>? = null, val masterPeriodUnit: Output<String>? = null, val masterVswitchIds: Output<List<String>>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val newNatGateway: Output<Boolean>? = null, val nodeCidrMask: Output<Int>? = null, val nodeNameMode: Output<String>? = null, val osType: Output<String>? = null, val password: Output<String>? = null, val platform: Output<String>? = null, val podCidr: Output<String>? = null, val podVswitchIds: Output<List<String>>? = null, val proxyMode: Output<String>? = null, val rdsInstances: Output<List<String>>? = null, val resourceGroupId: Output<String>? = null, val retainResources: Output<List<String>>? = null, val runtime: Output<KubernetesRuntimeArgs>? = null, val securityGroupId: Output<String>? = null, val serviceAccountIssuer: Output<String>? = null, val serviceCidr: Output<String>? = null, val skipSetCertificateAuthority: Output<Boolean>? = null, val slbInternetEnabled: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val timezone: Output<String>? = null, val userCa: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<KubernetesArgs>

This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see What is kubernetes.

Link copied to clipboard
Link copied to clipboard
class KubernetesAutoscaler : KotlinCustomResource
Link copied to clipboard
data class KubernetesAutoscalerArgs(val clusterId: Output<String>? = null, val coolDownDuration: Output<String>? = null, val deferScaleInDuration: Output<String>? = null, val nodepools: Output<List<KubernetesAutoscalerNodepoolArgs>>? = null, val useEcsRamRoleToken: Output<Boolean>? = null, val utilization: Output<String>? = null) : ConvertibleToJava<KubernetesAutoscalerArgs>
Link copied to clipboard
Link copied to clipboard
object KubernetesMapper : ResourceMapper<Kubernetes>
Link copied to clipboard
class KubernetesPermission : KotlinCustomResource

This resource will help you implement RBAC authorization for the kubernetes cluster, see What is kubernetes permissions.

Link copied to clipboard
data class KubernetesPermissionArgs(val permissions: Output<List<KubernetesPermissionPermissionArgs>>? = null, val uid: Output<String>? = null) : ConvertibleToJava<KubernetesPermissionArgs>

This resource will help you implement RBAC authorization for the kubernetes cluster, see What is kubernetes permissions.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ManagedKubernetes : KotlinCustomResource

This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.

Link copied to clipboard
data class ManagedKubernetesArgs(val addons: Output<List<ManagedKubernetesAddonArgs>>? = null, val apiAudiences: Output<List<String>>? = null, val auditLogConfig: Output<ManagedKubernetesAuditLogConfigArgs>? = null, val clientCert: Output<String>? = null, val clientKey: Output<String>? = null, val clusterCaCert: Output<String>? = null, val clusterDomain: Output<String>? = null, val clusterSpec: Output<String>? = null, val controlPlaneLogComponents: Output<List<String>>? = null, val controlPlaneLogProject: Output<String>? = null, val controlPlaneLogTtl: Output<String>? = null, val customSan: Output<String>? = null, val deleteOptions: Output<List<ManagedKubernetesDeleteOptionArgs>>? = null, val deletionProtection: Output<Boolean>? = null, val enableRrsa: Output<Boolean>? = null, val encryptionProviderKey: Output<String>? = null, val ipStack: Output<String>? = null, val isEnterpriseSecurityGroup: Output<Boolean>? = null, val loadBalancerSpec: Output<String>? = null, val maintenanceWindow: Output<ManagedKubernetesMaintenanceWindowArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val newNatGateway: Output<Boolean>? = null, val nodeCidrMask: Output<Int>? = null, val operationPolicy: Output<ManagedKubernetesOperationPolicyArgs>? = null, val podCidr: Output<String>? = null, val podVswitchIds: Output<List<String>>? = null, val profile: Output<String>? = null, val proxyMode: Output<String>? = null, val resourceGroupId: Output<String>? = null, val retainResources: Output<List<String>>? = null, val securityGroupId: Output<String>? = null, val serviceAccountIssuer: Output<String>? = null, val serviceCidr: Output<String>? = null, val skipSetCertificateAuthority: Output<Boolean>? = null, val slbInternetEnabled: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val timezone: Output<String>? = null, val userCa: Output<String>? = null, val version: Output<String>? = null, val vswitchIds: Output<List<String>>? = null, val workerVswitchIds: Output<List<String>>? = null, val zoneIds: Output<List<String>>? = null) : ConvertibleToJava<ManagedKubernetesArgs>

This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.

Link copied to clipboard
object ManagedKubernetesMapper : ResourceMapper<ManagedKubernetes>
Link copied to clipboard
class NodePool : KotlinCustomResource

Basic Usage

Link copied to clipboard
data class NodePoolArgs(val autoRenew: Output<Boolean>? = null, val autoRenewPeriod: Output<Int>? = null, val cisEnabled: Output<Boolean>? = null, val clusterId: Output<String>? = null, val compensateWithOnDemand: Output<Boolean>? = null, val cpuPolicy: Output<String>? = null, val dataDisks: Output<List<NodePoolDataDiskArgs>>? = null, val deploymentSetId: Output<String>? = null, val desiredSize: Output<String>? = null, val forceDelete: Output<Boolean>? = null, val formatDisk: Output<Boolean>? = null, val imageId: Output<String>? = null, val imageType: Output<String>? = null, val installCloudMonitor: Output<Boolean>? = null, val instanceChargeType: Output<String>? = null, val instanceTypes: Output<List<String>>? = null, val instances: Output<List<String>>? = null, val internetChargeType: Output<String>? = null, val internetMaxBandwidthOut: Output<Int>? = null, val keepInstanceName: Output<Boolean>? = null, val keyName: Output<String>? = null, val kmsEncryptedPassword: Output<String>? = null, val kmsEncryptionContext: Output<Map<String, String>>? = null, val kubeletConfiguration: Output<NodePoolKubeletConfigurationArgs>? = null, val labels: Output<List<NodePoolLabelArgs>>? = null, val loginAsNonRoot: Output<Boolean>? = null, val management: Output<NodePoolManagementArgs>? = null, val multiAzPolicy: Output<String>? = null, val name: Output<String>? = null, val nodeCount: Output<Int>? = null, val nodeNameMode: Output<String>? = null, val nodePoolName: Output<String>? = null, val onDemandBaseCapacity: Output<String>? = null, val onDemandPercentageAboveBaseCapacity: Output<String>? = null, val password: Output<String>? = null, val period: Output<Int>? = null, val periodUnit: Output<String>? = null, val platform: Output<String>? = null, val preUserData: Output<String>? = null, val privatePoolOptions: Output<NodePoolPrivatePoolOptionsArgs>? = null, val ramRoleName: Output<String>? = null, val rdsInstances: Output<List<String>>? = null, val resourceGroupId: Output<String>? = null, val rollingPolicy: Output<NodePoolRollingPolicyArgs>? = null, val runtimeName: Output<String>? = null, val runtimeVersion: Output<String>? = null, val scalingConfig: Output<NodePoolScalingConfigArgs>? = null, val scalingPolicy: Output<String>? = null, val securityGroupId: Output<String>? = null, val securityGroupIds: Output<List<String>>? = null, val securityHardeningOs: Output<Boolean>? = null, val socEnabled: Output<Boolean>? = null, val spotInstancePools: Output<Int>? = null, val spotInstanceRemedy: Output<Boolean>? = null, val spotPriceLimits: Output<List<NodePoolSpotPriceLimitArgs>>? = null, val spotStrategy: Output<String>? = null, val systemDiskBurstingEnabled: Output<Boolean>? = null, val systemDiskCategories: Output<List<String>>? = null, val systemDiskCategory: Output<String>? = null, val systemDiskEncryptAlgorithm: Output<String>? = null, val systemDiskEncrypted: Output<Boolean>? = null, val systemDiskKmsKey: Output<String>? = null, val systemDiskPerformanceLevel: Output<String>? = null, val systemDiskProvisionedIops: Output<Int>? = null, val systemDiskSize: Output<Int>? = null, val systemDiskSnapshotPolicyId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val taints: Output<List<NodePoolTaintArgs>>? = null, val teeConfig: Output<NodePoolTeeConfigArgs>? = null, val unschedulable: Output<Boolean>? = null, val updateNodes: Output<Boolean>? = null, val userData: Output<String>? = null, val vswitchIds: Output<List<String>>? = null) : ConvertibleToJava<NodePoolArgs>

Basic Usage

Link copied to clipboard
Link copied to clipboard
object NodePoolMapper : ResourceMapper<NodePool>
Link copied to clipboard
Link copied to clipboard
class RegistryEnterpriseNamespace : KotlinCustomResource

Provides a Container Registry Enterprise Edition Namespace resource. For information about Container Registry Enterprise Edition Namespace and how to use it, see What is Namespace

Link copied to clipboard
data class RegistryEnterpriseNamespaceArgs(val autoCreate: Output<Boolean>? = null, val defaultVisibility: Output<String>? = null, val instanceId: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<RegistryEnterpriseNamespaceArgs>

Provides a Container Registry Enterprise Edition Namespace resource. For information about Container Registry Enterprise Edition Namespace and how to use it, see What is Namespace

Link copied to clipboard
class RegistryEnterpriseRepo : KotlinCustomResource

Provides a Container Registry Enterprise Edition Repository resource. For information about Container Registry Enterprise Edition Repository and how to use it, see What is Repository

Link copied to clipboard
data class RegistryEnterpriseRepoArgs(val detail: Output<String>? = null, val instanceId: Output<String>? = null, val name: Output<String>? = null, val namespace: Output<String>? = null, val repoType: Output<String>? = null, val summary: Output<String>? = null) : ConvertibleToJava<RegistryEnterpriseRepoArgs>

Provides a Container Registry Enterprise Edition Repository resource. For information about Container Registry Enterprise Edition Repository and how to use it, see What is Repository

Link copied to clipboard
Link copied to clipboard
class RegistryEnterpriseSyncRule : KotlinCustomResource

Provides a Container Registry Sync Rule resource. For information about Container Registry Sync Rule and how to use it, see What is Sync Rule

Link copied to clipboard
data class RegistryEnterpriseSyncRuleArgs(val instanceId: Output<String>? = null, val name: Output<String>? = null, val namespaceName: Output<String>? = null, val repoName: Output<String>? = null, val syncRuleName: Output<String>? = null, val syncScope: Output<String>? = null, val syncTrigger: Output<String>? = null, val tagFilter: Output<String>? = null, val targetInstanceId: Output<String>? = null, val targetNamespaceName: Output<String>? = null, val targetRegionId: Output<String>? = null, val targetRepoName: Output<String>? = null, val targetUserId: Output<String>? = null) : ConvertibleToJava<RegistryEnterpriseSyncRuleArgs>

Provides a Container Registry Sync Rule resource. For information about Container Registry Sync Rule and how to use it, see What is Sync Rule

Link copied to clipboard
class ServerlessKubernetes : KotlinCustomResource

This resource will help you to manager a Serverless Kubernetes Cluster, see What is serverless kubernetes. The cluster is same as container service created by web console.

Link copied to clipboard
data class ServerlessKubernetesArgs(val addons: Output<List<ServerlessKubernetesAddonArgs>>? = null, val clientCert: Output<String>? = null, val clientKey: Output<String>? = null, val clusterCaCert: Output<String>? = null, val clusterSpec: Output<String>? = null, val customSan: Output<String>? = null, val deleteOptions: Output<List<ServerlessKubernetesDeleteOptionArgs>>? = null, val deletionProtection: Output<Boolean>? = null, val enableRrsa: Output<Boolean>? = null, val endpointPublicAccessEnabled: Output<Boolean>? = null, val kubeConfig: Output<String>? = null, val loadBalancerSpec: Output<String>? = null, val loggingType: Output<String>? = null, val maintenanceWindow: Output<ServerlessKubernetesMaintenanceWindowArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val newNatGateway: Output<Boolean>? = null, val operationPolicy: Output<ServerlessKubernetesOperationPolicyArgs>? = null, val privateZone: Output<Boolean>? = null, val resourceGroupId: Output<String>? = null, val retainResources: Output<List<String>>? = null, val securityGroupId: Output<String>? = null, val serviceCidr: Output<String>? = null, val serviceDiscoveryTypes: Output<List<String>>? = null, val slsProjectName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val timeZone: Output<String>? = null, val version: Output<String>? = null, val vpcId: Output<String>? = null, val vswitchIds: Output<List<String>>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<ServerlessKubernetesArgs>

This resource will help you to manager a Serverless Kubernetes Cluster, see What is serverless kubernetes. The cluster is same as container service created by web console.

Link copied to clipboard
Link copied to clipboard
class Swarm : KotlinCustomResource
Link copied to clipboard
data class SwarmArgs(val cidrBlock: Output<String>? = null, val diskCategory: Output<String>? = null, val diskSize: Output<Int>? = null, val imageId: Output<String>? = null, val instanceType: Output<String>? = null, val isOutdated: Output<Boolean>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val needSlb: Output<Boolean>? = null, val nodeNumber: Output<Int>? = null, val password: Output<String>? = null, val releaseEip: Output<Boolean>? = null, val size: Output<Int>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<SwarmArgs>
Link copied to clipboard

Builder for SwarmArgs.

Link copied to clipboard
object SwarmMapper : ResourceMapper<Swarm>
Link copied to clipboard

Builder for Swarm.

Functions

Link copied to clipboard
suspend fun application(name: String, block: suspend ApplicationResourceBuilder.() -> Unit): Application
Link copied to clipboard
fun cluster(name: String): Cluster
suspend fun cluster(name: String, block: suspend ClusterResourceBuilder.() -> Unit): Cluster
Link copied to clipboard
Link copied to clipboard
suspend fun kubernetes(name: String, block: suspend KubernetesResourceBuilder.() -> Unit): Kubernetes
Link copied to clipboard
Link copied to clipboard
suspend fun nodePool(name: String, block: suspend NodePoolResourceBuilder.() -> Unit): NodePool
Link copied to clipboard
fun swarm(name: String): Swarm
suspend fun swarm(name: String, block: suspend SwarmResourceBuilder.() -> Unit): Swarm