Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DataFlow.getPool
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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/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 GetPool(ctx *Context, args *GetPoolArgs, opts ...InvokeOption) (*GetPoolResult, error)
func GetPoolOutput(ctx *Context, args *GetPoolOutputArgs, opts ...InvokeOption) GetPoolResultOutput
> Note: This function is named GetPool
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataFlow/getPool:getPool
arguments:
# arguments dictionary
The following arguments are supported:
- Pool
Id string - The unique ID for a pool.
- Pool
Id string - The unique ID for a pool.
- pool
Id String - The unique ID for a pool.
- pool
Id string - The unique ID for a pool.
- pool_
id str - The unique ID for a pool.
- pool
Id String - The unique ID for a pool.
getPool Result
The following output properties are available:
- Compartment
Id string - The OCID of a compartment.
- Configurations
List<Get
Pool Configuration> - List of PoolConfig items.
- Dictionary<string, object>
- 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.
- Display
Name string - A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- Dictionary<string, object>
- 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.
- 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 string - The detailed messages about the lifecycle state.
- Owner
Principal stringId - The OCID of the user who created the resource.
- Owner
User stringName - The username of the user who created the resource. If the username of the owner does not exist,
null
will be returned and the caller should refer to the ownerPrincipalId value instead. - Pool
Id string - Pool
Metrics List<GetPool Pool Metric> - A collection of metrics related to a particular pool.
- Schedules
List<Get
Pool Schedule> - A list of schedules for pool to auto start and stop.
- State string
- The current state of this pool.
- Time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Time
Updated string - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Compartment
Id string - The OCID of a compartment.
- Configurations
[]Get
Pool Configuration - List of PoolConfig items.
- map[string]interface{}
- 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.
- Display
Name string - A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- map[string]interface{}
- 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.
- 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 string - The detailed messages about the lifecycle state.
- Owner
Principal stringId - The OCID of the user who created the resource.
- Owner
User stringName - The username of the user who created the resource. If the username of the owner does not exist,
null
will be returned and the caller should refer to the ownerPrincipalId value instead. - Pool
Id string - Pool
Metrics []GetPool Pool Metric - A collection of metrics related to a particular pool.
- Schedules
[]Get
Pool Schedule - A list of schedules for pool to auto start and stop.
- State string
- The current state of this pool.
- Time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Time
Updated string - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- compartment
Id String - The OCID of a compartment.
- configurations
List<Get
Pool Configuration> - List of PoolConfig items.
- Map<String,Object>
- 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.
- display
Name String - A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- Map<String,Object>
- 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.
- idle
Timeout 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.
- lifecycle
Details String - The detailed messages about the lifecycle state.
- owner
Principal StringId - The OCID of the user who created the resource.
- owner
User StringName - The username of the user who created the resource. If the username of the owner does not exist,
null
will be returned and the caller should refer to the ownerPrincipalId value instead. - pool
Id String - pool
Metrics List<GetPool Pool Metric> - A collection of metrics related to a particular pool.
- schedules
List<Get
Pool Schedule> - A list of schedules for pool to auto start and stop.
- state String
- The current state of this pool.
- time
Created String - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Updated String - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- compartment
Id string - The OCID of a compartment.
- configurations
Get
Pool Configuration[] - List of PoolConfig items.
- {[key: string]: any}
- 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.
- display
Name string - A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- {[key: string]: any}
- 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.
- idle
Timeout 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.
- lifecycle
Details string - The detailed messages about the lifecycle state.
- owner
Principal stringId - The OCID of the user who created the resource.
- owner
User stringName - The username of the user who created the resource. If the username of the owner does not exist,
null
will be returned and the caller should refer to the ownerPrincipalId value instead. - pool
Id string - pool
Metrics GetPool Pool Metric[] - A collection of metrics related to a particular pool.
- schedules
Get
Pool Schedule[] - A list of schedules for pool to auto start and stop.
- state string
- The current state of this pool.
- time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Updated 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[dataflow.
Get Pool Configuration] - List of PoolConfig items.
- Mapping[str, Any]
- 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, Any]
- 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,
null
will be returned and the caller should refer to the ownerPrincipalId value instead. - pool_
id str - pool_
metrics Sequence[dataflow.Get Pool Pool Metric] - A collection of metrics related to a particular pool.
- schedules
Sequence[dataflow.
Get Pool 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
- compartment
Id String - The OCID of a compartment.
- configurations List<Property Map>
- List of PoolConfig items.
- Map<Any>
- 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.
- display
Name String - A user-friendly name. It does not have to be unique. Avoid entering confidential information.
- Map<Any>
- 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.
- idle
Timeout 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.
- lifecycle
Details String - The detailed messages about the lifecycle state.
- owner
Principal StringId - The OCID of the user who created the resource.
- owner
User StringName - The username of the user who created the resource. If the username of the owner does not exist,
null
will be returned and the caller should refer to the ownerPrincipalId value instead. - pool
Id String - pool
Metrics 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.
- time
Created String - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Updated 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.
- Shape
Configs 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.
- Shape
Configs []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.
- shape
Configs 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.
- shape
Configs 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[dataflow.Get Pool 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.
- shape
Configs List<Property Map> - This is used to configure the shape of the driver or executor if a flexible shape is used.
GetPoolConfigurationShapeConfig
- Memory
In 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.
- Memory
In 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.
- memory
In 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.
- memory
In 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.
- memory
In 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
- Active
Runs stringCount - The number of runs that are currently running that are using this pool.
- Actively
Used 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.
- Time
Last stringMetrics Updated - The last time the mertics were updated for this.
- Time
Last stringStarted - The last time this pool was started.
- Time
Last stringStopped - The last time this pool was stopped.
- Time
Last stringUsed - The last time a run used this pool.
- Active
Runs stringCount - The number of runs that are currently running that are using this pool.
- Actively
Used []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 stringMetrics Updated - The last time the mertics were updated for this.
- Time
Last stringStarted - The last time this pool was started.
- Time
Last stringStopped - The last time this pool was stopped.
- Time
Last stringUsed - The last time a run used this pool.
- active
Runs StringCount - The number of runs that are currently running that are using this pool.
- actively
Used 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.
- time
Last StringMetrics Updated - The last time the mertics were updated for this.
- time
Last StringStarted - The last time this pool was started.
- time
Last StringStopped - The last time this pool was stopped.
- time
Last StringUsed - The last time a run used this pool.
- active
Runs stringCount - The number of runs that are currently running that are using this pool.
- actively
Used 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 stringMetrics Updated - The last time the mertics were updated for this.
- time
Last stringStarted - The last time this pool was started.
- time
Last stringStopped - The last time this pool was stopped.
- time
Last 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[dataflow.node_ counts Get 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.
- active
Runs StringCount - The number of runs that are currently running that are using this pool.
- actively
Used List<Property Map>Node Counts - A count of the nodes that are currently being used for each shape in this pool.
- time
Last StringMetrics Updated - The last time the mertics were updated for this.
- time
Last StringStarted - The last time this pool was started.
- time
Last StringStopped - The last time this pool was stopped.
- time
Last StringUsed - The last time a run used this pool.
GetPoolPoolMetricActivelyUsedNodeCount
- Logical
Shape string - The compute shape of the nodes that the count is for.
- Pool
Count int - The node count of this compute shape.
- Logical
Shape string - The compute shape of the nodes that the count is for.
- Pool
Count int - The node count of this compute shape.
- logical
Shape String - The compute shape of the nodes that the count is for.
- pool
Count Integer - The node count of this compute shape.
- logical
Shape string - The compute shape of the nodes that the count is for.
- pool
Count 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.
- logical
Shape String - The compute shape of the nodes that the count is for.
- pool
Count 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi