getNodeGroupComputeV1 function
Future<GetNodeGroupComputeV1Result>
getNodeGroupComputeV1(
- GetNodeGroupComputeV1Args args, {
- 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<GetNodeGroupComputeV1Result> getNodeGroupComputeV1(
GetNodeGroupComputeV1Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:compute/v1:getNodeGroup',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetNodeGroupComputeV1Result.fromMap(result);
}