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