getAutoscalerComputeBeta function

Future<GetAutoscalerComputeBetaResult> getAutoscalerComputeBeta(
  1. GetAutoscalerComputeBetaArgs 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<GetAutoscalerComputeBetaResult> getAutoscalerComputeBeta(
  GetAutoscalerComputeBetaArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:compute/beta:getAutoscaler',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetAutoscalerComputeBetaResult.fromMap(result);
}