Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getNotebookSessionShapes

This data source provides the list of Notebook Session Shapes in Oracle Cloud Infrastructure Data Science service.

Lists the valid notebook session shapes.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testNotebookSessionShapes = Output.Create(Oci.DataScience.GetNotebookSessionShapes.InvokeAsync(new Oci.DataScience.GetNotebookSessionShapesArgs
        {
            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.GetNotebookSessionShapes(ctx, &datascience.GetNotebookSessionShapesArgs{
			CompartmentId: _var.Compartment_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

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

const testNotebookSessionShapes = oci.DataScience.getNotebookSessionShapes({
    compartmentId: _var.compartment_id,
});

Coming soon!

Using getNotebookSessionShapes

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 getNotebookSessionShapes(args: GetNotebookSessionShapesArgs, opts?: InvokeOptions): Promise<GetNotebookSessionShapesResult>
function getNotebookSessionShapesOutput(args: GetNotebookSessionShapesOutputArgs, opts?: InvokeOptions): Output<GetNotebookSessionShapesResult>
def get_notebook_session_shapes(compartment_id: Optional[str] = None,
                                filters: Optional[Sequence[_datascience.GetNotebookSessionShapesFilter]] = None,
                                opts: Optional[InvokeOptions] = None) -> GetNotebookSessionShapesResult
def get_notebook_session_shapes_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datascience.GetNotebookSessionShapesFilterArgs]]]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetNotebookSessionShapesResult]
func GetNotebookSessionShapes(ctx *Context, args *GetNotebookSessionShapesArgs, opts ...InvokeOption) (*GetNotebookSessionShapesResult, error)
func GetNotebookSessionShapesOutput(ctx *Context, args *GetNotebookSessionShapesOutputArgs, opts ...InvokeOption) GetNotebookSessionShapesResultOutput

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

public static class GetNotebookSessionShapes 
{
    public static Task<GetNotebookSessionShapesResult> InvokeAsync(GetNotebookSessionShapesArgs args, InvokeOptions? opts = null)
    public static Output<GetNotebookSessionShapesResult> Invoke(GetNotebookSessionShapesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotebookSessionShapesResult> getNotebookSessionShapes(GetNotebookSessionShapesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DataScience/getNotebookSessionShapes:getNotebookSessionShapes
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

Filter results by the OCID of the compartment.

Filters List<GetNotebookSessionShapesFilter>
CompartmentId string

Filter results by the OCID of the compartment.

Filters []GetNotebookSessionShapesFilter
compartmentId String

Filter results by the OCID of the compartment.

filters List<GetNotebookSessionShapesFilter>
compartmentId string

Filter results by the OCID of the compartment.

filters GetNotebookSessionShapesFilter[]
compartment_id str

Filter results by the OCID of the compartment.

filters GetNotebookSessionShapesFilter]
compartmentId String

Filter results by the OCID of the compartment.

filters List<Property Map>

getNotebookSessionShapes Result

The following output properties are available:

CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

NotebookSessionShapes List<GetNotebookSessionShapesNotebookSessionShape>

The list of notebook_session_shapes.

Filters List<GetNotebookSessionShapesFilter>
CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

NotebookSessionShapes []GetNotebookSessionShapesNotebookSessionShape

The list of notebook_session_shapes.

Filters []GetNotebookSessionShapesFilter
compartmentId String
id String

The provider-assigned unique ID for this managed resource.

notebookSessionShapes List<GetNotebookSessionShapesNotebookSessionShape>

The list of notebook_session_shapes.

filters List<GetNotebookSessionShapesFilter>
compartmentId string
id string

The provider-assigned unique ID for this managed resource.

notebookSessionShapes GetNotebookSessionShapesNotebookSessionShape[]

The list of notebook_session_shapes.

filters GetNotebookSessionShapesFilter[]
compartment_id str
id str

The provider-assigned unique ID for this managed resource.

notebook_session_shapes GetNotebookSessionShapesNotebookSessionShape]

The list of notebook_session_shapes.

filters GetNotebookSessionShapesFilter]
compartmentId String
id String

The provider-assigned unique ID for this managed resource.

notebookSessionShapes List<Property Map>

The list of notebook_session_shapes.

filters List<Property Map>

Supporting Types

GetNotebookSessionShapesFilter

Name string

The name of the notebook session shape.

Values List<string>
Regex bool
Name string

The name of the notebook session shape.

Values []string
Regex bool
name String

The name of the notebook session shape.

values List<String>
regex Boolean
name string

The name of the notebook session shape.

values string[]
regex boolean
name str

The name of the notebook session shape.

values Sequence[str]
regex bool
name String

The name of the notebook session shape.

values List<String>
regex Boolean

GetNotebookSessionShapesNotebookSessionShape

CoreCount int

The number of cores associated with this notebook session shape.

MemoryInGbs int

The amount of memory in GBs associated with this notebook session shape.

Name string

The name of the notebook session shape.

ShapeSeries string

The family that the compute shape belongs to.

CoreCount int

The number of cores associated with this notebook session shape.

MemoryInGbs int

The amount of memory in GBs associated with this notebook session shape.

Name string

The name of the notebook session shape.

ShapeSeries string

The family that the compute shape belongs to.

coreCount Integer

The number of cores associated with this notebook session shape.

memoryInGbs Integer

The amount of memory in GBs associated with this notebook session shape.

name String

The name of the notebook session shape.

shapeSeries String

The family that the compute shape belongs to.

coreCount number

The number of cores associated with this notebook session shape.

memoryInGbs number

The amount of memory in GBs associated with this notebook session shape.

name string

The name of the notebook session shape.

shapeSeries string

The family that the compute shape belongs to.

core_count int

The number of cores associated with this notebook session shape.

memory_in_gbs int

The amount of memory in GBs associated with this notebook session shape.

name str

The name of the notebook session shape.

shape_series str

The family that the compute shape belongs to.

coreCount Number

The number of cores associated with this notebook session shape.

memoryInGbs Number

The amount of memory in GBs associated with this notebook session shape.

name String

The name of the notebook session shape.

shapeSeries String

The family that the compute shape belongs to.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.