Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataFlow.getPool
Explore with Pulumi AI
This data source provides details about a specific Pool resource in Oracle Cloud Infrastructure Data Flow service.
Retrieves a pool using a poolId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPool = oci.DataFlow.getPool({
    poolId: testPoolOciDataflowPool.id,
});
import pulumi
import pulumi_oci as oci
test_pool = oci.DataFlow.get_pool(pool_id=test_pool_oci_dataflow_pool["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/dataflow"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataflow.GetPool(ctx, &dataflow.GetPoolArgs{
			PoolId: testPoolOciDataflowPool.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testPool = Oci.DataFlow.GetPool.Invoke(new()
    {
        PoolId = testPoolOciDataflowPool.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataFlow.DataFlowFunctions;
import com.pulumi.oci.DataFlow.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 testPool = DataFlowFunctions.getPool(GetPoolArgs.builder()
            .poolId(testPoolOciDataflowPool.id())
            .build());
    }
}
variables:
  testPool:
    fn::invoke:
      function: oci:DataFlow:getPool
      arguments:
        poolId: ${testPoolOciDataflowPool.id}
Using getPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPool(args: GetPoolArgs, opts?: InvokeOptions): Promise<GetPoolResult>
function getPoolOutput(args: GetPoolOutputArgs, opts?: InvokeOptions): Output<GetPoolResult>def get_pool(pool_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetPoolResult
def get_pool_output(pool_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetPoolResult]func LookupPool(ctx *Context, args *LookupPoolArgs, opts ...InvokeOption) (*LookupPoolResult, error)
func LookupPoolOutput(ctx *Context, args *LookupPoolOutputArgs, opts ...InvokeOption) LookupPoolResultOutput> Note: This function is named LookupPool in the Go SDK.
public static class GetPool 
{
    public static Task<GetPoolResult> InvokeAsync(GetPoolArgs args, InvokeOptions? opts = null)
    public static Output<GetPoolResult> Invoke(GetPoolInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
public static Output<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataFlow/getPool:getPool
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PoolId string
- The unique ID for a pool.
- PoolId string
- The unique ID for a pool.
- poolId String
- The unique ID for a pool.
- poolId string
- The unique ID for a pool.
- pool_id str
- The unique ID for a pool.
- poolId String
- The unique ID for a pool.
getPool Result
The following output properties are available:
- CompartmentId string
- The OCID of a compartment.
- Configurations
List<GetPool Configuration> 
- List of PoolConfig items.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Description string
- A user-friendly description. Avoid entering confidential information.
- DisplayName string
- A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- IdleTimeout intIn Minutes 
- Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
- LifecycleDetails string
- The detailed messages about the lifecycle state.
- OwnerPrincipal stringId 
- The OCID of the user who created the resource.
- OwnerUser stringName 
- The username of the user who created the resource. If the username of the owner does not exist, nullwill be returned and the caller should refer to the ownerPrincipalId value instead.
- PoolId string
- PoolMetrics List<GetPool Pool Metric> 
- A collection of metrics related to a particular pool.
- Schedules
List<GetPool Schedule> 
- A list of schedules for pool to auto start and stop.
- State string
- The current state of this pool.
- TimeCreated string
- The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- TimeUpdated string
- The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- CompartmentId string
- The OCID of a compartment.
- Configurations
[]GetPool Configuration 
- List of PoolConfig items.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Description string
- A user-friendly description. Avoid entering confidential information.
- DisplayName string
- A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- IdleTimeout intIn Minutes 
- Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
- LifecycleDetails string
- The detailed messages about the lifecycle state.
- OwnerPrincipal stringId 
- The OCID of the user who created the resource.
- OwnerUser stringName 
- The username of the user who created the resource. If the username of the owner does not exist, nullwill be returned and the caller should refer to the ownerPrincipalId value instead.
- PoolId string
- PoolMetrics []GetPool Pool Metric 
- A collection of metrics related to a particular pool.
- Schedules
[]GetPool Schedule 
- A list of schedules for pool to auto start and stop.
- State string
- The current state of this pool.
- TimeCreated string
- The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- TimeUpdated string
- The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- compartmentId String
- The OCID of a compartment.
- configurations
List<GetPool Configuration> 
- List of PoolConfig items.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description String
- A user-friendly description. Avoid entering confidential information.
- displayName String
- A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- idleTimeout IntegerIn Minutes 
- Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
- lifecycleDetails String
- The detailed messages about the lifecycle state.
- ownerPrincipal StringId 
- The OCID of the user who created the resource.
- ownerUser StringName 
- The username of the user who created the resource. If the username of the owner does not exist, nullwill be returned and the caller should refer to the ownerPrincipalId value instead.
- poolId String
- poolMetrics List<GetPool Pool Metric> 
- A collection of metrics related to a particular pool.
- schedules
List<GetPool Schedule> 
- A list of schedules for pool to auto start and stop.
- state String
- The current state of this pool.
- timeCreated String
- The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- timeUpdated String
- The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- compartmentId string
- The OCID of a compartment.
- configurations
GetPool Configuration[] 
- List of PoolConfig items.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description string
- A user-friendly description. Avoid entering confidential information.
- displayName string
- A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id string
- The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- idleTimeout numberIn Minutes 
- Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
- lifecycleDetails string
- The detailed messages about the lifecycle state.
- ownerPrincipal stringId 
- The OCID of the user who created the resource.
- ownerUser stringName 
- The username of the user who created the resource. If the username of the owner does not exist, nullwill be returned and the caller should refer to the ownerPrincipalId value instead.
- poolId string
- poolMetrics GetPool Pool Metric[] 
- A collection of metrics related to a particular pool.
- schedules
GetPool Schedule[] 
- A list of schedules for pool to auto start and stop.
- state string
- The current state of this pool.
- timeCreated string
- The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- timeUpdated string
- The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- compartment_id str
- The OCID of a compartment.
- configurations
Sequence[GetPool Configuration] 
- List of PoolConfig items.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description str
- A user-friendly description. Avoid entering confidential information.
- display_name str
- A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id str
- The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- idle_timeout_ intin_ minutes 
- Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
- lifecycle_details str
- The detailed messages about the lifecycle state.
- owner_principal_ strid 
- The OCID of the user who created the resource.
- owner_user_ strname 
- The username of the user who created the resource. If the username of the owner does not exist, nullwill be returned and the caller should refer to the ownerPrincipalId value instead.
- pool_id str
- pool_metrics Sequence[GetPool Pool Metric] 
- A collection of metrics related to a particular pool.
- schedules
Sequence[GetPool Schedule] 
- A list of schedules for pool to auto start and stop.
- state str
- The current state of this pool.
- time_created str
- The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- time_updated str
- The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- compartmentId String
- The OCID of a compartment.
- configurations List<Property Map>
- List of PoolConfig items.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description String
- A user-friendly description. Avoid entering confidential information.
- displayName String
- A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- idleTimeout NumberIn Minutes 
- Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
- lifecycleDetails String
- The detailed messages about the lifecycle state.
- ownerPrincipal StringId 
- The OCID of the user who created the resource.
- ownerUser StringName 
- The username of the user who created the resource. If the username of the owner does not exist, nullwill be returned and the caller should refer to the ownerPrincipalId value instead.
- poolId String
- poolMetrics List<Property Map>
- A collection of metrics related to a particular pool.
- schedules List<Property Map>
- A list of schedules for pool to auto start and stop.
- state String
- The current state of this pool.
- timeCreated String
- The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
- timeUpdated String
- The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
Supporting Types
GetPoolConfiguration  
- Max int
- Maximum number of compute instances in the pool for a given compute shape.
- Min int
- Minimum number of compute instances in the pool for a given compute shape.
- Shape string
- The compute shape of the resources you would like to provision.
- ShapeConfigs List<GetPool Configuration Shape Config> 
- This is used to configure the shape of the driver or executor if a flexible shape is used.
- Max int
- Maximum number of compute instances in the pool for a given compute shape.
- Min int
- Minimum number of compute instances in the pool for a given compute shape.
- Shape string
- The compute shape of the resources you would like to provision.
- ShapeConfigs []GetPool Configuration Shape Config 
- This is used to configure the shape of the driver or executor if a flexible shape is used.
- max Integer
- Maximum number of compute instances in the pool for a given compute shape.
- min Integer
- Minimum number of compute instances in the pool for a given compute shape.
- shape String
- The compute shape of the resources you would like to provision.
- shapeConfigs List<GetPool Configuration Shape Config> 
- This is used to configure the shape of the driver or executor if a flexible shape is used.
- max number
- Maximum number of compute instances in the pool for a given compute shape.
- min number
- Minimum number of compute instances in the pool for a given compute shape.
- shape string
- The compute shape of the resources you would like to provision.
- shapeConfigs GetPool Configuration Shape Config[] 
- This is used to configure the shape of the driver or executor if a flexible shape is used.
- max int
- Maximum number of compute instances in the pool for a given compute shape.
- min int
- Minimum number of compute instances in the pool for a given compute shape.
- shape str
- The compute shape of the resources you would like to provision.
- shape_configs Sequence[GetPool Configuration Shape Config] 
- This is used to configure the shape of the driver or executor if a flexible shape is used.
- max Number
- Maximum number of compute instances in the pool for a given compute shape.
- min Number
- Minimum number of compute instances in the pool for a given compute shape.
- shape String
- The compute shape of the resources you would like to provision.
- shapeConfigs List<Property Map>
- This is used to configure the shape of the driver or executor if a flexible shape is used.
GetPoolConfigurationShapeConfig    
- MemoryIn doubleGbs 
- The amount of memory used for the driver or executors.
- Ocpus double
- The total number of OCPUs used for the driver or executors. See here for details.
- MemoryIn float64Gbs 
- The amount of memory used for the driver or executors.
- Ocpus float64
- The total number of OCPUs used for the driver or executors. See here for details.
- memoryIn DoubleGbs 
- The amount of memory used for the driver or executors.
- ocpus Double
- The total number of OCPUs used for the driver or executors. See here for details.
- memoryIn numberGbs 
- The amount of memory used for the driver or executors.
- ocpus number
- The total number of OCPUs used for the driver or executors. See here for details.
- memory_in_ floatgbs 
- The amount of memory used for the driver or executors.
- ocpus float
- The total number of OCPUs used for the driver or executors. See here for details.
- memoryIn NumberGbs 
- The amount of memory used for the driver or executors.
- ocpus Number
- The total number of OCPUs used for the driver or executors. See here for details.
GetPoolPoolMetric   
- ActiveRuns stringCount 
- The number of runs that are currently running that are using this pool.
- ActivelyUsed List<GetNode Counts Pool Pool Metric Actively Used Node Count> 
- A count of the nodes that are currently being used for each shape in this pool.
- TimeLast stringMetrics Updated 
- The last time the mertics were updated for this.
- TimeLast stringStarted 
- The last time this pool was started.
- TimeLast stringStopped 
- The last time this pool was stopped.
- TimeLast stringUsed 
- The last time a run used this pool.
- ActiveRuns stringCount 
- The number of runs that are currently running that are using this pool.
- ActivelyUsed []GetNode Counts Pool Pool Metric Actively Used Node Count 
- A count of the nodes that are currently being used for each shape in this pool.
- TimeLast stringMetrics Updated 
- The last time the mertics were updated for this.
- TimeLast stringStarted 
- The last time this pool was started.
- TimeLast stringStopped 
- The last time this pool was stopped.
- TimeLast stringUsed 
- The last time a run used this pool.
- activeRuns StringCount 
- The number of runs that are currently running that are using this pool.
- activelyUsed List<GetNode Counts Pool Pool Metric Actively Used Node Count> 
- A count of the nodes that are currently being used for each shape in this pool.
- timeLast StringMetrics Updated 
- The last time the mertics were updated for this.
- timeLast StringStarted 
- The last time this pool was started.
- timeLast StringStopped 
- The last time this pool was stopped.
- timeLast StringUsed 
- The last time a run used this pool.
- activeRuns stringCount 
- The number of runs that are currently running that are using this pool.
- activelyUsed GetNode Counts Pool Pool Metric Actively Used Node Count[] 
- A count of the nodes that are currently being used for each shape in this pool.
- timeLast stringMetrics Updated 
- The last time the mertics were updated for this.
- timeLast stringStarted 
- The last time this pool was started.
- timeLast stringStopped 
- The last time this pool was stopped.
- timeLast stringUsed 
- The last time a run used this pool.
- active_runs_ strcount 
- The number of runs that are currently running that are using this pool.
- actively_used_ Sequence[Getnode_ counts Pool Pool Metric Actively Used Node Count] 
- A count of the nodes that are currently being used for each shape in this pool.
- time_last_ strmetrics_ updated 
- The last time the mertics were updated for this.
- time_last_ strstarted 
- The last time this pool was started.
- time_last_ strstopped 
- The last time this pool was stopped.
- time_last_ strused 
- The last time a run used this pool.
- activeRuns StringCount 
- The number of runs that are currently running that are using this pool.
- activelyUsed List<Property Map>Node Counts 
- A count of the nodes that are currently being used for each shape in this pool.
- timeLast StringMetrics Updated 
- The last time the mertics were updated for this.
- timeLast StringStarted 
- The last time this pool was started.
- timeLast StringStopped 
- The last time this pool was stopped.
- timeLast StringUsed 
- The last time a run used this pool.
GetPoolPoolMetricActivelyUsedNodeCount       
- LogicalShape string
- The compute shape of the nodes that the count is for.
- PoolCount int
- The node count of this compute shape.
- LogicalShape string
- The compute shape of the nodes that the count is for.
- PoolCount int
- The node count of this compute shape.
- logicalShape String
- The compute shape of the nodes that the count is for.
- poolCount Integer
- The node count of this compute shape.
- logicalShape string
- The compute shape of the nodes that the count is for.
- poolCount number
- The node count of this compute shape.
- logical_shape str
- The compute shape of the nodes that the count is for.
- pool_count int
- The node count of this compute shape.
- logicalShape String
- The compute shape of the nodes that the count is for.
- poolCount Number
- The node count of this compute shape.
GetPoolSchedule  
- day_of_ strweek 
- Day of the week SUN-SAT
- start_time int
- Hour of the day to start or stop pool.
- stop_time int
- Hour of the day to stop the pool.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.