Class GetPool
Inheritance
System.Object
GetPool
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.Azure.Batch
Assembly: Pulumi.Azure.dll
Syntax
public static class GetPool
Methods
View SourceInvokeAsync(GetPoolArgs, InvokeOptions)
Use this data source to access information about an existing Batch pool
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.Batch.GetPool.InvokeAsync(new Azure.Batch.GetPoolArgs
{
AccountName = "testbatchaccount",
Name = "testbatchpool",
ResourceGroupName = "test",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetPoolResult> InvokeAsync(GetPoolArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPoolArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetPoolResult> |