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