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