getMachineImageComputeV1 function

Future<GetMachineImageComputeV1Result> getMachineImageComputeV1(
  1. GetMachineImageComputeV1Args args, {
  2. InvokeOptions? options,
})

Returns the specified machine image. args Arguments passed to this invoke. Arguments for getMachineImage. options Invoke options controlling this call.

Implementation

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