getAutoscalerComputeV1 function

Future<GetAutoscalerComputeV1Result> getAutoscalerComputeV1(
  1. GetAutoscalerComputeV1Args args, {
  2. InvokeOptions? options,
})

Returns the specified autoscaler resource. args Arguments passed to this invoke. Arguments for getAutoscaler. options Invoke options controlling this call.

Implementation

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