
com.pulumi.gcp.cloudrun.kotlin.inputs.ServiceTemplateSpecArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudrun.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudrun.inputs.ServiceTemplateSpecArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Deprecated
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
*
* @property containerConcurrency ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
* requests per container of the Revision. If not specified or 0, defaults to 80 when
* requested CPU >= 1 and defaults to 1 when requested CPU < 1.
* @property containers Containers defines the unit of execution for this Revision.
* Structure is documented below.
* @property nodeSelector Node Selector describes the hardware requirements of the resources.
* Use the following node selector keys to configure features on a Revision:
* - `run.googleapis.com/accelerator` sets the [type of GPU](https://cloud.google.com/run/docs/configuring/services/gpu) required by the Revision to run.
* @property serviceAccountName Email address of the IAM service account associated with the revision of the
* service. The service account represents the identity of the running revision,
* and determines what permissions the revision has. If not provided, the revision
* will use the project's default service account.
* @property servingState (Output, Deprecated)
* ServingState holds a value describing the state the resources
* are in for this Revision.
* It is expected
* that the system will manipulate this based on routability and load.
* > **Warning:** `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
* @property timeoutSeconds TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
* @property volumes Volume represents a named volume in a container.
* Structure is documented below.
*/
public data class ServiceTemplateSpecArgs(
public val containerConcurrency: Output? = null,
public val containers: Output>? = null,
public val nodeSelector: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy