Oracle Cloud Infrastructure
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:
- Oda
Instance stringId Unique Digital Assistant instance identifier.
- Oda
Instance stringId Unique Digital Assistant instance identifier.
- oda
Instance StringId Unique Digital Assistant instance identifier.
- oda
Instance stringId Unique Digital Assistant instance identifier.
- oda_
instance_ strid Unique Digital Assistant instance identifier.
- oda
Instance StringId Unique Digital Assistant instance identifier.
getOdaInstance Result
The following output properties are available:
- Compartment
Id string Identifier of the compartment that the instance belongs to.
- Connector
Url string URL for the connector's endpoint.
- 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.
- Display
Name string User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.
- 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.
- Lifecycle
Sub stringState The current sub-state of the Digital Assistant instance.
- Oda
Instance stringId - Shape
Name string Shape or size of the instance.
- State string
The current state of the Digital Assistant instance.
- State
Message string 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 string When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.
- Time
Updated string When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.
- Web
App stringUrl URL for the Digital Assistant web application that's associated with the instance.
- Compartment
Id string Identifier of the compartment that the instance belongs to.
- Connector
Url string URL for the connector's endpoint.
- 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.
- Display
Name string User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.
- 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.
- Lifecycle
Sub stringState The current sub-state of the Digital Assistant instance.
- Oda
Instance stringId - Shape
Name string Shape or size of the instance.
- State string
The current state of the Digital Assistant instance.
- State
Message string 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 string When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.
- Time
Updated string When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.
- Web
App stringUrl URL for the Digital Assistant web application that's associated with the instance.
- compartment
Id String Identifier of the compartment that the instance belongs to.
- connector
Url String URL for the connector's endpoint.
- 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.
- display
Name String User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.
- 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.
- lifecycle
Sub StringState The current sub-state of the Digital Assistant instance.
- oda
Instance StringId - shape
Name String Shape or size of the instance.
- state String
The current state of the Digital Assistant instance.
- state
Message String 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 String When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.
- time
Updated String When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.
- web
App StringUrl URL for the Digital Assistant web application that's associated with the instance.
- compartment
Id string Identifier of the compartment that the instance belongs to.
- connector
Url string URL for the connector's endpoint.
- {[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.
- display
Name string User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.
- {[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.
- lifecycle
Sub stringState The current sub-state of the Digital Assistant instance.
- oda
Instance stringId - shape
Name string Shape or size of the instance.
- state string
The current state of the Digital Assistant instance.
- state
Message string 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 string When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.
- time
Updated string When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.
- web
App stringUrl 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.
- 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.
- 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_ strstate The current sub-state of the Digital Assistant instance.
- oda_
instance_ strid - 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_ strurl URL for the Digital Assistant web application that's associated with the instance.
- compartment
Id String Identifier of the compartment that the instance belongs to.
- connector
Url String URL for the connector's endpoint.
- 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.
- display
Name String User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.
- 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.
- lifecycle
Sub StringState The current sub-state of the Digital Assistant instance.
- oda
Instance StringId - shape
Name String Shape or size of the instance.
- state String
The current state of the Digital Assistant instance.
- state
Message String 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 String When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.
- time
Updated String When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.
- web
App StringUrl 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.