getCluster function
Gets the details of a specific cluster.
args Arguments passed to this invoke. Arguments for getCluster.
options Invoke options controlling this call.
Implementation
Future<GetClusterResult> getCluster(
GetClusterArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:container/v1:getCluster',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetClusterResult.fromMap(result);
}