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