GetServiceTemplateVolume constructor

const GetServiceTemplateVolume({
  1. required Input<List<GetServiceTemplateVolumeCloudSqlInstance>> cloudSqlInstances,
  2. required Input<List<GetServiceTemplateVolumeEmptyDir>> emptyDirs,
  3. required Input<List<GetServiceTemplateVolumeGc>> gcs,
  4. required Input<String> name,
  5. required Input<List<GetServiceTemplateVolumeNf>> nfs,
  6. required Input<List<GetServiceTemplateVolumeSecret>> secrets,
})

Creates a new GetServiceTemplateVolume. cloudSqlInstances 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. emptyDirs 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 The name of the Cloud Run v2 Service. nfs Represents an NFS mount. secrets Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

Implementation

const GetServiceTemplateVolume({
  required this.cloudSqlInstances,
  required this.emptyDirs,
  required this.gcs,
  required this.name,
  required this.nfs,
  required this.secrets,
});