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