Oracle Cloud Infrastructure

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

getOdaInstance

This data source provides details about a specific Oda Instance resource in Oracle Cloud Infrastructure Digital Assistant service.

Gets the specified Digital Assistant instance.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testOdaInstance = Output.Create(Oci.Oda.GetOdaInstance.InvokeAsync(new Oci.Oda.GetOdaInstanceArgs
        {
            OdaInstanceId = oci_oda_oda_instance.Test_oda_instance.Id,
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Oda.GetOdaInstance(ctx, &oda.GetOdaInstanceArgs{
			OdaInstanceId: oci_oda_oda_instance.Test_oda_instance.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_oda_instance = oci.Oda.get_oda_instance(oda_instance_id=oci_oda_oda_instance["test_oda_instance"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOdaInstance = oci.Oda.getOdaInstance({
    odaInstanceId: oci_oda_oda_instance.test_oda_instance.id,
});

Coming soon!

Using getOdaInstance

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 getOdaInstance(args: GetOdaInstanceArgs, opts?: InvokeOptions): Promise<GetOdaInstanceResult>
function getOdaInstanceOutput(args: GetOdaInstanceOutputArgs, opts?: InvokeOptions): Output<GetOdaInstanceResult>
def get_oda_instance(oda_instance_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetOdaInstanceResult
def get_oda_instance_output(oda_instance_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetOdaInstanceResult]
func GetOdaInstance(ctx *Context, args *GetOdaInstanceArgs, opts ...InvokeOption) (*GetOdaInstanceResult, error)
func GetOdaInstanceOutput(ctx *Context, args *GetOdaInstanceOutputArgs, opts ...InvokeOption) GetOdaInstanceResultOutput

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

public static class GetOdaInstance 
{
    public static Task<GetOdaInstanceResult> InvokeAsync(GetOdaInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetOdaInstanceResult> Invoke(GetOdaInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOdaInstanceResult> getOdaInstance(GetOdaInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Oda/getOdaInstance:getOdaInstance
  Arguments:
    # Arguments dictionary

The following arguments are supported:

OdaInstanceId string

Unique Digital Assistant instance identifier.

OdaInstanceId string

Unique Digital Assistant instance identifier.

odaInstanceId String

Unique Digital Assistant instance identifier.

odaInstanceId string

Unique Digital Assistant instance identifier.

oda_instance_id str

Unique Digital Assistant instance identifier.

odaInstanceId String

Unique Digital Assistant instance identifier.

getOdaInstance Result

The following output properties are available:

CompartmentId string

Identifier of the compartment that the instance belongs to.

ConnectorUrl string

URL for the connector's endpoint.

DefinedTags Dictionary<string, object>

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}

Description string

Description of the Digital Assistant instance.

DisplayName string

User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

Unique immutable identifier that was assigned when the instance was created.

LifecycleSubState string

The current sub-state of the Digital Assistant instance.

OdaInstanceId string
ShapeName string

Shape or size of the instance.

State string

The current state of the Digital Assistant instance.

StateMessage string

A message that describes the current state in more detail. For example, actionable information about an instance that's in the FAILED state.

TimeCreated string

When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.

TimeUpdated string

When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.

WebAppUrl string

URL for the Digital Assistant web application that's associated with the instance.

CompartmentId string

Identifier of the compartment that the instance belongs to.

ConnectorUrl string

URL for the connector's endpoint.

DefinedTags map[string]interface{}

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}

Description string

Description of the Digital Assistant instance.

DisplayName string

User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

Unique immutable identifier that was assigned when the instance was created.

LifecycleSubState string

The current sub-state of the Digital Assistant instance.

OdaInstanceId string
ShapeName string

Shape or size of the instance.

State string

The current state of the Digital Assistant instance.

StateMessage string

A message that describes the current state in more detail. For example, actionable information about an instance that's in the FAILED state.

TimeCreated string

When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.

TimeUpdated string

When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.

WebAppUrl string

URL for the Digital Assistant web application that's associated with the instance.

compartmentId String

Identifier of the compartment that the instance belongs to.

connectorUrl String

URL for the connector's endpoint.

definedTags Map<String,Object>

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}

description String

Description of the Digital Assistant instance.

displayName String

User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

Unique immutable identifier that was assigned when the instance was created.

lifecycleSubState String

The current sub-state of the Digital Assistant instance.

odaInstanceId String
shapeName String

Shape or size of the instance.

state String

The current state of the Digital Assistant instance.

stateMessage String

A message that describes the current state in more detail. For example, actionable information about an instance that's in the FAILED state.

timeCreated String

When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.

timeUpdated String

When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.

webAppUrl String

URL for the Digital Assistant web application that's associated with the instance.

compartmentId string

Identifier of the compartment that the instance belongs to.

connectorUrl string

URL for the connector's endpoint.

definedTags {[key: string]: any}

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}

description string

Description of the Digital Assistant instance.

displayName string

User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id string

Unique immutable identifier that was assigned when the instance was created.

lifecycleSubState string

The current sub-state of the Digital Assistant instance.

odaInstanceId string
shapeName string

Shape or size of the instance.

state string

The current state of the Digital Assistant instance.

stateMessage string

A message that describes the current state in more detail. For example, actionable information about an instance that's in the FAILED state.

timeCreated string

When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.

timeUpdated string

When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.

webAppUrl string

URL for the Digital Assistant web application that's associated with the instance.

compartment_id str

Identifier of the compartment that the instance belongs to.

connector_url str

URL for the connector's endpoint.

defined_tags Mapping[str, Any]

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}

description str

Description of the Digital Assistant instance.

display_name str

User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id str

Unique immutable identifier that was assigned when the instance was created.

lifecycle_sub_state str

The current sub-state of the Digital Assistant instance.

oda_instance_id str
shape_name str

Shape or size of the instance.

state str

The current state of the Digital Assistant instance.

state_message str

A message that describes the current state in more detail. For example, actionable information about an instance that's in the FAILED state.

time_created str

When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.

time_updated str

When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.

web_app_url str

URL for the Digital Assistant web application that's associated with the instance.

compartmentId String

Identifier of the compartment that the instance belongs to.

connectorUrl String

URL for the connector's endpoint.

definedTags Map<Any>

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}

description String

Description of the Digital Assistant instance.

displayName String

User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

Unique immutable identifier that was assigned when the instance was created.

lifecycleSubState String

The current sub-state of the Digital Assistant instance.

odaInstanceId String
shapeName String

Shape or size of the instance.

state String

The current state of the Digital Assistant instance.

stateMessage String

A message that describes the current state in more detail. For example, actionable information about an instance that's in the FAILED state.

timeCreated String

When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.

timeUpdated String

When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.

webAppUrl String

URL for the Digital Assistant web application that's associated with the instance.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.