getRestorePlan function

Future<GetRestorePlanResult> getRestorePlan(
  1. GetRestorePlanArgs args, {
  2. InvokeOptions? options,
})

Retrieve the details of a single RestorePlan. args Arguments passed to this invoke. Arguments for getRestorePlan. options Invoke options controlling this call.

Implementation

Future<GetRestorePlanResult> getRestorePlan(
  GetRestorePlanArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:gkebackup/v1:getRestorePlan',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetRestorePlanResult.fromMap(result);
}