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