getPeering function

Future<GetPeeringResult> getPeering(
  1. GetPeeringArgs args, {
  2. InvokeOptions? options,
})

Gets details of a single Peering. args Arguments passed to this invoke. Arguments for getPeering. options Invoke options controlling this call.

Implementation

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