getBackendService function

Future<GetBackendServiceResult> getBackendService(
  1. GetBackendServiceArgs args, {
  2. InvokeOptions? options,
})

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

Implementation

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