
src.container.v1.Cluster.scala Maven / Gradle / Ivy
package besom.api.googlenative.container.v1
final case class Cluster private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
addonsConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.AddonsConfigResponse],
authenticatorGroupsConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.AuthenticatorGroupsConfigResponse],
autopilot: besom.types.Output[besom.api.googlenative.container.v1.outputs.AutopilotResponse],
autoscaling: besom.types.Output[besom.api.googlenative.container.v1.outputs.ClusterAutoscalingResponse],
binaryAuthorization: besom.types.Output[besom.api.googlenative.container.v1.outputs.BinaryAuthorizationResponse],
clusterIpv4Cidr: besom.types.Output[String],
conditions: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.container.v1.outputs.StatusConditionResponse]],
confidentialNodes: besom.types.Output[besom.api.googlenative.container.v1.outputs.ConfidentialNodesResponse],
costManagementConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.CostManagementConfigResponse],
createTime: besom.types.Output[String],
currentMasterVersion: besom.types.Output[String],
currentNodeCount: besom.types.Output[Int],
currentNodeVersion: besom.types.Output[String],
databaseEncryption: besom.types.Output[besom.api.googlenative.container.v1.outputs.DatabaseEncryptionResponse],
defaultMaxPodsConstraint: besom.types.Output[besom.api.googlenative.container.v1.outputs.MaxPodsConstraintResponse],
description: besom.types.Output[String],
enableK8sBetaApis: besom.types.Output[besom.api.googlenative.container.v1.outputs.K8sBetaApiConfigResponse],
enableKubernetesAlpha: besom.types.Output[Boolean],
enableTpu: besom.types.Output[Boolean],
endpoint: besom.types.Output[String],
enterpriseConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.EnterpriseConfigResponse],
etag: besom.types.Output[String],
expireTime: besom.types.Output[String],
fleet: besom.types.Output[besom.api.googlenative.container.v1.outputs.FleetResponse],
identityServiceConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.IdentityServiceConfigResponse],
initialClusterVersion: besom.types.Output[String],
initialNodeCount: besom.types.Output[Int],
instanceGroupUrls: besom.types.Output[scala.collection.immutable.List[String]],
ipAllocationPolicy: besom.types.Output[besom.api.googlenative.container.v1.outputs.IpAllocationPolicyResponse],
labelFingerprint: besom.types.Output[String],
legacyAbac: besom.types.Output[besom.api.googlenative.container.v1.outputs.LegacyAbacResponse],
location: besom.types.Output[String],
locations: besom.types.Output[scala.collection.immutable.List[String]],
loggingConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.LoggingConfigResponse],
loggingService: besom.types.Output[String],
maintenancePolicy: besom.types.Output[besom.api.googlenative.container.v1.outputs.MaintenancePolicyResponse],
masterAuth: besom.types.Output[besom.api.googlenative.container.v1.outputs.MasterAuthResponse],
masterAuthorizedNetworksConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.MasterAuthorizedNetworksConfigResponse],
meshCertificates: besom.types.Output[besom.api.googlenative.container.v1.outputs.MeshCertificatesResponse],
monitoringConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.MonitoringConfigResponse],
monitoringService: besom.types.Output[String],
name: besom.types.Output[String],
network: besom.types.Output[String],
networkConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.NetworkConfigResponse],
networkPolicy: besom.types.Output[besom.api.googlenative.container.v1.outputs.NetworkPolicyResponse],
nodeConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.NodeConfigResponse],
nodeIpv4CidrSize: besom.types.Output[Int],
nodePoolAutoConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.NodePoolAutoConfigResponse],
nodePoolDefaults: besom.types.Output[besom.api.googlenative.container.v1.outputs.NodePoolDefaultsResponse],
nodePools: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.container.v1.outputs.NodePoolResponse]],
notificationConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.NotificationConfigResponse],
parentProductConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.ParentProductConfigResponse],
privateClusterConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.PrivateClusterConfigResponse],
project: besom.types.Output[String],
releaseChannel: besom.types.Output[besom.api.googlenative.container.v1.outputs.ReleaseChannelResponse],
resourceLabels: besom.types.Output[scala.Predef.Map[String, String]],
resourceUsageExportConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.ResourceUsageExportConfigResponse],
securityPostureConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.SecurityPostureConfigResponse],
selfLink: besom.types.Output[String],
servicesIpv4Cidr: besom.types.Output[String],
shieldedNodes: besom.types.Output[besom.api.googlenative.container.v1.outputs.ShieldedNodesResponse],
status: besom.types.Output[String],
statusMessage: besom.types.Output[String],
subnetwork: besom.types.Output[String],
tpuIpv4CidrBlock: besom.types.Output[String],
verticalPodAutoscaling: besom.types.Output[besom.api.googlenative.container.v1.outputs.VerticalPodAutoscalingResponse],
workloadIdentityConfig: besom.types.Output[besom.api.googlenative.container.v1.outputs.WorkloadIdentityConfigResponse],
zone: besom.types.Output[String]
) extends besom.CustomResource:
def getKubeconfig(using ctx: besom.types.Context)(
args: besom.api.googlenative.container.v1.ClusterGetKubeconfigArgs = besom.api.googlenative.container.v1.ClusterGetKubeconfigArgs(),
opts: besom.InvokeOptions = besom.InvokeOptions()
): besom.types.Output[besom.api.googlenative.container.v1.ClusterGetKubeconfigResult] =
ctx.call[besom.api.googlenative.container.v1.ClusterGetKubeconfigArgs, besom.api.googlenative.container.v1.ClusterGetKubeconfigResult, besom.api.googlenative.container.v1.Cluster]("google-native:container/v1:Cluster/getKubeconfig", args, this, opts)
object Cluster extends besom.ResourceCompanion[Cluster]:
/** Resource constructor for Cluster.
*
* @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
* NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
* issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
* string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
*
* @param args [[ClusterArgs]] The configuration to use to create this resource. This resource has a default configuration.
*
* @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource.
* Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
*
* {{{
* val res = Cluster(
* "my-resource",
* ClusterArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: ClusterArgs = ClusterArgs(),
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Cluster] =
ctx.readOrRegisterResource[Cluster, ClusterArgs]("google-native:container/v1:Cluster", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:container/v1:Cluster"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Cluster] =
besom.internal.ResourceDecoder.derived[Cluster]
given decoder(using besom.types.Context): besom.types.Decoder[Cluster] =
besom.internal.Decoder.customResourceDecoder[Cluster]
given outputOps: {} with
extension(output: besom.types.Output[Cluster])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def addonsConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.AddonsConfigResponse] = output.flatMap(_.addonsConfig)
def authenticatorGroupsConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.AuthenticatorGroupsConfigResponse] = output.flatMap(_.authenticatorGroupsConfig)
def autopilot : besom.types.Output[besom.api.googlenative.container.v1.outputs.AutopilotResponse] = output.flatMap(_.autopilot)
def autoscaling : besom.types.Output[besom.api.googlenative.container.v1.outputs.ClusterAutoscalingResponse] = output.flatMap(_.autoscaling)
def binaryAuthorization : besom.types.Output[besom.api.googlenative.container.v1.outputs.BinaryAuthorizationResponse] = output.flatMap(_.binaryAuthorization)
def clusterIpv4Cidr : besom.types.Output[String] = output.flatMap(_.clusterIpv4Cidr)
def conditions : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.container.v1.outputs.StatusConditionResponse]] = output.flatMap(_.conditions)
def confidentialNodes : besom.types.Output[besom.api.googlenative.container.v1.outputs.ConfidentialNodesResponse] = output.flatMap(_.confidentialNodes)
def costManagementConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.CostManagementConfigResponse] = output.flatMap(_.costManagementConfig)
def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
def currentMasterVersion : besom.types.Output[String] = output.flatMap(_.currentMasterVersion)
def currentNodeCount : besom.types.Output[Int] = output.flatMap(_.currentNodeCount)
def currentNodeVersion : besom.types.Output[String] = output.flatMap(_.currentNodeVersion)
def databaseEncryption : besom.types.Output[besom.api.googlenative.container.v1.outputs.DatabaseEncryptionResponse] = output.flatMap(_.databaseEncryption)
def defaultMaxPodsConstraint : besom.types.Output[besom.api.googlenative.container.v1.outputs.MaxPodsConstraintResponse] = output.flatMap(_.defaultMaxPodsConstraint)
def description : besom.types.Output[String] = output.flatMap(_.description)
def enableK8sBetaApis : besom.types.Output[besom.api.googlenative.container.v1.outputs.K8sBetaApiConfigResponse] = output.flatMap(_.enableK8sBetaApis)
def enableKubernetesAlpha : besom.types.Output[Boolean] = output.flatMap(_.enableKubernetesAlpha)
def enableTpu : besom.types.Output[Boolean] = output.flatMap(_.enableTpu)
def endpoint : besom.types.Output[String] = output.flatMap(_.endpoint)
def enterpriseConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.EnterpriseConfigResponse] = output.flatMap(_.enterpriseConfig)
def etag : besom.types.Output[String] = output.flatMap(_.etag)
def expireTime : besom.types.Output[String] = output.flatMap(_.expireTime)
def fleet : besom.types.Output[besom.api.googlenative.container.v1.outputs.FleetResponse] = output.flatMap(_.fleet)
def identityServiceConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.IdentityServiceConfigResponse] = output.flatMap(_.identityServiceConfig)
def initialClusterVersion : besom.types.Output[String] = output.flatMap(_.initialClusterVersion)
def initialNodeCount : besom.types.Output[Int] = output.flatMap(_.initialNodeCount)
def instanceGroupUrls : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.instanceGroupUrls)
def ipAllocationPolicy : besom.types.Output[besom.api.googlenative.container.v1.outputs.IpAllocationPolicyResponse] = output.flatMap(_.ipAllocationPolicy)
def labelFingerprint : besom.types.Output[String] = output.flatMap(_.labelFingerprint)
def legacyAbac : besom.types.Output[besom.api.googlenative.container.v1.outputs.LegacyAbacResponse] = output.flatMap(_.legacyAbac)
def location : besom.types.Output[String] = output.flatMap(_.location)
def locations : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.locations)
def loggingConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.LoggingConfigResponse] = output.flatMap(_.loggingConfig)
def loggingService : besom.types.Output[String] = output.flatMap(_.loggingService)
def maintenancePolicy : besom.types.Output[besom.api.googlenative.container.v1.outputs.MaintenancePolicyResponse] = output.flatMap(_.maintenancePolicy)
def masterAuth : besom.types.Output[besom.api.googlenative.container.v1.outputs.MasterAuthResponse] = output.flatMap(_.masterAuth)
def masterAuthorizedNetworksConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.MasterAuthorizedNetworksConfigResponse] = output.flatMap(_.masterAuthorizedNetworksConfig)
def meshCertificates : besom.types.Output[besom.api.googlenative.container.v1.outputs.MeshCertificatesResponse] = output.flatMap(_.meshCertificates)
def monitoringConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.MonitoringConfigResponse] = output.flatMap(_.monitoringConfig)
def monitoringService : besom.types.Output[String] = output.flatMap(_.monitoringService)
def name : besom.types.Output[String] = output.flatMap(_.name)
def network : besom.types.Output[String] = output.flatMap(_.network)
def networkConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.NetworkConfigResponse] = output.flatMap(_.networkConfig)
def networkPolicy : besom.types.Output[besom.api.googlenative.container.v1.outputs.NetworkPolicyResponse] = output.flatMap(_.networkPolicy)
def nodeConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.NodeConfigResponse] = output.flatMap(_.nodeConfig)
def nodeIpv4CidrSize : besom.types.Output[Int] = output.flatMap(_.nodeIpv4CidrSize)
def nodePoolAutoConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.NodePoolAutoConfigResponse] = output.flatMap(_.nodePoolAutoConfig)
def nodePoolDefaults : besom.types.Output[besom.api.googlenative.container.v1.outputs.NodePoolDefaultsResponse] = output.flatMap(_.nodePoolDefaults)
def nodePools : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.container.v1.outputs.NodePoolResponse]] = output.flatMap(_.nodePools)
def notificationConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.NotificationConfigResponse] = output.flatMap(_.notificationConfig)
def parentProductConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.ParentProductConfigResponse] = output.flatMap(_.parentProductConfig)
def privateClusterConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.PrivateClusterConfigResponse] = output.flatMap(_.privateClusterConfig)
def project : besom.types.Output[String] = output.flatMap(_.project)
def releaseChannel : besom.types.Output[besom.api.googlenative.container.v1.outputs.ReleaseChannelResponse] = output.flatMap(_.releaseChannel)
def resourceLabels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.resourceLabels)
def resourceUsageExportConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.ResourceUsageExportConfigResponse] = output.flatMap(_.resourceUsageExportConfig)
def securityPostureConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.SecurityPostureConfigResponse] = output.flatMap(_.securityPostureConfig)
def selfLink : besom.types.Output[String] = output.flatMap(_.selfLink)
def servicesIpv4Cidr : besom.types.Output[String] = output.flatMap(_.servicesIpv4Cidr)
def shieldedNodes : besom.types.Output[besom.api.googlenative.container.v1.outputs.ShieldedNodesResponse] = output.flatMap(_.shieldedNodes)
def status : besom.types.Output[String] = output.flatMap(_.status)
def statusMessage : besom.types.Output[String] = output.flatMap(_.statusMessage)
def subnetwork : besom.types.Output[String] = output.flatMap(_.subnetwork)
def tpuIpv4CidrBlock : besom.types.Output[String] = output.flatMap(_.tpuIpv4CidrBlock)
def verticalPodAutoscaling : besom.types.Output[besom.api.googlenative.container.v1.outputs.VerticalPodAutoscalingResponse] = output.flatMap(_.verticalPodAutoscaling)
def workloadIdentityConfig : besom.types.Output[besom.api.googlenative.container.v1.outputs.WorkloadIdentityConfigResponse] = output.flatMap(_.workloadIdentityConfig)
def zone : besom.types.Output[String] = output.flatMap(_.zone)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy