getSharedflow function

Future<GetSharedflowResult> getSharedflow(
  1. GetSharedflowArgs args, {
  2. InvokeOptions? options,
})

Gets a shared flow by name, including a list of its revisions. args Arguments passed to this invoke. Arguments for getSharedflow. options Invoke options controlling this call.

Implementation

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