getPool

suspend fun getPool(argument: GetPoolPlainArgs): GetPoolResult

Use this data source to access information about an existing Batch pool

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.batch.BatchFunctions;
import com.pulumi.azure.batch.inputs.GetPoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = BatchFunctions.getPool(GetPoolArgs.builder()
.accountName("testbatchaccount")
.name("testbatchpool")
.resourceGroupName("test")
.build());
}
}

Return

A collection of values returned by getPool.

Parameters

argument

A collection of arguments for invoking getPool.


suspend fun getPool(accountName: String, name: String, resourceGroupName: String): GetPoolResult

Return

A collection of values returned by getPool.

See also

Parameters

accountName

The Azure Storage Account name.

name

The name of the user account.

resourceGroupName

suspend fun getPool(argument: suspend GetPoolPlainArgsBuilder.() -> Unit): GetPoolResult

Return

A collection of values returned by getPool.

See also

Parameters

argument

Builder for com.pulumi.azure.batch.kotlin.inputs.GetPoolPlainArgs.