Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getFastLaunchJobConfigs

This data source provides the list of Fast Launch Job Configs in Oracle Cloud Infrastructure Data Science service.

List fast launch capable job configs in the specified compartment.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFastLaunchJobConfigs = Oci.DataScience.GetFastLaunchJobConfigs.Invoke(new()
    {
        CompartmentId = @var.Compartment_id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DataScience.GetFastLaunchJobConfigs(ctx, &datascience.GetFastLaunchJobConfigsArgs{
			CompartmentId: _var.Compartment_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataScience.DataScienceFunctions;
import com.pulumi.oci.DataScience.inputs.GetFastLaunchJobConfigsArgs;
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 testFastLaunchJobConfigs = DataScienceFunctions.getFastLaunchJobConfigs(GetFastLaunchJobConfigsArgs.builder()
            .compartmentId(var_.compartment_id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fast_launch_job_configs = oci.DataScience.get_fast_launch_job_configs(compartment_id=var["compartment_id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFastLaunchJobConfigs = oci.DataScience.getFastLaunchJobConfigs({
    compartmentId: _var.compartment_id,
});
variables:
  testFastLaunchJobConfigs:
    Fn::Invoke:
      Function: oci:DataScience:getFastLaunchJobConfigs
      Arguments:
        compartmentId: ${var.compartment_id}

Using getFastLaunchJobConfigs

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 getFastLaunchJobConfigs(args: GetFastLaunchJobConfigsArgs, opts?: InvokeOptions): Promise<GetFastLaunchJobConfigsResult>
function getFastLaunchJobConfigsOutput(args: GetFastLaunchJobConfigsOutputArgs, opts?: InvokeOptions): Output<GetFastLaunchJobConfigsResult>
def get_fast_launch_job_configs(compartment_id: Optional[str] = None,
                                filters: Optional[Sequence[_datascience.GetFastLaunchJobConfigsFilter]] = None,
                                opts: Optional[InvokeOptions] = None) -> GetFastLaunchJobConfigsResult
def get_fast_launch_job_configs_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datascience.GetFastLaunchJobConfigsFilterArgs]]]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetFastLaunchJobConfigsResult]
func GetFastLaunchJobConfigs(ctx *Context, args *GetFastLaunchJobConfigsArgs, opts ...InvokeOption) (*GetFastLaunchJobConfigsResult, error)
func GetFastLaunchJobConfigsOutput(ctx *Context, args *GetFastLaunchJobConfigsOutputArgs, opts ...InvokeOption) GetFastLaunchJobConfigsResultOutput

> Note: This function is named GetFastLaunchJobConfigs in the Go SDK.

public static class GetFastLaunchJobConfigs 
{
    public static Task<GetFastLaunchJobConfigsResult> InvokeAsync(GetFastLaunchJobConfigsArgs args, InvokeOptions? opts = null)
    public static Output<GetFastLaunchJobConfigsResult> Invoke(GetFastLaunchJobConfigsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFastLaunchJobConfigsResult> getFastLaunchJobConfigs(GetFastLaunchJobConfigsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:DataScience/getFastLaunchJobConfigs:getFastLaunchJobConfigs
  arguments:
    # arguments dictionary

The following arguments are supported:

CompartmentId string

Filter results by the OCID of the compartment.

Filters List<GetFastLaunchJobConfigsFilter>
CompartmentId string

Filter results by the OCID of the compartment.

Filters []GetFastLaunchJobConfigsFilter
compartmentId String

Filter results by the OCID of the compartment.

filters List<GetFastLaunchJobConfigsFilter>
compartmentId string

Filter results by the OCID of the compartment.

filters GetFastLaunchJobConfigsFilter[]
compartment_id str

Filter results by the OCID of the compartment.

filters GetFastLaunchJobConfigsFilter]
compartmentId String

Filter results by the OCID of the compartment.

filters List<Property Map>

getFastLaunchJobConfigs Result

The following output properties are available:

CompartmentId string
FastLaunchJobConfigs List<GetFastLaunchJobConfigsFastLaunchJobConfig>

The list of fast_launch_job_configs.

Id string

The provider-assigned unique ID for this managed resource.

Filters List<GetFastLaunchJobConfigsFilter>
CompartmentId string
FastLaunchJobConfigs []GetFastLaunchJobConfigsFastLaunchJobConfig

The list of fast_launch_job_configs.

Id string

The provider-assigned unique ID for this managed resource.

Filters []GetFastLaunchJobConfigsFilter
compartmentId String
fastLaunchJobConfigs List<GetFastLaunchJobConfigsFastLaunchJobConfig>

The list of fast_launch_job_configs.

id String

The provider-assigned unique ID for this managed resource.

filters List<GetFastLaunchJobConfigsFilter>
compartmentId string
fastLaunchJobConfigs GetFastLaunchJobConfigsFastLaunchJobConfig[]

The list of fast_launch_job_configs.

id string

The provider-assigned unique ID for this managed resource.

filters GetFastLaunchJobConfigsFilter[]
compartment_id str
fast_launch_job_configs GetFastLaunchJobConfigsFastLaunchJobConfig]

The list of fast_launch_job_configs.

id str

The provider-assigned unique ID for this managed resource.

filters GetFastLaunchJobConfigsFilter]
compartmentId String
fastLaunchJobConfigs List<Property Map>

The list of fast_launch_job_configs.

id String

The provider-assigned unique ID for this managed resource.

filters List<Property Map>

Supporting Types

GetFastLaunchJobConfigsFastLaunchJobConfig

CoreCount int

The number of cores associated with this fast launch job shape.

ManagedEgressSupport string

The managed egress support

MemoryInGbs int

The number of cores associated with this fast launch job shape.

Name string

The name of the fast launch job config

ShapeName string

The name of the fast launch job shape.

ShapeSeries string

The family that the compute shape belongs to.

CoreCount int

The number of cores associated with this fast launch job shape.

ManagedEgressSupport string

The managed egress support

MemoryInGbs int

The number of cores associated with this fast launch job shape.

Name string

The name of the fast launch job config

ShapeName string

The name of the fast launch job shape.

ShapeSeries string

The family that the compute shape belongs to.

coreCount Integer

The number of cores associated with this fast launch job shape.

managedEgressSupport String

The managed egress support

memoryInGbs Integer

The number of cores associated with this fast launch job shape.

name String

The name of the fast launch job config

shapeName String

The name of the fast launch job shape.

shapeSeries String

The family that the compute shape belongs to.

coreCount number

The number of cores associated with this fast launch job shape.

managedEgressSupport string

The managed egress support

memoryInGbs number

The number of cores associated with this fast launch job shape.

name string

The name of the fast launch job config

shapeName string

The name of the fast launch job shape.

shapeSeries string

The family that the compute shape belongs to.

core_count int

The number of cores associated with this fast launch job shape.

managed_egress_support str

The managed egress support

memory_in_gbs int

The number of cores associated with this fast launch job shape.

name str

The name of the fast launch job config

shape_name str

The name of the fast launch job shape.

shape_series str

The family that the compute shape belongs to.

coreCount Number

The number of cores associated with this fast launch job shape.

managedEgressSupport String

The managed egress support

memoryInGbs Number

The number of cores associated with this fast launch job shape.

name String

The name of the fast launch job config

shapeName String

The name of the fast launch job shape.

shapeSeries String

The family that the compute shape belongs to.

GetFastLaunchJobConfigsFilter

Name string

The name of the fast launch job config

Values List<string>
Regex bool
Name string

The name of the fast launch job config

Values []string
Regex bool
name String

The name of the fast launch job config

values List<String>
regex Boolean
name string

The name of the fast launch job config

values string[]
regex boolean
name str

The name of the fast launch job config

values Sequence[str]
regex bool
name String

The name of the fast launch job config

values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.