oci.Oda.OdaInstance
Explore with Pulumi AI
This resource provides the Oda Instance resource in Oracle Cloud Infrastructure Digital Assistant service.
Starts an asynchronous job to create a Digital Assistant instance.
To monitor the status of the job, take the opc-work-request-id
response
header value and use it to call GET /workRequests/{workRequestId}
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOdaInstance = new oci.oda.OdaInstance("test_oda_instance", {
compartmentId: compartmentId,
shapeName: "DEVELOPMENT",
definedTags: {
"foo-namespace.bar-key": "value",
},
description: odaInstanceDescription,
displayName: odaInstanceDisplayName,
freeformTags: {
"bar-key": "value",
},
identityDomain: odaInstanceIdentityDomain,
isRoleBasedAccess: odaInstanceIsRoleBasedAccess,
});
import pulumi
import pulumi_oci as oci
test_oda_instance = oci.oda.OdaInstance("test_oda_instance",
compartment_id=compartment_id,
shape_name="DEVELOPMENT",
defined_tags={
"foo-namespace.bar-key": "value",
},
description=oda_instance_description,
display_name=oda_instance_display_name,
freeform_tags={
"bar-key": "value",
},
identity_domain=oda_instance_identity_domain,
is_role_based_access=oda_instance_is_role_based_access)
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.NewOdaInstance(ctx, "test_oda_instance", &Oda.OdaInstanceArgs{
CompartmentId: pulumi.Any(compartmentId),
ShapeName: pulumi.String("DEVELOPMENT"),
DefinedTags: pulumi.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
Description: pulumi.Any(odaInstanceDescription),
DisplayName: pulumi.Any(odaInstanceDisplayName),
FreeformTags: pulumi.Map{
"bar-key": pulumi.Any("value"),
},
IdentityDomain: pulumi.Any(odaInstanceIdentityDomain),
IsRoleBasedAccess: pulumi.Any(odaInstanceIsRoleBasedAccess),
})
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 testOdaInstance = new Oci.Oda.OdaInstance("test_oda_instance", new()
{
CompartmentId = compartmentId,
ShapeName = "DEVELOPMENT",
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = odaInstanceDescription,
DisplayName = odaInstanceDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
IdentityDomain = odaInstanceIdentityDomain,
IsRoleBasedAccess = odaInstanceIsRoleBasedAccess,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Oda.OdaInstance;
import com.pulumi.oci.Oda.OdaInstanceArgs;
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) {
var testOdaInstance = new OdaInstance("testOdaInstance", OdaInstanceArgs.builder()
.compartmentId(compartmentId)
.shapeName("DEVELOPMENT")
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(odaInstanceDescription)
.displayName(odaInstanceDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.identityDomain(odaInstanceIdentityDomain)
.isRoleBasedAccess(odaInstanceIsRoleBasedAccess)
.build());
}
}
resources:
testOdaInstance:
type: oci:Oda:OdaInstance
name: test_oda_instance
properties:
compartmentId: ${compartmentId}
shapeName: DEVELOPMENT
definedTags:
foo-namespace.bar-key: value
description: ${odaInstanceDescription}
displayName: ${odaInstanceDisplayName}
freeformTags:
bar-key: value
identityDomain: ${odaInstanceIdentityDomain}
isRoleBasedAccess: ${odaInstanceIsRoleBasedAccess}
Create OdaInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OdaInstance(name: string, args: OdaInstanceArgs, opts?: CustomResourceOptions);
@overload
def OdaInstance(resource_name: str,
args: OdaInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OdaInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
shape_name: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
identity_domain: Optional[str] = None,
is_role_based_access: Optional[bool] = None,
state: Optional[str] = None)
func NewOdaInstance(ctx *Context, name string, args OdaInstanceArgs, opts ...ResourceOption) (*OdaInstance, error)
public OdaInstance(string name, OdaInstanceArgs args, CustomResourceOptions? opts = null)
public OdaInstance(String name, OdaInstanceArgs args)
public OdaInstance(String name, OdaInstanceArgs args, CustomResourceOptions options)
type: oci:Oda:OdaInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OdaInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OdaInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OdaInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OdaInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OdaInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var odaInstanceResource = new Oci.Oda.OdaInstance("odaInstanceResource", new()
{
CompartmentId = "string",
ShapeName = "string",
DefinedTags =
{
{ "string", "any" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
IdentityDomain = "string",
IsRoleBasedAccess = false,
State = "string",
});
example, err := Oda.NewOdaInstance(ctx, "odaInstanceResource", &Oda.OdaInstanceArgs{
CompartmentId: pulumi.String("string"),
ShapeName: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
IdentityDomain: pulumi.String("string"),
IsRoleBasedAccess: pulumi.Bool(false),
State: pulumi.String("string"),
})
var odaInstanceResource = new OdaInstance("odaInstanceResource", OdaInstanceArgs.builder()
.compartmentId("string")
.shapeName("string")
.definedTags(Map.of("string", "any"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "any"))
.identityDomain("string")
.isRoleBasedAccess(false)
.state("string")
.build());
oda_instance_resource = oci.oda.OdaInstance("odaInstanceResource",
compartment_id="string",
shape_name="string",
defined_tags={
"string": "any",
},
description="string",
display_name="string",
freeform_tags={
"string": "any",
},
identity_domain="string",
is_role_based_access=False,
state="string")
const odaInstanceResource = new oci.oda.OdaInstance("odaInstanceResource", {
compartmentId: "string",
shapeName: "string",
definedTags: {
string: "any",
},
description: "string",
displayName: "string",
freeformTags: {
string: "any",
},
identityDomain: "string",
isRoleBasedAccess: false,
state: "string",
});
type: oci:Oda:OdaInstance
properties:
compartmentId: string
definedTags:
string: any
description: string
displayName: string
freeformTags:
string: any
identityDomain: string
isRoleBasedAccess: false
shapeName: string
state: string
OdaInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OdaInstance resource accepts the following input properties:
- Compartment
Id string - (Updatable) Identifier of the compartment.
- Shape
Name string Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Digital Assistant instance.
- Display
Name string - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- Identity
Domain string - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- Is
Role boolBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- State string
- The current state of the Digital Assistant instance.
- Compartment
Id string - (Updatable) Identifier of the compartment.
- Shape
Name string Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]interface{}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Digital Assistant instance.
- Display
Name string - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- Identity
Domain string - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- Is
Role boolBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- State string
- The current state of the Digital Assistant instance.
- compartment
Id String - (Updatable) Identifier of the compartment.
- shape
Name String Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,Object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Digital Assistant instance.
- display
Name String - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity
Domain String - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- is
Role BooleanBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- state String
- The current state of the Digital Assistant instance.
- compartment
Id string - (Updatable) Identifier of the compartment.
- shape
Name string Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: any}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Description of the Digital Assistant instance.
- display
Name string - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity
Domain string - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- is
Role booleanBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- state string
- The current state of the Digital Assistant instance.
- compartment_
id str - (Updatable) Identifier of the compartment.
- shape_
name str Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, Any]
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Description of the Digital Assistant instance.
- display_
name str - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity_
domain str - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- is_
role_ boolbased_ access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- state str
- The current state of the Digital Assistant instance.
- compartment
Id String - (Updatable) Identifier of the compartment.
- shape
Name String Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<Any>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Digital Assistant instance.
- display
Name String - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity
Domain String - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- is
Role BooleanBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- state String
- The current state of the Digital Assistant instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the OdaInstance resource produces the following output properties:
- Attachment
Ids List<string> - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- Attachment
Types List<string> - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- Connector
Url string - URL for the connector's endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identity
App stringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- Identity
App stringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- Imported
Package List<string>Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- Imported
Package List<string>Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- Lifecycle
Sub stringState - The current sub-state of the Digital Assistant instance.
- Restricted
Operations List<OdaInstance Restricted Operation> - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- 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.
- Attachment
Ids []string - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- Attachment
Types []string - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- Connector
Url string - URL for the connector's endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identity
App stringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- Identity
App stringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- Imported
Package []stringIds - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- Imported
Package []stringNames - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- Lifecycle
Sub stringState - The current sub-state of the Digital Assistant instance.
- Restricted
Operations []OdaInstance Restricted Operation - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- 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.
- attachment
Ids List<String> - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment
Types List<String> - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- connector
Url String - URL for the connector's endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- identity
App StringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity
App StringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- imported
Package List<String>Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported
Package List<String>Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- lifecycle
Sub StringState - The current sub-state of the Digital Assistant instance.
- restricted
Operations List<InstanceRestricted Operation> - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- 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.
- attachment
Ids string[] - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment
Types string[] - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- connector
Url string - URL for the connector's endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- identity
App stringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity
App stringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- imported
Package string[]Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported
Package string[]Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- lifecycle
Sub stringState - The current sub-state of the Digital Assistant instance.
- restricted
Operations OdaInstance Restricted Operation[] - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- 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.
- attachment_
ids Sequence[str] - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment_
types Sequence[str] - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- connector_
url str - URL for the connector's endpoint.
- id str
- The provider-assigned unique ID for this managed resource.
- identity_
app_ strconsole_ url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity_
app_ strguid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- imported_
package_ Sequence[str]ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported_
package_ Sequence[str]names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- lifecycle_
sub_ strstate - The current sub-state of the Digital Assistant instance.
- restricted_
operations Sequence[oda.Oda Instance Restricted Operation] - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- 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.
- attachment
Ids List<String> - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment
Types List<String> - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- connector
Url String - URL for the connector's endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- identity
App StringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity
App StringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- imported
Package List<String>Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported
Package List<String>Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- lifecycle
Sub StringState - The current sub-state of the Digital Assistant instance.
- restricted
Operations List<Property Map> - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- 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.
Look up Existing OdaInstance Resource
Get an existing OdaInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OdaInstanceState, opts?: CustomResourceOptions): OdaInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attachment_ids: Optional[Sequence[str]] = None,
attachment_types: Optional[Sequence[str]] = None,
compartment_id: Optional[str] = None,
connector_url: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
identity_app_console_url: Optional[str] = None,
identity_app_guid: Optional[str] = None,
identity_domain: Optional[str] = None,
imported_package_ids: Optional[Sequence[str]] = None,
imported_package_names: Optional[Sequence[str]] = None,
is_role_based_access: Optional[bool] = None,
lifecycle_sub_state: Optional[str] = None,
restricted_operations: Optional[Sequence[_oda.OdaInstanceRestrictedOperationArgs]] = None,
shape_name: Optional[str] = None,
state: Optional[str] = None,
state_message: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
web_app_url: Optional[str] = None) -> OdaInstance
func GetOdaInstance(ctx *Context, name string, id IDInput, state *OdaInstanceState, opts ...ResourceOption) (*OdaInstance, error)
public static OdaInstance Get(string name, Input<string> id, OdaInstanceState? state, CustomResourceOptions? opts = null)
public static OdaInstance get(String name, Output<String> id, OdaInstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Attachment
Ids List<string> - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- Attachment
Types List<string> - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- Compartment
Id string - (Updatable) Identifier of the compartment.
- Connector
Url string - URL for the connector's endpoint.
- Dictionary<string, object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Digital Assistant instance.
- Display
Name string - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- Identity
App stringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- Identity
App stringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- Identity
Domain string - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- Imported
Package List<string>Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- Imported
Package List<string>Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- Is
Role boolBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- Lifecycle
Sub stringState - The current sub-state of the Digital Assistant instance.
- Restricted
Operations List<OdaInstance Restricted Operation> - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- Shape
Name string Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- Attachment
Ids []string - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- Attachment
Types []string - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- Compartment
Id string - (Updatable) Identifier of the compartment.
- Connector
Url string - URL for the connector's endpoint.
- map[string]interface{}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of the Digital Assistant instance.
- Display
Name string - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- Identity
App stringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- Identity
App stringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- Identity
Domain string - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- Imported
Package []stringIds - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- Imported
Package []stringNames - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- Is
Role boolBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- Lifecycle
Sub stringState - The current sub-state of the Digital Assistant instance.
- Restricted
Operations []OdaInstance Restricted Operation Args - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- Shape
Name string Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- attachment
Ids List<String> - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment
Types List<String> - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- compartment
Id String - (Updatable) Identifier of the compartment.
- connector
Url String - URL for the connector's endpoint.
- Map<String,Object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Digital Assistant instance.
- display
Name String - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity
App StringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity
App StringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- identity
Domain String - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- imported
Package List<String>Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported
Package List<String>Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- is
Role BooleanBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- lifecycle
Sub StringState - The current sub-state of the Digital Assistant instance.
- restricted
Operations List<InstanceRestricted Operation> - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- shape
Name String Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- attachment
Ids string[] - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment
Types string[] - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- compartment
Id string - (Updatable) Identifier of the compartment.
- connector
Url string - URL for the connector's endpoint.
- {[key: string]: any}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Description of the Digital Assistant instance.
- display
Name string - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity
App stringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity
App stringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- identity
Domain string - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- imported
Package string[]Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported
Package string[]Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- is
Role booleanBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- lifecycle
Sub stringState - The current sub-state of the Digital Assistant instance.
- restricted
Operations OdaInstance Restricted Operation[] - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- shape
Name string Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- attachment_
ids Sequence[str] - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment_
types Sequence[str] - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- compartment_
id str - (Updatable) Identifier of the compartment.
- connector_
url str - URL for the connector's endpoint.
- Mapping[str, Any]
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Description of the Digital Assistant instance.
- display_
name str - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity_
app_ strconsole_ url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity_
app_ strguid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- identity_
domain str - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- imported_
package_ Sequence[str]ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported_
package_ Sequence[str]names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- is_
role_ boolbased_ access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- lifecycle_
sub_ strstate - The current sub-state of the Digital Assistant instance.
- restricted_
operations Sequence[oda.Oda Instance Restricted Operation Args] - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- shape_
name str Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- attachment
Ids List<String> - A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- attachment
Types List<String> - A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
- compartment
Id String - (Updatable) Identifier of the compartment.
- connector
Url String - URL for the connector's endpoint.
- Map<Any>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of the Digital Assistant instance.
- display
Name String - (Updatable) User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example:
{"bar-key": "value"}
- identity
App StringConsole Url - If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
- identity
App StringGuid - If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
- identity
Domain String - If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
- imported
Package List<String>Ids - A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
- imported
Package List<String>Names - A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
- is
Role BooleanBased Access - Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
- lifecycle
Sub StringState - The current sub-state of the Digital Assistant instance.
- restricted
Operations List<Property Map> - A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
- shape
Name String Shape or size of the instance.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
Supporting Types
OdaInstanceRestrictedOperation, OdaInstanceRestrictedOperationArgs
- Operation
Name string - Name of the restricted operation.
- Restricting
Service string - Name of the service restricting the operation.
- Operation
Name string - Name of the restricted operation.
- Restricting
Service string - Name of the service restricting the operation.
- operation
Name String - Name of the restricted operation.
- restricting
Service String - Name of the service restricting the operation.
- operation
Name string - Name of the restricted operation.
- restricting
Service string - Name of the service restricting the operation.
- operation_
name str - Name of the restricted operation.
- restricting_
service str - Name of the service restricting the operation.
- operation
Name String - Name of the restricted operation.
- restricting
Service String - Name of the service restricting the operation.
Import
OdaInstances can be imported using the id
, e.g.
$ pulumi import oci:Oda/odaInstance:OdaInstance test_oda_instance "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.