getNodeGroup function

Future<GetNodeGroupResult> getNodeGroup(
  1. GetNodeGroupArgs args, {
  2. InvokeOptions? options,
})

Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. args Arguments passed to this invoke. Arguments for getNodeGroup. options Invoke options controlling this call.

Implementation

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