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