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