dataSource

@JvmName(name = "dccadnlfcawaocst")
suspend fun dataSource(value: Output<VolumeClaimDataSourceArgs>)
@JvmName(name = "peemoiyhubwijtgo")
suspend fun dataSource(value: VolumeClaimDataSourceArgs?)

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 = "bwmcomhjwrusygql")
suspend fun dataSource(argument: suspend VolumeClaimDataSourceArgsBuilder.() -> 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.