1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opa
  5. getOpaInstance
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Opa.getOpaInstance

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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/v2/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 dictionary

    The following arguments are supported:

    OpaInstanceId string
    unique OpaInstance identifier
    OpaInstanceId string
    unique OpaInstance identifier
    opaInstanceId String
    unique OpaInstance identifier
    opaInstanceId string
    unique OpaInstance identifier
    opa_instance_id str
    unique OpaInstance identifier
    opaInstanceId String
    unique OpaInstance identifier

    getOpaInstance Result

    The following output properties are available:

    Attachments List<GetOpaInstanceAttachment>
    A list of associated attachments to other services
    CompartmentId string
    Compartment Identifier
    ConsumptionModel string
    The entitlement used for billing purposes
    DefinedTags Dictionary<string, string>
    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
    FreeformTags Dictionary<string, string>
    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
    IdentityAppDisplayName string
    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.
    IdentityAppGuid string
    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.
    IdentityAppOpcServiceInstanceGuid string
    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.
    IdentityDomainUrl string
    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
    IsBreakglassEnabled bool
    indicates if breakGlass is enabled for the opa instance.
    MeteringType string
    MeteringType Identifier
    OpaInstanceId string
    ShapeName string
    Shape of the instance.
    State string
    The current state of the OpaInstance.
    SystemTags Dictionary<string, string>
    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 []GetOpaInstanceAttachment
    A list of associated attachments to other services
    CompartmentId string
    Compartment Identifier
    ConsumptionModel string
    The entitlement used for billing purposes
    DefinedTags map[string]string
    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
    FreeformTags map[string]string
    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
    IdentityAppDisplayName string
    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.
    IdentityAppGuid string
    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.
    IdentityAppOpcServiceInstanceGuid string
    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.
    IdentityDomainUrl string
    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
    IsBreakglassEnabled bool
    indicates if breakGlass is enabled for the opa instance.
    MeteringType string
    MeteringType Identifier
    OpaInstanceId string
    ShapeName string
    Shape of the instance.
    State string
    The current state of the OpaInstance.
    SystemTags map[string]string
    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<GetInstanceAttachment>
    A list of associated attachments to other services
    compartmentId String
    Compartment Identifier
    consumptionModel String
    The entitlement used for billing purposes
    definedTags Map<String,String>
    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
    freeformTags Map<String,String>
    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
    identityAppDisplayName String
    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.
    identityAppGuid String
    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.
    identityAppOpcServiceInstanceGuid String
    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.
    identityDomainUrl String
    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
    isBreakglassEnabled Boolean
    indicates if breakGlass is enabled for the opa instance.
    meteringType String
    MeteringType Identifier
    opaInstanceId String
    shapeName String
    Shape of the instance.
    state String
    The current state of the OpaInstance.
    systemTags Map<String,String>
    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 GetOpaInstanceAttachment[]
    A list of associated attachments to other services
    compartmentId string
    Compartment Identifier
    consumptionModel string
    The entitlement used for billing purposes
    definedTags {[key: string]: string}
    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
    freeformTags {[key: string]: string}
    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
    identityAppDisplayName string
    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.
    identityAppGuid string
    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.
    identityAppOpcServiceInstanceGuid string
    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.
    identityDomainUrl string
    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
    isBreakglassEnabled boolean
    indicates if breakGlass is enabled for the opa instance.
    meteringType string
    MeteringType Identifier
    opaInstanceId string
    shapeName string
    Shape of the instance.
    state string
    The current state of the OpaInstance.
    systemTags {[key: string]: string}
    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.GetOpaInstanceAttachment]
    A list of associated attachments to other services
    compartment_id str
    Compartment Identifier
    consumption_model str
    The entitlement used for billing purposes
    defined_tags Mapping[str, str]
    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
    freeform_tags Mapping[str, str]
    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_display_name str
    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_guid str
    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_opc_service_instance_guid str
    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_url str
    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_enabled bool
    indicates if breakGlass is enabled for the opa instance.
    metering_type str
    MeteringType Identifier
    opa_instance_id str
    shape_name str
    Shape of the instance.
    state str
    The current state of the OpaInstance.
    system_tags Mapping[str, str]
    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
    definedTags Map<String>
    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
    freeformTags Map<String>
    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
    identityAppDisplayName String
    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.
    identityAppGuid String
    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.
    identityAppOpcServiceInstanceGuid String
    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.
    identityDomainUrl String
    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
    isBreakglassEnabled Boolean
    indicates if breakGlass is enabled for the opa instance.
    meteringType String
    MeteringType Identifier
    opaInstanceId String
    shapeName String
    Shape of the instance.
    state String
    The current state of the OpaInstance.
    systemTags Map<String>
    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
    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.
    TargetInstanceUrl string
    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.
    TargetServiceType string
    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
    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.
    TargetInstanceUrl string
    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.
    TargetServiceType string
    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
    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.
    targetInstanceUrl String
    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.
    targetServiceType String
    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
    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.
    targetInstanceUrl string
    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.
    targetServiceType string
    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
    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_url str
    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_type str
    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
    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.
    targetInstanceUrl String
    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.
    targetServiceType String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi