Class GetNodePool
Inheritance
System.Object
GetNodePool
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public static class GetNodePool
Methods
View SourceInvokeAsync(GetNodePoolArgs, InvokeOptions)
Use this data source to retrieve information about a Rancher v2 Node Pool resource.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
class MyStack : Stack
{
public MyStack()
{
var foo = Output.Create(Rancher2.GetNodePool.InvokeAsync(new Rancher2.GetNodePoolArgs
{
ClusterId = rancher2_cluster.Foo_custom.Id,
Name = "foo",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetNodePoolResult> InvokeAsync(GetNodePoolArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetNodePoolArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetNodePoolResult> |