get static method
VolumeSnapshot
get(
- String name,
- Input<
String> id, { - VolumeSnapshotState? state,
- CustomResourceOptions? options,
Gets an existing VolumeSnapshot resource's state with the given name and id.
Implementation
static VolumeSnapshot get(
String name,
pulumi.Input<String> id, {
VolumeSnapshotState? state,
pulumi.CustomResourceOptions? options,
}) {
return VolumeSnapshot._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}