get static method
SnapshotCopy
get(
- String name,
- Input<
String> id, { - SnapshotCopyState? state,
- CustomResourceOptions? options,
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,
pulumi.CustomResourceOptions? options,
}) {
return SnapshotCopy._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}