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