getClusterRedisV1beta1 function

Future<GetClusterRedisV1beta1Result> getClusterRedisV1beta1(
  1. GetClusterRedisV1beta1Args args, {
  2. InvokeOptions? options,
})

Gets the details of a specific Redis cluster. args Arguments passed to this invoke. Arguments for getCluster. options Invoke options controlling this call.

Implementation

Future<GetClusterRedisV1beta1Result> getClusterRedisV1beta1(
  GetClusterRedisV1beta1Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:redis/v1beta1:getCluster',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetClusterRedisV1beta1Result.fromMap(result);
}