com.pulumi.gcp.container.kotlin.outputs.GetClusterResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getCluster.
* @property addonsConfigs
* @property allowNetAdmin
* @property authenticatorGroupsConfigs
* @property binaryAuthorizations
* @property clusterAutoscalings
* @property clusterIpv4Cidr
* @property clusterTelemetries
* @property confidentialNodes
* @property costManagementConfigs
* @property databaseEncryptions
* @property datapathProvider
* @property defaultMaxPodsPerNode
* @property defaultSnatStatuses
* @property deletionProtection
* @property description
* @property dnsConfigs
* @property enableAutopilot
* @property enableCiliumClusterwideNetworkPolicy
* @property enableFqdnNetworkPolicy
* @property enableIntranodeVisibility
* @property enableK8sBetaApis
* @property enableKubernetesAlpha
* @property enableL4IlbSubsetting
* @property enableLegacyAbac
* @property enableMultiNetworking
* @property enableShieldedNodes
* @property enableTpu
* @property endpoint
* @property fleets
* @property gatewayApiConfigs
* @property id The provider-assigned unique ID for this managed resource.
* @property identityServiceConfigs
* @property initialNodeCount
* @property ipAllocationPolicies
* @property labelFingerprint
* @property location
* @property loggingConfigs
* @property loggingService
* @property maintenancePolicies
* @property masterAuthorizedNetworksConfigs
* @property masterAuths
* @property masterVersion
* @property meshCertificates
* @property minMasterVersion
* @property monitoringConfigs
* @property monitoringService
* @property name
* @property network
* @property networkPolicies
* @property networkingMode
* @property nodeConfigs
* @property nodeLocations
* @property nodePoolAutoConfigs
* @property nodePoolDefaults
* @property nodePools
* @property nodeVersion
* @property notificationConfigs
* @property operation
* @property podSecurityPolicyConfigs
* @property privateClusterConfigs
* @property privateIpv6GoogleAccess
* @property project
* @property protectConfigs
* @property releaseChannels
* @property removeDefaultNodePool
* @property resourceLabels
* @property resourceUsageExportConfigs
* @property securityPostureConfigs
* @property selfLink
* @property serviceExternalIpsConfigs
* @property servicesIpv4Cidr
* @property subnetwork
* @property tpuConfigs
* @property tpuIpv4CidrBlock
* @property verticalPodAutoscalings
* @property workloadAltsConfigs
* @property workloadIdentityConfigs
*/
public data class GetClusterResult(
public val addonsConfigs: List,
public val allowNetAdmin: Boolean,
public val authenticatorGroupsConfigs: List,
public val binaryAuthorizations: List,
public val clusterAutoscalings: List,
public val clusterIpv4Cidr: String,
public val clusterTelemetries: List,
public val confidentialNodes: List,
public val costManagementConfigs: List,
public val databaseEncryptions: List,
public val datapathProvider: String,
public val defaultMaxPodsPerNode: Int,
public val defaultSnatStatuses: List,
public val deletionProtection: Boolean,
public val description: String,
public val dnsConfigs: List,
public val enableAutopilot: Boolean,
public val enableCiliumClusterwideNetworkPolicy: Boolean,
public val enableFqdnNetworkPolicy: Boolean,
public val enableIntranodeVisibility: Boolean,
public val enableK8sBetaApis: List,
public val enableKubernetesAlpha: Boolean,
public val enableL4IlbSubsetting: Boolean,
public val enableLegacyAbac: Boolean,
public val enableMultiNetworking: Boolean,
public val enableShieldedNodes: Boolean,
public val enableTpu: Boolean,
public val endpoint: String,
public val fleets: List,
public val gatewayApiConfigs: List,
public val id: String,
public val identityServiceConfigs: List,
public val initialNodeCount: Int,
public val ipAllocationPolicies: List,
public val labelFingerprint: String,
public val location: String? = null,
public val loggingConfigs: List,
public val loggingService: String,
public val maintenancePolicies: List,
public val masterAuthorizedNetworksConfigs: List,
public val masterAuths: List,
public val masterVersion: String,
public val meshCertificates: List,
public val minMasterVersion: String,
public val monitoringConfigs: List,
public val monitoringService: String,
public val name: String,
public val network: String,
public val networkPolicies: List,
public val networkingMode: String,
public val nodeConfigs: List,
public val nodeLocations: List,
public val nodePoolAutoConfigs: List,
public val nodePoolDefaults: List,
public val nodePools: List,
public val nodeVersion: String,
public val notificationConfigs: List,
public val operation: String,
public val podSecurityPolicyConfigs: List,
public val privateClusterConfigs: List,
public val privateIpv6GoogleAccess: String,
public val project: String? = null,
public val protectConfigs: List,
public val releaseChannels: List,
public val removeDefaultNodePool: Boolean,
public val resourceLabels: Map,
public val resourceUsageExportConfigs: List,
public val securityPostureConfigs: List,
public val selfLink: String,
public val serviceExternalIpsConfigs: List,
public val servicesIpv4Cidr: String,
public val subnetwork: String,
public val tpuConfigs: List,
public val tpuIpv4CidrBlock: String,
public val verticalPodAutoscalings: List,
public val workloadAltsConfigs: List,
public val workloadIdentityConfigs: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterResult): GetClusterResult = GetClusterResult(
addonsConfigs = javaType.addonsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterAddonsConfig.Companion.toKotlin(args0)
})
}),
allowNetAdmin = javaType.allowNetAdmin(),
authenticatorGroupsConfigs = javaType.authenticatorGroupsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterAuthenticatorGroupsConfig.Companion.toKotlin(args0)
})
}),
binaryAuthorizations = javaType.binaryAuthorizations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterBinaryAuthorization.Companion.toKotlin(args0)
})
}),
clusterAutoscalings = javaType.clusterAutoscalings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscaling.Companion.toKotlin(args0)
})
}),
clusterIpv4Cidr = javaType.clusterIpv4Cidr(),
clusterTelemetries = javaType.clusterTelemetries().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterTelemetry.Companion.toKotlin(args0)
})
}),
confidentialNodes = javaType.confidentialNodes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterConfidentialNode.Companion.toKotlin(args0)
})
}),
costManagementConfigs = javaType.costManagementConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterCostManagementConfig.Companion.toKotlin(args0)
})
}),
databaseEncryptions = javaType.databaseEncryptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterDatabaseEncryption.Companion.toKotlin(args0)
})
}),
datapathProvider = javaType.datapathProvider(),
defaultMaxPodsPerNode = javaType.defaultMaxPodsPerNode(),
defaultSnatStatuses = javaType.defaultSnatStatuses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterDefaultSnatStatus.Companion.toKotlin(args0)
})
}),
deletionProtection = javaType.deletionProtection(),
description = javaType.description(),
dnsConfigs = javaType.dnsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterDnsConfig.Companion.toKotlin(args0)
})
}),
enableAutopilot = javaType.enableAutopilot(),
enableCiliumClusterwideNetworkPolicy = javaType.enableCiliumClusterwideNetworkPolicy(),
enableFqdnNetworkPolicy = javaType.enableFqdnNetworkPolicy(),
enableIntranodeVisibility = javaType.enableIntranodeVisibility(),
enableK8sBetaApis = javaType.enableK8sBetaApis().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterEnableK8sBetaApi.Companion.toKotlin(args0)
})
}),
enableKubernetesAlpha = javaType.enableKubernetesAlpha(),
enableL4IlbSubsetting = javaType.enableL4IlbSubsetting(),
enableLegacyAbac = javaType.enableLegacyAbac(),
enableMultiNetworking = javaType.enableMultiNetworking(),
enableShieldedNodes = javaType.enableShieldedNodes(),
enableTpu = javaType.enableTpu(),
endpoint = javaType.endpoint(),
fleets = javaType.fleets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterFleet.Companion.toKotlin(args0)
})
}),
gatewayApiConfigs = javaType.gatewayApiConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterGatewayApiConfig.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
identityServiceConfigs = javaType.identityServiceConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterIdentityServiceConfig.Companion.toKotlin(args0)
})
}),
initialNodeCount = javaType.initialNodeCount(),
ipAllocationPolicies = javaType.ipAllocationPolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterIpAllocationPolicy.Companion.toKotlin(args0)
})
}),
labelFingerprint = javaType.labelFingerprint(),
location = javaType.location().map({ args0 -> args0 }).orElse(null),
loggingConfigs = javaType.loggingConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterLoggingConfig.Companion.toKotlin(args0)
})
}),
loggingService = javaType.loggingService(),
maintenancePolicies = javaType.maintenancePolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterMaintenancePolicy.Companion.toKotlin(args0)
})
}),
masterAuthorizedNetworksConfigs = javaType.masterAuthorizedNetworksConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterMasterAuthorizedNetworksConfig.Companion.toKotlin(args0)
})
}),
masterAuths = javaType.masterAuths().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterMasterAuth.Companion.toKotlin(args0)
})
}),
masterVersion = javaType.masterVersion(),
meshCertificates = javaType.meshCertificates().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterMeshCertificate.Companion.toKotlin(args0)
})
}),
minMasterVersion = javaType.minMasterVersion(),
monitoringConfigs = javaType.monitoringConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterMonitoringConfig.Companion.toKotlin(args0)
})
}),
monitoringService = javaType.monitoringService(),
name = javaType.name(),
network = javaType.network(),
networkPolicies = javaType.networkPolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterNetworkPolicy.Companion.toKotlin(args0)
})
}),
networkingMode = javaType.networkingMode(),
nodeConfigs = javaType.nodeConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterNodeConfig.Companion.toKotlin(args0)
})
}),
nodeLocations = javaType.nodeLocations().map({ args0 -> args0 }),
nodePoolAutoConfigs = javaType.nodePoolAutoConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterNodePoolAutoConfig.Companion.toKotlin(args0)
})
}),
nodePoolDefaults = javaType.nodePoolDefaults().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterNodePoolDefault.Companion.toKotlin(args0)
})
}),
nodePools = javaType.nodePools().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterNodePool.Companion.toKotlin(args0)
})
}),
nodeVersion = javaType.nodeVersion(),
notificationConfigs = javaType.notificationConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterNotificationConfig.Companion.toKotlin(args0)
})
}),
operation = javaType.operation(),
podSecurityPolicyConfigs = javaType.podSecurityPolicyConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterPodSecurityPolicyConfig.Companion.toKotlin(args0)
})
}),
privateClusterConfigs = javaType.privateClusterConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterPrivateClusterConfig.Companion.toKotlin(args0)
})
}),
privateIpv6GoogleAccess = javaType.privateIpv6GoogleAccess(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
protectConfigs = javaType.protectConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterProtectConfig.Companion.toKotlin(args0)
})
}),
releaseChannels = javaType.releaseChannels().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterReleaseChannel.Companion.toKotlin(args0)
})
}),
removeDefaultNodePool = javaType.removeDefaultNodePool(),
resourceLabels = javaType.resourceLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
resourceUsageExportConfigs = javaType.resourceUsageExportConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterResourceUsageExportConfig.Companion.toKotlin(args0)
})
}),
securityPostureConfigs = javaType.securityPostureConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterSecurityPostureConfig.Companion.toKotlin(args0)
})
}),
selfLink = javaType.selfLink(),
serviceExternalIpsConfigs = javaType.serviceExternalIpsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterServiceExternalIpsConfig.Companion.toKotlin(args0)
})
}),
servicesIpv4Cidr = javaType.servicesIpv4Cidr(),
subnetwork = javaType.subnetwork(),
tpuConfigs = javaType.tpuConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterTpuConfig.Companion.toKotlin(args0)
})
}),
tpuIpv4CidrBlock = javaType.tpuIpv4CidrBlock(),
verticalPodAutoscalings = javaType.verticalPodAutoscalings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterVerticalPodAutoscaling.Companion.toKotlin(args0)
})
}),
workloadAltsConfigs = javaType.workloadAltsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterWorkloadAltsConfig.Companion.toKotlin(args0)
})
}),
workloadIdentityConfigs = javaType.workloadIdentityConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterWorkloadIdentityConfig.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy