getFutureReservation function
Future<GetFutureReservationResult>
getFutureReservation(
- GetFutureReservationArgs args, {
- InvokeOptions? options,
Retrieves information about the specified future reservation.
args Arguments passed to this invoke. Arguments for getFutureReservation.
options Invoke options controlling this call.
Implementation
Future<GetFutureReservationResult> getFutureReservation(
GetFutureReservationArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:compute/alpha:getFutureReservation',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetFutureReservationResult.fromMap(result);
}