WorkerPoolTemplateVolume constructor
const
WorkerPoolTemplateVolume({
- Input<
WorkerPoolTemplateVolumeCloudSqlInstance?> ? cloudSqlInstance, - Input<
WorkerPoolTemplateVolumeEmptyDir?> ? emptyDir, - Input<
WorkerPoolTemplateVolumeGcs?> ? gcs, - required Input<
String> name, - Input<
WorkerPoolTemplateVolumeNfs?> ? nfs, - Input<
WorkerPoolTemplateVolumeSecret?> ? secret,
Creates a new WorkerPoolTemplateVolume.
cloudSqlInstance For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
emptyDir Ephemeral storage used as a shared volume.
gcs Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment.
name Volume's name.
nfs Represents an NFS mount.
secret Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
Implementation
const WorkerPoolTemplateVolume({
this.cloudSqlInstance,
this.emptyDir,
this.gcs,
required this.name,
this.nfs,
this.secret,
});