dataSource

@JvmName(name = "xpugsjtutjfkhboa")
suspend fun dataSource(value: Output<LocalKubernetesReferenceArgs>)
@JvmName(name = "bhlpsmtlhodaxyqa")
suspend fun dataSource(value: LocalKubernetesReferenceArgs?)

Parameters

value

This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.


@JvmName(name = "glvcjdoajoxhvavy")
suspend fun dataSource(argument: suspend LocalKubernetesReferenceArgsBuilder.() -> Unit)

Parameters

argument

This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.