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