Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Opa.getOpaInstance
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Opa Instance resource in Oracle Cloud Infrastructure Opa service.
Gets a OpaInstance by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOpaInstance = oci.Opa.getOpaInstance({
    opaInstanceId: testOpaInstanceOciOpaOpaInstance.id,
});
import pulumi
import pulumi_oci as oci
test_opa_instance = oci.Opa.get_opa_instance(opa_instance_id=test_opa_instance_oci_opa_opa_instance["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Opa"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Opa.GetOpaInstance(ctx, &opa.GetOpaInstanceArgs{
			OpaInstanceId: testOpaInstanceOciOpaOpaInstance.Id,
		}, nil)
		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 testOpaInstance = Oci.Opa.GetOpaInstance.Invoke(new()
    {
        OpaInstanceId = testOpaInstanceOciOpaOpaInstance.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opa.OpaFunctions;
import com.pulumi.oci.Opa.inputs.GetOpaInstanceArgs;
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 testOpaInstance = OpaFunctions.getOpaInstance(GetOpaInstanceArgs.builder()
            .opaInstanceId(testOpaInstanceOciOpaOpaInstance.id())
            .build());
    }
}
variables:
  testOpaInstance:
    fn::invoke:
      Function: oci:Opa:getOpaInstance
      Arguments:
        opaInstanceId: ${testOpaInstanceOciOpaOpaInstance.id}
Using getOpaInstance
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 getOpaInstance(args: GetOpaInstanceArgs, opts?: InvokeOptions): Promise<GetOpaInstanceResult>
function getOpaInstanceOutput(args: GetOpaInstanceOutputArgs, opts?: InvokeOptions): Output<GetOpaInstanceResult>def get_opa_instance(opa_instance_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetOpaInstanceResult
def get_opa_instance_output(opa_instance_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetOpaInstanceResult]func GetOpaInstance(ctx *Context, args *GetOpaInstanceArgs, opts ...InvokeOption) (*GetOpaInstanceResult, error)
func GetOpaInstanceOutput(ctx *Context, args *GetOpaInstanceOutputArgs, opts ...InvokeOption) GetOpaInstanceResultOutput> Note: This function is named GetOpaInstance in the Go SDK.
public static class GetOpaInstance 
{
    public static Task<GetOpaInstanceResult> InvokeAsync(GetOpaInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetOpaInstanceResult> Invoke(GetOpaInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOpaInstanceResult> getOpaInstance(GetOpaInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Opa/getOpaInstance:getOpaInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OpaInstance stringId 
- unique OpaInstance identifier
- OpaInstance stringId 
- unique OpaInstance identifier
- opaInstance StringId 
- unique OpaInstance identifier
- opaInstance stringId 
- unique OpaInstance identifier
- opa_instance_ strid 
- unique OpaInstance identifier
- opaInstance StringId 
- unique OpaInstance identifier
getOpaInstance Result
The following output properties are available:
- Attachments
List<GetOpa Instance Attachment> 
- A list of associated attachments to other services
- CompartmentId string
- Compartment Identifier
- ConsumptionModel string
- The entitlement used for billing purposes
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Description of the Process Automation instance.
- DisplayName string
- OpaInstance Identifier, can be renamed
- 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 identifier that is immutable on creation
- IdcsAt string
- IdentityApp stringDisplay Name 
- This property specifies the name of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- IdentityApp stringGuid 
- This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
- IdentityApp stringOpc Service Instance Guid 
- This property specifies the OPC Service Instance GUID of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- IdentityDomain stringUrl 
- This property specifies the domain url of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- InstanceUrl string
- OPA Instance URL
- IsBreakglass boolEnabled 
- indicates if breakGlass is enabled for the opa instance.
- MeteringType string
- MeteringType Identifier
- OpaInstance stringId 
- ShapeName string
- Shape of the instance.
- State string
- The current state of the OpaInstance.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when OpaInstance was created. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the OpaInstance was updated. An RFC3339 formatted datetime string
- Attachments
[]GetOpa Instance Attachment 
- A list of associated attachments to other services
- CompartmentId string
- Compartment Identifier
- ConsumptionModel string
- The entitlement used for billing purposes
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Description of the Process Automation instance.
- DisplayName string
- OpaInstance Identifier, can be renamed
- 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 identifier that is immutable on creation
- IdcsAt string
- IdentityApp stringDisplay Name 
- This property specifies the name of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- IdentityApp stringGuid 
- This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
- IdentityApp stringOpc Service Instance Guid 
- This property specifies the OPC Service Instance GUID of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- IdentityDomain stringUrl 
- This property specifies the domain url of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- InstanceUrl string
- OPA Instance URL
- IsBreakglass boolEnabled 
- indicates if breakGlass is enabled for the opa instance.
- MeteringType string
- MeteringType Identifier
- OpaInstance stringId 
- ShapeName string
- Shape of the instance.
- State string
- The current state of the OpaInstance.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when OpaInstance was created. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the OpaInstance was updated. An RFC3339 formatted datetime string
- attachments
List<GetInstance Attachment> 
- A list of associated attachments to other services
- compartmentId String
- Compartment Identifier
- consumptionModel String
- The entitlement used for billing purposes
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Description of the Process Automation instance.
- displayName String
- OpaInstance Identifier, can be renamed
- 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 identifier that is immutable on creation
- idcsAt String
- identityApp StringDisplay Name 
- This property specifies the name of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identityApp StringGuid 
- This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
- identityApp StringOpc Service Instance Guid 
- This property specifies the OPC Service Instance GUID of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identityDomain StringUrl 
- This property specifies the domain url of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- instanceUrl String
- OPA Instance URL
- isBreakglass BooleanEnabled 
- indicates if breakGlass is enabled for the opa instance.
- meteringType String
- MeteringType Identifier
- opaInstance StringId 
- shapeName String
- Shape of the instance.
- state String
- The current state of the OpaInstance.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when OpaInstance was created. An RFC3339 formatted datetime string
- timeUpdated String
- The time the OpaInstance was updated. An RFC3339 formatted datetime string
- attachments
GetOpa Instance Attachment[] 
- A list of associated attachments to other services
- compartmentId string
- Compartment Identifier
- consumptionModel string
- The entitlement used for billing purposes
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- Description of the Process Automation instance.
- displayName string
- OpaInstance Identifier, can be renamed
- {[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 identifier that is immutable on creation
- idcsAt string
- identityApp stringDisplay Name 
- This property specifies the name of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identityApp stringGuid 
- This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
- identityApp stringOpc Service Instance Guid 
- This property specifies the OPC Service Instance GUID of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identityDomain stringUrl 
- This property specifies the domain url of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- instanceUrl string
- OPA Instance URL
- isBreakglass booleanEnabled 
- indicates if breakGlass is enabled for the opa instance.
- meteringType string
- MeteringType Identifier
- opaInstance stringId 
- shapeName string
- Shape of the instance.
- state string
- The current state of the OpaInstance.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time when OpaInstance was created. An RFC3339 formatted datetime string
- timeUpdated string
- The time the OpaInstance was updated. An RFC3339 formatted datetime string
- attachments
Sequence[opa.Get Opa Instance Attachment] 
- A list of associated attachments to other services
- compartment_id str
- Compartment Identifier
- consumption_model str
- The entitlement used for billing purposes
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- Description of the Process Automation instance.
- display_name str
- OpaInstance Identifier, can be renamed
- 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 identifier that is immutable on creation
- idcs_at str
- identity_app_ strdisplay_ name 
- This property specifies the name of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identity_app_ strguid 
- This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
- identity_app_ stropc_ service_ instance_ guid 
- This property specifies the OPC Service Instance GUID of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identity_domain_ strurl 
- This property specifies the domain url of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- instance_url str
- OPA Instance URL
- is_breakglass_ boolenabled 
- indicates if breakGlass is enabled for the opa instance.
- metering_type str
- MeteringType Identifier
- opa_instance_ strid 
- shape_name str
- Shape of the instance.
- state str
- The current state of the OpaInstance.
- Mapping[str, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time when OpaInstance was created. An RFC3339 formatted datetime string
- time_updated str
- The time the OpaInstance was updated. An RFC3339 formatted datetime string
- attachments List<Property Map>
- A list of associated attachments to other services
- compartmentId String
- Compartment Identifier
- consumptionModel String
- The entitlement used for billing purposes
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Description of the Process Automation instance.
- displayName String
- OpaInstance Identifier, can be renamed
- 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 identifier that is immutable on creation
- idcsAt String
- identityApp StringDisplay Name 
- This property specifies the name of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identityApp StringGuid 
- This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.
- identityApp StringOpc Service Instance Guid 
- This property specifies the OPC Service Instance GUID of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- identityDomain StringUrl 
- This property specifies the domain url of the Identity Application instance OPA 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 OPA instance for users within the identity domain.
- instanceUrl String
- OPA Instance URL
- isBreakglass BooleanEnabled 
- indicates if breakGlass is enabled for the opa instance.
- meteringType String
- MeteringType Identifier
- opaInstance StringId 
- shapeName String
- Shape of the instance.
- state String
- The current state of the OpaInstance.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when OpaInstance was created. An RFC3339 formatted datetime string
- timeUpdated String
- The time the OpaInstance was updated. An RFC3339 formatted datetime string
Supporting Types
GetOpaInstanceAttachment   
- IsImplicit bool
- If role == PARENT, the attached instance was created by this service instance
- If role == CHILD, this instance was created from attached instance on behalf of a user
 
- If role == 
- TargetId string
- The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
- TargetInstance stringUrl 
- The dataplane instance URL of the attached instance
- TargetRole string
- The role of the target attachment.- PARENT- The target instance is the parent of this attachment.
- CHILD- The target instance is the child of this attachment.
 
- TargetService stringType 
- The type of the target instance, such as "FUSION".
- IsImplicit bool
- If role == PARENT, the attached instance was created by this service instance
- If role == CHILD, this instance was created from attached instance on behalf of a user
 
- If role == 
- TargetId string
- The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
- TargetInstance stringUrl 
- The dataplane instance URL of the attached instance
- TargetRole string
- The role of the target attachment.- PARENT- The target instance is the parent of this attachment.
- CHILD- The target instance is the child of this attachment.
 
- TargetService stringType 
- The type of the target instance, such as "FUSION".
- isImplicit Boolean
- If role == PARENT, the attached instance was created by this service instance
- If role == CHILD, this instance was created from attached instance on behalf of a user
 
- If role == 
- targetId String
- The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
- targetInstance StringUrl 
- The dataplane instance URL of the attached instance
- targetRole String
- The role of the target attachment.- PARENT- The target instance is the parent of this attachment.
- CHILD- The target instance is the child of this attachment.
 
- targetService StringType 
- The type of the target instance, such as "FUSION".
- isImplicit boolean
- If role == PARENT, the attached instance was created by this service instance
- If role == CHILD, this instance was created from attached instance on behalf of a user
 
- If role == 
- targetId string
- The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
- targetInstance stringUrl 
- The dataplane instance URL of the attached instance
- targetRole string
- The role of the target attachment.- PARENT- The target instance is the parent of this attachment.
- CHILD- The target instance is the child of this attachment.
 
- targetService stringType 
- The type of the target instance, such as "FUSION".
- is_implicit bool
- If role == PARENT, the attached instance was created by this service instance
- If role == CHILD, this instance was created from attached instance on behalf of a user
 
- If role == 
- target_id str
- The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
- target_instance_ strurl 
- The dataplane instance URL of the attached instance
- target_role str
- The role of the target attachment.- PARENT- The target instance is the parent of this attachment.
- CHILD- The target instance is the child of this attachment.
 
- target_service_ strtype 
- The type of the target instance, such as "FUSION".
- isImplicit Boolean
- If role == PARENT, the attached instance was created by this service instance
- If role == CHILD, this instance was created from attached instance on behalf of a user
 
- If role == 
- targetId String
- The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.
- targetInstance StringUrl 
- The dataplane instance URL of the attached instance
- targetRole String
- The role of the target attachment.- PARENT- The target instance is the parent of this attachment.
- CHILD- The target instance is the child of this attachment.
 
- targetService StringType 
- The type of the target instance, such as "FUSION".
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi